@wordpress/data 7.0.0 → 7.0.1-next.957ca95e4c.0
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 +2 -2
- package/build/components/use-dispatch/use-dispatch.js +16 -7
- package/build/components/use-dispatch/use-dispatch.js.map +1 -1
- package/build/redux-store/metadata/reducer.js +1 -1
- package/build/redux-store/metadata/reducer.js.map +1 -1
- package/build-module/components/use-dispatch/use-dispatch.js +16 -7
- package/build-module/components/use-dispatch/use-dispatch.js.map +1 -1
- package/build-module/redux-store/metadata/reducer.js +2 -2
- package/build-module/redux-store/metadata/reducer.js.map +1 -1
- package/build-types/components/use-dispatch/use-dispatch.d.ts +18 -9
- package/build-types/components/use-dispatch/use-dispatch.d.ts.map +1 -1
- package/build-types/types.d.ts +5 -4
- package/build-types/types.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/components/use-dispatch/use-dispatch.js +15 -7
- package/src/redux-store/metadata/reducer.ts +2 -2
- package/src/types.ts +21 -3
- package/tsconfig.json +1 -3
- package/tsconfig.tsbuildinfo +1 -1
package/README.md
CHANGED
|
@@ -749,11 +749,11 @@ const SaleButton = ( { children } ) => {
|
|
|
749
749
|
|
|
750
750
|
_Parameters_
|
|
751
751
|
|
|
752
|
-
- _storeNameOrDescriptor_ `[
|
|
752
|
+
- _storeNameOrDescriptor_ `[StoreNameOrDescriptor]`: Optionally provide the name of the store or its descriptor from which to retrieve action creators. If not provided, the registry.dispatch function is returned instead.
|
|
753
753
|
|
|
754
754
|
_Returns_
|
|
755
755
|
|
|
756
|
-
- `
|
|
756
|
+
- `UseDispatchReturn<StoreNameOrDescriptor>`: A custom react hook.
|
|
757
757
|
|
|
758
758
|
### useRegistry
|
|
759
759
|
|
|
@@ -13,7 +13,15 @@ var _useRegistry = _interopRequireDefault(require("../registry-provider/use-regi
|
|
|
13
13
|
* Internal dependencies
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {import('../../types').StoreDescriptor<StoreConfig>} StoreDescriptor
|
|
18
|
+
* @template StoreConfig
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @typedef {import('../../types').UseDispatchReturn<StoreNameOrDescriptor>} UseDispatchReturn
|
|
23
|
+
* @template StoreNameOrDescriptor
|
|
24
|
+
*/
|
|
17
25
|
|
|
18
26
|
/**
|
|
19
27
|
* A custom react hook returning the current registry dispatch actions creators.
|
|
@@ -21,11 +29,12 @@ var _useRegistry = _interopRequireDefault(require("../registry-provider/use-regi
|
|
|
21
29
|
* Note: The component using this hook must be within the context of a
|
|
22
30
|
* RegistryProvider.
|
|
23
31
|
*
|
|
24
|
-
* @
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
32
|
+
* @template {undefined | string | StoreDescriptor<any>} [StoreNameOrDescriptor=undefined]
|
|
33
|
+
* @param {StoreNameOrDescriptor} [storeNameOrDescriptor] Optionally provide the name of the
|
|
34
|
+
* store or its descriptor from which to
|
|
35
|
+
* retrieve action creators. If not
|
|
36
|
+
* provided, the registry.dispatch
|
|
37
|
+
* function is returned instead.
|
|
29
38
|
*
|
|
30
39
|
* @example
|
|
31
40
|
* This illustrates a pattern where you may need to retrieve dynamic data from
|
|
@@ -58,7 +67,7 @@ var _useRegistry = _interopRequireDefault(require("../registry-provider/use-regi
|
|
|
58
67
|
* //
|
|
59
68
|
* // <SaleButton>Start Sale!</SaleButton>
|
|
60
69
|
* ```
|
|
61
|
-
* @return {
|
|
70
|
+
* @return {UseDispatchReturn<StoreNameOrDescriptor>} A custom react hook.
|
|
62
71
|
*/
|
|
63
72
|
const useDispatch = storeNameOrDescriptor => {
|
|
64
73
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/data/src/components/use-dispatch/use-dispatch.js"],"names":["useDispatch","storeNameOrDescriptor","dispatch"],"mappings":";;;;;;;;;AAGA;;AAHA;AACA;AACA;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,WAAW,GAAKC,qBAAF,IAA6B;AAChD,QAAM;AAAEC,IAAAA;AAAF,MAAe,2BAArB;AACA,SAAOD,qBAAqB,KAAK,KAAK,CAA/B,GACJC,QADI,GAEJA,QAAQ,CAAED,qBAAF,CAFX;AAGA,CALD;;eAOeD,W","sourcesContent":["/**\n * Internal dependencies\n */\nimport useRegistry from '../registry-provider/use-registry';\n\n
|
|
1
|
+
{"version":3,"sources":["@wordpress/data/src/components/use-dispatch/use-dispatch.js"],"names":["useDispatch","storeNameOrDescriptor","dispatch"],"mappings":";;;;;;;;;AAGA;;AAHA;AACA;AACA;;AAGA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,WAAW,GAAKC,qBAAF,IAA6B;AAChD,QAAM;AAAEC,IAAAA;AAAF,MAAe,2BAArB;AACA,SAAOD,qBAAqB,KAAK,KAAK,CAA/B,GACJC,QADI,GAEJA,QAAQ,CAAED,qBAAF,CAFX;AAGA,CALD;;eAOeD,W","sourcesContent":["/**\n * Internal dependencies\n */\nimport useRegistry from '../registry-provider/use-registry';\n\n/**\n * @typedef {import('../../types').StoreDescriptor<StoreConfig>} StoreDescriptor\n * @template StoreConfig\n */\n/**\n * @typedef {import('../../types').UseDispatchReturn<StoreNameOrDescriptor>} UseDispatchReturn\n * @template StoreNameOrDescriptor\n */\n\n/**\n * A custom react hook returning the current registry dispatch actions creators.\n *\n * Note: The component using this hook must be within the context of a\n * RegistryProvider.\n *\n * @template {undefined | string | StoreDescriptor<any>} [StoreNameOrDescriptor=undefined]\n * @param {StoreNameOrDescriptor} [storeNameOrDescriptor] Optionally provide the name of the\n * store or its descriptor from which to\n * retrieve action creators. If not\n * provided, the registry.dispatch\n * function is returned instead.\n *\n * @example\n * This illustrates a pattern where you may need to retrieve dynamic data from\n * the server via the `useSelect` hook to use in combination with the dispatch\n * action.\n *\n * ```jsx\n * import { useDispatch, useSelect } from '@wordpress/data';\n * import { useCallback } from '@wordpress/element';\n * import { store as myCustomStore } from 'my-custom-store';\n *\n * function Button( { onClick, children } ) {\n * return <button type=\"button\" onClick={ onClick }>{ children }</button>\n * }\n *\n * const SaleButton = ( { children } ) => {\n * const { stockNumber } = useSelect(\n * ( select ) => select( myCustomStore ).getStockNumber(),\n * []\n * );\n * const { startSale } = useDispatch( myCustomStore );\n * const onClick = useCallback( () => {\n * const discountPercent = stockNumber > 50 ? 10: 20;\n * startSale( discountPercent );\n * }, [ stockNumber ] );\n * return <Button onClick={ onClick }>{ children }</Button>\n * }\n *\n * // Rendered somewhere in the application:\n * //\n * // <SaleButton>Start Sale!</SaleButton>\n * ```\n * @return {UseDispatchReturn<StoreNameOrDescriptor>} A custom react hook.\n */\nconst useDispatch = ( storeNameOrDescriptor ) => {\n\tconst { dispatch } = useRegistry();\n\treturn storeNameOrDescriptor === void 0\n\t\t? dispatch\n\t\t: dispatch( storeNameOrDescriptor );\n};\n\nexport default useDispatch;\n"]}
|
|
@@ -135,7 +135,7 @@ const isResolved = function () {
|
|
|
135
135
|
return {};
|
|
136
136
|
|
|
137
137
|
case 'INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR':
|
|
138
|
-
return
|
|
138
|
+
return action.selectorName in state ? (0, _lodash.omit)(state, [action.selectorName]) : state;
|
|
139
139
|
|
|
140
140
|
case 'START_RESOLUTION':
|
|
141
141
|
case 'FINISH_RESOLUTION':
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/data/src/redux-store/metadata/reducer.ts"],"names":["subKeysIsResolved","state","EquivalentKeyMap","action","type","nextState","set","args","status","error","resolutionArgs","forEach","idx","resolutionState","undefined","errors","delete","isResolved","selectorName"],"mappings":";;;;;;;;;AAGA;;AACA;;AAMA;;AAVA;AACA;AACA;;AAKA;AACA;AACA;;AAwBA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,iBAA6D,GAAG,qBAGnE,cAHmE,EAGjD,YAAsD;AAAA,MAApDC,KAAoD,uEAA5C,IAAIC,yBAAJ,EAA4C;AAAA,MAApBC,MAAoB;;AAC1E,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,kBAAL;AAAyB;AACxB,cAAMC,SAAS,GAAG,IAAIH,yBAAJ,CAAsBD,KAAtB,CAAlB;AACAI,QAAAA,SAAS,CAACC,GAAV,CAAe,mCAAwBH,MAAM,CAACI,IAA/B,CAAf,EAAsD;AACrDC,UAAAA,MAAM,EAAE;AAD6C,SAAtD;AAGA,eAAOH,SAAP;AACA;;AACD,SAAK,mBAAL;AAA0B;AACzB,cAAMA,SAAS,GAAG,IAAIH,yBAAJ,CAAsBD,KAAtB,CAAlB;AACAI,QAAAA,SAAS,CAACC,GAAV,CAAe,mCAAwBH,MAAM,CAACI,IAA/B,CAAf,EAAsD;AACrDC,UAAAA,MAAM,EAAE;AAD6C,SAAtD;AAGA,eAAOH,SAAP;AACA;;AACD,SAAK,iBAAL;AAAwB;AACvB,cAAMA,SAAS,GAAG,IAAIH,yBAAJ,CAAsBD,KAAtB,CAAlB;AACAI,QAAAA,SAAS,CAACC,GAAV,CAAe,mCAAwBH,MAAM,CAACI,IAA/B,CAAf,EAAsD;AACrDC,UAAAA,MAAM,EAAE,OAD6C;AAErDC,UAAAA,KAAK,EAA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,yBAAJ,CAAsBD,KAAtB,CAAlB;AACAI,QAAAA,SAAS,CAACW,MAAV,CAAkB,mCAAwBb,MAAM,CAACI,IAA/B,CAAlB;AACA,eAAOF,SAAP;AACA;AAjEF;;AAmEA,SAAOJ,KAAP;AACA,CAxEqE,CAAtE;AA0EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,MAAMgB,UAAU,GAAG,YAA2D;AAAA,MAAzDhB,KAAyD,uEAAxB,EAAwB;AAAA,MAApBE,MAAoB;;AAC7E,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,iCAAL;AACC,aAAO,EAAP;;AACD,SAAK,0CAAL;AACC,
|
|
1
|
+
{"version":3,"sources":["@wordpress/data/src/redux-store/metadata/reducer.ts"],"names":["subKeysIsResolved","state","EquivalentKeyMap","action","type","nextState","set","args","status","error","resolutionArgs","forEach","idx","resolutionState","undefined","errors","delete","isResolved","selectorName"],"mappings":";;;;;;;;;AAGA;;AACA;;AAMA;;AAVA;AACA;AACA;;AAKA;AACA;AACA;;AAwBA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,iBAA6D,GAAG,qBAGnE,cAHmE,EAGjD,YAAsD;AAAA,MAApDC,KAAoD,uEAA5C,IAAIC,yBAAJ,EAA4C;AAAA,MAApBC,MAAoB;;AAC1E,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,kBAAL;AAAyB;AACxB,cAAMC,SAAS,GAAG,IAAIH,yBAAJ,CAAsBD,KAAtB,CAAlB;AACAI,QAAAA,SAAS,CAACC,GAAV,CAAe,mCAAwBH,MAAM,CAACI,IAA/B,CAAf,EAAsD;AACrDC,UAAAA,MAAM,EAAE;AAD6C,SAAtD;AAGA,eAAOH,SAAP;AACA;;AACD,SAAK,mBAAL;AAA0B;AACzB,cAAMA,SAAS,GAAG,IAAIH,yBAAJ,CAAsBD,KAAtB,CAAlB;AACAI,QAAAA,SAAS,CAACC,GAAV,CAAe,mCAAwBH,MAAM,CAACI,IAA/B,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BAAML,KAAK,GAAGN,MAAM,CAACY,MAAP,CAAeH,GAAf,CAAd;;AACA,cAAKH,KAAL,EAAa;AACZI,YAAAA,eAAe,CAACJ,KAAhB,GAAwBA,KAAxB;AACA;;AAEDJ,UAAAA,SAAS,CAACC,GAAV,CACC,mCAAwBI,cAAxB,CADD,EAECG,eAFD;AAIA,SAfD;AAgBA,eAAOR,SAAP;AACA;;AACD,SAAK,uBAAL;AAA8B;AAC7B,cAAMA,SAAS,GAAG,IAAIH,yBAAJ,CAAsBD,KAAtB,CAAlB;AACAI,QAAAA,SAAS,CAACW,MAAV,CAAkB,mCAAwBb,MAAM,CAACI,IAA/B,CAAlB;AACA,eAAOF,SAAP;AACA;AAjEF;;AAmEA,SAAOJ,KAAP;AACA,CAxEqE,CAAtE;AA0EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,MAAMgB,UAAU,GAAG,YAA2D;AAAA,MAAzDhB,KAAyD,uEAAxB,EAAwB;AAAA,MAApBE,MAAoB;;AAC7E,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,iCAAL;AACC,aAAO,EAAP;;AACD,SAAK,0CAAL;AACC,aAAOD,MAAM,CAACe,YAAP,IAAuBjB,KAAvB,GACJ,kBAAMA,KAAN,EAAa,CAAEE,MAAM,CAACe,YAAT,CAAb,CADI,GAEJjB,KAFH;;AAGD,SAAK,kBAAL;AACA,SAAK,mBAAL;AACA,SAAK,iBAAL;AACA,SAAK,mBAAL;AACA,SAAK,oBAAL;AACA,SAAK,kBAAL;AACA,SAAK,uBAAL;AACC,aAAOD,iBAAiB,CAAEC,KAAF,EAASE,MAAT,CAAxB;AAdF;;AAgBA,SAAOF,KAAP;AACA,CAlBD;;eAoBegB,U","sourcesContent":["/**\n * External dependencies\n */\nimport { omit } from 'lodash';\nimport EquivalentKeyMap from 'equivalent-key-map';\nimport type { Reducer } from 'redux';\n\n/**\n * Internal dependencies\n */\nimport { selectorArgsToStateKey, onSubKey } from './utils';\n\ntype Action =\n\t| ReturnType< typeof import('./actions').startResolution >\n\t| ReturnType< typeof import('./actions').finishResolution >\n\t| ReturnType< typeof import('./actions').failResolution >\n\t| ReturnType< typeof import('./actions').startResolutions >\n\t| ReturnType< typeof import('./actions').finishResolutions >\n\t| ReturnType< typeof import('./actions').failResolutions >\n\t| ReturnType< typeof import('./actions').invalidateResolution >\n\t| ReturnType< typeof import('./actions').invalidateResolutionForStore >\n\t| ReturnType<\n\t\t\ttypeof import('./actions').invalidateResolutionForStoreSelector\n\t >;\n\ntype StateKey = unknown[] | unknown;\nexport type StateValue =\n\t| { status: 'resolving' | 'finished' }\n\t| { status: 'error'; error: Error | unknown };\n\nexport type Status = StateValue[ 'status' ];\nexport type State = EquivalentKeyMap< StateKey, StateValue >;\n\n/**\n * Reducer function returning next state for selector resolution of\n * subkeys, object form:\n *\n * selectorName -> EquivalentKeyMap<Array,boolean>\n */\nconst subKeysIsResolved: Reducer< Record< string, State >, Action > = onSubKey<\n\tState,\n\tAction\n>( 'selectorName' )( ( state = new EquivalentKeyMap(), action: Action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'START_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.set( selectorArgsToStateKey( action.args ), {\n\t\t\t\tstatus: 'resolving',\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FINISH_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.set( selectorArgsToStateKey( action.args ), {\n\t\t\t\tstatus: 'finished',\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FAIL_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.set( selectorArgsToStateKey( action.args ), {\n\t\t\t\tstatus: 'error',\n\t\t\t\terror: action.error,\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'START_RESOLUTIONS': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tfor ( const resolutionArgs of action.args ) {\n\t\t\t\tnextState.set( selectorArgsToStateKey( resolutionArgs ), {\n\t\t\t\t\tstatus: 'resolving',\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FINISH_RESOLUTIONS': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tfor ( const resolutionArgs of action.args ) {\n\t\t\t\tnextState.set( selectorArgsToStateKey( resolutionArgs ), {\n\t\t\t\t\tstatus: 'finished',\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FAIL_RESOLUTIONS': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\taction.args.forEach( ( resolutionArgs, idx ) => {\n\t\t\t\tconst resolutionState: StateValue = {\n\t\t\t\t\tstatus: 'error',\n\t\t\t\t\terror: undefined,\n\t\t\t\t};\n\n\t\t\t\tconst error = action.errors[ idx ];\n\t\t\t\tif ( error ) {\n\t\t\t\t\tresolutionState.error = error;\n\t\t\t\t}\n\n\t\t\t\tnextState.set(\n\t\t\t\t\tselectorArgsToStateKey( resolutionArgs as unknown[] ),\n\t\t\t\t\tresolutionState\n\t\t\t\t);\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'INVALIDATE_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.delete( selectorArgsToStateKey( action.args ) );\n\t\t\treturn nextState;\n\t\t}\n\t}\n\treturn state;\n} );\n\n/**\n * Reducer function returning next state for selector resolution, object form:\n *\n * selectorName -> EquivalentKeyMap<Array, boolean>\n *\n * @param state Current state.\n * @param action Dispatched action.\n *\n * @return Next state.\n */\nconst isResolved = ( state: Record< string, State > = {}, action: Action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'INVALIDATE_RESOLUTION_FOR_STORE':\n\t\t\treturn {};\n\t\tcase 'INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR':\n\t\t\treturn action.selectorName in state\n\t\t\t\t? omit( state, [ action.selectorName ] )\n\t\t\t\t: state;\n\t\tcase 'START_RESOLUTION':\n\t\tcase 'FINISH_RESOLUTION':\n\t\tcase 'FAIL_RESOLUTION':\n\t\tcase 'START_RESOLUTIONS':\n\t\tcase 'FINISH_RESOLUTIONS':\n\t\tcase 'FAIL_RESOLUTIONS':\n\t\tcase 'INVALIDATE_RESOLUTION':\n\t\t\treturn subKeysIsResolved( state, action );\n\t}\n\treturn state;\n};\n\nexport default isResolved;\n"]}
|
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
* Internal dependencies
|
|
3
3
|
*/
|
|
4
4
|
import useRegistry from '../registry-provider/use-registry';
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* @typedef {import('../../types').StoreDescriptor<StoreConfig>} StoreDescriptor
|
|
7
|
+
* @template StoreConfig
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @typedef {import('../../types').UseDispatchReturn<StoreNameOrDescriptor>} UseDispatchReturn
|
|
12
|
+
* @template StoreNameOrDescriptor
|
|
13
|
+
*/
|
|
6
14
|
|
|
7
15
|
/**
|
|
8
16
|
* A custom react hook returning the current registry dispatch actions creators.
|
|
@@ -10,11 +18,12 @@ import useRegistry from '../registry-provider/use-registry';
|
|
|
10
18
|
* Note: The component using this hook must be within the context of a
|
|
11
19
|
* RegistryProvider.
|
|
12
20
|
*
|
|
13
|
-
* @
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
21
|
+
* @template {undefined | string | StoreDescriptor<any>} [StoreNameOrDescriptor=undefined]
|
|
22
|
+
* @param {StoreNameOrDescriptor} [storeNameOrDescriptor] Optionally provide the name of the
|
|
23
|
+
* store or its descriptor from which to
|
|
24
|
+
* retrieve action creators. If not
|
|
25
|
+
* provided, the registry.dispatch
|
|
26
|
+
* function is returned instead.
|
|
18
27
|
*
|
|
19
28
|
* @example
|
|
20
29
|
* This illustrates a pattern where you may need to retrieve dynamic data from
|
|
@@ -47,7 +56,7 @@ import useRegistry from '../registry-provider/use-registry';
|
|
|
47
56
|
* //
|
|
48
57
|
* // <SaleButton>Start Sale!</SaleButton>
|
|
49
58
|
* ```
|
|
50
|
-
* @return {
|
|
59
|
+
* @return {UseDispatchReturn<StoreNameOrDescriptor>} A custom react hook.
|
|
51
60
|
*/
|
|
52
61
|
|
|
53
62
|
const useDispatch = storeNameOrDescriptor => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/data/src/components/use-dispatch/use-dispatch.js"],"names":["useRegistry","useDispatch","storeNameOrDescriptor","dispatch"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,WAAP,MAAwB,mCAAxB;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,MAAMC,WAAW,GAAKC,qBAAF,IAA6B;AAChD,QAAM;AAAEC,IAAAA;AAAF,MAAeH,WAAW,EAAhC;AACA,SAAOE,qBAAqB,KAAK,KAAK,CAA/B,GACJC,QADI,GAEJA,QAAQ,CAAED,qBAAF,CAFX;AAGA,CALD;;AAOA,eAAeD,WAAf","sourcesContent":["/**\n * Internal dependencies\n */\nimport useRegistry from '../registry-provider/use-registry';\n\n
|
|
1
|
+
{"version":3,"sources":["@wordpress/data/src/components/use-dispatch/use-dispatch.js"],"names":["useRegistry","useDispatch","storeNameOrDescriptor","dispatch"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,WAAP,MAAwB,mCAAxB;AAEA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,MAAMC,WAAW,GAAKC,qBAAF,IAA6B;AAChD,QAAM;AAAEC,IAAAA;AAAF,MAAeH,WAAW,EAAhC;AACA,SAAOE,qBAAqB,KAAK,KAAK,CAA/B,GACJC,QADI,GAEJA,QAAQ,CAAED,qBAAF,CAFX;AAGA,CALD;;AAOA,eAAeD,WAAf","sourcesContent":["/**\n * Internal dependencies\n */\nimport useRegistry from '../registry-provider/use-registry';\n\n/**\n * @typedef {import('../../types').StoreDescriptor<StoreConfig>} StoreDescriptor\n * @template StoreConfig\n */\n/**\n * @typedef {import('../../types').UseDispatchReturn<StoreNameOrDescriptor>} UseDispatchReturn\n * @template StoreNameOrDescriptor\n */\n\n/**\n * A custom react hook returning the current registry dispatch actions creators.\n *\n * Note: The component using this hook must be within the context of a\n * RegistryProvider.\n *\n * @template {undefined | string | StoreDescriptor<any>} [StoreNameOrDescriptor=undefined]\n * @param {StoreNameOrDescriptor} [storeNameOrDescriptor] Optionally provide the name of the\n * store or its descriptor from which to\n * retrieve action creators. If not\n * provided, the registry.dispatch\n * function is returned instead.\n *\n * @example\n * This illustrates a pattern where you may need to retrieve dynamic data from\n * the server via the `useSelect` hook to use in combination with the dispatch\n * action.\n *\n * ```jsx\n * import { useDispatch, useSelect } from '@wordpress/data';\n * import { useCallback } from '@wordpress/element';\n * import { store as myCustomStore } from 'my-custom-store';\n *\n * function Button( { onClick, children } ) {\n * return <button type=\"button\" onClick={ onClick }>{ children }</button>\n * }\n *\n * const SaleButton = ( { children } ) => {\n * const { stockNumber } = useSelect(\n * ( select ) => select( myCustomStore ).getStockNumber(),\n * []\n * );\n * const { startSale } = useDispatch( myCustomStore );\n * const onClick = useCallback( () => {\n * const discountPercent = stockNumber > 50 ? 10: 20;\n * startSale( discountPercent );\n * }, [ stockNumber ] );\n * return <Button onClick={ onClick }>{ children }</Button>\n * }\n *\n * // Rendered somewhere in the application:\n * //\n * // <SaleButton>Start Sale!</SaleButton>\n * ```\n * @return {UseDispatchReturn<StoreNameOrDescriptor>} A custom react hook.\n */\nconst useDispatch = ( storeNameOrDescriptor ) => {\n\tconst { dispatch } = useRegistry();\n\treturn storeNameOrDescriptor === void 0\n\t\t? dispatch\n\t\t: dispatch( storeNameOrDescriptor );\n};\n\nexport default useDispatch;\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* External dependencies
|
|
3
3
|
*/
|
|
4
|
-
import { omit
|
|
4
|
+
import { omit } from 'lodash';
|
|
5
5
|
import EquivalentKeyMap from 'equivalent-key-map';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -123,7 +123,7 @@ const isResolved = function () {
|
|
|
123
123
|
return {};
|
|
124
124
|
|
|
125
125
|
case 'INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR':
|
|
126
|
-
return
|
|
126
|
+
return action.selectorName in state ? omit(state, [action.selectorName]) : state;
|
|
127
127
|
|
|
128
128
|
case 'START_RESOLUTION':
|
|
129
129
|
case 'FINISH_RESOLUTION':
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/data/src/redux-store/metadata/reducer.ts"],"names":["omit","
|
|
1
|
+
{"version":3,"sources":["@wordpress/data/src/redux-store/metadata/reducer.ts"],"names":["omit","EquivalentKeyMap","selectorArgsToStateKey","onSubKey","subKeysIsResolved","state","action","type","nextState","set","args","status","error","resolutionArgs","forEach","idx","resolutionState","undefined","errors","delete","isResolved","selectorName"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,IAAT,QAAqB,QAArB;AACA,OAAOC,gBAAP,MAA6B,oBAA7B;;AAGA;AACA;AACA;AACA,SAASC,sBAAT,EAAiCC,QAAjC,QAAiD,SAAjD;;AAuBA;AACA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EAAwB;AAAA,MAApBC,MAAoB;;AAC7E,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,iCAAL;AACC,aAAO,EAAP;;AACD,SAAK,0CAAL;AACC,aAAOD,MAAM,CAACe,YAAP,IAAuBhB,KAAvB,GACJL,IAAI,CAAEK,KAAF,EAAS,CAAEC,MAAM,CAACe,YAAT,CAAT,CADA,GAEJhB,KAFH;;AAGD,SAAK,kBAAL;AACA,SAAK,mBAAL;AACA,SAAK,iBAAL;AACA,SAAK,mBAAL;AACA,SAAK,oBAAL;AACA,SAAK,kBAAL;AACA,SAAK,uBAAL;AACC,aAAOD,iBAAiB,CAAEC,KAAF,EAASC,MAAT,CAAxB;AAdF;;AAgBA,SAAOD,KAAP;AACA,CAlBD;;AAoBA,eAAee,UAAf","sourcesContent":["/**\n * External dependencies\n */\nimport { omit } from 'lodash';\nimport EquivalentKeyMap from 'equivalent-key-map';\nimport type { Reducer } from 'redux';\n\n/**\n * Internal dependencies\n */\nimport { selectorArgsToStateKey, onSubKey } from './utils';\n\ntype Action =\n\t| ReturnType< typeof import('./actions').startResolution >\n\t| ReturnType< typeof import('./actions').finishResolution >\n\t| ReturnType< typeof import('./actions').failResolution >\n\t| ReturnType< typeof import('./actions').startResolutions >\n\t| ReturnType< typeof import('./actions').finishResolutions >\n\t| ReturnType< typeof import('./actions').failResolutions >\n\t| ReturnType< typeof import('./actions').invalidateResolution >\n\t| ReturnType< typeof import('./actions').invalidateResolutionForStore >\n\t| ReturnType<\n\t\t\ttypeof import('./actions').invalidateResolutionForStoreSelector\n\t >;\n\ntype StateKey = unknown[] | unknown;\nexport type StateValue =\n\t| { status: 'resolving' | 'finished' }\n\t| { status: 'error'; error: Error | unknown };\n\nexport type Status = StateValue[ 'status' ];\nexport type State = EquivalentKeyMap< StateKey, StateValue >;\n\n/**\n * Reducer function returning next state for selector resolution of\n * subkeys, object form:\n *\n * selectorName -> EquivalentKeyMap<Array,boolean>\n */\nconst subKeysIsResolved: Reducer< Record< string, State >, Action > = onSubKey<\n\tState,\n\tAction\n>( 'selectorName' )( ( state = new EquivalentKeyMap(), action: Action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'START_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.set( selectorArgsToStateKey( action.args ), {\n\t\t\t\tstatus: 'resolving',\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FINISH_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.set( selectorArgsToStateKey( action.args ), {\n\t\t\t\tstatus: 'finished',\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FAIL_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.set( selectorArgsToStateKey( action.args ), {\n\t\t\t\tstatus: 'error',\n\t\t\t\terror: action.error,\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'START_RESOLUTIONS': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tfor ( const resolutionArgs of action.args ) {\n\t\t\t\tnextState.set( selectorArgsToStateKey( resolutionArgs ), {\n\t\t\t\t\tstatus: 'resolving',\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FINISH_RESOLUTIONS': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tfor ( const resolutionArgs of action.args ) {\n\t\t\t\tnextState.set( selectorArgsToStateKey( resolutionArgs ), {\n\t\t\t\t\tstatus: 'finished',\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'FAIL_RESOLUTIONS': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\taction.args.forEach( ( resolutionArgs, idx ) => {\n\t\t\t\tconst resolutionState: StateValue = {\n\t\t\t\t\tstatus: 'error',\n\t\t\t\t\terror: undefined,\n\t\t\t\t};\n\n\t\t\t\tconst error = action.errors[ idx ];\n\t\t\t\tif ( error ) {\n\t\t\t\t\tresolutionState.error = error;\n\t\t\t\t}\n\n\t\t\t\tnextState.set(\n\t\t\t\t\tselectorArgsToStateKey( resolutionArgs as unknown[] ),\n\t\t\t\t\tresolutionState\n\t\t\t\t);\n\t\t\t} );\n\t\t\treturn nextState;\n\t\t}\n\t\tcase 'INVALIDATE_RESOLUTION': {\n\t\t\tconst nextState = new EquivalentKeyMap( state );\n\t\t\tnextState.delete( selectorArgsToStateKey( action.args ) );\n\t\t\treturn nextState;\n\t\t}\n\t}\n\treturn state;\n} );\n\n/**\n * Reducer function returning next state for selector resolution, object form:\n *\n * selectorName -> EquivalentKeyMap<Array, boolean>\n *\n * @param state Current state.\n * @param action Dispatched action.\n *\n * @return Next state.\n */\nconst isResolved = ( state: Record< string, State > = {}, action: Action ) => {\n\tswitch ( action.type ) {\n\t\tcase 'INVALIDATE_RESOLUTION_FOR_STORE':\n\t\t\treturn {};\n\t\tcase 'INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR':\n\t\t\treturn action.selectorName in state\n\t\t\t\t? omit( state, [ action.selectorName ] )\n\t\t\t\t: state;\n\t\tcase 'START_RESOLUTION':\n\t\tcase 'FINISH_RESOLUTION':\n\t\tcase 'FAIL_RESOLUTION':\n\t\tcase 'START_RESOLUTIONS':\n\t\tcase 'FINISH_RESOLUTIONS':\n\t\tcase 'FAIL_RESOLUTIONS':\n\t\tcase 'INVALIDATE_RESOLUTION':\n\t\t\treturn subKeysIsResolved( state, action );\n\t}\n\treturn state;\n};\n\nexport default isResolved;\n"]}
|
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
export default useDispatch;
|
|
2
|
-
export type StoreDescriptor = import(
|
|
3
|
-
|
|
2
|
+
export type StoreDescriptor<StoreConfig> = import('../../types').StoreDescriptor<StoreConfig>;
|
|
3
|
+
export type UseDispatchReturn<StoreNameOrDescriptor> = import('../../types').UseDispatchReturn<StoreNameOrDescriptor>;
|
|
4
|
+
/**
|
|
5
|
+
* @typedef {import('../../types').StoreDescriptor<StoreConfig>} StoreDescriptor
|
|
6
|
+
* @template StoreConfig
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @typedef {import('../../types').UseDispatchReturn<StoreNameOrDescriptor>} UseDispatchReturn
|
|
10
|
+
* @template StoreNameOrDescriptor
|
|
11
|
+
*/
|
|
4
12
|
/**
|
|
5
13
|
* A custom react hook returning the current registry dispatch actions creators.
|
|
6
14
|
*
|
|
7
15
|
* Note: The component using this hook must be within the context of a
|
|
8
16
|
* RegistryProvider.
|
|
9
17
|
*
|
|
10
|
-
* @
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
18
|
+
* @template {undefined | string | StoreDescriptor<any>} [StoreNameOrDescriptor=undefined]
|
|
19
|
+
* @param {StoreNameOrDescriptor} [storeNameOrDescriptor] Optionally provide the name of the
|
|
20
|
+
* store or its descriptor from which to
|
|
21
|
+
* retrieve action creators. If not
|
|
22
|
+
* provided, the registry.dispatch
|
|
23
|
+
* function is returned instead.
|
|
15
24
|
*
|
|
16
25
|
* @example
|
|
17
26
|
* This illustrates a pattern where you may need to retrieve dynamic data from
|
|
@@ -44,7 +53,7 @@ export type StoreDescriptor = import("../../types").StoreDescriptor<any>;
|
|
|
44
53
|
* //
|
|
45
54
|
* // <SaleButton>Start Sale!</SaleButton>
|
|
46
55
|
* ```
|
|
47
|
-
* @return {
|
|
56
|
+
* @return {UseDispatchReturn<StoreNameOrDescriptor>} A custom react hook.
|
|
48
57
|
*/
|
|
49
|
-
declare function useDispatch(storeNameOrDescriptor?:
|
|
58
|
+
declare function useDispatch(storeNameOrDescriptor?: any): UseDispatchReturn<any>;
|
|
50
59
|
//# sourceMappingURL=use-dispatch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-dispatch.d.ts","sourceRoot":"","sources":["../../../src/components/use-dispatch/use-dispatch.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-dispatch.d.ts","sourceRoot":"","sources":["../../../src/components/use-dispatch/use-dispatch.js"],"names":[],"mappings":";2CAMa,OAAO,aAAa,EAAE,eAAe,CAAC,WAAW,CAAC;uDAIlD,OAAO,aAAa,EAAE,iBAAiB,CAAC,qBAAqB,CAAC;AAL3E;;;GAGG;AACH;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,2DAFY,sBAAwC,CAOnD"}
|
package/build-types/types.d.ts
CHANGED
|
@@ -33,7 +33,9 @@ export interface ReduxStoreConfig<State, ActionCreators extends MapOf<ActionCrea
|
|
|
33
33
|
controls?: MapOf<Function>;
|
|
34
34
|
}
|
|
35
35
|
export declare type UseSelectReturn<F extends MapSelect | StoreDescriptor<any>> = F extends MapSelect ? ReturnType<F> : F extends StoreDescriptor<any> ? CurriedSelectorsOf<F> : never;
|
|
36
|
-
export declare type
|
|
36
|
+
export declare type UseDispatchReturn<StoreNameOrDescriptor> = StoreNameOrDescriptor extends StoreDescriptor<any> ? ActionCreatorsOf<ConfigOf<StoreNameOrDescriptor>> : StoreNameOrDescriptor extends undefined ? DispatchFunction : any;
|
|
37
|
+
export declare type DispatchFunction = <StoreNameOrDescriptor>(store: StoreNameOrDescriptor) => StoreNameOrDescriptor extends StoreDescriptor<any> ? ActionCreatorsOf<ConfigOf<StoreNameOrDescriptor>> : any;
|
|
38
|
+
export declare type MapSelect = (select: SelectFunction, registry: DataRegistry) => any;
|
|
37
39
|
export declare type SelectFunction = <S>(store: S) => CurriedSelectorsOf<S>;
|
|
38
40
|
export declare type CurriedSelectorsOf<S> = S extends StoreDescriptor<ReduxStoreConfig<any, any, infer Selectors>> ? {
|
|
39
41
|
[key in keyof Selectors]: CurriedState<Selectors[key]>;
|
|
@@ -59,9 +61,8 @@ export interface DataEmitter {
|
|
|
59
61
|
resume: () => void;
|
|
60
62
|
isPaused: boolean;
|
|
61
63
|
}
|
|
62
|
-
declare type
|
|
63
|
-
|
|
64
|
-
} : never;
|
|
64
|
+
export declare type ConfigOf<S> = S extends StoreDescriptor<infer C> ? C : never;
|
|
65
|
+
export declare type ActionCreatorsOf<Config extends AnyConfig> = Config extends ReduxStoreConfig<any, infer ActionCreators, any> ? ActionCreators : never;
|
|
65
66
|
declare type SelectorsOf<Config extends AnyConfig> = Config extends ReduxStoreConfig<any, any, infer Selectors> ? {
|
|
66
67
|
[name in keyof Selectors]: Function;
|
|
67
68
|
} : never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,eAAe,IAAI,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAErE,aAAK,KAAK,CAAE,CAAC,IAAK;IAAE,CAAE,IAAI,EAAE,MAAM,GAAI,CAAC,CAAA;CAAE,CAAC;AAE1C,oBAAY,aAAa,GAAG,QAAQ,GAAG,SAAS,CAAC;AACjD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC5C,oBAAY,QAAQ,GAAG,QAAQ,CAAC;AAEhC,oBAAY,SAAS,GAAG,gBAAgB,CAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAE,CAAC;AAE1D,MAAM,WAAW,aAAa,CAAE,MAAM,SAAS,SAAS;IACvD,YAAY,EAAE,MAAM,WAAW,CAAE,MAAM,CAAE,CAAC;IAC1C,UAAU,EAAE,MAAM,gBAAgB,CAAE,MAAM,CAAE,CAAC;IAC7C,SAAS,EAAE,CAAE,QAAQ,EAAE,MAAM,IAAI,KAAM,MAAM,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,eAAe,CAAE,MAAM,SAAS,SAAS;IACzD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,EAAE,CAAE,QAAQ,EAAE,YAAY,KAAM,aAAa,CAAE,MAAM,CAAE,CA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oBAAY,gBAAgB,CAAE,MAAM,SAAS,SAAS,IACrD,MAAM,SAAS,gBAAgB,CAAE,GAAG,EAAE,MAAM,cAAc,EAAE,GAAG,CAAE,GAC9D,cAAc,GACd,KAAK,CAAC;AAEV,aAAK,WAAW,CAAE,MAAM,SAAS,SAAS,IAAK,MAAM,SAAS,gBAAgB,CAC7E,GAAG,EACH,GAAG,EACH,MAAM,SAAS,CACf,GACE;KAAI,IAAI,IAAI,MAAM,SAAS,GAAI,QAAQ;CAAE,GACzC,KAAK,CAAC;AAET,oBAAY,eAAe,GAAG,OAAO,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/data",
|
|
3
|
-
"version": "7.0.0",
|
|
3
|
+
"version": "7.0.1-next.957ca95e4c.0",
|
|
4
4
|
"description": "Data module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.16.0",
|
|
32
|
-
"@wordpress/compose": "^5.14.0",
|
|
33
|
-
"@wordpress/deprecated": "^3.16.0",
|
|
34
|
-
"@wordpress/element": "^4.14.0",
|
|
35
|
-
"@wordpress/is-shallow-equal": "^4.16.0",
|
|
36
|
-
"@wordpress/priority-queue": "^2.16.0",
|
|
37
|
-
"@wordpress/redux-routine": "^4.16.0",
|
|
32
|
+
"@wordpress/compose": "^5.14.1-next.957ca95e4c.0",
|
|
33
|
+
"@wordpress/deprecated": "^3.16.1-next.957ca95e4c.0",
|
|
34
|
+
"@wordpress/element": "^4.14.1-next.957ca95e4c.0",
|
|
35
|
+
"@wordpress/is-shallow-equal": "^4.16.1-next.957ca95e4c.0",
|
|
36
|
+
"@wordpress/priority-queue": "^2.16.1-next.957ca95e4c.0",
|
|
37
|
+
"@wordpress/redux-routine": "^4.16.1-next.957ca95e4c.0",
|
|
38
38
|
"equivalent-key-map": "^0.2.2",
|
|
39
39
|
"is-plain-object": "^5.0.0",
|
|
40
40
|
"is-promise": "^4.0.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "272a74bbbaab10ee24424eafe9578e705fbfbbb4"
|
|
53
53
|
}
|
|
@@ -3,7 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import useRegistry from '../registry-provider/use-registry';
|
|
5
5
|
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* @typedef {import('../../types').StoreDescriptor<StoreConfig>} StoreDescriptor
|
|
8
|
+
* @template StoreConfig
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @typedef {import('../../types').UseDispatchReturn<StoreNameOrDescriptor>} UseDispatchReturn
|
|
12
|
+
* @template StoreNameOrDescriptor
|
|
13
|
+
*/
|
|
7
14
|
|
|
8
15
|
/**
|
|
9
16
|
* A custom react hook returning the current registry dispatch actions creators.
|
|
@@ -11,11 +18,12 @@ import useRegistry from '../registry-provider/use-registry';
|
|
|
11
18
|
* Note: The component using this hook must be within the context of a
|
|
12
19
|
* RegistryProvider.
|
|
13
20
|
*
|
|
14
|
-
* @
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
21
|
+
* @template {undefined | string | StoreDescriptor<any>} [StoreNameOrDescriptor=undefined]
|
|
22
|
+
* @param {StoreNameOrDescriptor} [storeNameOrDescriptor] Optionally provide the name of the
|
|
23
|
+
* store or its descriptor from which to
|
|
24
|
+
* retrieve action creators. If not
|
|
25
|
+
* provided, the registry.dispatch
|
|
26
|
+
* function is returned instead.
|
|
19
27
|
*
|
|
20
28
|
* @example
|
|
21
29
|
* This illustrates a pattern where you may need to retrieve dynamic data from
|
|
@@ -48,7 +56,7 @@ import useRegistry from '../registry-provider/use-registry';
|
|
|
48
56
|
* //
|
|
49
57
|
* // <SaleButton>Start Sale!</SaleButton>
|
|
50
58
|
* ```
|
|
51
|
-
* @return {
|
|
59
|
+
* @return {UseDispatchReturn<StoreNameOrDescriptor>} A custom react hook.
|
|
52
60
|
*/
|
|
53
61
|
const useDispatch = ( storeNameOrDescriptor ) => {
|
|
54
62
|
const { dispatch } = useRegistry();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* External dependencies
|
|
3
3
|
*/
|
|
4
|
-
import { omit
|
|
4
|
+
import { omit } from 'lodash';
|
|
5
5
|
import EquivalentKeyMap from 'equivalent-key-map';
|
|
6
6
|
import type { Reducer } from 'redux';
|
|
7
7
|
|
|
@@ -126,7 +126,7 @@ const isResolved = ( state: Record< string, State > = {}, action: Action ) => {
|
|
|
126
126
|
case 'INVALIDATE_RESOLUTION_FOR_STORE':
|
|
127
127
|
return {};
|
|
128
128
|
case 'INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR':
|
|
129
|
-
return
|
|
129
|
+
return action.selectorName in state
|
|
130
130
|
? omit( state, [ action.selectorName ] )
|
|
131
131
|
: state;
|
|
132
132
|
case 'START_RESOLUTION':
|
package/src/types.ts
CHANGED
|
@@ -50,7 +50,23 @@ export type UseSelectReturn< F extends MapSelect | StoreDescriptor< any > > =
|
|
|
50
50
|
? CurriedSelectorsOf< F >
|
|
51
51
|
: never;
|
|
52
52
|
|
|
53
|
-
export type
|
|
53
|
+
export type UseDispatchReturn< StoreNameOrDescriptor > =
|
|
54
|
+
StoreNameOrDescriptor extends StoreDescriptor< any >
|
|
55
|
+
? ActionCreatorsOf< ConfigOf< StoreNameOrDescriptor > >
|
|
56
|
+
: StoreNameOrDescriptor extends undefined
|
|
57
|
+
? DispatchFunction
|
|
58
|
+
: any;
|
|
59
|
+
|
|
60
|
+
export type DispatchFunction = < StoreNameOrDescriptor >(
|
|
61
|
+
store: StoreNameOrDescriptor
|
|
62
|
+
) => StoreNameOrDescriptor extends StoreDescriptor< any >
|
|
63
|
+
? ActionCreatorsOf< ConfigOf< StoreNameOrDescriptor > >
|
|
64
|
+
: any;
|
|
65
|
+
|
|
66
|
+
export type MapSelect = (
|
|
67
|
+
select: SelectFunction,
|
|
68
|
+
registry: DataRegistry
|
|
69
|
+
) => any;
|
|
54
70
|
|
|
55
71
|
export type SelectFunction = < S >( store: S ) => CurriedSelectorsOf< S >;
|
|
56
72
|
|
|
@@ -91,9 +107,11 @@ export interface DataEmitter {
|
|
|
91
107
|
|
|
92
108
|
// Type Helpers.
|
|
93
109
|
|
|
94
|
-
type
|
|
110
|
+
export type ConfigOf< S > = S extends StoreDescriptor< infer C > ? C : never;
|
|
111
|
+
|
|
112
|
+
export type ActionCreatorsOf< Config extends AnyConfig > =
|
|
95
113
|
Config extends ReduxStoreConfig< any, infer ActionCreators, any >
|
|
96
|
-
?
|
|
114
|
+
? ActionCreators
|
|
97
115
|
: never;
|
|
98
116
|
|
|
99
117
|
type SelectorsOf< Config extends AnyConfig > = Config extends ReduxStoreConfig<
|
package/tsconfig.json
CHANGED
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
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","./src/factory.js","../../node_modules/redux/index.d.ts","./src/types.ts","./src/controls.js","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/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","../deprecated/build-types/index.d.ts","../redux-routine/build-types/index.d.ts","../../node_modules/is-promise/index.d.ts","./src/promise-middleware.js","./src/store/index.js","./src/resolvers-cache-middleware.js","./src/redux-store/thunk-middleware.js","./src/redux-store/metadata/utils.ts","./src/redux-store/metadata/actions.js","./src/redux-store/metadata/reducer.ts","./src/redux-store/metadata/selectors.js","./src/redux-store/index.js","./src/utils/emitter.js","./src/registry.js","./src/default-registry.js","../../node_modules/is-plain-object/is-plain-object.d.ts","./src/plugins/persistence/storage/object.js","./src/plugins/persistence/storage/default.js","./src/plugins/persistence/index.js","./src/plugins/index.js","../../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/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","../compose/build-types/utils/create-higher-order-component/index.d.ts","../compose/build-types/higher-order/compose.d.ts","../compose/build-types/higher-order/if-condition/index.d.ts","../compose/build-types/higher-order/pure/index.d.ts","../compose/build-types/higher-order/with-global-events/index.d.ts","../compose/build-types/higher-order/with-instance-id/index.d.ts","../compose/build-types/higher-order/with-safe-timeout/index.d.ts","../compose/build-types/higher-order/with-state/index.d.ts","../compose/build-types/hooks/use-constrained-tabbing/index.d.ts","../compose/build-types/hooks/use-copy-on-click/index.d.ts","../compose/build-types/hooks/use-copy-to-clipboard/index.d.ts","../compose/build-types/hooks/use-focus-on-mount/index.d.ts","../compose/build-types/hooks/use-focus-outside/index.d.ts","../compose/build-types/hooks/use-dialog/index.d.ts","../compose/build-types/hooks/use-disabled/index.d.ts","../compose/build-types/hooks/use-dragging/index.d.ts","../compose/build-types/hooks/use-focus-return/index.d.ts","../compose/build-types/hooks/use-instance-id/index.d.ts","../element/build-types/react.d.ts","../compose/build-types/hooks/use-isomorphic-layout-effect/index.d.ts","../../node_modules/@types/mousetrap/index.d.ts","../compose/build-types/hooks/use-keyboard-shortcut/index.d.ts","../compose/build-types/hooks/use-media-query/index.d.ts","../compose/build-types/hooks/use-previous/index.d.ts","../compose/build-types/hooks/use-reduced-motion/index.d.ts","../compose/build-types/hooks/use-viewport-match/index.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","../compose/build-types/hooks/use-resize-observer/index.d.ts","../compose/build-types/hooks/use-async-list/index.d.ts","../compose/build-types/hooks/use-warn-on-change/index.d.ts","../compose/build-types/hooks/use-debounce/index.d.ts","../compose/build-types/hooks/use-throttle/index.d.ts","../compose/build-types/hooks/use-merge-refs/index.d.ts","../compose/build-types/hooks/use-ref-effect/index.d.ts","../compose/build-types/hooks/use-drop-zone/index.d.ts","../compose/build-types/hooks/use-focusable-iframe/index.d.ts","../compose/build-types/hooks/use-fixed-window-list/index.d.ts","../compose/build-types/index.d.ts","../../node_modules/use-memo-one/index.d.ts","../priority-queue/build-types/index.d.ts","../is-shallow-equal/build-types/objects.d.ts","../is-shallow-equal/build-types/arrays.d.ts","../is-shallow-equal/build-types/index.d.ts","./src/components/registry-provider/context.js","./src/components/registry-provider/use-registry.js","./src/components/async-mode-provider/context.js","./src/components/async-mode-provider/use-async-mode.js","./src/components/use-select/index.js","./src/components/with-select/index.js","./src/components/use-dispatch/use-dispatch.js","./src/components/use-dispatch/use-dispatch-with-map.js","./src/components/use-dispatch/index.js","./src/components/with-dispatch/index.js","./src/components/registry-provider/index.js","./src/components/with-registry/index.js","./src/components/async-mode-provider/index.js","./src/index.js","./src/redux-store/metadata/equivalent-key-map.d.ts"],"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},"ce6e5b88acf57d96365aa4d49fd43480c803ecb7868830749df564789774a54c",{"version":"8f19251323456195ec9236df857bac3b8f97b73b540ef06ead2ceccc3884954f","affectsGlobalScope":true},"21531b9fa57853e804fb66ba955188d0f7bd85e83472127f90d1dd44b996d388","e382a7658f76f31d91f33c404b9526eeee7938eb4aee831feb51a3ba0e40a321","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","438284c7c455a29b9c0e2d1e72abc62ee93d9a163029ffe918a34c5db3b92da2","0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","82251920b05f30981c9a4109cb5f3169dce4b477effc845c6d781044a30e7672","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","9fa6b83a35e897f340858995ca5d77e901d89fd18644cd4c9e8a4afe0b2e6363",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8","55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e","bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7","5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b","ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb","b192606574769a5566620f9bf19358a3994bc2726ecdeaad9c66f3333b2687c8","29041ec2b56677a9adf3bcfa21bf513d29faacfea6964a0734a5e0a12982ac8c","5ac6404ddc5d622905e131dbc5da0362a82e89d1cb97cc8256bf06ca9fad4b24","9fcfbc2dd0c0614b3a25d41e4425dd86cdfa574a9e7d2febffc85badcee1a0b8","48674187365141743eaadc4ffa47b457bfa63d36e945b8e4f43d60b0fe6b1907","27c3ff6b4f5c0dc844debade25cbae22be0b9b0f1d4ca3ecc6e7b61e1cf08ad9","975eb852881942b64b42f35251bb55a75b6521e47c3eefe95d61f986265a5225","318affc58742934c99481fcb8043bba8b5a5caaf07f5971c34d00b5dc154da66","c67951274199df6c887191adafac1c605901c3f6ce123351225e2e93c4282de4","c79043d0c35ecd15afb17e476816872357df76446071c6b754828dea6e910ab7","ffb454554054fdfa52dbe72f6a0f5320cfeff52452f4e8deddcfc3f5bba80f82","599d3822e1468816edcb231f5ede8a27466a7013d4677c129d1f34d47c42ae25","412e9398be155d644b609b06bb2d0b6f99d86bf3d7db81b27a357ad8df07e0c0","c44bf8981fe8fa3cef9fb7b605e2831e39c2fe9e2649078c6b04ab6c64bdae7b","c17118d21ac084068b77eb8e382d9f8988e26bded75c7f0f0b132fa67d4ca625","9a4c49a0b2bf8536b1f4a72f162f807d7a23aa27a816e9cd24cc965540ba4b35","dc8a746041b9afc357038c00dc7bb204e7c758e5796e2b965782b10c010ea5da","3c2eecbb08d00f262c3266a5729d8dc7033b12c10ad11085239d942330a66be4","05dd6c14853a43da9de35936c2cd9e3c1a0fb4bc64b61ca992c5ed0b90ea2f00","50ed6e45c39d15e21c206f167abb7c33067931c37c8c660f1928e504a3ba6fda",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720","affectsGlobalScope":true},"c8b8656890f0c3cbcbfa35247885999be08c3e6391d04c6970e6edbd113c0359","c293abb3ed2bec7742b7ba1b1b1ba1baa3dcdcb564f9c2e979d6652c8cd3469e","04ada34f81611d5344e26d98a6817bb0fc34c7bf7370b5c8ec9b562c56161ae9","8b495154f6d961654e7d0f4ba35bd115160d6d6bfce3dc9c3d122f0948402e9f","f9523fca1617fd31e048afd09f08cca592a7bbaeca4d5ff1e1781ab0cd2ffe9b","471a29292fd062298595f697fedc5e8c7ab42539770da59a3c76592330cf3c14","a2f3cab1b4ff63fa311519603bec5420b6c65b3c0cf6e29aec508bcdd68ea3a7","23d7a8b5d3297675007160f5cc75777e6eccf63ff6650bd3ed01eb0b3cdf2a38","8db59d5540f8bc033f35eb1a4a7903d202fbace0874b456e463af2675da2398b","c5a28d3d50c8edecc8cc87ae3a5dcfa34e630f970626bf30c552e681c7055fd0","5f8402dfce577684c2de40394f60628ffe6e44e6bc308dbeb1b643c527d758bf","daa0b5b58eab0c3dfc200cde4cc933084b908ede3aacdda1d2797f98c172142b","62517d6229922cb446b02a0a8df424b8def7ce40570e2a3c67df93c321bc4ba7","efb24a68b79cfe7a7e5b3d671fea994ece9274a85a173c1fac04537e3391e4eb","1d36eb5c40d9f368065a1175ff754f333966affd48a6c84e3eb5de1820da3635","c7511c9ff4c555d12735b322eddeeabda257635c9fd68f5622fdef9d59f5a558","f08d251cb25341aedf5edbfa1317f59f93ddb133de124a31962f656ab4f6ebd9","9f437538e527d5cae91aedde19cd7aea5de915f015854c574b270407b2e34f27","e59d00012fb20e6746def2f4bc94650526aa6c574c49ad6a50a992f61a3ee675","2cc143754ed238f214e763525cd4c11613409a643fdd602f4e0a2b19f1f2d397","96520a873073a2f39f922d0a422498cdcc28be9066a769000cdd07ecaba7b645","c7284023c5462180e492357aeb94551a20aa41eac8ac517606f3766359d08bb9","ed4ec3d435678a5703a016a801afc2cd7b543c53ab4615b3e214cac9c30f560a","e1e870a8a409e1eb530b841c9fa03165041518270de8eb37d8cf00c64a53b864","501be290436f06ae2182915329b01cfd0850961814802237b5c24749fd2afa0c","cc34c3c1590513cdb6374890f421c06ad969cfd99b28efb6003a6afc845c49f8","e47b8ec56eb49bc1c53c9012daa9874de14ad0c5da442485aec333571c74b526","45a63e17814c570ea59407f231ef9c561510bd6edb36f17479b09b44619496c6","5d7018910750d9cb4a912577ad2951fc3fad83c30d637689b69ffc6bbb0c9f5a","d2d9e98a2b167079474768593e1e7125fc3db055add8fbdb5977e3d05a8a3696","6462da67490105ba7d98cf312c2faf8794c425781128b161ea8394d66502eec8","62359da52b6c8d00c50c2e50738fac82e902f916fdf458d8159e7edb1c60c3a8","1e0ac21bc775686383ea8c8e48bd98b385e6195b25c85525a7affd08a2cd38b9","0449615e1ed03c7d54fc435a63b7ef0cb4e5cea5ac40c9a63280a46f7eeae0ff",{"version":"b5b080e499df18235bac525ce43da935d1a068c5770f58b245d24b6ae8baa166","affectsGlobalScope":true},"b935d4ca97dc9aa05c92aaa51ab5cf2ada5b9722e84ea3af8dc5f93fea3cd361","f295ab6b1bfd2b6b5b19ba621cca18c1b94b25c430c67fcb66c9594e89e3ff39","f5083d566302fc32d1d4d7833c40e3990759036c548326dcc8092fc80baa2ebc","4a618c63120a5bf4f0654b0feb16ad600461526f562edca8cc0f3a56c96ec2ca","d759d5a895085d1cfc89d1d1791c188c8170d933092db93e2b48676c49ee7310","2d1b4aec91b432ab2fe2b22f376a34dbc9d9b4b34acbd552f9cd0d3d98bcfca2","3e006a620bc41e8b467373fcaba522d5f79ce9dcaaa813a94c561457fcab80ad","ee316055baf21ac2fdc96c90f19fb4a2e4b5ef225df0698e3bcb20f90b16b689","5fac858cb922fe34b898ddc12db441c878ec72bf6a1e3bcbe297f4da4bb6672a","a1c962fccc9322e83d639687d1db2e2b04f8e1a80b03f061ec5b1ddab86d0970","62540abf0bac8bf8c13c183db0457c5495a2bdad157f9eb03916c3953feb765e","abb6d9adcc79c591f712e79c55f769b48690ec66a55b6f6189569a0d357c7e58","5190f1a110a789c2f8ed8dcf2da6ce122dcb74249d0c01d19d1ed0b1c6bb02a1","3650bbe137c9c44bc6b8f44a56353b00eba9654e41a9355e6228f7f0f464c648","9c4f32d2fa2b6efeed4f9fbd98254121b17982110b48edcede96e2dc2af0894d","02fdc48e90772a67702e098b722a5772fddf789fb8aa961fc1e292655581df34","e08f7f2e161bf3631ced28081d5b567ebce6f58dedc9930ec299b14f7dc52ae2","56a1d5d8e0d9fc4e3e39936097c3064338df9031872c8e21a9648e3390aae30c","c12fb0c4b324c65600609051919b1de0da4630c66bdbd4dc268efe7780ff4ed8","87f72a0c21f1929dcad84b7381c06215b6abf464958c702b66bea01742248f99","cdb21862838795135a920f06f0d3c94df71b677d61582911edb7d1da41d8b7ed","9588ca9ea07fdc4cea847ecfdfbb2ef1cac48059cb9ad096158cc45948c3d77b","6f26fa5643242fa8fbcb29f62d5377ed2f2b875a4077fd795f66d6af3ee5c102","e6afc6c377cdc0b881c15db7be06fe57fbdbb4074753bb36abdc26000de853ee","a824f23995b5038bb7a479442d8463c50f055697d4cc70506210706cd0e762e3","6419036e9ec25b03fed142edef64280f5d7dbcc158170cb27899ecb9cb2dae8b","205b5a62e15144e9bd6a49846df7d30399a5738a3ab439f35eb25e19aab66299","8d09f7a29021a69909eca56a60012bb043c703b82fbb1dede51186fedcce88f9","df2307b475f868065ff8d0d4974f832154897c3336b1e5da286be6201f8cdaf5","8eed414bd2305e20163d35205b450204002bf20e14c7241d7fec46bb18f174d2"],"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":false,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[49,51,52,53,54,55,56,57,58,59,60,61],[49,50,52,53,54,55,56,57,58,59,60,61],[50,51,52,53,54,55,56,57,58,59,60,61],[49,50,51,53,54,55,56,57,58,59,60,61],[49,50,51,52,54,55,56,57,58,59,60,61],[49,50,51,52,53,55,56,57,58,59,60,61],[49,50,51,52,53,54,56,57,58,59,60,61],[49,50,51,52,53,54,55,57,58,59,60,61],[49,50,51,52,53,54,55,56,58,59,60,61],[49,50,51,52,53,54,55,56,57,59,60,61],[49,50,51,52,53,54,55,56,57,58,60,61],[49,50,51,52,53,54,55,56,57,58,59,61],[49,50,51,52,53,54,55,56,57,58,59,60],[91],[87,88,89,90],[62,63,64,65],[62],[63],[61],[92],[91,92],[103,104],[110],[91,112],[125],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,111,113,114,115,116,117,126,127,128,129,130,131,132,133,134,135],[144,145],[125,144],[81,125],[142,143],[125,142],[148,149],[61,125,136,143],[47,143],[47,125,136,137,138,141,143,145],[136,150],[136,152],[136,146],[45,47],[80],[45,47,48,78,80,81,86,146,147,150,151,152,153,154],[85],[61,80,82,84,155],[83],[46,69],[46,47,48,61,68,70,72,73,75,76,77,156],[46,61,74,75,156],[61,74,76],[46],[47,61,67,71,78,79],[61,71,80],[47],[66],[110,118,120,121,122,123,124],[119],[91,110],[139,140],[141]],"referencedMap":[[50,1],[51,2],[49,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[119,14],[91,15],[66,16],[63,17],[64,18],[93,19],[94,14],[95,14],[97,20],[98,21],[100,14],[101,14],[102,14],[129,19],[105,22],[106,14],[133,14],[135,14],[103,14],[104,14],[108,14],[111,23],[113,24],[131,14],[132,14],[126,25],[130,19],[117,14],[136,26],[92,14],[144,25],[154,27],[145,28],[142,29],[152,30],[143,31],[150,32],[149,33],[148,34],[146,35],[151,36],[153,37],[147,38],[48,39],[81,40],[155,41],[86,42],[85,43],[84,44],[70,45],[78,46],[76,47],[77,48],[74,49],[80,50],[72,51],[47,49],[79,52],[67,53],[118,23],[125,54],[124,14],[120,55],[110,14],[123,56],[141,57],[139,58],[68,49]],"exportedModulesMap":[[50,1],[51,2],[49,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[119,14],[91,15],[66,16],[63,17],[64,18],[93,19],[94,14],[95,14],[97,20],[98,21],[100,14],[101,14],[102,14],[129,19],[105,22],[106,14],[133,14],[135,14],[103,14],[104,14],[108,14],[111,23],[113,24],[131,14],[132,14],[126,25],[130,19],[117,14],[136,26],[92,14],[144,25],[154,27],[145,28],[142,29],[152,30],[143,31],[150,32],[149,33],[148,34],[146,35],[151,36],[153,37],[147,38],[48,39],[81,40],[155,41],[86,42],[85,43],[84,44],[70,45],[78,46],[76,47],[77,48],[74,49],[80,50],[72,51],[47,49],[79,52],[67,53],[118,23],[125,54],[124,14],[120,55],[110,14],[123,56],[141,57],[139,58],[68,49]],"semanticDiagnosticsPerFile":[50,51,49,52,53,54,55,56,57,58,59,60,61,112,89,119,87,91,88,90,82,69,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,137,62,65,66,63,64,93,94,95,96,97,98,99,127,100,101,102,129,105,106,107,133,135,103,104,108,134,109,111,113,114,131,115,116,132,126,130,117,128,136,92,144,154,145,142,152,143,150,149,148,146,151,153,147,48,81,45,155,86,85,84,83,70,78,75,156,76,77,74,73,80,72,71,47,79,67,118,125,122,124,120,110,123,121,140,141,139,138,68]},"version":"4.4.2"}
|
|
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","./src/factory.js","../../node_modules/redux/index.d.ts","./src/types.ts","./src/controls.js","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/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","../deprecated/build-types/index.d.ts","../redux-routine/build-types/index.d.ts","../../node_modules/is-promise/index.d.ts","./src/promise-middleware.js","./src/store/index.js","./src/resolvers-cache-middleware.js","./src/redux-store/thunk-middleware.js","./src/redux-store/metadata/utils.ts","./src/redux-store/metadata/actions.js","./src/redux-store/metadata/reducer.ts","./src/redux-store/metadata/selectors.js","./src/redux-store/index.js","./src/utils/emitter.js","./src/registry.js","./src/default-registry.js","../../node_modules/is-plain-object/is-plain-object.d.ts","./src/plugins/persistence/storage/object.js","./src/plugins/persistence/storage/default.js","./src/plugins/persistence/index.js","./src/plugins/index.js","../../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/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","../compose/build-types/utils/create-higher-order-component/index.d.ts","../compose/build-types/higher-order/compose.d.ts","../compose/build-types/higher-order/if-condition/index.d.ts","../compose/build-types/higher-order/pure/index.d.ts","../compose/build-types/higher-order/with-global-events/index.d.ts","../compose/build-types/higher-order/with-instance-id/index.d.ts","../compose/build-types/higher-order/with-safe-timeout/index.d.ts","../compose/build-types/higher-order/with-state/index.d.ts","../compose/build-types/hooks/use-constrained-tabbing/index.d.ts","../compose/build-types/hooks/use-copy-on-click/index.d.ts","../compose/build-types/hooks/use-copy-to-clipboard/index.d.ts","../compose/build-types/hooks/use-focus-on-mount/index.d.ts","../compose/build-types/hooks/use-focus-outside/index.d.ts","../compose/build-types/hooks/use-dialog/index.d.ts","../compose/build-types/hooks/use-disabled/index.d.ts","../compose/build-types/hooks/use-dragging/index.d.ts","../compose/build-types/hooks/use-focus-return/index.d.ts","../compose/build-types/hooks/use-instance-id/index.d.ts","../element/build-types/react.d.ts","../compose/build-types/hooks/use-isomorphic-layout-effect/index.d.ts","../../node_modules/@types/mousetrap/index.d.ts","../compose/build-types/hooks/use-keyboard-shortcut/index.d.ts","../compose/build-types/hooks/use-media-query/index.d.ts","../compose/build-types/hooks/use-previous/index.d.ts","../compose/build-types/hooks/use-reduced-motion/index.d.ts","../compose/build-types/hooks/use-viewport-match/index.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","../compose/build-types/hooks/use-resize-observer/index.d.ts","../compose/build-types/hooks/use-async-list/index.d.ts","../compose/build-types/hooks/use-warn-on-change/index.d.ts","../compose/build-types/hooks/use-debounce/index.d.ts","../compose/build-types/hooks/use-throttle/index.d.ts","../compose/build-types/hooks/use-merge-refs/index.d.ts","../compose/build-types/hooks/use-ref-effect/index.d.ts","../compose/build-types/hooks/use-drop-zone/index.d.ts","../compose/build-types/hooks/use-focusable-iframe/index.d.ts","../compose/build-types/hooks/use-fixed-window-list/index.d.ts","../compose/build-types/index.d.ts","../../node_modules/use-memo-one/index.d.ts","../priority-queue/build-types/index.d.ts","../is-shallow-equal/build-types/objects.d.ts","../is-shallow-equal/build-types/arrays.d.ts","../is-shallow-equal/build-types/index.d.ts","./src/components/registry-provider/context.js","./src/components/registry-provider/use-registry.js","./src/components/async-mode-provider/context.js","./src/components/async-mode-provider/use-async-mode.js","./src/components/use-select/index.js","./src/components/with-select/index.js","./src/components/use-dispatch/use-dispatch.js","./src/components/use-dispatch/use-dispatch-with-map.js","./src/components/use-dispatch/index.js","./src/components/with-dispatch/index.js","./src/components/registry-provider/index.js","./src/components/with-registry/index.js","./src/components/async-mode-provider/index.js","./src/index.js","./src/redux-store/metadata/equivalent-key-map.d.ts"],"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},"ce6e5b88acf57d96365aa4d49fd43480c803ecb7868830749df564789774a54c",{"version":"8f19251323456195ec9236df857bac3b8f97b73b540ef06ead2ceccc3884954f","affectsGlobalScope":true},"433a242658a4afbee081ab78b8f1f1c19def9ff2baae225ec94dab2b989da625","e382a7658f76f31d91f33c404b9526eeee7938eb4aee831feb51a3ba0e40a321","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","438284c7c455a29b9c0e2d1e72abc62ee93d9a163029ffe918a34c5db3b92da2","0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","82251920b05f30981c9a4109cb5f3169dce4b477effc845c6d781044a30e7672","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","9fa6b83a35e897f340858995ca5d77e901d89fd18644cd4c9e8a4afe0b2e6363",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8","55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e","bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7","5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b","ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb","b192606574769a5566620f9bf19358a3994bc2726ecdeaad9c66f3333b2687c8","29041ec2b56677a9adf3bcfa21bf513d29faacfea6964a0734a5e0a12982ac8c","5ac6404ddc5d622905e131dbc5da0362a82e89d1cb97cc8256bf06ca9fad4b24","9fcfbc2dd0c0614b3a25d41e4425dd86cdfa574a9e7d2febffc85badcee1a0b8","48674187365141743eaadc4ffa47b457bfa63d36e945b8e4f43d60b0fe6b1907","27c3ff6b4f5c0dc844debade25cbae22be0b9b0f1d4ca3ecc6e7b61e1cf08ad9","975eb852881942b64b42f35251bb55a75b6521e47c3eefe95d61f986265a5225","318affc58742934c99481fcb8043bba8b5a5caaf07f5971c34d00b5dc154da66","c67951274199df6c887191adafac1c605901c3f6ce123351225e2e93c4282de4","de295bdc91e4aaec2811e416c4fb46dbaa4716fd7c34aecbf1511ec77a110a3b","ffb454554054fdfa52dbe72f6a0f5320cfeff52452f4e8deddcfc3f5bba80f82","599d3822e1468816edcb231f5ede8a27466a7013d4677c129d1f34d47c42ae25","412e9398be155d644b609b06bb2d0b6f99d86bf3d7db81b27a357ad8df07e0c0","c44bf8981fe8fa3cef9fb7b605e2831e39c2fe9e2649078c6b04ab6c64bdae7b","c17118d21ac084068b77eb8e382d9f8988e26bded75c7f0f0b132fa67d4ca625","9a4c49a0b2bf8536b1f4a72f162f807d7a23aa27a816e9cd24cc965540ba4b35","dc8a746041b9afc357038c00dc7bb204e7c758e5796e2b965782b10c010ea5da","3c2eecbb08d00f262c3266a5729d8dc7033b12c10ad11085239d942330a66be4","05dd6c14853a43da9de35936c2cd9e3c1a0fb4bc64b61ca992c5ed0b90ea2f00","50ed6e45c39d15e21c206f167abb7c33067931c37c8c660f1928e504a3ba6fda",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720","affectsGlobalScope":true},"c8b8656890f0c3cbcbfa35247885999be08c3e6391d04c6970e6edbd113c0359","c293abb3ed2bec7742b7ba1b1b1ba1baa3dcdcb564f9c2e979d6652c8cd3469e","04ada34f81611d5344e26d98a6817bb0fc34c7bf7370b5c8ec9b562c56161ae9","8b495154f6d961654e7d0f4ba35bd115160d6d6bfce3dc9c3d122f0948402e9f","f9523fca1617fd31e048afd09f08cca592a7bbaeca4d5ff1e1781ab0cd2ffe9b","471a29292fd062298595f697fedc5e8c7ab42539770da59a3c76592330cf3c14","a2f3cab1b4ff63fa311519603bec5420b6c65b3c0cf6e29aec508bcdd68ea3a7","23d7a8b5d3297675007160f5cc75777e6eccf63ff6650bd3ed01eb0b3cdf2a38","8db59d5540f8bc033f35eb1a4a7903d202fbace0874b456e463af2675da2398b","c5a28d3d50c8edecc8cc87ae3a5dcfa34e630f970626bf30c552e681c7055fd0","5f8402dfce577684c2de40394f60628ffe6e44e6bc308dbeb1b643c527d758bf","daa0b5b58eab0c3dfc200cde4cc933084b908ede3aacdda1d2797f98c172142b","62517d6229922cb446b02a0a8df424b8def7ce40570e2a3c67df93c321bc4ba7","efb24a68b79cfe7a7e5b3d671fea994ece9274a85a173c1fac04537e3391e4eb","1d36eb5c40d9f368065a1175ff754f333966affd48a6c84e3eb5de1820da3635","c7511c9ff4c555d12735b322eddeeabda257635c9fd68f5622fdef9d59f5a558","f08d251cb25341aedf5edbfa1317f59f93ddb133de124a31962f656ab4f6ebd9","9f437538e527d5cae91aedde19cd7aea5de915f015854c574b270407b2e34f27","e59d00012fb20e6746def2f4bc94650526aa6c574c49ad6a50a992f61a3ee675","2cc143754ed238f214e763525cd4c11613409a643fdd602f4e0a2b19f1f2d397","96520a873073a2f39f922d0a422498cdcc28be9066a769000cdd07ecaba7b645","c7284023c5462180e492357aeb94551a20aa41eac8ac517606f3766359d08bb9","ed4ec3d435678a5703a016a801afc2cd7b543c53ab4615b3e214cac9c30f560a","e1e870a8a409e1eb530b841c9fa03165041518270de8eb37d8cf00c64a53b864","501be290436f06ae2182915329b01cfd0850961814802237b5c24749fd2afa0c","cc34c3c1590513cdb6374890f421c06ad969cfd99b28efb6003a6afc845c49f8","e47b8ec56eb49bc1c53c9012daa9874de14ad0c5da442485aec333571c74b526","45a63e17814c570ea59407f231ef9c561510bd6edb36f17479b09b44619496c6","5d7018910750d9cb4a912577ad2951fc3fad83c30d637689b69ffc6bbb0c9f5a","d2d9e98a2b167079474768593e1e7125fc3db055add8fbdb5977e3d05a8a3696","6462da67490105ba7d98cf312c2faf8794c425781128b161ea8394d66502eec8","62359da52b6c8d00c50c2e50738fac82e902f916fdf458d8159e7edb1c60c3a8","1e0ac21bc775686383ea8c8e48bd98b385e6195b25c85525a7affd08a2cd38b9","0449615e1ed03c7d54fc435a63b7ef0cb4e5cea5ac40c9a63280a46f7eeae0ff",{"version":"b5b080e499df18235bac525ce43da935d1a068c5770f58b245d24b6ae8baa166","affectsGlobalScope":true},"b935d4ca97dc9aa05c92aaa51ab5cf2ada5b9722e84ea3af8dc5f93fea3cd361","f295ab6b1bfd2b6b5b19ba621cca18c1b94b25c430c67fcb66c9594e89e3ff39","f5083d566302fc32d1d4d7833c40e3990759036c548326dcc8092fc80baa2ebc","4a618c63120a5bf4f0654b0feb16ad600461526f562edca8cc0f3a56c96ec2ca","d759d5a895085d1cfc89d1d1791c188c8170d933092db93e2b48676c49ee7310","2d1b4aec91b432ab2fe2b22f376a34dbc9d9b4b34acbd552f9cd0d3d98bcfca2","3e006a620bc41e8b467373fcaba522d5f79ce9dcaaa813a94c561457fcab80ad","ee316055baf21ac2fdc96c90f19fb4a2e4b5ef225df0698e3bcb20f90b16b689","5fac858cb922fe34b898ddc12db441c878ec72bf6a1e3bcbe297f4da4bb6672a","a1c962fccc9322e83d639687d1db2e2b04f8e1a80b03f061ec5b1ddab86d0970","62540abf0bac8bf8c13c183db0457c5495a2bdad157f9eb03916c3953feb765e","abb6d9adcc79c591f712e79c55f769b48690ec66a55b6f6189569a0d357c7e58","5190f1a110a789c2f8ed8dcf2da6ce122dcb74249d0c01d19d1ed0b1c6bb02a1","3650bbe137c9c44bc6b8f44a56353b00eba9654e41a9355e6228f7f0f464c648","9c4f32d2fa2b6efeed4f9fbd98254121b17982110b48edcede96e2dc2af0894d","02fdc48e90772a67702e098b722a5772fddf789fb8aa961fc1e292655581df34","e08f7f2e161bf3631ced28081d5b567ebce6f58dedc9930ec299b14f7dc52ae2","56a1d5d8e0d9fc4e3e39936097c3064338df9031872c8e21a9648e3390aae30c","c12fb0c4b324c65600609051919b1de0da4630c66bdbd4dc268efe7780ff4ed8","87f72a0c21f1929dcad84b7381c06215b6abf464958c702b66bea01742248f99","cdb21862838795135a920f06f0d3c94df71b677d61582911edb7d1da41d8b7ed","6cc1355b44418cd30ce04c550fee3550dcb0a5250cb8f2a420784b4bc1d7f016","6f26fa5643242fa8fbcb29f62d5377ed2f2b875a4077fd795f66d6af3ee5c102","e6afc6c377cdc0b881c15db7be06fe57fbdbb4074753bb36abdc26000de853ee","a824f23995b5038bb7a479442d8463c50f055697d4cc70506210706cd0e762e3","6419036e9ec25b03fed142edef64280f5d7dbcc158170cb27899ecb9cb2dae8b","205b5a62e15144e9bd6a49846df7d30399a5738a3ab439f35eb25e19aab66299","8d09f7a29021a69909eca56a60012bb043c703b82fbb1dede51186fedcce88f9","df2307b475f868065ff8d0d4974f832154897c3336b1e5da286be6201f8cdaf5","8eed414bd2305e20163d35205b450204002bf20e14c7241d7fec46bb18f174d2"],"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":false,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[49,51,52,53,54,55,56,57,58,59,60,61],[49,50,52,53,54,55,56,57,58,59,60,61],[50,51,52,53,54,55,56,57,58,59,60,61],[49,50,51,53,54,55,56,57,58,59,60,61],[49,50,51,52,54,55,56,57,58,59,60,61],[49,50,51,52,53,55,56,57,58,59,60,61],[49,50,51,52,53,54,56,57,58,59,60,61],[49,50,51,52,53,54,55,57,58,59,60,61],[49,50,51,52,53,54,55,56,58,59,60,61],[49,50,51,52,53,54,55,56,57,59,60,61],[49,50,51,52,53,54,55,56,57,58,60,61],[49,50,51,52,53,54,55,56,57,58,59,61],[49,50,51,52,53,54,55,56,57,58,59,60],[91],[87,88,89,90],[62,63,64,65],[62],[63],[61],[92],[91,92],[103,104],[110],[91,112],[125],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,111,113,114,115,116,117,126,127,128,129,130,131,132,133,134,135],[144,145],[125,144],[81,125],[142,143],[125,142],[148,149],[61,125,136,143],[47,143],[47,125,136,137,138,141,143,145],[136,150],[136,152],[136,146],[45,47],[80],[45,47,48,78,80,81,86,146,147,150,151,152,153,154],[85],[61,80,82,84,155],[83],[46,69],[46,47,48,61,68,70,72,73,75,76,77,156],[46,61,74,75,156],[61,74,76],[46],[47,61,67,71,78,79],[61,71,80],[47],[66],[110,118,120,121,122,123,124],[119],[91,110],[139,140],[141]],"referencedMap":[[50,1],[51,2],[49,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[119,14],[91,15],[66,16],[63,17],[64,18],[93,19],[94,14],[95,14],[97,20],[98,21],[100,14],[101,14],[102,14],[129,19],[105,22],[106,14],[133,14],[135,14],[103,14],[104,14],[108,14],[111,23],[113,24],[131,14],[132,14],[126,25],[130,19],[117,14],[136,26],[92,14],[144,25],[154,27],[145,28],[142,29],[152,30],[143,31],[150,32],[149,33],[148,34],[146,35],[151,36],[153,37],[147,38],[48,39],[81,40],[155,41],[86,42],[85,43],[84,44],[70,45],[78,46],[76,47],[77,48],[74,49],[80,50],[72,51],[47,49],[79,52],[67,53],[118,23],[125,54],[124,14],[120,55],[110,14],[123,56],[141,57],[139,58],[68,49]],"exportedModulesMap":[[50,1],[51,2],[49,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[119,14],[91,15],[66,16],[63,17],[64,18],[93,19],[94,14],[95,14],[97,20],[98,21],[100,14],[101,14],[102,14],[129,19],[105,22],[106,14],[133,14],[135,14],[103,14],[104,14],[108,14],[111,23],[113,24],[131,14],[132,14],[126,25],[130,19],[117,14],[136,26],[92,14],[144,25],[154,27],[145,28],[142,29],[152,30],[143,31],[150,32],[149,33],[148,34],[146,35],[151,36],[153,37],[147,38],[48,39],[81,40],[155,41],[86,42],[85,43],[84,44],[70,45],[78,46],[76,47],[77,48],[74,49],[80,50],[72,51],[47,49],[79,52],[67,53],[118,23],[125,54],[124,14],[120,55],[110,14],[123,56],[141,57],[139,58],[68,49]],"semanticDiagnosticsPerFile":[50,51,49,52,53,54,55,56,57,58,59,60,61,112,89,119,87,91,88,90,82,69,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,137,62,65,66,63,64,93,94,95,96,97,98,99,127,100,101,102,129,105,106,107,133,135,103,104,108,134,109,111,113,114,131,115,116,132,126,130,117,128,136,92,144,154,145,142,152,143,150,149,148,146,151,153,147,48,81,45,155,86,85,84,83,70,78,75,156,76,77,74,73,80,72,71,47,79,67,118,125,122,124,120,110,123,121,140,141,139,138,68]},"version":"4.4.2"}
|