@wordpress/react-i18n 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@ Install the module:
10
10
  npm install @wordpress/react-i18n
11
11
  ```
12
12
 
13
- _This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for ES2015+ such as IE browsers then using [core-js](https://github.com/zloirock/core-js) will add polyfills for these methods._
13
+ _This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for such language features and APIs, you should include [the polyfill shipped in `@wordpress/babel-preset-default`](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default#polyfill) in your code._
14
14
 
15
15
  ## API
16
16
 
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/react-i18n/src/index.tsx"],"names":["makeContextValue","i18n","__","bind","_x","_n","_nx","isRTL","hasTranslation","I18nContext","defaultI18n","I18nProvider","props","children","update","forceUpdate","subscribe","value","useI18n","withI18n","InnerComponent","EnhancedComponent","i18nProps","innerComponentName","displayName","name"],"mappings":";;;;;;;;;;;AAeA;;;;AAOA;;AAtBA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;;AAoBA;AACA;AACA;AACA;AACA;AACA,SAASA,gBAAT,CAA2BC,IAA3B,EAA0D;AACzD,SAAO;AACNC,IAAAA,EAAE,EAAED,IAAI,CAACC,EAAL,CAAQC,IAAR,CAAcF,IAAd,CADE;AAENG,IAAAA,EAAE,EAAEH,IAAI,CAACG,EAAL,CAAQD,IAAR,CAAcF,IAAd,CAFE;AAGNI,IAAAA,EAAE,EAAEJ,IAAI,CAACI,EAAL,CAAQF,IAAR,CAAcF,IAAd,CAHE;AAINK,IAAAA,GAAG,EAAEL,IAAI,CAACK,GAAL,CAASH,IAAT,CAAeF,IAAf,CAJC;AAKNM,IAAAA,KAAK,EAAEN,IAAI,CAACM,KAAL,CAAWJ,IAAX,CAAiBF,IAAjB,CALD;AAMNO,IAAAA,cAAc,EAAEP,IAAI,CAACO,cAAL,CAAoBL,IAApB,CAA0BF,IAA1B;AANV,GAAP;AAQA;;AAED,MAAMQ,WAAW,GAAG,4BAAeT,gBAAgB,CAAEU,iBAAF,CAA/B,CAApB;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,YAAT,CAAuBC,KAAvB,EAA+D;AACrE,QAAM;AAAEC,IAAAA,QAAF;AAAYZ,IAAAA,IAAI,GAAGS;AAAnB,MAAmCE,KAAzC;AACA,QAAM,CAAEE,MAAF,EAAUC,WAAV,IAA0B,yBAAY,MAAM,EAAlB,EAAsB,EAAtB,CAAhC,CAFqE,CAIrE;;AACA,0BAAW,MAAMd,IAAI,CAACe,SAAL,CAAgBD,WAAhB,CAAjB,EAAgD,CAAEd,IAAF,CAAhD;AAEA,QAAMgB,KAAK,GAAG,sBAAS,MAAMjB,gBAAgB,CAAEC,IAAF,CAA/B,EAAyC,CAAEA,IAAF,EAAQa,MAAR,CAAzC,CAAd;AAEA,SACC,4BAAC,WAAD,CAAa,QAAb;AAAsB,IAAA,KAAK,EAAGG;AAA9B,KACGJ,QADH,CADD;AAKA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACO,MAAMK,OAAO,GAAG,MAAM,yBAAYT,WAAZ,CAAtB;;;;AAOP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASU,QAAT,CACNC,cADM,EAEmC;AACzC,QAAMC,iBAEL,GAAKT,KAAF,IAAa;AAChB,UAAMU,SAAS,GAAGJ,OAAO,EAAzB;AACA,WAAO,4BAAC,cAAD,6BAAuBN,KAAvB,EAA2CU,SAA3C,EAAP;AACA,GALD;;AAMA,QAAMC,kBAAkB,GACvBH,cAAc,CAACI,WAAf,IAA8BJ,cAAc,CAACK,IAA7C,IAAqD,WADtD;AAEAJ,EAAAA,iBAAiB,CAACG,WAAlB,GAAiC,YAAYD,kBAAoB,GAAjE;AACA,SAAOF,iBAAP;AACA","sourcesContent":["/**\n * External dependencies\n */\n// Disable reason: Type-only import, this is fine. See https://github.com/typescript-eslint/typescript-eslint/issues/2661\n// eslint-disable-next-line no-restricted-imports\nimport type {\n\tComponentType,\n\tFunctionComponent,\n\tPropsWithChildren,\n} from 'react';\nimport type { Subtract } from 'utility-types';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tcreateContext,\n\tuseContext,\n\tuseEffect,\n\tuseMemo,\n\tuseReducer,\n} from '@wordpress/element';\nimport { defaultI18n } from '@wordpress/i18n';\n// eslint-disable-next-line no-duplicate-imports\nimport type { I18n } from '@wordpress/i18n';\ninterface I18nContextProps {\n\t__: I18n[ '__' ];\n\t_x: I18n[ '_x' ];\n\t_n: I18n[ '_n' ];\n\t_nx: I18n[ '_nx' ];\n\tisRTL: I18n[ 'isRTL' ];\n\thasTranslation: I18n[ 'hasTranslation' ];\n}\n\n/**\n * Utility to make a new context value\n *\n * @param i18n\n */\nfunction makeContextValue( i18n: I18n ): I18nContextProps {\n\treturn {\n\t\t__: i18n.__.bind( i18n ),\n\t\t_x: i18n._x.bind( i18n ),\n\t\t_n: i18n._n.bind( i18n ),\n\t\t_nx: i18n._nx.bind( i18n ),\n\t\tisRTL: i18n.isRTL.bind( i18n ),\n\t\thasTranslation: i18n.hasTranslation.bind( i18n ),\n\t};\n}\n\nconst I18nContext = createContext( makeContextValue( defaultI18n ) );\n\ntype I18nProviderProps = PropsWithChildren< { i18n: I18n } >;\n\n/**\n * The `I18nProvider` should be mounted above any localized components:\n *\n * @example\n * ```js\n * import { createI18n } from '@wordpress/react-i18n';\n * import { I18nProvider } from '@wordpress/react-i18n';\n * const i18n = createI18n();\n *\n * ReactDom.render(\n * \t<I18nProvider i18n={ i18n }>\n * \t\t<App />\n * \t</I18nProvider>,\n * \tel\n * );\n * ```\n *\n * You can also instantiate the provider without the `i18n` prop. In that case it will use the\n * default `I18n` instance exported from `@wordpress/i18n`.\n *\n * @param props i18n provider props.\n * @return Children wrapped in the I18nProvider.\n */\nexport function I18nProvider( props: I18nProviderProps ): JSX.Element {\n\tconst { children, i18n = defaultI18n } = props;\n\tconst [ update, forceUpdate ] = useReducer( () => [], [] );\n\n\t// rerender translations whenever the i18n instance fires a change event\n\tuseEffect( () => i18n.subscribe( forceUpdate ), [ i18n ] );\n\n\tconst value = useMemo( () => makeContextValue( i18n ), [ i18n, update ] );\n\n\treturn (\n\t\t<I18nContext.Provider value={ value }>\n\t\t\t{ children }\n\t\t</I18nContext.Provider>\n\t);\n}\n\n/**\n * React hook providing access to i18n functions. It exposes the `__`, `_x`, `_n`, `_nx`,\n * `isRTL` and `hasTranslation` functions from [`@wordpress/i18n`](../i18n).\n * Refer to their documentation there.\n *\n * @example\n * ```js\n * import { useI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent() {\n * \tconst { __ } = useI18n();\n * \treturn __( 'Hello, world!' );\n * }\n * ```\n */\nexport const useI18n = () => useContext( I18nContext );\n\ntype PropsAndI18n< P > = Pick<\n\tP,\n\tExclude< keyof P, '__' | '_x' | '_n' | '_nx' | 'isRTL' | 'hasTranslation' >\n>;\n\n/**\n * React higher-order component that passes the i18n translate functions (the same set\n * as exposed by the `useI18n` hook) to the wrapped component as props.\n *\n * @example\n * ```js\n * import { withI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent( { __ } ) {\n * \treturn __( 'Hello, world!' );\n * }\n *\n * export default withI18n( MyComponent );\n * ```\n *\n * @param InnerComponent React component to be wrapped and receive the i18n functions like `__`\n * @return The wrapped component\n */\nexport function withI18n< P extends I18nContextProps >(\n\tInnerComponent: ComponentType< P >\n): FunctionComponent< PropsAndI18n< P > > {\n\tconst EnhancedComponent: ComponentType<\n\t\tSubtract< P, I18nContextProps >\n\t> = ( props ) => {\n\t\tconst i18nProps = useI18n();\n\t\treturn <InnerComponent { ...( props as P ) } { ...i18nProps } />;\n\t};\n\tconst innerComponentName =\n\t\tInnerComponent.displayName || InnerComponent.name || 'Component';\n\tEnhancedComponent.displayName = `WithI18n(${ innerComponentName })`;\n\treturn EnhancedComponent;\n}\n"]}
1
+ {"version":3,"sources":["@wordpress/react-i18n/src/index.tsx"],"names":["makeContextValue","i18n","__","bind","_x","_n","_nx","isRTL","hasTranslation","I18nContext","defaultI18n","I18nProvider","props","children","update","forceUpdate","subscribe","value","useI18n","withI18n","InnerComponent","EnhancedComponent","i18nProps","innerComponentName","displayName","name"],"mappings":";;;;;;;;;;;AAeA;;;;AAOA;;AAtBA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;;AAmBA;AACA;AACA;AACA;AACA;AACA,SAASA,gBAAT,CAA2BC,IAA3B,EAA0D;AACzD,SAAO;AACNC,IAAAA,EAAE,EAAED,IAAI,CAACC,EAAL,CAAQC,IAAR,CAAcF,IAAd,CADE;AAENG,IAAAA,EAAE,EAAEH,IAAI,CAACG,EAAL,CAAQD,IAAR,CAAcF,IAAd,CAFE;AAGNI,IAAAA,EAAE,EAAEJ,IAAI,CAACI,EAAL,CAAQF,IAAR,CAAcF,IAAd,CAHE;AAINK,IAAAA,GAAG,EAAEL,IAAI,CAACK,GAAL,CAASH,IAAT,CAAeF,IAAf,CAJC;AAKNM,IAAAA,KAAK,EAAEN,IAAI,CAACM,KAAL,CAAWJ,IAAX,CAAiBF,IAAjB,CALD;AAMNO,IAAAA,cAAc,EAAEP,IAAI,CAACO,cAAL,CAAoBL,IAApB,CAA0BF,IAA1B;AANV,GAAP;AAQA;;AAED,MAAMQ,WAAW,GAAG,4BAAeT,gBAAgB,CAAEU,iBAAF,CAA/B,CAApB;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,YAAT,CAAuBC,KAAvB,EAA+D;AACrE,QAAM;AAAEC,IAAAA,QAAF;AAAYZ,IAAAA,IAAI,GAAGS;AAAnB,MAAmCE,KAAzC;AACA,QAAM,CAAEE,MAAF,EAAUC,WAAV,IAA0B,yBAAY,MAAM,EAAlB,EAAsB,EAAtB,CAAhC,CAFqE,CAIrE;;AACA,0BAAW,MAAMd,IAAI,CAACe,SAAL,CAAgBD,WAAhB,CAAjB,EAAgD,CAAEd,IAAF,CAAhD;AAEA,QAAMgB,KAAK,GAAG,sBAAS,MAAMjB,gBAAgB,CAAEC,IAAF,CAA/B,EAAyC,CAAEA,IAAF,EAAQa,MAAR,CAAzC,CAAd;AAEA,SACC,4BAAC,WAAD,CAAa,QAAb;AAAsB,IAAA,KAAK,EAAGG;AAA9B,KACGJ,QADH,CADD;AAKA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACO,MAAMK,OAAO,GAAG,MAAM,yBAAYT,WAAZ,CAAtB;;;;AAOP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASU,QAAT,CACNC,cADM,EAEmC;AACzC,QAAMC,iBAEL,GAAKT,KAAF,IAAa;AAChB,UAAMU,SAAS,GAAGJ,OAAO,EAAzB;AACA,WAAO,4BAAC,cAAD,6BAAuBN,KAAvB,EAA2CU,SAA3C,EAAP;AACA,GALD;;AAMA,QAAMC,kBAAkB,GACvBH,cAAc,CAACI,WAAf,IAA8BJ,cAAc,CAACK,IAA7C,IAAqD,WADtD;AAEAJ,EAAAA,iBAAiB,CAACG,WAAlB,GAAiC,YAAYD,kBAAoB,GAAjE;AACA,SAAOF,iBAAP;AACA","sourcesContent":["/**\n * External dependencies\n */\n// Disable reason: Type-only import, this is fine. See https://github.com/typescript-eslint/typescript-eslint/issues/2661\n// eslint-disable-next-line no-restricted-imports\nimport type {\n\tComponentType,\n\tFunctionComponent,\n\tPropsWithChildren,\n} from 'react';\nimport type { Subtract } from 'utility-types';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tcreateContext,\n\tuseContext,\n\tuseEffect,\n\tuseMemo,\n\tuseReducer,\n} from '@wordpress/element';\nimport { defaultI18n } from '@wordpress/i18n';\nimport type { I18n } from '@wordpress/i18n';\ninterface I18nContextProps {\n\t__: I18n[ '__' ];\n\t_x: I18n[ '_x' ];\n\t_n: I18n[ '_n' ];\n\t_nx: I18n[ '_nx' ];\n\tisRTL: I18n[ 'isRTL' ];\n\thasTranslation: I18n[ 'hasTranslation' ];\n}\n\n/**\n * Utility to make a new context value\n *\n * @param i18n\n */\nfunction makeContextValue( i18n: I18n ): I18nContextProps {\n\treturn {\n\t\t__: i18n.__.bind( i18n ),\n\t\t_x: i18n._x.bind( i18n ),\n\t\t_n: i18n._n.bind( i18n ),\n\t\t_nx: i18n._nx.bind( i18n ),\n\t\tisRTL: i18n.isRTL.bind( i18n ),\n\t\thasTranslation: i18n.hasTranslation.bind( i18n ),\n\t};\n}\n\nconst I18nContext = createContext( makeContextValue( defaultI18n ) );\n\ntype I18nProviderProps = PropsWithChildren< { i18n: I18n } >;\n\n/**\n * The `I18nProvider` should be mounted above any localized components:\n *\n * @example\n * ```js\n * import { createI18n } from '@wordpress/react-i18n';\n * import { I18nProvider } from '@wordpress/react-i18n';\n * const i18n = createI18n();\n *\n * ReactDom.render(\n * \t<I18nProvider i18n={ i18n }>\n * \t\t<App />\n * \t</I18nProvider>,\n * \tel\n * );\n * ```\n *\n * You can also instantiate the provider without the `i18n` prop. In that case it will use the\n * default `I18n` instance exported from `@wordpress/i18n`.\n *\n * @param props i18n provider props.\n * @return Children wrapped in the I18nProvider.\n */\nexport function I18nProvider( props: I18nProviderProps ): JSX.Element {\n\tconst { children, i18n = defaultI18n } = props;\n\tconst [ update, forceUpdate ] = useReducer( () => [], [] );\n\n\t// rerender translations whenever the i18n instance fires a change event\n\tuseEffect( () => i18n.subscribe( forceUpdate ), [ i18n ] );\n\n\tconst value = useMemo( () => makeContextValue( i18n ), [ i18n, update ] );\n\n\treturn (\n\t\t<I18nContext.Provider value={ value }>\n\t\t\t{ children }\n\t\t</I18nContext.Provider>\n\t);\n}\n\n/**\n * React hook providing access to i18n functions. It exposes the `__`, `_x`, `_n`, `_nx`,\n * `isRTL` and `hasTranslation` functions from [`@wordpress/i18n`](../i18n).\n * Refer to their documentation there.\n *\n * @example\n * ```js\n * import { useI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent() {\n * \tconst { __ } = useI18n();\n * \treturn __( 'Hello, world!' );\n * }\n * ```\n */\nexport const useI18n = () => useContext( I18nContext );\n\ntype PropsAndI18n< P > = Pick<\n\tP,\n\tExclude< keyof P, '__' | '_x' | '_n' | '_nx' | 'isRTL' | 'hasTranslation' >\n>;\n\n/**\n * React higher-order component that passes the i18n translate functions (the same set\n * as exposed by the `useI18n` hook) to the wrapped component as props.\n *\n * @example\n * ```js\n * import { withI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent( { __ } ) {\n * \treturn __( 'Hello, world!' );\n * }\n *\n * export default withI18n( MyComponent );\n * ```\n *\n * @param InnerComponent React component to be wrapped and receive the i18n functions like `__`\n * @return The wrapped component\n */\nexport function withI18n< P extends I18nContextProps >(\n\tInnerComponent: ComponentType< P >\n): FunctionComponent< PropsAndI18n< P > > {\n\tconst EnhancedComponent: ComponentType<\n\t\tSubtract< P, I18nContextProps >\n\t> = ( props ) => {\n\t\tconst i18nProps = useI18n();\n\t\treturn <InnerComponent { ...( props as P ) } { ...i18nProps } />;\n\t};\n\tconst innerComponentName =\n\t\tInnerComponent.displayName || InnerComponent.name || 'Component';\n\tEnhancedComponent.displayName = `WithI18n(${ innerComponentName })`;\n\treturn EnhancedComponent;\n}\n"]}
@@ -11,7 +11,7 @@ import { createElement } from "@wordpress/element";
11
11
  * WordPress dependencies
12
12
  */
13
13
  import { createContext, useContext, useEffect, useMemo, useReducer } from '@wordpress/element';
14
- import { defaultI18n } from '@wordpress/i18n'; // eslint-disable-next-line no-duplicate-imports
14
+ import { defaultI18n } from '@wordpress/i18n';
15
15
 
16
16
  /**
17
17
  * Utility to make a new context value
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/react-i18n/src/index.tsx"],"names":["createContext","useContext","useEffect","useMemo","useReducer","defaultI18n","makeContextValue","i18n","__","bind","_x","_n","_nx","isRTL","hasTranslation","I18nContext","I18nProvider","props","children","update","forceUpdate","subscribe","value","useI18n","withI18n","InnerComponent","EnhancedComponent","i18nProps","innerComponentName","displayName","name"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;AACA,SACCA,aADD,EAECC,UAFD,EAGCC,SAHD,EAICC,OAJD,EAKCC,UALD,QAMO,oBANP;AAOA,SAASC,WAAT,QAA4B,iBAA5B,C,CACA;;AAWA;AACA;AACA;AACA;AACA;AACA,SAASC,gBAAT,CAA2BC,IAA3B,EAA0D;AACzD,SAAO;AACNC,IAAAA,EAAE,EAAED,IAAI,CAACC,EAAL,CAAQC,IAAR,CAAcF,IAAd,CADE;AAENG,IAAAA,EAAE,EAAEH,IAAI,CAACG,EAAL,CAAQD,IAAR,CAAcF,IAAd,CAFE;AAGNI,IAAAA,EAAE,EAAEJ,IAAI,CAACI,EAAL,CAAQF,IAAR,CAAcF,IAAd,CAHE;AAINK,IAAAA,GAAG,EAAEL,IAAI,CAACK,GAAL,CAASH,IAAT,CAAeF,IAAf,CAJC;AAKNM,IAAAA,KAAK,EAAEN,IAAI,CAACM,KAAL,CAAWJ,IAAX,CAAiBF,IAAjB,CALD;AAMNO,IAAAA,cAAc,EAAEP,IAAI,CAACO,cAAL,CAAoBL,IAApB,CAA0BF,IAA1B;AANV,GAAP;AAQA;;AAED,MAAMQ,WAAW,GAAGf,aAAa,CAAEM,gBAAgB,CAAED,WAAF,CAAlB,CAAjC;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASW,YAAT,CAAuBC,KAAvB,EAA+D;AACrE,QAAM;AAAEC,IAAAA,QAAF;AAAYX,IAAAA,IAAI,GAAGF;AAAnB,MAAmCY,KAAzC;AACA,QAAM,CAAEE,MAAF,EAAUC,WAAV,IAA0BhB,UAAU,CAAE,MAAM,EAAR,EAAY,EAAZ,CAA1C,CAFqE,CAIrE;;AACAF,EAAAA,SAAS,CAAE,MAAMK,IAAI,CAACc,SAAL,CAAgBD,WAAhB,CAAR,EAAuC,CAAEb,IAAF,CAAvC,CAAT;AAEA,QAAMe,KAAK,GAAGnB,OAAO,CAAE,MAAMG,gBAAgB,CAAEC,IAAF,CAAxB,EAAkC,CAAEA,IAAF,EAAQY,MAAR,CAAlC,CAArB;AAEA,SACC,cAAC,WAAD,CAAa,QAAb;AAAsB,IAAA,KAAK,EAAGG;AAA9B,KACGJ,QADH,CADD;AAKA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,MAAMK,OAAO,GAAG,MAAMtB,UAAU,CAAEc,WAAF,CAAhC;;AAOP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASS,QAAT,CACNC,cADM,EAEmC;AACzC,QAAMC,iBAEL,GAAKT,KAAF,IAAa;AAChB,UAAMU,SAAS,GAAGJ,OAAO,EAAzB;AACA,WAAO,cAAC,cAAD,eAAuBN,KAAvB,EAA2CU,SAA3C,EAAP;AACA,GALD;;AAMA,QAAMC,kBAAkB,GACvBH,cAAc,CAACI,WAAf,IAA8BJ,cAAc,CAACK,IAA7C,IAAqD,WADtD;AAEAJ,EAAAA,iBAAiB,CAACG,WAAlB,GAAiC,YAAYD,kBAAoB,GAAjE;AACA,SAAOF,iBAAP;AACA","sourcesContent":["/**\n * External dependencies\n */\n// Disable reason: Type-only import, this is fine. See https://github.com/typescript-eslint/typescript-eslint/issues/2661\n// eslint-disable-next-line no-restricted-imports\nimport type {\n\tComponentType,\n\tFunctionComponent,\n\tPropsWithChildren,\n} from 'react';\nimport type { Subtract } from 'utility-types';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tcreateContext,\n\tuseContext,\n\tuseEffect,\n\tuseMemo,\n\tuseReducer,\n} from '@wordpress/element';\nimport { defaultI18n } from '@wordpress/i18n';\n// eslint-disable-next-line no-duplicate-imports\nimport type { I18n } from '@wordpress/i18n';\ninterface I18nContextProps {\n\t__: I18n[ '__' ];\n\t_x: I18n[ '_x' ];\n\t_n: I18n[ '_n' ];\n\t_nx: I18n[ '_nx' ];\n\tisRTL: I18n[ 'isRTL' ];\n\thasTranslation: I18n[ 'hasTranslation' ];\n}\n\n/**\n * Utility to make a new context value\n *\n * @param i18n\n */\nfunction makeContextValue( i18n: I18n ): I18nContextProps {\n\treturn {\n\t\t__: i18n.__.bind( i18n ),\n\t\t_x: i18n._x.bind( i18n ),\n\t\t_n: i18n._n.bind( i18n ),\n\t\t_nx: i18n._nx.bind( i18n ),\n\t\tisRTL: i18n.isRTL.bind( i18n ),\n\t\thasTranslation: i18n.hasTranslation.bind( i18n ),\n\t};\n}\n\nconst I18nContext = createContext( makeContextValue( defaultI18n ) );\n\ntype I18nProviderProps = PropsWithChildren< { i18n: I18n } >;\n\n/**\n * The `I18nProvider` should be mounted above any localized components:\n *\n * @example\n * ```js\n * import { createI18n } from '@wordpress/react-i18n';\n * import { I18nProvider } from '@wordpress/react-i18n';\n * const i18n = createI18n();\n *\n * ReactDom.render(\n * \t<I18nProvider i18n={ i18n }>\n * \t\t<App />\n * \t</I18nProvider>,\n * \tel\n * );\n * ```\n *\n * You can also instantiate the provider without the `i18n` prop. In that case it will use the\n * default `I18n` instance exported from `@wordpress/i18n`.\n *\n * @param props i18n provider props.\n * @return Children wrapped in the I18nProvider.\n */\nexport function I18nProvider( props: I18nProviderProps ): JSX.Element {\n\tconst { children, i18n = defaultI18n } = props;\n\tconst [ update, forceUpdate ] = useReducer( () => [], [] );\n\n\t// rerender translations whenever the i18n instance fires a change event\n\tuseEffect( () => i18n.subscribe( forceUpdate ), [ i18n ] );\n\n\tconst value = useMemo( () => makeContextValue( i18n ), [ i18n, update ] );\n\n\treturn (\n\t\t<I18nContext.Provider value={ value }>\n\t\t\t{ children }\n\t\t</I18nContext.Provider>\n\t);\n}\n\n/**\n * React hook providing access to i18n functions. It exposes the `__`, `_x`, `_n`, `_nx`,\n * `isRTL` and `hasTranslation` functions from [`@wordpress/i18n`](../i18n).\n * Refer to their documentation there.\n *\n * @example\n * ```js\n * import { useI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent() {\n * \tconst { __ } = useI18n();\n * \treturn __( 'Hello, world!' );\n * }\n * ```\n */\nexport const useI18n = () => useContext( I18nContext );\n\ntype PropsAndI18n< P > = Pick<\n\tP,\n\tExclude< keyof P, '__' | '_x' | '_n' | '_nx' | 'isRTL' | 'hasTranslation' >\n>;\n\n/**\n * React higher-order component that passes the i18n translate functions (the same set\n * as exposed by the `useI18n` hook) to the wrapped component as props.\n *\n * @example\n * ```js\n * import { withI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent( { __ } ) {\n * \treturn __( 'Hello, world!' );\n * }\n *\n * export default withI18n( MyComponent );\n * ```\n *\n * @param InnerComponent React component to be wrapped and receive the i18n functions like `__`\n * @return The wrapped component\n */\nexport function withI18n< P extends I18nContextProps >(\n\tInnerComponent: ComponentType< P >\n): FunctionComponent< PropsAndI18n< P > > {\n\tconst EnhancedComponent: ComponentType<\n\t\tSubtract< P, I18nContextProps >\n\t> = ( props ) => {\n\t\tconst i18nProps = useI18n();\n\t\treturn <InnerComponent { ...( props as P ) } { ...i18nProps } />;\n\t};\n\tconst innerComponentName =\n\t\tInnerComponent.displayName || InnerComponent.name || 'Component';\n\tEnhancedComponent.displayName = `WithI18n(${ innerComponentName })`;\n\treturn EnhancedComponent;\n}\n"]}
1
+ {"version":3,"sources":["@wordpress/react-i18n/src/index.tsx"],"names":["createContext","useContext","useEffect","useMemo","useReducer","defaultI18n","makeContextValue","i18n","__","bind","_x","_n","_nx","isRTL","hasTranslation","I18nContext","I18nProvider","props","children","update","forceUpdate","subscribe","value","useI18n","withI18n","InnerComponent","EnhancedComponent","i18nProps","innerComponentName","displayName","name"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;;AAQA;AACA;AACA;AACA,SACCA,aADD,EAECC,UAFD,EAGCC,SAHD,EAICC,OAJD,EAKCC,UALD,QAMO,oBANP;AAOA,SAASC,WAAT,QAA4B,iBAA5B;;AAWA;AACA;AACA;AACA;AACA;AACA,SAASC,gBAAT,CAA2BC,IAA3B,EAA0D;AACzD,SAAO;AACNC,IAAAA,EAAE,EAAED,IAAI,CAACC,EAAL,CAAQC,IAAR,CAAcF,IAAd,CADE;AAENG,IAAAA,EAAE,EAAEH,IAAI,CAACG,EAAL,CAAQD,IAAR,CAAcF,IAAd,CAFE;AAGNI,IAAAA,EAAE,EAAEJ,IAAI,CAACI,EAAL,CAAQF,IAAR,CAAcF,IAAd,CAHE;AAINK,IAAAA,GAAG,EAAEL,IAAI,CAACK,GAAL,CAASH,IAAT,CAAeF,IAAf,CAJC;AAKNM,IAAAA,KAAK,EAAEN,IAAI,CAACM,KAAL,CAAWJ,IAAX,CAAiBF,IAAjB,CALD;AAMNO,IAAAA,cAAc,EAAEP,IAAI,CAACO,cAAL,CAAoBL,IAApB,CAA0BF,IAA1B;AANV,GAAP;AAQA;;AAED,MAAMQ,WAAW,GAAGf,aAAa,CAAEM,gBAAgB,CAAED,WAAF,CAAlB,CAAjC;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASW,YAAT,CAAuBC,KAAvB,EAA+D;AACrE,QAAM;AAAEC,IAAAA,QAAF;AAAYX,IAAAA,IAAI,GAAGF;AAAnB,MAAmCY,KAAzC;AACA,QAAM,CAAEE,MAAF,EAAUC,WAAV,IAA0BhB,UAAU,CAAE,MAAM,EAAR,EAAY,EAAZ,CAA1C,CAFqE,CAIrE;;AACAF,EAAAA,SAAS,CAAE,MAAMK,IAAI,CAACc,SAAL,CAAgBD,WAAhB,CAAR,EAAuC,CAAEb,IAAF,CAAvC,CAAT;AAEA,QAAMe,KAAK,GAAGnB,OAAO,CAAE,MAAMG,gBAAgB,CAAEC,IAAF,CAAxB,EAAkC,CAAEA,IAAF,EAAQY,MAAR,CAAlC,CAArB;AAEA,SACC,cAAC,WAAD,CAAa,QAAb;AAAsB,IAAA,KAAK,EAAGG;AAA9B,KACGJ,QADH,CADD;AAKA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,MAAMK,OAAO,GAAG,MAAMtB,UAAU,CAAEc,WAAF,CAAhC;;AAOP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASS,QAAT,CACNC,cADM,EAEmC;AACzC,QAAMC,iBAEL,GAAKT,KAAF,IAAa;AAChB,UAAMU,SAAS,GAAGJ,OAAO,EAAzB;AACA,WAAO,cAAC,cAAD,eAAuBN,KAAvB,EAA2CU,SAA3C,EAAP;AACA,GALD;;AAMA,QAAMC,kBAAkB,GACvBH,cAAc,CAACI,WAAf,IAA8BJ,cAAc,CAACK,IAA7C,IAAqD,WADtD;AAEAJ,EAAAA,iBAAiB,CAACG,WAAlB,GAAiC,YAAYD,kBAAoB,GAAjE;AACA,SAAOF,iBAAP;AACA","sourcesContent":["/**\n * External dependencies\n */\n// Disable reason: Type-only import, this is fine. See https://github.com/typescript-eslint/typescript-eslint/issues/2661\n// eslint-disable-next-line no-restricted-imports\nimport type {\n\tComponentType,\n\tFunctionComponent,\n\tPropsWithChildren,\n} from 'react';\nimport type { Subtract } from 'utility-types';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tcreateContext,\n\tuseContext,\n\tuseEffect,\n\tuseMemo,\n\tuseReducer,\n} from '@wordpress/element';\nimport { defaultI18n } from '@wordpress/i18n';\nimport type { I18n } from '@wordpress/i18n';\ninterface I18nContextProps {\n\t__: I18n[ '__' ];\n\t_x: I18n[ '_x' ];\n\t_n: I18n[ '_n' ];\n\t_nx: I18n[ '_nx' ];\n\tisRTL: I18n[ 'isRTL' ];\n\thasTranslation: I18n[ 'hasTranslation' ];\n}\n\n/**\n * Utility to make a new context value\n *\n * @param i18n\n */\nfunction makeContextValue( i18n: I18n ): I18nContextProps {\n\treturn {\n\t\t__: i18n.__.bind( i18n ),\n\t\t_x: i18n._x.bind( i18n ),\n\t\t_n: i18n._n.bind( i18n ),\n\t\t_nx: i18n._nx.bind( i18n ),\n\t\tisRTL: i18n.isRTL.bind( i18n ),\n\t\thasTranslation: i18n.hasTranslation.bind( i18n ),\n\t};\n}\n\nconst I18nContext = createContext( makeContextValue( defaultI18n ) );\n\ntype I18nProviderProps = PropsWithChildren< { i18n: I18n } >;\n\n/**\n * The `I18nProvider` should be mounted above any localized components:\n *\n * @example\n * ```js\n * import { createI18n } from '@wordpress/react-i18n';\n * import { I18nProvider } from '@wordpress/react-i18n';\n * const i18n = createI18n();\n *\n * ReactDom.render(\n * \t<I18nProvider i18n={ i18n }>\n * \t\t<App />\n * \t</I18nProvider>,\n * \tel\n * );\n * ```\n *\n * You can also instantiate the provider without the `i18n` prop. In that case it will use the\n * default `I18n` instance exported from `@wordpress/i18n`.\n *\n * @param props i18n provider props.\n * @return Children wrapped in the I18nProvider.\n */\nexport function I18nProvider( props: I18nProviderProps ): JSX.Element {\n\tconst { children, i18n = defaultI18n } = props;\n\tconst [ update, forceUpdate ] = useReducer( () => [], [] );\n\n\t// rerender translations whenever the i18n instance fires a change event\n\tuseEffect( () => i18n.subscribe( forceUpdate ), [ i18n ] );\n\n\tconst value = useMemo( () => makeContextValue( i18n ), [ i18n, update ] );\n\n\treturn (\n\t\t<I18nContext.Provider value={ value }>\n\t\t\t{ children }\n\t\t</I18nContext.Provider>\n\t);\n}\n\n/**\n * React hook providing access to i18n functions. It exposes the `__`, `_x`, `_n`, `_nx`,\n * `isRTL` and `hasTranslation` functions from [`@wordpress/i18n`](../i18n).\n * Refer to their documentation there.\n *\n * @example\n * ```js\n * import { useI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent() {\n * \tconst { __ } = useI18n();\n * \treturn __( 'Hello, world!' );\n * }\n * ```\n */\nexport const useI18n = () => useContext( I18nContext );\n\ntype PropsAndI18n< P > = Pick<\n\tP,\n\tExclude< keyof P, '__' | '_x' | '_n' | '_nx' | 'isRTL' | 'hasTranslation' >\n>;\n\n/**\n * React higher-order component that passes the i18n translate functions (the same set\n * as exposed by the `useI18n` hook) to the wrapped component as props.\n *\n * @example\n * ```js\n * import { withI18n } from '@wordpress/react-i18n';\n *\n * function MyComponent( { __ } ) {\n * \treturn __( 'Hello, world!' );\n * }\n *\n * export default withI18n( MyComponent );\n * ```\n *\n * @param InnerComponent React component to be wrapped and receive the i18n functions like `__`\n * @return The wrapped component\n */\nexport function withI18n< P extends I18nContextProps >(\n\tInnerComponent: ComponentType< P >\n): FunctionComponent< PropsAndI18n< P > > {\n\tconst EnhancedComponent: ComponentType<\n\t\tSubtract< P, I18nContextProps >\n\t> = ( props ) => {\n\t\tconst i18nProps = useI18n();\n\t\treturn <InnerComponent { ...( props as P ) } { ...i18nProps } />;\n\t};\n\tconst innerComponentName =\n\t\tInnerComponent.displayName || InnerComponent.name || 'Component';\n\tEnhancedComponent.displayName = `WithI18n(${ innerComponentName })`;\n\treturn EnhancedComponent;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EACX,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,OAAO,CAAC;AAef,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,UAAU,gBAAgB;IACzB,EAAE,EAAE,IAAI,CAAE,IAAI,CAAE,CAAC;IACjB,EAAE,EAAE,IAAI,CAAE,IAAI,CAAE,CAAC;IACjB,EAAE,EAAE,IAAI,CAAE,IAAI,CAAE,CAAC;IACjB,GAAG,EAAE,IAAI,CAAE,KAAK,CAAE,CAAC;IACnB,KAAK,EAAE,IAAI,CAAE,OAAO,CAAE,CAAC;IACvB,cAAc,EAAE,IAAI,CAAE,gBAAgB,CAAE,CAAC;CACzC;AAoBD,aAAK,iBAAiB,GAAG,iBAAiB,CAAE;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAE,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAE,KAAK,EAAE,iBAAiB,GAAI,GAAG,CAAC,OAAO,CAcpE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,OAAO,wBAAkC,CAAC;AAEvD,aAAK,YAAY,CAAE,CAAC,IAAK,IAAI,CAC5B,CAAC,EACD,OAAO,CAAE,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,GAAG,gBAAgB,CAAE,CAC3E,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,QAAQ,CAAE,CAAC,SAAS,gBAAgB,EACnD,cAAc,EAAE,aAAa,CAAE,CAAC,CAAE,GAChC,iBAAiB,CAAE,YAAY,CAAE,CAAC,CAAE,CAAE,CAWxC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EACX,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,OAAO,CAAC;AAcf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,UAAU,gBAAgB;IACzB,EAAE,EAAE,IAAI,CAAE,IAAI,CAAE,CAAC;IACjB,EAAE,EAAE,IAAI,CAAE,IAAI,CAAE,CAAC;IACjB,EAAE,EAAE,IAAI,CAAE,IAAI,CAAE,CAAC;IACjB,GAAG,EAAE,IAAI,CAAE,KAAK,CAAE,CAAC;IACnB,KAAK,EAAE,IAAI,CAAE,OAAO,CAAE,CAAC;IACvB,cAAc,EAAE,IAAI,CAAE,gBAAgB,CAAE,CAAC;CACzC;AAoBD,aAAK,iBAAiB,GAAG,iBAAiB,CAAE;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAE,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAE,KAAK,EAAE,iBAAiB,GAAI,GAAG,CAAC,OAAO,CAcpE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,OAAO,wBAAkC,CAAC;AAEvD,aAAK,YAAY,CAAE,CAAC,IAAK,IAAI,CAC5B,CAAC,EACD,OAAO,CAAE,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,GAAG,gBAAgB,CAAE,CAC3E,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,QAAQ,CAAE,CAAC,SAAS,gBAAgB,EACnD,cAAc,EAAE,aAAa,CAAE,CAAC,CAAE,GAChC,iBAAiB,CAAE,YAAY,CAAE,CAAC,CAAE,CAAE,CAWxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/react-i18n",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "React bindings for @wordpress/i18n.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -28,12 +28,12 @@
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.13.10",
31
- "@wordpress/element": "^4.0.0",
32
- "@wordpress/i18n": "^4.2.1",
31
+ "@wordpress/element": "^4.0.2",
32
+ "@wordpress/i18n": "^4.2.3",
33
33
  "utility-types": "^3.10.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "4e106dd6283fd742aeb521ebc0ae29f35d4274b4"
38
+ "gitHead": "8f7f052bc04e3f4eb50f479ced14be1489b9fa79"
39
39
  }
package/src/index.tsx CHANGED
@@ -21,7 +21,6 @@ import {
21
21
  useReducer,
22
22
  } from '@wordpress/element';
23
23
  import { defaultI18n } from '@wordpress/i18n';
24
- // eslint-disable-next-line no-duplicate-imports
25
24
  import type { I18n } from '@wordpress/i18n';
26
25
  interface I18nContextProps {
27
26
  __: I18n[ '__' ];
@@ -1,667 +1 @@
1
- {
2
- "program": {
3
- "fileInfos": {
4
- "../../node_modules/typescript/lib/lib.es5.d.ts": {
5
- "version": "9622e8bd7cc72a7dab819a8011ecbf81d443638082e5cb99ecf2e75ff56ffc9d",
6
- "signature": "9622e8bd7cc72a7dab819a8011ecbf81d443638082e5cb99ecf2e75ff56ffc9d",
7
- "affectsGlobalScope": true
8
- },
9
- "../../node_modules/typescript/lib/lib.es2015.d.ts": {
10
- "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6",
11
- "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6",
12
- "affectsGlobalScope": false
13
- },
14
- "../../node_modules/typescript/lib/lib.es2016.d.ts": {
15
- "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467",
16
- "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467",
17
- "affectsGlobalScope": false
18
- },
19
- "../../node_modules/typescript/lib/lib.es2017.d.ts": {
20
- "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9",
21
- "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9",
22
- "affectsGlobalScope": false
23
- },
24
- "../../node_modules/typescript/lib/lib.es2018.d.ts": {
25
- "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",
26
- "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",
27
- "affectsGlobalScope": false
28
- },
29
- "../../node_modules/typescript/lib/lib.es2019.d.ts": {
30
- "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",
31
- "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",
32
- "affectsGlobalScope": false
33
- },
34
- "../../node_modules/typescript/lib/lib.es2020.d.ts": {
35
- "version": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",
36
- "signature": "e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",
37
- "affectsGlobalScope": false
38
- },
39
- "../../node_modules/typescript/lib/lib.esnext.d.ts": {
40
- "version": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302",
41
- "signature": "fc7a21dd3ee27fd0a9ff1c46534efcd9c3cec51a445b479bb326d871c0aa8302",
42
- "affectsGlobalScope": false
43
- },
44
- "../../node_modules/typescript/lib/lib.dom.d.ts": {
45
- "version": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84",
46
- "signature": "abadddbf660adeec27e9a56584907d52fa1d6e1e1dc49f639a921baa951b7a84",
47
- "affectsGlobalScope": true
48
- },
49
- "../../node_modules/typescript/lib/lib.es2015.core.d.ts": {
50
- "version": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17",
51
- "signature": "46ee15e9fefa913333b61eaf6b18885900b139867d89832a515059b62cf16a17",
52
- "affectsGlobalScope": true
53
- },
54
- "../../node_modules/typescript/lib/lib.es2015.collection.d.ts": {
55
- "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c",
56
- "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c",
57
- "affectsGlobalScope": true
58
- },
59
- "../../node_modules/typescript/lib/lib.es2015.generator.d.ts": {
60
- "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a",
61
- "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a",
62
- "affectsGlobalScope": true
63
- },
64
- "../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": {
65
- "version": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a",
66
- "signature": "8b2a5df1ce95f78f6b74f1a555ccdb6baab0486b42d8345e0871dd82811f9b9a",
67
- "affectsGlobalScope": true
68
- },
69
- "../../node_modules/typescript/lib/lib.es2015.promise.d.ts": {
70
- "version": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c",
71
- "signature": "2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c",
72
- "affectsGlobalScope": true
73
- },
74
- "../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": {
75
- "version": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e",
76
- "signature": "7207e317a2cb07a177e7d963ab7b8c0e85dde7f9ddb50351f830239bf597569e",
77
- "affectsGlobalScope": true
78
- },
79
- "../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": {
80
- "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d",
81
- "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d",
82
- "affectsGlobalScope": true
83
- },
84
- "../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": {
85
- "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93",
86
- "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93",
87
- "affectsGlobalScope": true
88
- },
89
- "../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": {
90
- "version": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551",
91
- "signature": "9d122b7e8c1a5c72506eea50c0973cba55b92b5532d5cafa8a6ce2c547d57551",
92
- "affectsGlobalScope": true
93
- },
94
- "../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": {
95
- "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006",
96
- "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006",
97
- "affectsGlobalScope": true
98
- },
99
- "../../node_modules/typescript/lib/lib.es2017.object.d.ts": {
100
- "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a",
101
- "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a",
102
- "affectsGlobalScope": true
103
- },
104
- "../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": {
105
- "version": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98",
106
- "signature": "7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98",
107
- "affectsGlobalScope": true
108
- },
109
- "../../node_modules/typescript/lib/lib.es2017.string.d.ts": {
110
- "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577",
111
- "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577",
112
- "affectsGlobalScope": true
113
- },
114
- "../../node_modules/typescript/lib/lib.es2017.intl.d.ts": {
115
- "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d",
116
- "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d",
117
- "affectsGlobalScope": true
118
- },
119
- "../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": {
120
- "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e",
121
- "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e",
122
- "affectsGlobalScope": true
123
- },
124
- "../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": {
125
- "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a",
126
- "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a",
127
- "affectsGlobalScope": true
128
- },
129
- "../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": {
130
- "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359",
131
- "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359",
132
- "affectsGlobalScope": true
133
- },
134
- "../../node_modules/typescript/lib/lib.es2018.intl.d.ts": {
135
- "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e",
136
- "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e",
137
- "affectsGlobalScope": true
138
- },
139
- "../../node_modules/typescript/lib/lib.es2018.promise.d.ts": {
140
- "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c",
141
- "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c",
142
- "affectsGlobalScope": true
143
- },
144
- "../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": {
145
- "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8",
146
- "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8",
147
- "affectsGlobalScope": true
148
- },
149
- "../../node_modules/typescript/lib/lib.es2019.array.d.ts": {
150
- "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951",
151
- "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951",
152
- "affectsGlobalScope": true
153
- },
154
- "../../node_modules/typescript/lib/lib.es2019.object.d.ts": {
155
- "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de",
156
- "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de",
157
- "affectsGlobalScope": true
158
- },
159
- "../../node_modules/typescript/lib/lib.es2019.string.d.ts": {
160
- "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1",
161
- "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1",
162
- "affectsGlobalScope": true
163
- },
164
- "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": {
165
- "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993",
166
- "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993",
167
- "affectsGlobalScope": true
168
- },
169
- "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": {
170
- "version": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09",
171
- "signature": "7b5a10e3c897fabece5a51aa85b4111727d7adb53c2734b5d37230ff96802a09",
172
- "affectsGlobalScope": true
173
- },
174
- "../../node_modules/typescript/lib/lib.es2020.promise.d.ts": {
175
- "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862",
176
- "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862",
177
- "affectsGlobalScope": true
178
- },
179
- "../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts": {
180
- "version": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40",
181
- "signature": "e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40",
182
- "affectsGlobalScope": true
183
- },
184
- "../../node_modules/typescript/lib/lib.es2020.string.d.ts": {
185
- "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e",
186
- "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e",
187
- "affectsGlobalScope": true
188
- },
189
- "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": {
190
- "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a",
191
- "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a",
192
- "affectsGlobalScope": true
193
- },
194
- "../../node_modules/typescript/lib/lib.es2020.intl.d.ts": {
195
- "version": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1",
196
- "signature": "31e8df2398e328077079c17ea4f1664bad0a34adf8b0608837e504e310e329a1",
197
- "affectsGlobalScope": true
198
- },
199
- "../../node_modules/typescript/lib/lib.esnext.intl.d.ts": {
200
- "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd",
201
- "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd",
202
- "affectsGlobalScope": true
203
- },
204
- "../../node_modules/typescript/lib/lib.esnext.string.d.ts": {
205
- "version": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe",
206
- "signature": "fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe",
207
- "affectsGlobalScope": true
208
- },
209
- "../../node_modules/typescript/lib/lib.esnext.promise.d.ts": {
210
- "version": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e",
211
- "signature": "cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e",
212
- "affectsGlobalScope": true
213
- },
214
- "../../node_modules/typescript/lib/lib.esnext.weakref.d.ts": {
215
- "version": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f",
216
- "signature": "1e61418f41d404e744b6536af9f8c6f6674dd4d54c12335cd0c4f7eded69cf3f",
217
- "affectsGlobalScope": true
218
- },
219
- "../../node_modules/@types/react/global.d.ts": {
220
- "version": "ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6",
221
- "signature": "ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6",
222
- "affectsGlobalScope": true
223
- },
224
- "../../node_modules/@types/react/node_modules/csstype/index.d.ts": {
225
- "version": "b3a4ee9791cdd4f5029b3ffe60b9cae1ac308a4238b0444f40a5222e4ecc5cc1",
226
- "signature": "b3a4ee9791cdd4f5029b3ffe60b9cae1ac308a4238b0444f40a5222e4ecc5cc1",
227
- "affectsGlobalScope": false
228
- },
229
- "../../node_modules/@types/prop-types/index.d.ts": {
230
- "version": "a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad",
231
- "signature": "a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad",
232
- "affectsGlobalScope": false
233
- },
234
- "../../node_modules/@types/react/index.d.ts": {
235
- "version": "0290ce481d9430774f1d41e757d087e9324b497e1ee0a9e908cf57a9f8bc6e0d",
236
- "signature": "0290ce481d9430774f1d41e757d087e9324b497e1ee0a9e908cf57a9f8bc6e0d",
237
- "affectsGlobalScope": true
238
- },
239
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts": {
240
- "version": "bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8",
241
- "signature": "bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8",
242
- "affectsGlobalScope": false
243
- },
244
- "../../node_modules/utility-types/dist/mapped-types.d.ts": {
245
- "version": "55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e",
246
- "signature": "55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e",
247
- "affectsGlobalScope": false
248
- },
249
- "../../node_modules/utility-types/dist/utility-types.d.ts": {
250
- "version": "bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7",
251
- "signature": "bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7",
252
- "affectsGlobalScope": false
253
- },
254
- "../../node_modules/utility-types/dist/functional-helpers.d.ts": {
255
- "version": "5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b",
256
- "signature": "5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b",
257
- "affectsGlobalScope": false
258
- },
259
- "../../node_modules/utility-types/dist/index.d.ts": {
260
- "version": "ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb",
261
- "signature": "ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb",
262
- "affectsGlobalScope": false
263
- },
264
- "../element/build-types/create-interpolate-element.d.ts": {
265
- "version": "714f021dc2db2b15b51a8b804033bd026c8b4c4684bdd193491d47eb05bc7609",
266
- "signature": "714f021dc2db2b15b51a8b804033bd026c8b4c4684bdd193491d47eb05bc7609",
267
- "affectsGlobalScope": false
268
- },
269
- "../element/build-types/react.d.ts": {
270
- "version": "9f6d5663e46086245bce47df222e43bf63ad3044dfe23643c15c283a1c013fcb",
271
- "signature": "9f6d5663e46086245bce47df222e43bf63ad3044dfe23643c15c283a1c013fcb",
272
- "affectsGlobalScope": false
273
- },
274
- "../../node_modules/@types/react-dom/index.d.ts": {
275
- "version": "c45d6f4d3a20be54e46237608f537a8d85397f87b9c3318d68ed925c2f1d0b51",
276
- "signature": "c45d6f4d3a20be54e46237608f537a8d85397f87b9c3318d68ed925c2f1d0b51",
277
- "affectsGlobalScope": false
278
- },
279
- "../element/build-types/react-platform.d.ts": {
280
- "version": "64edfb2b255173bc63214290f9c3ed2306d658b5895ca482a0f20f03fd544ffc",
281
- "signature": "64edfb2b255173bc63214290f9c3ed2306d658b5895ca482a0f20f03fd544ffc",
282
- "affectsGlobalScope": false
283
- },
284
- "../element/build-types/utils.d.ts": {
285
- "version": "d2d9e98a2b167079474768593e1e7125fc3db055add8fbdb5977e3d05a8a3696",
286
- "signature": "d2d9e98a2b167079474768593e1e7125fc3db055add8fbdb5977e3d05a8a3696",
287
- "affectsGlobalScope": false
288
- },
289
- "../element/build-types/platform.d.ts": {
290
- "version": "93035ec2c9db63a62f000e1c6eac2c620aa35d6a9e966334bf3afefe35103a0a",
291
- "signature": "93035ec2c9db63a62f000e1c6eac2c620aa35d6a9e966334bf3afefe35103a0a",
292
- "affectsGlobalScope": false
293
- },
294
- "../element/build-types/serialize.d.ts": {
295
- "version": "54ac5951247217d6eb7def04109838359c2d35347780a1a9a50ba5c08104584e",
296
- "signature": "54ac5951247217d6eb7def04109838359c2d35347780a1a9a50ba5c08104584e",
297
- "affectsGlobalScope": false
298
- },
299
- "../element/build-types/raw-html.d.ts": {
300
- "version": "215de5a51de5d973a10f09df709d622f84ce5abfa98003afa0c99f9ad9feab7e",
301
- "signature": "215de5a51de5d973a10f09df709d622f84ce5abfa98003afa0c99f9ad9feab7e",
302
- "affectsGlobalScope": false
303
- },
304
- "../element/build-types/index.d.ts": {
305
- "version": "0449615e1ed03c7d54fc435a63b7ef0cb4e5cea5ac40c9a63280a46f7eeae0ff",
306
- "signature": "0449615e1ed03c7d54fc435a63b7ef0cb4e5cea5ac40c9a63280a46f7eeae0ff",
307
- "affectsGlobalScope": false
308
- },
309
- "../i18n/build-types/sprintf.d.ts": {
310
- "version": "762bc52248d3fab9873c7af564caf622358312cb35de42a4393b71cc36e14621",
311
- "signature": "762bc52248d3fab9873c7af564caf622358312cb35de42a4393b71cc36e14621",
312
- "affectsGlobalScope": false
313
- },
314
- "../hooks/build-types/createaddhook.d.ts": {
315
- "version": "d02ec79cefaf292fae64b3be5a4416e64b4e420a6429fd458fac6e1bb4c7950e",
316
- "signature": "d02ec79cefaf292fae64b3be5a4416e64b4e420a6429fd458fac6e1bb4c7950e",
317
- "affectsGlobalScope": false
318
- },
319
- "../hooks/build-types/createremovehook.d.ts": {
320
- "version": "27abed653f600ea0d5c86e94181beb42824e0f3f16337e2f9e7e9e9c2c392edf",
321
- "signature": "27abed653f600ea0d5c86e94181beb42824e0f3f16337e2f9e7e9e9c2c392edf",
322
- "affectsGlobalScope": false
323
- },
324
- "../hooks/build-types/createhashook.d.ts": {
325
- "version": "d7871e0e653aa7197fee88886db5678bee6d42164c1f36e4bce9421ddfa7ca49",
326
- "signature": "d7871e0e653aa7197fee88886db5678bee6d42164c1f36e4bce9421ddfa7ca49",
327
- "affectsGlobalScope": false
328
- },
329
- "../hooks/build-types/createdoinghook.d.ts": {
330
- "version": "11ed10bdb3bcc99893570507eac8fece4840add97ee1d4f5a7fbf41cbfdea0d4",
331
- "signature": "11ed10bdb3bcc99893570507eac8fece4840add97ee1d4f5a7fbf41cbfdea0d4",
332
- "affectsGlobalScope": false
333
- },
334
- "../hooks/build-types/createdidhook.d.ts": {
335
- "version": "429fb571d3db07d3eaa2e74d43eb4190ece3e0de832ed564aeeaf08873e598eb",
336
- "signature": "429fb571d3db07d3eaa2e74d43eb4190ece3e0de832ed564aeeaf08873e598eb",
337
- "affectsGlobalScope": false
338
- },
339
- "../hooks/build-types/index.d.ts": {
340
- "version": "e1dbde0dd2cee229c90b3f3ebec3fb87089d4c872b5a55dce3a6e1f99665e978",
341
- "signature": "e1dbde0dd2cee229c90b3f3ebec3fb87089d4c872b5a55dce3a6e1f99665e978",
342
- "affectsGlobalScope": false
343
- },
344
- "../hooks/build-types/createhooks.d.ts": {
345
- "version": "d3060e0810fc0d0dc009e6f086ef413d3c8aeaaf07da25c8d25fd4e181646acf",
346
- "signature": "d3060e0810fc0d0dc009e6f086ef413d3c8aeaaf07da25c8d25fd4e181646acf",
347
- "affectsGlobalScope": false
348
- },
349
- "../i18n/build-types/create-i18n.d.ts": {
350
- "version": "28f3851646144f2745c0f67d962a2a8e5cf4f146fda1efd276420e761efc72ae",
351
- "signature": "28f3851646144f2745c0f67d962a2a8e5cf4f146fda1efd276420e761efc72ae",
352
- "affectsGlobalScope": false
353
- },
354
- "../i18n/build-types/default-i18n.d.ts": {
355
- "version": "892d4a58891814b308cdb49a55528bac0a81a89676bd1b830cc985ea38a54095",
356
- "signature": "892d4a58891814b308cdb49a55528bac0a81a89676bd1b830cc985ea38a54095",
357
- "affectsGlobalScope": false
358
- },
359
- "../i18n/build-types/index.d.ts": {
360
- "version": "f829eb39aea4487f0ff94a42c56a1a73bc5202bbdeb03f7a638e4ab3e290d017",
361
- "signature": "f829eb39aea4487f0ff94a42c56a1a73bc5202bbdeb03f7a638e4ab3e290d017",
362
- "affectsGlobalScope": false
363
- },
364
- "./src/index.tsx": {
365
- "version": "6ed031651669cc1dc0a8997b59235b9f629e630ec4abe0d45808513c06979c2d",
366
- "signature": "8ed93960eb3aeaf84e53acd3b93b4d2360a2879dbbe9866aad337405e1ffb9ec",
367
- "affectsGlobalScope": false
368
- }
369
- },
370
- "options": {
371
- "allowJs": true,
372
- "checkJs": true,
373
- "allowSyntheticDefaultImports": true,
374
- "jsx": 1,
375
- "target": 99,
376
- "module": 99,
377
- "lib": [
378
- "lib.dom.d.ts",
379
- "lib.esnext.d.ts"
380
- ],
381
- "declaration": true,
382
- "declarationMap": true,
383
- "composite": true,
384
- "emitDeclarationOnly": true,
385
- "isolatedModules": true,
386
- "strict": true,
387
- "noUnusedLocals": true,
388
- "noUnusedParameters": true,
389
- "noImplicitReturns": true,
390
- "noFallthroughCasesInSwitch": true,
391
- "importsNotUsedAsValues": 2,
392
- "moduleResolution": 2,
393
- "esModuleInterop": false,
394
- "resolveJsonModule": true,
395
- "typeRoots": [
396
- "../../typings",
397
- "../../node_modules/@types"
398
- ],
399
- "types": [],
400
- "rootDir": "./src",
401
- "declarationDir": "./build-types",
402
- "configFilePath": "./tsconfig.json"
403
- },
404
- "referencedMap": {
405
- "../../node_modules/@types/react-dom/index.d.ts": [
406
- "../../node_modules/@types/react/index.d.ts"
407
- ],
408
- "../../node_modules/@types/react/index.d.ts": [
409
- "../../node_modules/@types/prop-types/index.d.ts",
410
- "../../node_modules/@types/react/global.d.ts",
411
- "../../node_modules/@types/react/node_modules/csstype/index.d.ts"
412
- ],
413
- "../../node_modules/utility-types/dist/index.d.ts": [
414
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts",
415
- "../../node_modules/utility-types/dist/functional-helpers.d.ts",
416
- "../../node_modules/utility-types/dist/mapped-types.d.ts",
417
- "../../node_modules/utility-types/dist/utility-types.d.ts"
418
- ],
419
- "../../node_modules/utility-types/dist/mapped-types.d.ts": [
420
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts"
421
- ],
422
- "../../node_modules/utility-types/dist/utility-types.d.ts": [
423
- "../../node_modules/utility-types/dist/mapped-types.d.ts"
424
- ],
425
- "../element/build-types/create-interpolate-element.d.ts": [
426
- "../../node_modules/@types/react/index.d.ts"
427
- ],
428
- "../element/build-types/index.d.ts": [
429
- "../element/build-types/create-interpolate-element.d.ts",
430
- "../element/build-types/platform.d.ts",
431
- "../element/build-types/raw-html.d.ts",
432
- "../element/build-types/react-platform.d.ts",
433
- "../element/build-types/react.d.ts",
434
- "../element/build-types/serialize.d.ts",
435
- "../element/build-types/utils.d.ts"
436
- ],
437
- "../element/build-types/raw-html.d.ts": [
438
- "../../node_modules/@types/react/index.d.ts"
439
- ],
440
- "../element/build-types/react-platform.d.ts": [
441
- "../../node_modules/@types/react-dom/index.d.ts"
442
- ],
443
- "../element/build-types/react.d.ts": [
444
- "../../node_modules/@types/react/index.d.ts"
445
- ],
446
- "../element/build-types/serialize.d.ts": [
447
- "../../node_modules/@types/react/index.d.ts"
448
- ],
449
- "../hooks/build-types/createaddhook.d.ts": [
450
- "../hooks/build-types/index.d.ts"
451
- ],
452
- "../hooks/build-types/createdidhook.d.ts": [
453
- "../hooks/build-types/index.d.ts"
454
- ],
455
- "../hooks/build-types/createdoinghook.d.ts": [
456
- "../hooks/build-types/index.d.ts"
457
- ],
458
- "../hooks/build-types/createhashook.d.ts": [
459
- "../hooks/build-types/index.d.ts"
460
- ],
461
- "../hooks/build-types/createhooks.d.ts": [
462
- "../hooks/build-types/createaddhook.d.ts",
463
- "../hooks/build-types/createdidhook.d.ts",
464
- "../hooks/build-types/createdoinghook.d.ts",
465
- "../hooks/build-types/createhashook.d.ts",
466
- "../hooks/build-types/createremovehook.d.ts",
467
- "../hooks/build-types/index.d.ts"
468
- ],
469
- "../hooks/build-types/createremovehook.d.ts": [
470
- "../hooks/build-types/index.d.ts"
471
- ],
472
- "../hooks/build-types/index.d.ts": [
473
- "../hooks/build-types/createaddhook.d.ts",
474
- "../hooks/build-types/createdidhook.d.ts",
475
- "../hooks/build-types/createdoinghook.d.ts",
476
- "../hooks/build-types/createhashook.d.ts",
477
- "../hooks/build-types/createhooks.d.ts",
478
- "../hooks/build-types/createremovehook.d.ts"
479
- ],
480
- "../i18n/build-types/create-i18n.d.ts": [
481
- "../hooks/build-types/createhooks.d.ts"
482
- ],
483
- "../i18n/build-types/default-i18n.d.ts": [
484
- "../i18n/build-types/create-i18n.d.ts"
485
- ],
486
- "../i18n/build-types/index.d.ts": [
487
- "../i18n/build-types/create-i18n.d.ts",
488
- "../i18n/build-types/default-i18n.d.ts",
489
- "../i18n/build-types/sprintf.d.ts"
490
- ],
491
- "./src/index.tsx": [
492
- "../../node_modules/@types/react/index.d.ts",
493
- "../../node_modules/utility-types/dist/index.d.ts",
494
- "../element/build-types/index.d.ts",
495
- "../i18n/build-types/index.d.ts"
496
- ]
497
- },
498
- "exportedModulesMap": {
499
- "../../node_modules/@types/react-dom/index.d.ts": [
500
- "../../node_modules/@types/react/index.d.ts"
501
- ],
502
- "../../node_modules/@types/react/index.d.ts": [
503
- "../../node_modules/@types/prop-types/index.d.ts",
504
- "../../node_modules/@types/react/global.d.ts",
505
- "../../node_modules/@types/react/node_modules/csstype/index.d.ts"
506
- ],
507
- "../../node_modules/utility-types/dist/index.d.ts": [
508
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts",
509
- "../../node_modules/utility-types/dist/functional-helpers.d.ts",
510
- "../../node_modules/utility-types/dist/mapped-types.d.ts",
511
- "../../node_modules/utility-types/dist/utility-types.d.ts"
512
- ],
513
- "../../node_modules/utility-types/dist/mapped-types.d.ts": [
514
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts"
515
- ],
516
- "../../node_modules/utility-types/dist/utility-types.d.ts": [
517
- "../../node_modules/utility-types/dist/mapped-types.d.ts"
518
- ],
519
- "../element/build-types/create-interpolate-element.d.ts": [
520
- "../../node_modules/@types/react/index.d.ts"
521
- ],
522
- "../element/build-types/index.d.ts": [
523
- "../element/build-types/create-interpolate-element.d.ts",
524
- "../element/build-types/platform.d.ts",
525
- "../element/build-types/raw-html.d.ts",
526
- "../element/build-types/react-platform.d.ts",
527
- "../element/build-types/react.d.ts",
528
- "../element/build-types/serialize.d.ts",
529
- "../element/build-types/utils.d.ts"
530
- ],
531
- "../element/build-types/raw-html.d.ts": [
532
- "../../node_modules/@types/react/index.d.ts"
533
- ],
534
- "../element/build-types/react-platform.d.ts": [
535
- "../../node_modules/@types/react-dom/index.d.ts"
536
- ],
537
- "../element/build-types/react.d.ts": [
538
- "../../node_modules/@types/react/index.d.ts"
539
- ],
540
- "../element/build-types/serialize.d.ts": [
541
- "../../node_modules/@types/react/index.d.ts"
542
- ],
543
- "../hooks/build-types/createaddhook.d.ts": [
544
- "../hooks/build-types/index.d.ts"
545
- ],
546
- "../hooks/build-types/createdidhook.d.ts": [
547
- "../hooks/build-types/index.d.ts"
548
- ],
549
- "../hooks/build-types/createdoinghook.d.ts": [
550
- "../hooks/build-types/index.d.ts"
551
- ],
552
- "../hooks/build-types/createhashook.d.ts": [
553
- "../hooks/build-types/index.d.ts"
554
- ],
555
- "../hooks/build-types/createhooks.d.ts": [
556
- "../hooks/build-types/createaddhook.d.ts",
557
- "../hooks/build-types/createdidhook.d.ts",
558
- "../hooks/build-types/createdoinghook.d.ts",
559
- "../hooks/build-types/createhashook.d.ts",
560
- "../hooks/build-types/createremovehook.d.ts",
561
- "../hooks/build-types/index.d.ts"
562
- ],
563
- "../hooks/build-types/createremovehook.d.ts": [
564
- "../hooks/build-types/index.d.ts"
565
- ],
566
- "../hooks/build-types/index.d.ts": [
567
- "../hooks/build-types/createaddhook.d.ts",
568
- "../hooks/build-types/createdidhook.d.ts",
569
- "../hooks/build-types/createdoinghook.d.ts",
570
- "../hooks/build-types/createhashook.d.ts",
571
- "../hooks/build-types/createhooks.d.ts",
572
- "../hooks/build-types/createremovehook.d.ts"
573
- ],
574
- "../i18n/build-types/create-i18n.d.ts": [
575
- "../hooks/build-types/createhooks.d.ts"
576
- ],
577
- "../i18n/build-types/default-i18n.d.ts": [
578
- "../i18n/build-types/create-i18n.d.ts"
579
- ],
580
- "../i18n/build-types/index.d.ts": [
581
- "../i18n/build-types/create-i18n.d.ts",
582
- "../i18n/build-types/default-i18n.d.ts",
583
- "../i18n/build-types/sprintf.d.ts"
584
- ],
585
- "./src/index.tsx": [
586
- "../../node_modules/@types/react/index.d.ts",
587
- "../i18n/build-types/index.d.ts"
588
- ]
589
- },
590
- "semanticDiagnosticsPerFile": [
591
- "../../node_modules/@types/prop-types/index.d.ts",
592
- "../../node_modules/@types/react-dom/index.d.ts",
593
- "../../node_modules/@types/react/global.d.ts",
594
- "../../node_modules/@types/react/index.d.ts",
595
- "../../node_modules/@types/react/node_modules/csstype/index.d.ts",
596
- "../../node_modules/typescript/lib/lib.dom.d.ts",
597
- "../../node_modules/typescript/lib/lib.es2015.collection.d.ts",
598
- "../../node_modules/typescript/lib/lib.es2015.core.d.ts",
599
- "../../node_modules/typescript/lib/lib.es2015.d.ts",
600
- "../../node_modules/typescript/lib/lib.es2015.generator.d.ts",
601
- "../../node_modules/typescript/lib/lib.es2015.iterable.d.ts",
602
- "../../node_modules/typescript/lib/lib.es2015.promise.d.ts",
603
- "../../node_modules/typescript/lib/lib.es2015.proxy.d.ts",
604
- "../../node_modules/typescript/lib/lib.es2015.reflect.d.ts",
605
- "../../node_modules/typescript/lib/lib.es2015.symbol.d.ts",
606
- "../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
607
- "../../node_modules/typescript/lib/lib.es2016.array.include.d.ts",
608
- "../../node_modules/typescript/lib/lib.es2016.d.ts",
609
- "../../node_modules/typescript/lib/lib.es2017.d.ts",
610
- "../../node_modules/typescript/lib/lib.es2017.intl.d.ts",
611
- "../../node_modules/typescript/lib/lib.es2017.object.d.ts",
612
- "../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts",
613
- "../../node_modules/typescript/lib/lib.es2017.string.d.ts",
614
- "../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts",
615
- "../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts",
616
- "../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts",
617
- "../../node_modules/typescript/lib/lib.es2018.d.ts",
618
- "../../node_modules/typescript/lib/lib.es2018.intl.d.ts",
619
- "../../node_modules/typescript/lib/lib.es2018.promise.d.ts",
620
- "../../node_modules/typescript/lib/lib.es2018.regexp.d.ts",
621
- "../../node_modules/typescript/lib/lib.es2019.array.d.ts",
622
- "../../node_modules/typescript/lib/lib.es2019.d.ts",
623
- "../../node_modules/typescript/lib/lib.es2019.object.d.ts",
624
- "../../node_modules/typescript/lib/lib.es2019.string.d.ts",
625
- "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts",
626
- "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts",
627
- "../../node_modules/typescript/lib/lib.es2020.d.ts",
628
- "../../node_modules/typescript/lib/lib.es2020.intl.d.ts",
629
- "../../node_modules/typescript/lib/lib.es2020.promise.d.ts",
630
- "../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts",
631
- "../../node_modules/typescript/lib/lib.es2020.string.d.ts",
632
- "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts",
633
- "../../node_modules/typescript/lib/lib.es5.d.ts",
634
- "../../node_modules/typescript/lib/lib.esnext.d.ts",
635
- "../../node_modules/typescript/lib/lib.esnext.intl.d.ts",
636
- "../../node_modules/typescript/lib/lib.esnext.promise.d.ts",
637
- "../../node_modules/typescript/lib/lib.esnext.string.d.ts",
638
- "../../node_modules/typescript/lib/lib.esnext.weakref.d.ts",
639
- "../../node_modules/utility-types/dist/aliases-and-guards.d.ts",
640
- "../../node_modules/utility-types/dist/functional-helpers.d.ts",
641
- "../../node_modules/utility-types/dist/index.d.ts",
642
- "../../node_modules/utility-types/dist/mapped-types.d.ts",
643
- "../../node_modules/utility-types/dist/utility-types.d.ts",
644
- "../element/build-types/create-interpolate-element.d.ts",
645
- "../element/build-types/index.d.ts",
646
- "../element/build-types/platform.d.ts",
647
- "../element/build-types/raw-html.d.ts",
648
- "../element/build-types/react-platform.d.ts",
649
- "../element/build-types/react.d.ts",
650
- "../element/build-types/serialize.d.ts",
651
- "../element/build-types/utils.d.ts",
652
- "../hooks/build-types/createaddhook.d.ts",
653
- "../hooks/build-types/createdidhook.d.ts",
654
- "../hooks/build-types/createdoinghook.d.ts",
655
- "../hooks/build-types/createhashook.d.ts",
656
- "../hooks/build-types/createhooks.d.ts",
657
- "../hooks/build-types/createremovehook.d.ts",
658
- "../hooks/build-types/index.d.ts",
659
- "../i18n/build-types/create-i18n.d.ts",
660
- "../i18n/build-types/default-i18n.d.ts",
661
- "../i18n/build-types/index.d.ts",
662
- "../i18n/build-types/sprintf.d.ts",
663
- "./src/index.tsx"
664
- ]
665
- },
666
- "version": "4.1.3"
667
- }
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/@types/react/node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/utility-types/dist/aliases-and-guards.d.ts","../../node_modules/utility-types/dist/mapped-types.d.ts","../../node_modules/utility-types/dist/utility-types.d.ts","../../node_modules/utility-types/dist/functional-helpers.d.ts","../../node_modules/utility-types/dist/index.d.ts","../element/build-types/react.d.ts","../element/build-types/create-interpolate-element.d.ts","../../node_modules/@types/react-dom/index.d.ts","../element/build-types/react-platform.d.ts","../element/build-types/utils.d.ts","../element/build-types/platform.d.ts","../element/build-types/serialize.d.ts","../element/build-types/raw-html.d.ts","../element/build-types/index.d.ts","../i18n/build-types/sprintf.d.ts","../hooks/build-types/createaddhook.d.ts","../hooks/build-types/createremovehook.d.ts","../hooks/build-types/createhashook.d.ts","../hooks/build-types/createdoinghook.d.ts","../hooks/build-types/createdidhook.d.ts","../hooks/build-types/index.d.ts","../hooks/build-types/createhooks.d.ts","../i18n/build-types/create-i18n.d.ts","../i18n/build-types/default-i18n.d.ts","../i18n/build-types/index.d.ts","./src/index.tsx"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"b3a4ee9791cdd4f5029b3ffe60b9cae1ac308a4238b0444f40a5222e4ecc5cc1","a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad",{"version":"0290ce481d9430774f1d41e757d087e9324b497e1ee0a9e908cf57a9f8bc6e0d","affectsGlobalScope":true},"bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8","55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e","bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7","5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b","ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb","e59d00012fb20e6746def2f4bc94650526aa6c574c49ad6a50a992f61a3ee675","e47b8ec56eb49bc1c53c9012daa9874de14ad0c5da442485aec333571c74b526","c45d6f4d3a20be54e46237608f537a8d85397f87b9c3318d68ed925c2f1d0b51","64edfb2b255173bc63214290f9c3ed2306d658b5895ca482a0f20f03fd544ffc","d2d9e98a2b167079474768593e1e7125fc3db055add8fbdb5977e3d05a8a3696","6462da67490105ba7d98cf312c2faf8794c425781128b161ea8394d66502eec8","62359da52b6c8d00c50c2e50738fac82e902f916fdf458d8159e7edb1c60c3a8","87c6474a057134cd1621928b58b81b141cbb606754f93cdae0389d5f3aff3f5f","0449615e1ed03c7d54fc435a63b7ef0cb4e5cea5ac40c9a63280a46f7eeae0ff","762bc52248d3fab9873c7af564caf622358312cb35de42a4393b71cc36e14621","d02ec79cefaf292fae64b3be5a4416e64b4e420a6429fd458fac6e1bb4c7950e","27abed653f600ea0d5c86e94181beb42824e0f3f16337e2f9e7e9e9c2c392edf","d7871e0e653aa7197fee88886db5678bee6d42164c1f36e4bce9421ddfa7ca49","11ed10bdb3bcc99893570507eac8fece4840add97ee1d4f5a7fbf41cbfdea0d4","429fb571d3db07d3eaa2e74d43eb4190ece3e0de832ed564aeeaf08873e598eb","406d52bf33d618d846aa0d831ee004290567e328edcd4517bbff2937cc977abf","d3060e0810fc0d0dc009e6f086ef413d3c8aeaaf07da25c8d25fd4e181646acf","9d8f457905054b69915abac57f33e356fdcebce3a10e5be7fcfccad5da5aa934","08f7e6ffa66c66a636aecc5acbeb998215d9d09ccba0c558afb7df7e218edeaf","f829eb39aea4487f0ff94a42c56a1a73bc5202bbdeb03f7a638e4ab3e290d017","bbcd5bae0befbb4d76a35b76d0b949a521a67411132a815f49e254cf63e30b9e"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./build-types","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":false,"importsNotUsedAsValues":2,"jsx":1,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[48],[45,46,47],[49,50,51,52],[49],[50],[54],[54,55,57,58,59,60,61],[56],[48,54],[69],[64,65,66,67,68,69],[64,65,66,67,68,70],[69,70],[71],[63,71,72],[48,53,62,73]],"referencedMap":[[56,1],[48,2],[53,3],[50,4],[51,5],[55,6],[62,7],[61,1],[57,8],[54,1],[60,9],[64,10],[68,10],[67,10],[66,10],[70,11],[65,10],[69,12],[71,13],[72,14],[73,15],[74,16]],"exportedModulesMap":[[56,1],[48,2],[53,3],[50,4],[51,5],[55,6],[62,7],[61,1],[57,8],[54,1],[60,9],[64,10],[68,10],[67,10],[66,10],[70,11],[65,10],[69,12],[71,13],[72,14],[73,15],[74,16]],"semanticDiagnosticsPerFile":[47,56,45,48,46,10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,49,52,53,50,51,55,62,59,61,57,54,60,58,64,68,67,66,70,65,69,71,72,73,63,74]},"version":"4.4.2"}