{ "id": "@kbn/i18n-react", "client": { "classes": [], "functions": [], "interfaces": [], "enums": [], "misc": [], "objects": [] }, "server": { "classes": [], "functions": [], "interfaces": [], "enums": [], "misc": [], "objects": [] }, "common": { "classes": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedDate", "type": "Class", "tags": [], "label": "FormattedDate", "description": [], "signature": [ "ReactIntl.FormattedDate extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedHTMLMessage", "type": "Class", "tags": [], "label": "FormattedHTMLMessage", "description": [], "signature": [ "ReactIntl.FormattedHTMLMessage extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedMessage", "type": "Class", "tags": [], "label": "FormattedMessage", "description": [], "signature": [ "ReactIntl.FormattedMessage extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedNumber", "type": "Class", "tags": [], "label": "FormattedNumber", "description": [], "signature": [ "ReactIntl.FormattedNumber extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedPlural", "type": "Class", "tags": [], "label": "FormattedPlural", "description": [], "signature": [ "ReactIntl.FormattedPlural extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedRelative", "type": "Class", "tags": [], "label": "FormattedRelative", "description": [], "signature": [ "ReactIntl.FormattedRelative extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedTime", "type": "Class", "tags": [], "label": "FormattedTime", "description": [], "signature": [ "ReactIntl.FormattedTime extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.IntlProvider", "type": "Class", "tags": [], "label": "IntlProvider", "description": [], "signature": [ "ReactIntl.IntlProvider extends React.Component" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.IntlProvider.getChildContext", "type": "Function", "tags": [], "label": "getChildContext", "description": [], "signature": [ "() => { intl: ReactIntl.InjectedIntl; }" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "returnComment": [] } ], "initialIsOpen": false } ], "functions": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.I18nProvider", "type": "Function", "tags": [], "label": "I18nProvider", "description": [ "\nThe library uses the provider pattern to scope an i18n context to a tree\nof components. This component is used to setup the i18n context for a tree.\nIntlProvider should wrap react app's root component (inside each react render method)." ], "signature": [ "({ children }: { children?: React.ReactNode; }) => JSX.Element" ], "path": "packages/kbn-i18n-react/src/provider.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.I18nProvider.$1", "type": "Object", "tags": [], "label": "{ children }", "description": [], "signature": [ "{ children?: React.ReactNode; }" ], "path": "packages/kbn-i18n-react/src/provider.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.injectIntl", "type": "Function", "tags": [], "label": "injectIntl", "description": [], "signature": [ "(component: React.ComponentType

, options: ReactIntl.InjectIntlConfig | undefined) => React.ComponentClass>, any> & { WrappedComponent: React.ComponentType

; }" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.injectIntl.$1", "type": "CompoundType", "tags": [], "label": "component", "description": [], "signature": [ "React.ComponentType

" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.injectIntl.$2", "type": "Object", "tags": [], "label": "options", "description": [], "signature": [ "ReactIntl.InjectIntlConfig | undefined" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": false } ], "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.intlShape", "type": "Function", "tags": [], "label": "intlShape", "description": [], "signature": [ "ReactIntl.IntlShape" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.intlShape.$1", "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ "object" ], "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.intlShape.$2", "type": "string", "tags": [], "label": "propName", "description": [], "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.intlShape.$3", "type": "string", "tags": [], "label": "componentName", "description": [], "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.intlShape.$4", "type": "string", "tags": [], "label": "location", "description": [], "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.intlShape.$5", "type": "string", "tags": [], "label": "propFullName", "description": [], "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", "deprecated": false, "trackAdoption": false } ], "initialIsOpen": false } ], "interfaces": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl", "type": "Interface", "tags": [], "label": "InjectedIntl", "description": [], "signature": [ "ReactIntl.InjectedIntl" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatDate", "type": "Function", "tags": [], "label": "formatDate", "description": [], "signature": [ "(value: ReactIntl.DateSource, options?: ReactIntl.IntlComponent.DateTimeFormatProps | undefined) => string" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatDate.$1", "type": "CompoundType", "tags": [], "label": "value", "description": [], "signature": [ "ReactIntl.DateSource" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatDate.$2", "type": "Object", "tags": [], "label": "options", "description": [], "signature": [ "ReactIntl.IntlComponent.DateTimeFormatProps | undefined" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": false } ], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatTime", "type": "Function", "tags": [], "label": "formatTime", "description": [], "signature": [ "(value: ReactIntl.DateSource, options?: ReactIntl.IntlComponent.DateTimeFormatProps | undefined) => string" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatTime.$1", "type": "CompoundType", "tags": [], "label": "value", "description": [], "signature": [ "ReactIntl.DateSource" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatTime.$2", "type": "Object", "tags": [], "label": "options", "description": [], "signature": [ "ReactIntl.IntlComponent.DateTimeFormatProps | undefined" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": false } ], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatRelative", "type": "Function", "tags": [], "label": "formatRelative", "description": [], "signature": [ "(value: ReactIntl.DateSource, options?: (ReactIntl.FormattedRelative.PropsBase & { now?: any; }) | undefined) => string" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatRelative.$1", "type": "CompoundType", "tags": [], "label": "value", "description": [], "signature": [ "ReactIntl.DateSource" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatRelative.$2", "type": "CompoundType", "tags": [], "label": "options", "description": [], "signature": [ "(ReactIntl.FormattedRelative.PropsBase & { now?: any; }) | undefined" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": false } ], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatNumber", "type": "Function", "tags": [], "label": "formatNumber", "description": [], "signature": [ "(value: number, options?: ReactIntl.FormattedNumber.PropsBase | undefined) => string" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatNumber.$1", "type": "number", "tags": [], "label": "value", "description": [], "signature": [ "number" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatNumber.$2", "type": "Object", "tags": [], "label": "options", "description": [], "signature": [ "ReactIntl.FormattedNumber.PropsBase | undefined" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": false } ], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatPlural", "type": "Function", "tags": [], "label": "formatPlural", "description": [], "signature": [ "(value: number, options?: ReactIntl.FormattedPlural.Base | undefined) => keyof ReactIntl.FormattedPlural.PropsBase" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatPlural.$1", "type": "number", "tags": [], "label": "value", "description": [], "signature": [ "number" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatPlural.$2", "type": "Object", "tags": [], "label": "options", "description": [], "signature": [ "ReactIntl.FormattedPlural.Base | undefined" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": false } ], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatMessage", "type": "Function", "tags": [], "label": "formatMessage", "description": [], "signature": [ "(messageDescriptor: ReactIntl.FormattedMessage.MessageDescriptor, values?: { [key: string]: ReactIntl.MessageValue; } | undefined) => string" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatMessage.$1", "type": "Object", "tags": [], "label": "messageDescriptor", "description": [], "signature": [ "ReactIntl.FormattedMessage.MessageDescriptor" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatMessage.$2", "type": "Object", "tags": [], "label": "values", "description": [], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatMessage.$2.Unnamed", "type": "IndexSignature", "tags": [], "label": "[key: string]: MessageValue", "description": [], "signature": [ "[key: string]: ReactIntl.MessageValue" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false } ] } ], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatHTMLMessage", "type": "Function", "tags": [], "label": "formatHTMLMessage", "description": [], "signature": [ "(messageDescriptor: ReactIntl.FormattedMessage.MessageDescriptor, values?: { [key: string]: ReactIntl.MessageValue; } | undefined) => string" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatHTMLMessage.$1", "type": "Object", "tags": [], "label": "messageDescriptor", "description": [], "signature": [ "ReactIntl.FormattedMessage.MessageDescriptor" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatHTMLMessage.$2", "type": "Object", "tags": [], "label": "values", "description": [], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formatHTMLMessage.$2.Unnamed", "type": "IndexSignature", "tags": [], "label": "[key: string]: MessageValue", "description": [], "signature": [ "[key: string]: ReactIntl.MessageValue" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false } ] } ], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.locale", "type": "string", "tags": [], "label": "locale", "description": [], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.formats", "type": "Any", "tags": [], "label": "formats", "description": [], "signature": [ "any" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.messages", "type": "Object", "tags": [], "label": "messages", "description": [], "signature": [ "{ [id: string]: string; }" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.defaultLocale", "type": "string", "tags": [], "label": "defaultLocale", "description": [], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.defaultFormats", "type": "Any", "tags": [], "label": "defaultFormats", "description": [], "signature": [ "any" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.now", "type": "Function", "tags": [], "label": "now", "description": [], "signature": [ "() => number" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], "returnComment": [] }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.onError", "type": "Function", "tags": [], "label": "onError", "description": [], "signature": [ "(error: string) => void" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntl.onError.$1", "type": "string", "tags": [], "label": "error", "description": [], "signature": [ "string" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntlProps", "type": "Interface", "tags": [], "label": "InjectedIntlProps", "description": [], "signature": [ "ReactIntl.InjectedIntlProps" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.InjectedIntlProps.intl", "type": "Object", "tags": [], "label": "intl", "description": [], "signature": [ "ReactIntl.InjectedIntl" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false } ], "initialIsOpen": false } ], "enums": [], "misc": [], "objects": [ { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedDate", "type": "Object", "tags": [], "label": "FormattedDate", "description": [], "signature": [ "typeof ReactIntl.FormattedDate" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedMessage", "type": "Object", "tags": [], "label": "FormattedMessage", "description": [], "signature": [ "typeof ReactIntl.FormattedMessage" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedNumber", "type": "Object", "tags": [], "label": "FormattedNumber", "description": [], "signature": [ "typeof ReactIntl.FormattedNumber" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedPlural", "type": "Object", "tags": [], "label": "FormattedPlural", "description": [], "signature": [ "typeof ReactIntl.FormattedPlural" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedRelative", "type": "Object", "tags": [], "label": "FormattedRelative", "description": [], "signature": [ "typeof ReactIntl.FormattedRelative" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.FormattedTime", "type": "Object", "tags": [], "label": "FormattedTime", "description": [], "signature": [ "typeof ReactIntl.FormattedTime" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, { "parentPluginId": "@kbn/i18n-react", "id": "def-common.IntlProvider", "type": "Object", "tags": [], "label": "IntlProvider", "description": [], "signature": [ "typeof ReactIntl.IntlProvider" ], "path": "node_modules/@types/react-intl/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false } ] } }