@vitessce/vit-s 2.0.3 → 3.0.1

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.
Files changed (215) hide show
  1. package/dist/index.js +44072 -0
  2. package/dist-tsc/CallbackPublisher.d.ts +18 -0
  3. package/dist-tsc/CallbackPublisher.d.ts.map +1 -0
  4. package/dist-tsc/CallbackPublisher.js +62 -0
  5. package/dist-tsc/LoadingIndicator.d.ts +2 -0
  6. package/dist-tsc/LoadingIndicator.d.ts.map +1 -0
  7. package/dist-tsc/LoadingIndicator.js +26 -0
  8. package/dist-tsc/TitleInfo.d.ts +2 -0
  9. package/dist-tsc/TitleInfo.d.ts.map +1 -0
  10. package/dist-tsc/TitleInfo.js +74 -0
  11. package/dist-tsc/VitS.d.ts +50 -0
  12. package/dist-tsc/VitS.d.ts.map +1 -0
  13. package/dist-tsc/VitS.js +139 -0
  14. package/dist-tsc/VitessceGrid.d.ts +23 -0
  15. package/dist-tsc/VitessceGrid.d.ts.map +1 -0
  16. package/dist-tsc/VitessceGrid.js +63 -0
  17. package/dist-tsc/VitessceGrid.test.d.ts +2 -0
  18. package/dist-tsc/VitessceGrid.test.d.ts.map +1 -0
  19. package/dist-tsc/VitessceGrid.test.js +43 -0
  20. package/dist-tsc/Warning.d.ts +2 -0
  21. package/dist-tsc/Warning.d.ts.map +1 -0
  22. package/dist-tsc/Warning.js +45 -0
  23. package/dist-tsc/classNames.d.ts +8 -0
  24. package/dist-tsc/classNames.d.ts.map +1 -0
  25. package/dist-tsc/classNames.js +8 -0
  26. package/dist-tsc/data/AbstractLoader.d.ts +22 -0
  27. package/dist-tsc/data/AbstractLoader.d.ts.map +1 -0
  28. package/dist-tsc/data/AbstractLoader.js +18 -0
  29. package/dist-tsc/data/AbstractTwoStepLoader.d.ts +6 -0
  30. package/dist-tsc/data/AbstractTwoStepLoader.d.ts.map +1 -0
  31. package/dist-tsc/data/AbstractTwoStepLoader.js +7 -0
  32. package/dist-tsc/data/LoaderResult.d.ts +12 -0
  33. package/dist-tsc/data/LoaderResult.d.ts.map +1 -0
  34. package/dist-tsc/data/LoaderResult.js +12 -0
  35. package/dist-tsc/data/index.d.ts +4 -0
  36. package/dist-tsc/data/index.d.ts.map +1 -0
  37. package/dist-tsc/data/index.js +3 -0
  38. package/dist-tsc/data/loader-registry.d.ts +9 -0
  39. package/dist-tsc/data/loader-registry.d.ts.map +1 -0
  40. package/dist-tsc/data/loader-registry.js +27 -0
  41. package/dist-tsc/data-hook-utils.d.ts +65 -0
  42. package/dist-tsc/data-hook-utils.d.ts.map +1 -0
  43. package/dist-tsc/data-hook-utils.js +191 -0
  44. package/dist-tsc/data-hooks.d.ts +73 -0
  45. package/dist-tsc/data-hooks.d.ts.map +1 -0
  46. package/dist-tsc/data-hooks.js +254 -0
  47. package/dist-tsc/errors/AbstractLoaderError.d.ts +10 -0
  48. package/dist-tsc/errors/AbstractLoaderError.d.ts.map +1 -0
  49. package/dist-tsc/errors/AbstractLoaderError.js +13 -0
  50. package/dist-tsc/errors/DataSourceFetchError.d.ts +8 -0
  51. package/dist-tsc/errors/DataSourceFetchError.d.ts.map +1 -0
  52. package/dist-tsc/errors/DataSourceFetchError.js +13 -0
  53. package/dist-tsc/errors/DatasetNotFoundError.d.ts +6 -0
  54. package/dist-tsc/errors/DatasetNotFoundError.d.ts.map +1 -0
  55. package/dist-tsc/errors/DatasetNotFoundError.js +17 -0
  56. package/dist-tsc/errors/LoaderNotFoundError.d.ts +10 -0
  57. package/dist-tsc/errors/LoaderNotFoundError.d.ts.map +1 -0
  58. package/dist-tsc/errors/LoaderNotFoundError.js +17 -0
  59. package/dist-tsc/errors/LoaderValidationError.d.ts +10 -0
  60. package/dist-tsc/errors/LoaderValidationError.d.ts.map +1 -0
  61. package/dist-tsc/errors/LoaderValidationError.js +15 -0
  62. package/dist-tsc/errors/index.d.ts +6 -0
  63. package/dist-tsc/errors/index.d.ts.map +1 -0
  64. package/dist-tsc/errors/index.js +5 -0
  65. package/dist-tsc/hooks.d.ts +76 -0
  66. package/dist-tsc/hooks.d.ts.map +1 -0
  67. package/dist-tsc/hooks.js +262 -0
  68. package/dist-tsc/index.d.ts +12 -0
  69. package/dist-tsc/index.d.ts.map +1 -0
  70. package/dist-tsc/index.js +11 -17
  71. package/dist-tsc/mui-utils.d.ts +2 -0
  72. package/dist-tsc/mui-utils.d.ts.map +1 -0
  73. package/dist-tsc/mui-utils.js +44 -0
  74. package/dist-tsc/plugins.test.fixtures.d.ts +61 -0
  75. package/dist-tsc/plugins.test.fixtures.d.ts.map +1 -0
  76. package/dist-tsc/plugins.test.fixtures.js +76 -0
  77. package/dist-tsc/shared-mui/components.d.ts +2 -0
  78. package/dist-tsc/shared-mui/components.d.ts.map +1 -0
  79. package/dist-tsc/shared-mui/components.js +29 -0
  80. package/dist-tsc/shared-mui/container.d.ts +2 -0
  81. package/dist-tsc/shared-mui/container.d.ts.map +1 -0
  82. package/dist-tsc/shared-mui/container.js +211 -0
  83. package/dist-tsc/shared-mui/styles.d.ts +5 -0
  84. package/dist-tsc/shared-mui/styles.d.ts.map +1 -0
  85. package/dist-tsc/shared-mui/styles.js +109 -0
  86. package/dist-tsc/shared-plot-options/CellColorEncodingOption.d.ts +2 -0
  87. package/dist-tsc/shared-plot-options/CellColorEncodingOption.d.ts.map +1 -0
  88. package/dist-tsc/shared-plot-options/CellColorEncodingOption.js +17 -0
  89. package/dist-tsc/shared-plot-options/OptionSelect.d.ts +2 -0
  90. package/dist-tsc/shared-plot-options/OptionSelect.d.ts.map +1 -0
  91. package/dist-tsc/shared-plot-options/OptionSelect.js +12 -0
  92. package/dist-tsc/shared-plot-options/OptionsContainer.d.ts +2 -0
  93. package/dist-tsc/shared-plot-options/OptionsContainer.d.ts.map +1 -0
  94. package/dist-tsc/shared-plot-options/OptionsContainer.js +9 -0
  95. package/dist-tsc/shared-plot-options/index.d.ts +5 -0
  96. package/dist-tsc/shared-plot-options/index.d.ts.map +1 -0
  97. package/dist-tsc/shared-plot-options/index.js +4 -0
  98. package/dist-tsc/shared-plot-options/styles.d.ts +2 -0
  99. package/dist-tsc/shared-plot-options/styles.d.ts.map +1 -0
  100. package/dist-tsc/shared-plot-options/styles.js +48 -0
  101. package/dist-tsc/state/hooks.d.ts +242 -0
  102. package/dist-tsc/state/hooks.d.ts.map +1 -0
  103. package/dist-tsc/state/hooks.js +615 -0
  104. package/dist-tsc/title-styles.d.ts +2 -0
  105. package/dist-tsc/title-styles.d.ts.map +1 -0
  106. package/dist-tsc/title-styles.js +72 -0
  107. package/dist-tsc/view-config-utils.d.ts +31 -0
  108. package/dist-tsc/view-config-utils.d.ts.map +1 -0
  109. package/dist-tsc/view-config-utils.js +240 -0
  110. package/dist-tsc/view-config-utils.test.d.ts +2 -0
  111. package/dist-tsc/view-config-utils.test.d.ts.map +1 -0
  112. package/dist-tsc/view-config-utils.test.fixtures.d.ts +1049 -0
  113. package/dist-tsc/view-config-utils.test.fixtures.d.ts.map +1 -0
  114. package/dist-tsc/view-config-utils.test.fixtures.js +883 -0
  115. package/dist-tsc/view-config-utils.test.js +210 -0
  116. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.d.ts +8 -0
  117. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.d.ts.map +1 -0
  118. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.js +114 -0
  119. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.test.d.ts +2 -0
  120. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.test.d.ts.map +1 -0
  121. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.test.js +48 -0
  122. package/dist-tsc/vitessce-grid-layout/index.d.ts +2 -0
  123. package/dist-tsc/vitessce-grid-layout/index.d.ts.map +1 -0
  124. package/dist-tsc/vitessce-grid-layout/index.js +1 -0
  125. package/dist-tsc/vitessce-grid-layout/layout-utils.d.ts +15 -0
  126. package/dist-tsc/vitessce-grid-layout/layout-utils.d.ts.map +1 -0
  127. package/dist-tsc/vitessce-grid-layout/layout-utils.js +61 -0
  128. package/dist-tsc/vitessce-grid-layout/layout-utils.test.d.ts +2 -0
  129. package/dist-tsc/vitessce-grid-layout/layout-utils.test.d.ts.map +1 -0
  130. package/dist-tsc/vitessce-grid-layout/layout-utils.test.js +149 -0
  131. package/dist-tsc/vitessce-grid-utils.d.ts +13 -0
  132. package/dist-tsc/vitessce-grid-utils.d.ts.map +1 -0
  133. package/dist-tsc/vitessce-grid-utils.js +141 -0
  134. package/package.json +25 -11
  135. package/src/CallbackPublisher.js +7 -11
  136. package/src/LoadingIndicator.js +1 -2
  137. package/src/TitleInfo.js +12 -85
  138. package/src/VitS.js +143 -85
  139. package/src/VitessceGrid.js +35 -21
  140. package/src/VitessceGrid.test.jsx +23 -8
  141. package/src/Warning.js +4 -4
  142. package/src/data/AbstractLoader.js +2 -25
  143. package/src/data/AbstractTwoStepLoader.js +1 -1
  144. package/src/data/LoaderResult.js +5 -0
  145. package/src/data/index.js +3 -3
  146. package/src/data/loader-registry.js +22 -13
  147. package/src/data-hook-utils.js +119 -86
  148. package/src/data-hooks.js +150 -131
  149. package/src/errors/DataSourceFetchError.js +2 -2
  150. package/src/errors/DatasetNotFoundError.js +1 -1
  151. package/src/errors/LoaderNotFoundError.js +1 -1
  152. package/src/errors/LoaderValidationError.js +1 -1
  153. package/src/errors/index.js +5 -6
  154. package/src/hooks.js +81 -26
  155. package/src/index.js +23 -46
  156. package/src/mui-utils.js +52 -0
  157. package/src/shared-mui/components.js +10 -8
  158. package/src/shared-mui/container.js +1 -1
  159. package/src/shared-mui/styles.js +5 -2
  160. package/src/shared-plot-options/CellColorEncodingOption.js +3 -4
  161. package/src/shared-plot-options/OptionSelect.js +3 -3
  162. package/src/shared-plot-options/OptionsContainer.js +2 -5
  163. package/src/shared-plot-options/index.js +4 -4
  164. package/src/shared-plot-options/styles.js +2 -2
  165. package/src/state/hooks.js +75 -23
  166. package/src/title-styles.js +73 -0
  167. package/src/view-config-utils.js +54 -98
  168. package/src/view-config-utils.test.jsx +223 -0
  169. package/src/vitessce-grid-layout/VitessceGridLayout.js +51 -30
  170. package/src/vitessce-grid-layout/VitessceGridLayout.test.jsx +17 -9
  171. package/src/vitessce-grid-layout/index.js +1 -1
  172. package/src/vitessce-grid-layout/layout-utils.js +1 -1
  173. package/src/vitessce-grid-layout/layout-utils.test.js +2 -1
  174. package/src/vitessce-grid-utils.js +27 -15
  175. package/dist/index.mjs +0 -84801
  176. package/src/component-registry.js +0 -21
  177. package/src/errors/OptionsValidationError.js +0 -25
  178. package/src/file-options-schemas-legacy.js +0 -139
  179. package/src/file-options-schemas-legacy.test.js +0 -138
  180. package/src/file-options-schemas.js +0 -327
  181. package/src/file-options-schemas.test.js +0 -26
  182. package/src/joint-file-types-legacy.js +0 -298
  183. package/src/joint-file-types-legacy.test.js +0 -412
  184. package/src/joint-file-types.js +0 -171
  185. package/src/joint-file-types.test.js +0 -144
  186. package/src/json-schemas.js +0 -9
  187. package/src/plugins.js +0 -186
  188. package/src/plugins.test.js +0 -42
  189. package/src/schemas/config-0.1.0.schema.json +0 -85
  190. package/src/schemas/config-1.0.0.schema.json +0 -733
  191. package/src/schemas/config-1.0.1.schema.json +0 -909
  192. package/src/schemas/config-1.0.10.schema.json +0 -969
  193. package/src/schemas/config-1.0.11.schema.json +0 -990
  194. package/src/schemas/config-1.0.12.schema.json +0 -997
  195. package/src/schemas/config-1.0.13.schema.json +0 -1013
  196. package/src/schemas/config-1.0.14.schema.json +0 -1048
  197. package/src/schemas/config-1.0.15.schema.json +0 -1048
  198. package/src/schemas/config-1.0.16.schema.json +0 -1069
  199. package/src/schemas/config-1.0.16.schema.test.js +0 -32
  200. package/src/schemas/config-1.0.2.schema.json +0 -911
  201. package/src/schemas/config-1.0.3.schema.json +0 -911
  202. package/src/schemas/config-1.0.4.schema.json +0 -949
  203. package/src/schemas/config-1.0.5.schema.json +0 -949
  204. package/src/schemas/config-1.0.6.schema.json +0 -950
  205. package/src/schemas/config-1.0.7.schema.json +0 -950
  206. package/src/schemas/config-1.0.8.schema.json +0 -966
  207. package/src/schemas/config-1.0.9.schema.json +0 -965
  208. package/src/schemas/obsSets.schema.js +0 -195
  209. package/src/schemas/obsSetsTabular.schema.js +0 -39
  210. package/src/schemas/raster.schema.js +0 -121
  211. package/src/schemas/schema-schema.sh +0 -34
  212. package/src/schemas/schema.test-old.js +0 -49
  213. package/src/view-config-upgraders.js +0 -628
  214. package/src/view-config-utils.test.js +0 -95
  215. package/src/view-config-versions.js +0 -68
@@ -0,0 +1,242 @@
1
+ /**
2
+ * This hook uses the same logic as for the `values` part of
3
+ * the useCoordination hook, with the difference that it
4
+ * gets its values from the _initial_ view config rather
5
+ * than the current view config.
6
+ * @param {string[]} parameters Array of coordination types.
7
+ * @param {object} coordinationScopes Mapping of coordination types
8
+ * to scope names.
9
+ * @returns {object} Object containing all coordination values.
10
+ */
11
+ export function useInitialCoordination(parameters: string[], coordinationScopes: object): object;
12
+ /**
13
+ * The useCoordination hook returns both the
14
+ * values and setter functions for the coordination objects
15
+ * in a particular coordination scope mapping.
16
+ * This hook is intended to be used within the ___Subscriber
17
+ * components to allow them to "hook into" only those coordination
18
+ * objects and setter functions of relevance.
19
+ * @param {string[]} parameters Array of coordination types.
20
+ * @param {object} coordinationScopes Mapping of coordination types
21
+ * to scope names.
22
+ * @returns {array} Returns a tuple [values, setters]
23
+ * where values is an object containing all coordination values,
24
+ * and setters is an object containing all coordination setter
25
+ * functions for the values in `values`, named with a "set"
26
+ * prefix.
27
+ */
28
+ export function useCoordination(parameters: string[], coordinationScopes: object): array;
29
+ export function useMultiCoordinationValues(parameter: any, coordinationScopes: any): any;
30
+ /**
31
+ * Get a mapping from dataset coordination scopes to dataset UIDs.
32
+ * @param {object} coordinationScopes The coordination scope mapping object for a view.
33
+ * @returns {object} Mapping from dataset coordination scope names to dataset UIDs.
34
+ */
35
+ export function useDatasetUids(coordinationScopes: object): object;
36
+ /**
37
+ * Use coordination values and coordination setter functions corresponding to
38
+ * {coordinationType}-specific coordination scopes for each coordination type.
39
+ * @param {string[]} parameters An array of coordination types supported by a view.
40
+ * @param {object} coordinationScopes The coordination scope mapping object for a view.
41
+ * @param {object} coordinationScopesBy The per-coordinationType coordination scope
42
+ * mapping object for a view.
43
+ * @param {string} byType The {coordinationType} to use for per-{coordinationType} coordination
44
+ * scope mappings.
45
+ * @returns {array} [cValues, cSetters] where
46
+ * cValues is a mapping from coordination scope name to { coordinationType: coordinationValue },
47
+ * and cSetters is a mapping from coordination scope name to { setCoordinationType }
48
+ * setter functions.
49
+ */
50
+ export function useComplexCoordination(parameters: string[], coordinationScopes: object, coordinationScopesBy: object, byType: string): array;
51
+ /**
52
+ * Use coordination values and coordination setter functions corresponding to
53
+ * dataset-specific coordination scopes for each coordination type.
54
+ * @param {string[]} parameters An array of coordination types supported by a view.
55
+ * @param {object} coordinationScopes The coordination scope mapping object for a view.
56
+ * @param {object} coordinationScopesBy The per-coordinationType coordination scope
57
+ * mapping object for a view.
58
+ * @returns {array} [cValues, cSetters] where
59
+ * cValues is a mapping from coordination scope name to { coordinationType: coordinationValue },
60
+ * and cSetters is a mapping from coordination scope name to { setCoordinationType }
61
+ * setter functions.
62
+ */
63
+ export function useMultiDatasetCoordination(parameters: string[], coordinationScopes: object, coordinationScopesBy: object): array;
64
+ /**
65
+ * The useAuxiliaryCoordination hook returns both the
66
+ * values and setter functions for the auxiliary coordination objects
67
+ * in a particular coordination scope mapping.
68
+ * This hook is intended to be used within the ___Subscriber
69
+ * components to allow them to "hook into" only those auxiliary coordination
70
+ * objects and setter functions of relevance, for example "on load" callbacks.
71
+ * @param {string[]} parameters Array of coordination types.
72
+ * @param {object} coordinationScopes Mapping of coordination types
73
+ * to scope names.
74
+ * @returns {array} Returns a tuple [values, setters]
75
+ * where values is an object containing all coordination values,
76
+ * and setters is an object containing all coordination setter
77
+ * functions for the values in `values`, named with a "set"
78
+ * prefix.
79
+ */
80
+ export function useAuxiliaryCoordination(parameters: string[], coordinationScopes: object): array;
81
+ /**
82
+ * Obtain the loaders object from
83
+ * the global app state.
84
+ * @returns {object} The loaders object
85
+ * in the `useViewConfigStore` store.
86
+ */
87
+ export function useLoaders(): object;
88
+ /**
89
+ * Find a specific loader instance for a particular dataset, data type, and view
90
+ * coordination values (mapping from coordination types to coordination values).
91
+ * Uses lodash/isMatch to perform matching against the file definition's
92
+ * coordination value mapping.
93
+ * @param {object} loaders The value returned by useLoaders.
94
+ * @param {string} dataset The dataset UID.
95
+ * @param {string} dataType The data type for the matching file.
96
+ * @param {object} viewCoordinationValues Current coordination values
97
+ * from the view. Match these against a subset of file definition coordination
98
+ * values.
99
+ * @returns The matching loader instance or `null`.
100
+ */
101
+ export function getMatchingLoader(loaders: object, dataset: string, dataType: string, viewCoordinationValues: object): any;
102
+ /**
103
+ * Find a specific loader instance for a particular dataset, data type, and view
104
+ * coordination values (mapping from coordination types to coordination values).
105
+ * Uses lodash/isMatch to perform matching against the file definition's
106
+ * coordination value mapping.
107
+ * @param {object} loaders The value returned by useLoaders.
108
+ * @param {string} dataset The dataset UID.
109
+ * @param {string} dataType The data type for the matching file.
110
+ * @param {object} viewCoordinationValues Current coordination values
111
+ * from the view. Match these against a subset of file definition coordination
112
+ * values.
113
+ * @returns The matching loader instance or `null`.
114
+ */
115
+ export function useMatchingLoader(loaders: object, dataset: string, dataType: string, viewCoordinationValues: object): any;
116
+ /**
117
+ * Find a specific loader instance for a particular dataset, data type, and view
118
+ * coordination values (mapping from coordination types to coordination values).
119
+ * Uses lodash/isMatch to perform matching against the file definition's
120
+ * coordination value mapping.
121
+ * TODO: can this function be removed?
122
+ * @param {object} loaders The value returned by useLoaders.
123
+ * @param {string} dataset The dataset UID.
124
+ * @param {string} dataType The data type for the matching file.
125
+ * @param {object} viewCoordinationValues Current coordination values
126
+ * from the view. Match these against a subset of file definition coordination
127
+ * values.
128
+ * @returns The matching loader instance or `null`.
129
+ */
130
+ export function useMatchingLoaders(loaders: object, dataset: string, dataType: string, viewCoordinationValuesObj: any): any;
131
+ /**
132
+ * Obtain the view config layout array from
133
+ * the global app state.
134
+ * @returns {object[]} The layout array
135
+ * in the `useViewConfigStore` store.
136
+ */
137
+ export function useLayout(): object[];
138
+ /**
139
+ * Obtain the component removal function from
140
+ * the global app state.
141
+ * @returns {function} The remove component function
142
+ * in the `useViewInfoStore` store.
143
+ */
144
+ export function useRemoveComponent(): Function;
145
+ /**
146
+ * Obtain the component prop setter function from
147
+ * the global app state.
148
+ * @returns {function} The set component props function
149
+ * in the `useViewInfoStore` store.
150
+ */
151
+ export function useChangeLayout(): Function;
152
+ /**
153
+ * Obtain the loaders setter function from
154
+ * the global app state.
155
+ * @returns {function} The loaders setter function
156
+ * in the `useViewConfigStore` store.
157
+ */
158
+ export function useSetLoaders(): Function;
159
+ /**
160
+ * Obtain the view config setter function from
161
+ * the global app state.
162
+ * @returns {function} The view config setter function
163
+ * in the `useViewConfigStore` store.
164
+ */
165
+ export function useSetViewConfig(viewConfigStoreApi: any): Function;
166
+ /**
167
+ * Obtain the component hover value from
168
+ * the global app state.
169
+ * @returns {number} The hovered component ID
170
+ * in the `useHoverStore` store.
171
+ */
172
+ export function useComponentHover(): number;
173
+ /**
174
+ * Obtain the component hover setter function from
175
+ * the global app state.
176
+ * @returns {function} The component hover setter function
177
+ * in the `useHoverStore` store.
178
+ */
179
+ export function useSetComponentHover(): Function;
180
+ /**
181
+ * Obtain the warning message from
182
+ * the global app state.
183
+ * @returns {string} The warning message
184
+ * in the `useWarnStore` store.
185
+ */
186
+ export function useWarning(): string;
187
+ /**
188
+ * Obtain the warning setter function from
189
+ * the global app state.
190
+ * @returns {function} The warning setter function
191
+ * in the `useWarnStore` store.
192
+ */
193
+ export function useSetWarning(): Function;
194
+ /**
195
+ * Obtain the component view info value from
196
+ * the global app state.
197
+ * @returns {object} The view info object for the component
198
+ * in the `useViewInfoStore` store.
199
+ */
200
+ export function useComponentViewInfo(uuid: any): object;
201
+ /**
202
+ * Obtain the component view info setter function from
203
+ * the global app state.
204
+ * @returns {function} The component view info setter function
205
+ * in the `useViewInfoStore` store.
206
+ */
207
+ export function useSetComponentViewInfo(uuid: any): Function;
208
+ /**
209
+ * Obtain the grid resize count value
210
+ * from the global app state.
211
+ * @returns {number} The grid resize increment value.
212
+ */
213
+ export function useGridResize(): number;
214
+ /**
215
+ * Obtain the grid resize count increment function
216
+ * from the global app state.
217
+ * @returns {function} The grid resize count increment
218
+ * function.
219
+ */
220
+ export function useEmitGridResize(): Function;
221
+ export const ViewConfigProvider: ({ initialStore, createStore, children, }: {
222
+ initialStore?: import("zustand").UseBoundStore<object, import("zustand").StoreApi<object>> | undefined;
223
+ createStore: () => import("zustand").UseBoundStore<object, import("zustand").StoreApi<object>>;
224
+ children: import("../../../plugins/node_modules/@types/react/ts5.0").ReactNode;
225
+ }) => import("../../../plugins/node_modules/@types/react/ts5.0").FunctionComponentElement<import("../../../plugins/node_modules/@types/react/ts5.0").ProviderProps<import("zustand").UseBoundStore<object, import("zustand").StoreApi<object>> | undefined>>;
226
+ export const useViewConfigStore: import("zustand/context").UseContextStore<object>;
227
+ export const useViewConfigStoreApi: () => {
228
+ getState: import("zustand").GetState<object>;
229
+ setState: import("zustand").SetState<object>;
230
+ subscribe: import("zustand").Subscribe<object>;
231
+ destroy: import("zustand").Destroy;
232
+ };
233
+ export const AuxiliaryProvider: ({ initialStore, createStore, children, }: {
234
+ initialStore?: import("zustand").UseBoundStore<object, import("zustand").StoreApi<object>> | undefined;
235
+ createStore: () => import("zustand").UseBoundStore<object, import("zustand").StoreApi<object>>;
236
+ children: import("../../../plugins/node_modules/@types/react/ts5.0").ReactNode;
237
+ }) => import("../../../plugins/node_modules/@types/react/ts5.0").FunctionComponentElement<import("../../../plugins/node_modules/@types/react/ts5.0").ProviderProps<import("zustand").UseBoundStore<object, import("zustand").StoreApi<object>> | undefined>>;
238
+ export const useAuxiliaryStore: import("zustand/context").UseContextStore<object>;
239
+ export function createViewConfigStore(initialLoaders: any, initialConfig: any): Function;
240
+ export function useComponentLayout(component: any, scopes: any, coordinationScopes: any): Object;
241
+ export function createAuxiliaryStore(): Function;
242
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/state/hooks.js"],"names":[],"mappings":"AAyLA;;;;;;;;;GASG;AACH,mDALW,MAAM,EAAE,sBACR,MAAM,GAEJ,MAAM,CAclB;AAED;;;;;;;;;;;;;;;GAeG;AACH,4CATW,MAAM,EAAE,sBACR,MAAM,SAkChB;AAED,yFAmBC;AAED;;;;GAIG;AACH,mDAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;;;;;;;;;GAaG;AACH,mDAXW,MAAM,EAAE,sBACR,MAAM,wBACN,MAAM,UAEN,MAAM,SAsEhB;AAED;;;;;;;;;;;GAWG;AACH,wDATW,MAAM,EAAE,sBACR,MAAM,wBACN,MAAM,SAYhB;AA6BD;;;;;;;;;;;;;;;GAeG;AACH,qDATW,MAAM,EAAE,sBACR,MAAM,SAkChB;AAED;;;;;GAKG;AACH,8BAHa,MAAM,CAKlB;AAGD;;;;;;;;;;;;GAYG;AACH,2CARW,MAAM,WACN,MAAM,YACN,MAAM,0BACN,MAAM,OAoBhB;AAED;;;;;;;;;;;;GAYG;AACH,2CARW,MAAM,WACN,MAAM,YACN,MAAM,0BACN,MAAM,OAShB;AAED;;;;;;;;;;;;;GAaG;AACH,4CARW,MAAM,WACN,MAAM,YACN,MAAM,uCA4BhB;AAED;;;;;GAKG;AACH,6BAHa,MAAM,EAAE,CAKpB;AAED;;;;;GAKG;AACH,+CAEC;AAED;;;;;GAKG;AACH,4CAEC;AAED;;;;;GAKG;AACH,0CAEC;AAED;;;;;GAKG;AACH,oEAIC;AAED;;;;;GAKG;AACH,qCAHa,MAAM,CAKlB;AAED;;;;;GAKG;AACH,iDAEC;AAED;;;;;GAKG;AACH,8BAHa,MAAM,CAKlB;AAED;;;;;GAKG;AACH,0CAEC;AAED;;;;;GAKG;AACH,iDAHa,MAAM,CAKlB;AAED;;;;;GAKG;AACH,6DAOC;AAED;;;;GAIG;AACH,iCAFa,MAAM,CAIlB;AAED;;;;;GAKG;AACH,8CAEC;AA3pBD;;;;6PAA0D;AAC1D,mFAA0D;AAC1D;;;;;EAAgE;AAOhE;;;;6PAAwD;AACxD,kFAAwD;AAajD,yFAiDJ;AAOI,0FAFM,MAAM,CAOlB;AAcM,iDAUJ"}