@websolutespa/bom-mixer-hooks 2.0.1-next.2 → 3.0.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/CHANGELOG.md +268 -261
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -47
- package/dist/index.js.map +1 -1
- package/package.json +14 -14
- package/src/useApi/useApi.test.tsx +6 -7
- package/src/useAutosizeTextArea/useAutosizeTextArea.ts +2 -0
- package/src/useBodyScroll/useBodyScroll.ts +2 -0
- package/src/useBreakpoint/useBreakpoint.ts +2 -0
- package/src/useClickAnyWhere/useClickAnyWhere.ts +2 -0
- package/src/useClickOut/useClickOut.ts +4 -2
- package/src/useCollectionApi/useCollectionApi.test.tsx +6 -7
- package/src/useCurrentState/useCurrentState.ts +2 -0
- package/src/useDebounce/useDebounce.ts +2 -0
- package/src/useDebounceCallback/useDebounceCallback.ts +3 -1
- package/src/useDebugChangedProps/useDebugChangedProps.ts +2 -0
- package/src/useDomObserver/useDomObserver.ts +2 -0
- package/src/useElementSize/useElementSize.ts +4 -2
- package/src/useEventListener/useEventListener.ts +2 -0
- package/src/useExtra/useExtra.tsx +3 -1
- package/src/useFilters/useFilters.ts +2 -0
- package/src/useFocusTrap/useFocusTrap.ts +2 -0
- package/src/useGenericContext/useGenericContext.ts +3 -1
- package/src/useGeolocation/useGeolocation.ts +2 -0
- package/src/useHttp/useHttp.test.tsx +6 -7
- package/src/useHttp/useHttp.ts +2 -0
- package/src/useIdle/useIdle.ts +2 -0
- package/src/useInfiniteLoader/useInfiniteLoader.ts +2 -0
- package/src/useIntersectionObserver/useIntersectionObserver.ts +2 -0
- package/src/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts +2 -0
- package/src/useKeyboard/useKeyboard.ts +1 -0
- package/src/useLabel/useLabel.tsx +2 -0
- package/src/useLayout/useLayout.default.ts +7 -0
- package/src/useLayout/useLayout.tsx +12 -3
- package/src/useLazyModules/useLazyModules.tsx +3 -1
- package/src/useMetaData/useMetaData.tsx +18 -4
- package/src/useMounted/useMounted.ts +3 -1
- package/src/usePage/usePage.tsx +2 -0
- package/src/usePageLoading/usePageLoading.ts +2 -0
- package/src/usePagination/usePagination.ts +2 -0
- package/src/usePaginationLegacy/usePaginationLegacy.ts +2 -0
- package/src/usePortal/usePortal.ts +2 -0
- package/src/usePrevious/usePrevious.ts +2 -0
- package/src/useRealSize/useRealSize.ts +2 -0
- package/src/useReducedMotion/useReducedMotionLocal.ts +2 -0
- package/src/useSSR/useSSR.ts +2 -0
- package/src/useScroll/useScroll.ts +3 -1
- package/src/useScrollDirection/useScrollDirection.ts +3 -1
- package/src/useScrolled/useScrolled.ts +3 -1
- package/src/useSearchParams/useSearchParams.ts +38 -19
- package/src/useSearchParamsEncoded/useSearchParamsEncoded.ts +25 -14
- package/src/useSearchParamsQs/useSearchParamsQs.ts +23 -12
- package/src/useSorting/useSorting.ts +2 -0
- package/src/useSyncedRef/useSyncedRef.ts +2 -0
- package/src/useUnmountEffect/useUnmountEffect.ts +2 -0
- package/src/useWindowSize/useWindowSize.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,261 +1,268 @@
|
|
|
1
|
-
# @websolutespa/bom-mixer-hooks
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
###
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
## 1.
|
|
44
|
-
|
|
45
|
-
###
|
|
46
|
-
|
|
47
|
-
- Modified:
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
- Modified:
|
|
101
|
-
|
|
102
|
-
## 1.8.
|
|
103
|
-
|
|
104
|
-
### Patch Changes
|
|
105
|
-
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
## 1.8.
|
|
116
|
-
|
|
117
|
-
###
|
|
118
|
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
-
|
|
207
|
-
|
|
208
|
-
## 1.
|
|
209
|
-
|
|
210
|
-
###
|
|
211
|
-
|
|
212
|
-
- Added:
|
|
213
|
-
- Modified:
|
|
214
|
-
|
|
215
|
-
## 1.2.
|
|
216
|
-
|
|
217
|
-
###
|
|
218
|
-
|
|
219
|
-
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
1
|
+
# @websolutespa/bom-mixer-hooks
|
|
2
|
+
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Release: Bom 3.0
|
|
8
|
+
|
|
9
|
+
## 1.9.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Added: IApp global
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- @websolutespa/bom-mixer-models@1.10.3
|
|
16
|
+
- @websolutespa/bom-mixer-store@1.10.1
|
|
17
|
+
- @websolutespa/bom-core@1.8.24
|
|
18
|
+
|
|
19
|
+
## 1.9.3
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- 0c7f05f: Modified: useMetaData canonical
|
|
24
|
+
- Updated dependencies [0c7f05f]
|
|
25
|
+
- Updated dependencies [0c7f05f]
|
|
26
|
+
- @websolutespa/bom-mixer-models@1.10.1
|
|
27
|
+
- @websolutespa/bom-core@1.8.23
|
|
28
|
+
|
|
29
|
+
## 1.9.2
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- 4c2d7a6: Added: useScrollDirection
|
|
34
|
+
|
|
35
|
+
## 1.9.1
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Modified: MetaData Meta added xDefault
|
|
40
|
+
- Updated dependencies
|
|
41
|
+
- @websolutespa/bom-mixer-models@1.9.5
|
|
42
|
+
|
|
43
|
+
## 1.9.0
|
|
44
|
+
|
|
45
|
+
### Minor Changes
|
|
46
|
+
|
|
47
|
+
- Modified: usePagination
|
|
48
|
+
- Added: useMetaData
|
|
49
|
+
|
|
50
|
+
## 1.8.11
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- Modified: usePage typings
|
|
55
|
+
- Updated dependencies
|
|
56
|
+
- Updated dependencies
|
|
57
|
+
- @websolutespa/bom-mixer-store@1.8.11
|
|
58
|
+
- @websolutespa/bom-mixer-models@1.8.18
|
|
59
|
+
|
|
60
|
+
## 1.8.10
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- 88267c3: Modified: useAutosizeTextArea
|
|
65
|
+
|
|
66
|
+
## 1.8.9
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- 3a7fc91: Added: useAutosizeTextArea, useColorScheme, useFocusTrap, useReducedMotion
|
|
71
|
+
|
|
72
|
+
## 1.8.8
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Modified: useGenericContext returning context
|
|
77
|
+
|
|
78
|
+
## 1.8.7
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- b43eb2e: Modified: useSearchParams shallow routing
|
|
83
|
+
|
|
84
|
+
## 1.8.6
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- Modified: SearchParamsEncoded
|
|
89
|
+
|
|
90
|
+
## 1.8.5
|
|
91
|
+
|
|
92
|
+
### Patch Changes
|
|
93
|
+
|
|
94
|
+
- Modified: useSearchParams, useSearchParamsEncoded, useSearchParamsQs scroll false
|
|
95
|
+
|
|
96
|
+
## 1.8.4
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- Modified: usePageLoading, shallow routes do not fire loading state
|
|
101
|
+
|
|
102
|
+
## 1.8.3
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- Added: usePageLoading
|
|
107
|
+
- Modified: useSearchParams, useSearchParamsEncoded, useSearchParamsQs
|
|
108
|
+
|
|
109
|
+
## 1.8.2
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- Modified: useSearchParams, useSearchParamsEncoded, useSearchParamsQs added pushParams
|
|
114
|
+
|
|
115
|
+
## 1.8.1
|
|
116
|
+
|
|
117
|
+
### Patch Changes
|
|
118
|
+
|
|
119
|
+
- Updated dependencies
|
|
120
|
+
- @websolutespa/bom-core@1.8.5
|
|
121
|
+
|
|
122
|
+
## 1.8.0
|
|
123
|
+
|
|
124
|
+
### Minor Changes
|
|
125
|
+
|
|
126
|
+
- f8a1d97: Modified: removed sample hooks
|
|
127
|
+
- Updated dependencies [f8a1d97]
|
|
128
|
+
- @websolutespa/bom-mixer-models@1.8.0
|
|
129
|
+
- @websolutespa/bom-mixer-store@1.8.0
|
|
130
|
+
- @websolutespa/bom-core@1.8.0
|
|
131
|
+
|
|
132
|
+
## 1.7.5
|
|
133
|
+
|
|
134
|
+
### Patch Changes
|
|
135
|
+
|
|
136
|
+
- Added: getRemoteApiRequestOptions, getLocalApiRequestOptions
|
|
137
|
+
- Updated dependencies
|
|
138
|
+
- @websolutespa/bom-mixer-store@1.7.7
|
|
139
|
+
|
|
140
|
+
## 1.7.4
|
|
141
|
+
|
|
142
|
+
### Patch Changes
|
|
143
|
+
|
|
144
|
+
- Fixing: downgrading eslint to v8.56.0
|
|
145
|
+
- Updated dependencies
|
|
146
|
+
- @websolutespa/bom-mixer-models@1.7.6
|
|
147
|
+
- @websolutespa/bom-mixer-store@1.7.5
|
|
148
|
+
- @websolutespa/bom-core@1.7.8
|
|
149
|
+
|
|
150
|
+
## 1.7.3
|
|
151
|
+
|
|
152
|
+
### Patch Changes
|
|
153
|
+
|
|
154
|
+
- Modified: useIntersectionObserver
|
|
155
|
+
|
|
156
|
+
## 1.7.2
|
|
157
|
+
|
|
158
|
+
### Patch Changes
|
|
159
|
+
|
|
160
|
+
- Updating: dependencies
|
|
161
|
+
- Updated dependencies
|
|
162
|
+
- @websolutespa/bom-mixer-models@1.7.2
|
|
163
|
+
- @websolutespa/bom-mixer-store@1.7.3
|
|
164
|
+
- @websolutespa/bom-core@1.7.3
|
|
165
|
+
|
|
166
|
+
## 1.7.1
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- aa41666: Added: useIntersectionObserver
|
|
171
|
+
|
|
172
|
+
## 1.7.0
|
|
173
|
+
|
|
174
|
+
### Minor Changes
|
|
175
|
+
|
|
176
|
+
- 28e86bd: Modified: IPage, Store services & decorators
|
|
177
|
+
- Updated dependencies [28e86bd]
|
|
178
|
+
- @websolutespa/bom-mixer-models@1.7.0
|
|
179
|
+
- @websolutespa/bom-mixer-store@1.7.0
|
|
180
|
+
- @websolutespa/bom-core@1.7.0
|
|
181
|
+
|
|
182
|
+
## 1.4.2
|
|
183
|
+
|
|
184
|
+
### Patch Changes
|
|
185
|
+
|
|
186
|
+
- Modified: IFeatureType
|
|
187
|
+
- Updated dependencies
|
|
188
|
+
- @websolutespa/bom-mixer-models@1.5.4
|
|
189
|
+
- @websolutespa/bom-mixer-store@1.4.3
|
|
190
|
+
- @websolutespa/bom-core@0.6.5
|
|
191
|
+
|
|
192
|
+
## 1.4.1
|
|
193
|
+
|
|
194
|
+
### Patch Changes
|
|
195
|
+
|
|
196
|
+
- Added: useCollectionApi, useExtra
|
|
197
|
+
- Modified: usePagination, useSearchParamsQs
|
|
198
|
+
- Updated dependencies
|
|
199
|
+
- @websolutespa/bom-mixer-models@1.5.2
|
|
200
|
+
- @websolutespa/bom-core@0.6.2
|
|
201
|
+
|
|
202
|
+
## 1.4.0
|
|
203
|
+
|
|
204
|
+
### Minor Changes
|
|
205
|
+
|
|
206
|
+
- Added useLazyModules
|
|
207
|
+
|
|
208
|
+
## 1.3.0
|
|
209
|
+
|
|
210
|
+
### Minor Changes
|
|
211
|
+
|
|
212
|
+
- Added: useSearchParamsQs
|
|
213
|
+
- Modified: useSearchParamsEncoded, useSearchParams, useScrollTo
|
|
214
|
+
|
|
215
|
+
## 1.2.1
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- Added: LabelService
|
|
220
|
+
- Modified: useLabels, useScrollTo
|
|
221
|
+
|
|
222
|
+
## 1.2.0
|
|
223
|
+
|
|
224
|
+
### Minor Changes
|
|
225
|
+
|
|
226
|
+
- Updating: next 13
|
|
227
|
+
|
|
228
|
+
## 1.1.0
|
|
229
|
+
|
|
230
|
+
### Minor Changes
|
|
231
|
+
|
|
232
|
+
- Modified: useHttp, useApi
|
|
233
|
+
|
|
234
|
+
## 1.0.0
|
|
235
|
+
|
|
236
|
+
### Minor Changes
|
|
237
|
+
|
|
238
|
+
- Added: useScrolled
|
|
239
|
+
|
|
240
|
+
## 0.2.2
|
|
241
|
+
|
|
242
|
+
### Patch Changes
|
|
243
|
+
|
|
244
|
+
- Modified: useBreakpoint theme mediaQuery
|
|
245
|
+
|
|
246
|
+
## 0.2.1
|
|
247
|
+
|
|
248
|
+
### Patch Changes
|
|
249
|
+
|
|
250
|
+
- Added: source files
|
|
251
|
+
|
|
252
|
+
## 0.2.0
|
|
253
|
+
|
|
254
|
+
### Minor Changes
|
|
255
|
+
|
|
256
|
+
- Added: splat routes
|
|
257
|
+
|
|
258
|
+
## 0.1.0
|
|
259
|
+
|
|
260
|
+
### Minor Changes
|
|
261
|
+
|
|
262
|
+
- Added: @websolutespa/bom-core
|
|
263
|
+
|
|
264
|
+
## 0.0.2
|
|
265
|
+
|
|
266
|
+
### Patch Changes
|
|
267
|
+
|
|
268
|
+
- Added: first release
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiRequestOptions } from "@websolutespa/bom-mixer-store";
|
|
2
2
|
import * as _websolutespa_bom_core0 from "@websolutespa/bom-core";
|
|
3
|
-
import { IEquatable, IFeatureType, ILabel, ILayout, ILocalizable, ILocalized, IPage, QueryParams } from "@websolutespa/bom-core";
|
|
3
|
+
import { IAppExtended, IEquatable, IFeatureType, ILabel, ILayout, ILocalizable, ILocalized, IPage, QueryParams } from "@websolutespa/bom-core";
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import React$1, { CSSProperties, ComponentProps, Dispatch, MutableRefObject, RefObject, SetStateAction, useEffect } from "react";
|
|
6
6
|
import * as zustand0 from "zustand";
|
|
@@ -57,7 +57,7 @@ declare function useClickAnyWhere(handler: (event: MouseEvent) => void): void;
|
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/useClickOut/useClickOut.d.ts
|
|
59
59
|
type ClickOutGetContainer = () => HTMLElement | null;
|
|
60
|
-
declare function useClickOut(ref:
|
|
60
|
+
declare function useClickOut(ref: RefObject<HTMLElement | null>, handler: (event: MouseEvent) => void): void;
|
|
61
61
|
//# sourceMappingURL=useClickOut.d.ts.map
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/useCollectionApi/local.collection.d.ts
|
|
@@ -202,7 +202,7 @@ declare function ExtraProvider({
|
|
|
202
202
|
extra
|
|
203
203
|
}: {
|
|
204
204
|
children?: React$1.ReactNode;
|
|
205
|
-
extra
|
|
205
|
+
extra?: IExtra;
|
|
206
206
|
}): React$1.JSX.Element;
|
|
207
207
|
//#endregion
|
|
208
208
|
//#region src/useFilters/filter.d.ts
|
|
@@ -468,7 +468,6 @@ declare function parseParams(label: string, params: Record<string, any>): string
|
|
|
468
468
|
//#endregion
|
|
469
469
|
//#region src/useLayout/useLayout.d.ts
|
|
470
470
|
type ILayoutContext = ILayout;
|
|
471
|
-
declare const useLayout: () => ILayout;
|
|
472
471
|
declare function LayoutProvider({
|
|
473
472
|
children,
|
|
474
473
|
layout
|
|
@@ -476,6 +475,8 @@ declare function LayoutProvider({
|
|
|
476
475
|
children?: React$1.ReactNode;
|
|
477
476
|
layout: ILayout;
|
|
478
477
|
}): React$1.JSX.Element;
|
|
478
|
+
type UseLayout = <T extends IAppExtended = IAppExtended>() => ILayout<T>;
|
|
479
|
+
declare const useLayout: UseLayout;
|
|
479
480
|
//#endregion
|
|
480
481
|
//#region src/useLazyModules/useLazyModules.d.ts
|
|
481
482
|
type ILazyModulesContext = ILazyModules;
|
|
@@ -485,7 +486,7 @@ declare function LazyModulesProvider({
|
|
|
485
486
|
modules
|
|
486
487
|
}: {
|
|
487
488
|
children?: React$1.ReactNode;
|
|
488
|
-
modules
|
|
489
|
+
modules?: ILazyModules;
|
|
489
490
|
}): React$1.JSX.Element;
|
|
490
491
|
//#endregion
|
|
491
492
|
//#region src/useMetaData/useMetaData.d.ts
|