@sankhyalabs/core-docs 0.0.0-bugfix-dev-KB-35840.0 → 0.0.0-bugfix-dev-KB-46291.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/classes/DataUnit.md +11 -5
- package/classes/DateUtils.md +8 -8
- package/classes/OverflowWatcher.md +310 -46
- package/globals.md +6 -0
- package/interfaces/OverFlowWatcherParams.md +67 -0
- package/package.json +1 -1
- package/type-aliases/DataUnitEventOptions.md +17 -0
- package/variables/OVERFLOWED_CLASS_NAME.md +13 -0
package/classes/DataUnit.md
CHANGED
@@ -62,7 +62,7 @@ src/dataunit/DataUnit.ts:42
|
|
62
62
|
|
63
63
|
### \_interceptors
|
64
64
|
|
65
|
-
> `private` **\_interceptors**: [`DUActionInterceptor`](../interfaces/DUActionInterceptor.md)
|
65
|
+
> `private` **\_interceptors**: `Map`\<`string`, [`DUActionInterceptor`](../interfaces/DUActionInterceptor.md)\>
|
66
66
|
|
67
67
|
#### Source
|
68
68
|
|
@@ -92,7 +92,7 @@ src/dataunit/DataUnit.ts:39
|
|
92
92
|
|
93
93
|
### \_observers
|
94
94
|
|
95
|
-
> `private` **\_observers**: (`action`) => `void`[]
|
95
|
+
> `private` **\_observers**: (`action`, `options`?) => `void`[]
|
96
96
|
|
97
97
|
#### Source
|
98
98
|
|
@@ -828,7 +828,7 @@ src/dataunit/DataUnit.ts:1649
|
|
828
828
|
|
829
829
|
### dispatchAction()
|
830
830
|
|
831
|
-
> `private` **dispatchAction**(`actionType`, `payload`?, `executionCtx`?): `Promise`\<`boolean`\>
|
831
|
+
> `private` **dispatchAction**(`actionType`, `payload`?, `executionCtx`?, `options`?): `Promise`\<`boolean`\>
|
832
832
|
|
833
833
|
Lança ação do DataUnit para que sejam processadas.
|
834
834
|
|
@@ -846,6 +846,8 @@ Dados que serão processados na ação.
|
|
846
846
|
|
847
847
|
Contexto de execução de lançar a ação que será executada.
|
848
848
|
|
849
|
+
• **options?**: [`DataUnitEventOptions`](../type-aliases/DataUnitEventOptions.md)
|
850
|
+
|
849
851
|
#### Returns
|
850
852
|
|
851
853
|
`Promise`\<`boolean`\>
|
@@ -860,7 +862,7 @@ src/dataunit/DataUnit.ts:1437
|
|
860
862
|
|
861
863
|
### doDispatchAction()
|
862
864
|
|
863
|
-
> `private` **doDispatchAction**(`action`): `void`
|
865
|
+
> `private` **doDispatchAction**(`action`, `options`): `void`
|
864
866
|
|
865
867
|
Processa as ações no DataUnit e notifica os observers.
|
866
868
|
|
@@ -870,6 +872,8 @@ Processa as ações no DataUnit e notifica os observers.
|
|
870
872
|
|
871
873
|
Ações em execução no DataUnit.
|
872
874
|
|
875
|
+
• **options**: [`DataUnitEventOptions`](../type-aliases/DataUnitEventOptions.md)= `{}`
|
876
|
+
|
873
877
|
#### Returns
|
874
878
|
|
875
879
|
`void`
|
@@ -2174,7 +2178,7 @@ src/dataunit/DataUnit.ts:1068
|
|
2174
2178
|
|
2175
2179
|
### setFieldValue()
|
2176
2180
|
|
2177
|
-
> **setFieldValue**(`fieldName`, `newValue`, `records`?): `Promise`\<`boolean`\>
|
2181
|
+
> **setFieldValue**(`fieldName`, `newValue`, `records`?, `options`?): `Promise`\<`boolean`\>
|
2178
2182
|
|
2179
2183
|
Insere valor no campo desejado.
|
2180
2184
|
|
@@ -2192,6 +2196,8 @@ Valor a ser inserido no campo.
|
|
2192
2196
|
|
2193
2197
|
Indica quais registros foram afetados pela alteração no valor do campo.
|
2194
2198
|
|
2199
|
+
• **options?**: [`DataUnitEventOptions`](../type-aliases/DataUnitEventOptions.md)
|
2200
|
+
|
2195
2201
|
#### Returns
|
2196
2202
|
|
2197
2203
|
`Promise`\<`boolean`\>
|
package/classes/DateUtils.md
CHANGED
@@ -40,7 +40,7 @@ Data a ser ajustada.
|
|
40
40
|
|
41
41
|
#### Source
|
42
42
|
|
43
|
-
src/utils/DateUtils.ts:
|
43
|
+
src/utils/DateUtils.ts:136
|
44
44
|
|
45
45
|
***
|
46
46
|
|
@@ -130,7 +130,7 @@ define se devemos considerar os segundos.
|
|
130
130
|
|
131
131
|
#### Source
|
132
132
|
|
133
|
-
src/utils/DateUtils.ts:
|
133
|
+
src/utils/DateUtils.ts:53
|
134
134
|
|
135
135
|
***
|
136
136
|
|
@@ -161,7 +161,7 @@ Informo: 2023-03-09 12:42:40 | Obtenho: 2023-03-09T12:42:47-03:00
|
|
161
161
|
|
162
162
|
#### Source
|
163
163
|
|
164
|
-
src/utils/DateUtils.ts:
|
164
|
+
src/utils/DateUtils.ts:186
|
165
165
|
|
166
166
|
***
|
167
167
|
|
@@ -213,7 +213,7 @@ Caso true retorna a data com informações de horário.
|
|
213
213
|
|
214
214
|
#### Source
|
215
215
|
|
216
|
-
src/utils/DateUtils.ts:
|
216
|
+
src/utils/DateUtils.ts:107
|
217
217
|
|
218
218
|
***
|
219
219
|
|
@@ -247,7 +247,7 @@ Informo: 2 | Obtenho: "02"
|
|
247
247
|
|
248
248
|
#### Source
|
249
249
|
|
250
|
-
src/utils/DateUtils.ts:
|
250
|
+
src/utils/DateUtils.ts:155
|
251
251
|
|
252
252
|
***
|
253
253
|
|
@@ -279,7 +279,7 @@ Quando ativado, retorna o primeiro dia do mês apenas para construir a data.
|
|
279
279
|
|
280
280
|
#### Source
|
281
281
|
|
282
|
-
src/utils/DateUtils.ts:
|
282
|
+
src/utils/DateUtils.ts:65
|
283
283
|
|
284
284
|
***
|
285
285
|
|
@@ -303,7 +303,7 @@ Timezone da data.
|
|
303
303
|
|
304
304
|
#### Source
|
305
305
|
|
306
|
-
src/utils/DateUtils.ts:
|
306
|
+
src/utils/DateUtils.ts:165
|
307
307
|
|
308
308
|
***
|
309
309
|
|
@@ -331,4 +331,4 @@ Determina se a data retornada deve conter informação de horário ou não. Por
|
|
331
331
|
|
332
332
|
#### Source
|
333
333
|
|
334
|
-
src/utils/DateUtils.ts:
|
334
|
+
src/utils/DateUtils.ts:124
|
@@ -10,37 +10,33 @@
|
|
10
10
|
|
11
11
|
### new OverflowWatcher()
|
12
12
|
|
13
|
-
> **new OverflowWatcher**(`
|
13
|
+
> **new OverflowWatcher**(`__namedParameters`): [`OverflowWatcher`](OverflowWatcher.md)
|
14
14
|
|
15
15
|
Cria uma instancia do OverflowWatcher
|
16
16
|
|
17
17
|
#### Parameters
|
18
18
|
|
19
|
-
•
|
19
|
+
• **\_\_namedParameters**: [`OverFlowWatcherParams`](../interfaces/OverFlowWatcherParams.md)
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
• **callback**: [`OnOverflowCallBack`](../type-aliases/OnOverflowCallBack.md)
|
24
|
-
|
25
|
-
Função que sera chamada quando ocorrer overflow no elemento.
|
21
|
+
#### Returns
|
26
22
|
|
27
|
-
|
23
|
+
[`OverflowWatcher`](OverflowWatcher.md)
|
28
24
|
|
29
|
-
|
25
|
+
#### Source
|
30
26
|
|
31
|
-
|
27
|
+
src/utils/OverflowWatcher/index.ts:35
|
32
28
|
|
33
|
-
|
29
|
+
## Properties
|
34
30
|
|
35
|
-
|
31
|
+
### DATA\_ELEMENT\_ID
|
36
32
|
|
37
|
-
|
33
|
+
> `readonly` **DATA\_ELEMENT\_ID**: `"data-element-id"` = `'data-element-id'`
|
38
34
|
|
39
35
|
#### Source
|
40
36
|
|
41
|
-
src/utils/OverflowWatcher/index.ts:
|
37
|
+
src/utils/OverflowWatcher/index.ts:23
|
42
38
|
|
43
|
-
|
39
|
+
***
|
44
40
|
|
45
41
|
### \_deltaSize
|
46
42
|
|
@@ -48,13 +44,33 @@ src/utils/OverflowWatcher/index.ts:25
|
|
48
44
|
|
49
45
|
#### Source
|
50
46
|
|
47
|
+
src/utils/OverflowWatcher/index.ts:20
|
48
|
+
|
49
|
+
***
|
50
|
+
|
51
|
+
### \_hiddenItemsProps
|
52
|
+
|
53
|
+
> `private` **\_hiddenItemsProps**: `Map`\<`Element`, `SizeProps`\>
|
54
|
+
|
55
|
+
#### Source
|
56
|
+
|
57
|
+
src/utils/OverflowWatcher/index.ts:18
|
58
|
+
|
59
|
+
***
|
60
|
+
|
61
|
+
### \_lastContainerInstance
|
62
|
+
|
63
|
+
> `private` **\_lastContainerInstance**: `undefined` \| `HTMLElement` = `undefined`
|
64
|
+
|
65
|
+
#### Source
|
66
|
+
|
51
67
|
src/utils/OverflowWatcher/index.ts:15
|
52
68
|
|
53
69
|
***
|
54
70
|
|
55
|
-
### \
|
71
|
+
### \_lastContainerSize
|
56
72
|
|
57
|
-
> `private` **\
|
73
|
+
> `private` **\_lastContainerSize**: `undefined` \| `number` = `undefined`
|
58
74
|
|
59
75
|
#### Source
|
60
76
|
|
@@ -62,13 +78,23 @@ src/utils/OverflowWatcher/index.ts:14
|
|
62
78
|
|
63
79
|
***
|
64
80
|
|
65
|
-
### \
|
81
|
+
### \_notOverFlow
|
82
|
+
|
83
|
+
> `private` **\_notOverFlow**: `string`[] = `[]`
|
84
|
+
|
85
|
+
#### Source
|
86
|
+
|
87
|
+
src/utils/OverflowWatcher/index.ts:21
|
88
|
+
|
89
|
+
***
|
90
|
+
|
91
|
+
### \_notOverFlowPros
|
66
92
|
|
67
|
-
> `private` **\
|
93
|
+
> `private` **\_notOverFlowPros**: `Map`\<`string`, `SizeProps`\>
|
68
94
|
|
69
95
|
#### Source
|
70
96
|
|
71
|
-
src/utils/OverflowWatcher/index.ts:
|
97
|
+
src/utils/OverflowWatcher/index.ts:19
|
72
98
|
|
73
99
|
***
|
74
100
|
|
@@ -78,7 +104,7 @@ src/utils/OverflowWatcher/index.ts:11
|
|
78
104
|
|
79
105
|
#### Source
|
80
106
|
|
81
|
-
src/utils/OverflowWatcher/index.ts:
|
107
|
+
src/utils/OverflowWatcher/index.ts:12
|
82
108
|
|
83
109
|
***
|
84
110
|
|
@@ -88,7 +114,7 @@ src/utils/OverflowWatcher/index.ts:9
|
|
88
114
|
|
89
115
|
#### Source
|
90
116
|
|
91
|
-
src/utils/OverflowWatcher/index.ts:
|
117
|
+
src/utils/OverflowWatcher/index.ts:17
|
92
118
|
|
93
119
|
***
|
94
120
|
|
@@ -98,7 +124,7 @@ src/utils/OverflowWatcher/index.ts:13
|
|
98
124
|
|
99
125
|
#### Source
|
100
126
|
|
101
|
-
src/utils/OverflowWatcher/index.ts:
|
127
|
+
src/utils/OverflowWatcher/index.ts:13
|
102
128
|
|
103
129
|
***
|
104
130
|
|
@@ -108,10 +134,28 @@ src/utils/OverflowWatcher/index.ts:10
|
|
108
134
|
|
109
135
|
#### Source
|
110
136
|
|
111
|
-
src/utils/OverflowWatcher/index.ts:
|
137
|
+
src/utils/OverflowWatcher/index.ts:16
|
112
138
|
|
113
139
|
## Methods
|
114
140
|
|
141
|
+
### addNotOverFlowElement()
|
142
|
+
|
143
|
+
> **addNotOverFlowElement**(`elementId`): `void`
|
144
|
+
|
145
|
+
#### Parameters
|
146
|
+
|
147
|
+
• **elementId**: `string`
|
148
|
+
|
149
|
+
#### Returns
|
150
|
+
|
151
|
+
`void`
|
152
|
+
|
153
|
+
#### Source
|
154
|
+
|
155
|
+
src/utils/OverflowWatcher/index.ts:52
|
156
|
+
|
157
|
+
***
|
158
|
+
|
115
159
|
### calcChildrenSize()
|
116
160
|
|
117
161
|
> `private` **calcChildrenSize**(`children`): `number`
|
@@ -126,13 +170,13 @@ src/utils/OverflowWatcher/index.ts:12
|
|
126
170
|
|
127
171
|
#### Source
|
128
172
|
|
129
|
-
src/utils/OverflowWatcher/index.ts:
|
173
|
+
src/utils/OverflowWatcher/index.ts:205
|
130
174
|
|
131
175
|
***
|
132
176
|
|
133
|
-
###
|
177
|
+
### calcElementSize()
|
134
178
|
|
135
|
-
> `private` **
|
179
|
+
> `private` **calcElementSize**(`el`): `number`
|
136
180
|
|
137
181
|
#### Parameters
|
138
182
|
|
@@ -144,7 +188,93 @@ src/utils/OverflowWatcher/index.ts:126
|
|
144
188
|
|
145
189
|
#### Source
|
146
190
|
|
147
|
-
src/utils/OverflowWatcher/index.ts:
|
191
|
+
src/utils/OverflowWatcher/index.ts:212
|
192
|
+
|
193
|
+
***
|
194
|
+
|
195
|
+
### calculateVariation()
|
196
|
+
|
197
|
+
> `private` **calculateVariation**(`elementIdsToCalculate`): `number`
|
198
|
+
|
199
|
+
#### Parameters
|
200
|
+
|
201
|
+
• **elementIdsToCalculate**: `string`[]
|
202
|
+
|
203
|
+
#### Returns
|
204
|
+
|
205
|
+
`number`
|
206
|
+
|
207
|
+
#### Source
|
208
|
+
|
209
|
+
src/utils/OverflowWatcher/index.ts:177
|
210
|
+
|
211
|
+
***
|
212
|
+
|
213
|
+
### canNotOverFlowNotIncludedIds()
|
214
|
+
|
215
|
+
> `private` **canNotOverFlowNotIncludedIds**(`elements`): `string`[]
|
216
|
+
|
217
|
+
#### Parameters
|
218
|
+
|
219
|
+
• **elements**: `Element`[]
|
220
|
+
|
221
|
+
#### Returns
|
222
|
+
|
223
|
+
`string`[]
|
224
|
+
|
225
|
+
#### Source
|
226
|
+
|
227
|
+
src/utils/OverflowWatcher/index.ts:187
|
228
|
+
|
229
|
+
***
|
230
|
+
|
231
|
+
### canNotRegisterNotOverFlow()
|
232
|
+
|
233
|
+
> `private` **canNotRegisterNotOverFlow**(`id`): `boolean`
|
234
|
+
|
235
|
+
#### Parameters
|
236
|
+
|
237
|
+
• **id**: `string`
|
238
|
+
|
239
|
+
#### Returns
|
240
|
+
|
241
|
+
`boolean`
|
242
|
+
|
243
|
+
#### Source
|
244
|
+
|
245
|
+
src/utils/OverflowWatcher/index.ts:96
|
246
|
+
|
247
|
+
***
|
248
|
+
|
249
|
+
### canOverFlowElement()
|
250
|
+
|
251
|
+
> `private` **canOverFlowElement**(`element`): `boolean`
|
252
|
+
|
253
|
+
#### Parameters
|
254
|
+
|
255
|
+
• **element**: `Element`
|
256
|
+
|
257
|
+
#### Returns
|
258
|
+
|
259
|
+
`boolean`
|
260
|
+
|
261
|
+
#### Source
|
262
|
+
|
263
|
+
src/utils/OverflowWatcher/index.ts:157
|
264
|
+
|
265
|
+
***
|
266
|
+
|
267
|
+
### clearOverFlow()
|
268
|
+
|
269
|
+
> `private` **clearOverFlow**(): `void`
|
270
|
+
|
271
|
+
#### Returns
|
272
|
+
|
273
|
+
`void`
|
274
|
+
|
275
|
+
#### Source
|
276
|
+
|
277
|
+
src/utils/OverflowWatcher/index.ts:126
|
148
278
|
|
149
279
|
***
|
150
280
|
|
@@ -158,13 +288,53 @@ src/utils/OverflowWatcher/index.ts:141
|
|
158
288
|
|
159
289
|
#### Source
|
160
290
|
|
161
|
-
src/utils/OverflowWatcher/index.ts:
|
291
|
+
src/utils/OverflowWatcher/index.ts:58
|
292
|
+
|
293
|
+
***
|
294
|
+
|
295
|
+
### exceedsAvaliableSize()
|
296
|
+
|
297
|
+
> `private` **exceedsAvaliableSize**(`sumElementsSize`, `elements`, `avaliableSize`): `boolean`
|
298
|
+
|
299
|
+
#### Parameters
|
300
|
+
|
301
|
+
• **sumElementsSize**: `number`
|
302
|
+
|
303
|
+
• **elements**: `Element`[]
|
304
|
+
|
305
|
+
• **avaliableSize**: `number`
|
306
|
+
|
307
|
+
#### Returns
|
308
|
+
|
309
|
+
`boolean`
|
310
|
+
|
311
|
+
#### Source
|
312
|
+
|
313
|
+
src/utils/OverflowWatcher/index.ts:166
|
314
|
+
|
315
|
+
***
|
316
|
+
|
317
|
+
### forceUpdate()
|
318
|
+
|
319
|
+
> **forceUpdate**(): `void`
|
320
|
+
|
321
|
+
#### Returns
|
322
|
+
|
323
|
+
`void`
|
324
|
+
|
325
|
+
#### Source
|
326
|
+
|
327
|
+
src/utils/OverflowWatcher/index.ts:62
|
162
328
|
|
163
329
|
***
|
164
330
|
|
165
|
-
###
|
331
|
+
### getDataElementId()
|
332
|
+
|
333
|
+
> `private` **getDataElementId**(`element`): `string`
|
334
|
+
|
335
|
+
#### Parameters
|
166
336
|
|
167
|
-
|
337
|
+
• **element**: `Element`
|
168
338
|
|
169
339
|
#### Returns
|
170
340
|
|
@@ -172,7 +342,25 @@ src/utils/OverflowWatcher/index.ts:37
|
|
172
342
|
|
173
343
|
#### Source
|
174
344
|
|
175
|
-
src/utils/OverflowWatcher/index.ts:
|
345
|
+
src/utils/OverflowWatcher/index.ts:162
|
346
|
+
|
347
|
+
***
|
348
|
+
|
349
|
+
### getElementSizeProps()
|
350
|
+
|
351
|
+
> `private` **getElementSizeProps**(`element`): `SizeProps`
|
352
|
+
|
353
|
+
#### Parameters
|
354
|
+
|
355
|
+
• **element**: `Element`
|
356
|
+
|
357
|
+
#### Returns
|
358
|
+
|
359
|
+
`SizeProps`
|
360
|
+
|
361
|
+
#### Source
|
362
|
+
|
363
|
+
src/utils/OverflowWatcher/index.ts:197
|
176
364
|
|
177
365
|
***
|
178
366
|
|
@@ -190,17 +378,17 @@ src/utils/OverflowWatcher/index.ts:65
|
|
190
378
|
|
191
379
|
#### Source
|
192
380
|
|
193
|
-
src/utils/OverflowWatcher/index.ts:
|
381
|
+
src/utils/OverflowWatcher/index.ts:68
|
194
382
|
|
195
383
|
***
|
196
384
|
|
197
|
-
###
|
385
|
+
### hasChangedSize()
|
198
386
|
|
199
|
-
> `private` **
|
387
|
+
> `private` **hasChangedSize**(`elementSize`): `boolean`
|
200
388
|
|
201
389
|
#### Parameters
|
202
390
|
|
203
|
-
• **
|
391
|
+
• **elementSize**: `number`
|
204
392
|
|
205
393
|
#### Returns
|
206
394
|
|
@@ -208,7 +396,45 @@ src/utils/OverflowWatcher/index.ts:41
|
|
208
396
|
|
209
397
|
#### Source
|
210
398
|
|
211
|
-
src/utils/OverflowWatcher/index.ts:
|
399
|
+
src/utils/OverflowWatcher/index.ts:100
|
400
|
+
|
401
|
+
***
|
402
|
+
|
403
|
+
### isElementOverFlowing()
|
404
|
+
|
405
|
+
> `private` **isElementOverFlowing**(`elementsThatFit`, `element`): `boolean`
|
406
|
+
|
407
|
+
#### Parameters
|
408
|
+
|
409
|
+
• **elementsThatFit**: `Element`[]
|
410
|
+
|
411
|
+
• **element**: `Element`
|
412
|
+
|
413
|
+
#### Returns
|
414
|
+
|
415
|
+
`boolean`
|
416
|
+
|
417
|
+
#### Source
|
418
|
+
|
419
|
+
src/utils/OverflowWatcher/index.ts:153
|
420
|
+
|
421
|
+
***
|
422
|
+
|
423
|
+
### isOverFlowed()
|
424
|
+
|
425
|
+
> `private` **isOverFlowed**(`el`): `boolean`
|
426
|
+
|
427
|
+
#### Parameters
|
428
|
+
|
429
|
+
• **el**: `Element`
|
430
|
+
|
431
|
+
#### Returns
|
432
|
+
|
433
|
+
`boolean`
|
434
|
+
|
435
|
+
#### Source
|
436
|
+
|
437
|
+
src/utils/OverflowWatcher/index.ts:226
|
212
438
|
|
213
439
|
***
|
214
440
|
|
@@ -228,19 +454,19 @@ src/utils/OverflowWatcher/index.ts:57
|
|
228
454
|
|
229
455
|
#### Source
|
230
456
|
|
231
|
-
src/utils/OverflowWatcher/index.ts:
|
457
|
+
src/utils/OverflowWatcher/index.ts:112
|
232
458
|
|
233
459
|
***
|
234
460
|
|
235
461
|
### proccessElementsOverFlow()
|
236
462
|
|
237
|
-
> `private` **proccessElementsOverFlow**(`
|
463
|
+
> `private` **proccessElementsOverFlow**(`allElements`, `avaliableSize`): `void`
|
238
464
|
|
239
465
|
#### Parameters
|
240
466
|
|
241
|
-
• **
|
467
|
+
• **allElements**: `Element`[]
|
242
468
|
|
243
|
-
• **
|
469
|
+
• **avaliableSize**: `number`
|
244
470
|
|
245
471
|
#### Returns
|
246
472
|
|
@@ -248,17 +474,55 @@ src/utils/OverflowWatcher/index.ts:73
|
|
248
474
|
|
249
475
|
#### Source
|
250
476
|
|
251
|
-
src/utils/OverflowWatcher/index.ts:
|
477
|
+
src/utils/OverflowWatcher/index.ts:131
|
252
478
|
|
253
479
|
***
|
254
480
|
|
255
|
-
###
|
481
|
+
### registerElementSize()
|
256
482
|
|
257
|
-
> `private` **
|
483
|
+
> `private` **registerElementSize**(`element`): `void`
|
258
484
|
|
259
485
|
#### Parameters
|
260
486
|
|
261
|
-
• **
|
487
|
+
• **element**: `Element`
|
488
|
+
|
489
|
+
#### Returns
|
490
|
+
|
491
|
+
`void`
|
492
|
+
|
493
|
+
#### Source
|
494
|
+
|
495
|
+
src/utils/OverflowWatcher/index.ts:192
|
496
|
+
|
497
|
+
***
|
498
|
+
|
499
|
+
### registerNotOverflowProps()
|
500
|
+
|
501
|
+
> `private` **registerNotOverflowProps**(`children`): `void`
|
502
|
+
|
503
|
+
#### Parameters
|
504
|
+
|
505
|
+
• **children**: `Element`[]
|
506
|
+
|
507
|
+
#### Returns
|
508
|
+
|
509
|
+
`void`
|
510
|
+
|
511
|
+
#### Source
|
512
|
+
|
513
|
+
src/utils/OverflowWatcher/index.ts:88
|
514
|
+
|
515
|
+
***
|
516
|
+
|
517
|
+
### updateOverFlowedItems()
|
518
|
+
|
519
|
+
> `private` **updateOverFlowedItems**(`container`, `containerSize`): `void`
|
520
|
+
|
521
|
+
#### Parameters
|
522
|
+
|
523
|
+
• **container**: `HTMLElement`
|
524
|
+
|
525
|
+
• **containerSize**: `number`
|
262
526
|
|
263
527
|
#### Returns
|
264
528
|
|
@@ -266,4 +530,4 @@ src/utils/OverflowWatcher/index.ts:103
|
|
266
530
|
|
267
531
|
#### Source
|
268
532
|
|
269
|
-
src/utils/OverflowWatcher/index.ts:
|
533
|
+
src/utils/OverflowWatcher/index.ts:80
|
package/globals.md
CHANGED
@@ -71,6 +71,7 @@
|
|
71
71
|
- [IRepositoryIndex](interfaces/IRepositoryIndex.md)
|
72
72
|
- [LoadDataRequest](interfaces/LoadDataRequest.md)
|
73
73
|
- [LoadDataResponse](interfaces/LoadDataResponse.md)
|
74
|
+
- [OverFlowWatcherParams](interfaces/OverFlowWatcherParams.md)
|
74
75
|
- [PageRequest](interfaces/PageRequest.md)
|
75
76
|
- [PaginationInfo](interfaces/PaginationInfo.md)
|
76
77
|
- [PromiseSyncCallback](interfaces/PromiseSyncCallback.md)
|
@@ -84,8 +85,13 @@
|
|
84
85
|
|
85
86
|
## Type Aliases
|
86
87
|
|
88
|
+
- [DataUnitEventOptions](type-aliases/DataUnitEventOptions.md)
|
87
89
|
- [OnOverflowCallBack](type-aliases/OnOverflowCallBack.md)
|
88
90
|
|
91
|
+
## Variables
|
92
|
+
|
93
|
+
- [OVERFLOWED\_CLASS\_NAME](variables/OVERFLOWED_CLASS_NAME.md)
|
94
|
+
|
89
95
|
## Functions
|
90
96
|
|
91
97
|
- [defaultDataLoader](functions/defaultDataLoader.md)
|
@@ -0,0 +1,67 @@
|
|
1
|
+
[**@sankhyalabs/core**](../README.md) • **Docs**
|
2
|
+
|
3
|
+
***
|
4
|
+
|
5
|
+
[@sankhyalabs/core](../globals.md) / OverFlowWatcherParams
|
6
|
+
|
7
|
+
# Interface: OverFlowWatcherParams
|
8
|
+
|
9
|
+
## Properties
|
10
|
+
|
11
|
+
### callback
|
12
|
+
|
13
|
+
> **callback**: [`OnOverflowCallBack`](../type-aliases/OnOverflowCallBack.md)
|
14
|
+
|
15
|
+
#### Source
|
16
|
+
|
17
|
+
src/utils/OverflowWatcher/index.ts:233
|
18
|
+
|
19
|
+
***
|
20
|
+
|
21
|
+
### debounce?
|
22
|
+
|
23
|
+
> `optional` **debounce**: `number`
|
24
|
+
|
25
|
+
#### Source
|
26
|
+
|
27
|
+
src/utils/OverflowWatcher/index.ts:236
|
28
|
+
|
29
|
+
***
|
30
|
+
|
31
|
+
### deltaSize?
|
32
|
+
|
33
|
+
> `optional` **deltaSize**: `number`
|
34
|
+
|
35
|
+
#### Source
|
36
|
+
|
37
|
+
src/utils/OverflowWatcher/index.ts:235
|
38
|
+
|
39
|
+
***
|
40
|
+
|
41
|
+
### element
|
42
|
+
|
43
|
+
> **element**: `HTMLElement`
|
44
|
+
|
45
|
+
#### Source
|
46
|
+
|
47
|
+
src/utils/OverflowWatcher/index.ts:232
|
48
|
+
|
49
|
+
***
|
50
|
+
|
51
|
+
### notOverFlow?
|
52
|
+
|
53
|
+
> `optional` **notOverFlow**: `string`[]
|
54
|
+
|
55
|
+
#### Source
|
56
|
+
|
57
|
+
src/utils/OverflowWatcher/index.ts:237
|
58
|
+
|
59
|
+
***
|
60
|
+
|
61
|
+
### overFlowDirection?
|
62
|
+
|
63
|
+
> `optional` **overFlowDirection**: [`OverflowDirection`](../enumerations/OverflowDirection.md)
|
64
|
+
|
65
|
+
#### Source
|
66
|
+
|
67
|
+
src/utils/OverflowWatcher/index.ts:234
|
package/package.json
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
[**@sankhyalabs/core**](../README.md) • **Docs**
|
2
|
+
|
3
|
+
***
|
4
|
+
|
5
|
+
[@sankhyalabs/core](../globals.md) / DataUnitEventOptions
|
6
|
+
|
7
|
+
# Type alias: DataUnitEventOptions
|
8
|
+
|
9
|
+
> **DataUnitEventOptions**: `object`
|
10
|
+
|
11
|
+
## Index signature
|
12
|
+
|
13
|
+
\[`key`: `string`\]: `any`
|
14
|
+
|
15
|
+
## Source
|
16
|
+
|
17
|
+
src/dataunit/DataUnit.ts:1955
|
@@ -0,0 +1,13 @@
|
|
1
|
+
[**@sankhyalabs/core**](../README.md) • **Docs**
|
2
|
+
|
3
|
+
***
|
4
|
+
|
5
|
+
[@sankhyalabs/core](../globals.md) / OVERFLOWED\_CLASS\_NAME
|
6
|
+
|
7
|
+
# Variable: OVERFLOWED\_CLASS\_NAME
|
8
|
+
|
9
|
+
> `const` **OVERFLOWED\_CLASS\_NAME**: `"overflowed"` = `'overflowed'`
|
10
|
+
|
11
|
+
## Source
|
12
|
+
|
13
|
+
src/utils/OverflowWatcher/index.ts:9
|