@e1011/es-kit 1.1.38 → 1.1.40
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/dist/hooks/esm/index.css +208 -208
- package/dist/hooks/esm/src/core/hooks/index.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useSetTimeout.js +2 -0
- package/dist/hooks/esm/src/core/hooks/useSetTimeout.js.map +1 -0
- package/dist/hooks/index.css +208 -208
- package/dist/hooks/src/core/hooks/index.js +1 -1
- package/dist/hooks/src/core/hooks/useSetTimeout.js +2 -0
- package/dist/hooks/src/core/hooks/useSetTimeout.js.map +1 -0
- package/dist/lib/cjs/src/core/hooks/useSetTimeout.js +2 -0
- package/dist/lib/cjs/src/core/hooks/useSetTimeout.js.map +1 -0
- package/dist/lib/cjs/src/core/utils/helpers/other.js.map +1 -1
- package/dist/lib/cjs/src/index.js +1 -1
- package/dist/lib/esm/src/core/hooks/useSetTimeout.js +2 -0
- package/dist/lib/esm/src/core/hooks/useSetTimeout.js.map +1 -0
- package/dist/lib/esm/src/core/utils/helpers/other.js.map +1 -1
- package/dist/lib/esm/src/index.js +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/hooks/hooks.stories.d.ts +5 -0
- package/dist/types/src/core/hooks/hooks.stories.d.ts.map +1 -0
- package/dist/types/src/core/hooks/index.d.ts +1 -0
- package/dist/types/src/core/hooks/index.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useSetTimeout.d.ts +5 -0
- package/dist/types/src/core/hooks/useSetTimeout.d.ts.map +1 -0
- package/dist/types/src/core/utils/helpers/other.d.ts +1 -1
- package/dist/types/src/core/utils/helpers/other.d.ts.map +1 -1
- package/dist/utils/esm/index.css +208 -208
- package/dist/utils/esm/src/core/utils/helpers/other.js.map +1 -1
- package/dist/utils/index.css +208 -208
- package/dist/utils/src/core/utils/helpers/other.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/src/core/utils/appState/store/asyncFunc.spec.d.ts +0 -2
- package/dist/types/src/core/utils/appState/store/asyncFunc.spec.d.ts.map +0 -1
package/dist/hooks/index.css
CHANGED
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
8
|
-
will-change: opacity, height, max-height;
|
|
9
|
-
}
|
|
10
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
11
|
-
height: 0;
|
|
12
|
-
max-height: 0;
|
|
13
|
-
opacity: 0;
|
|
1
|
+
.divider-module_divider-line__6CesR {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: block;
|
|
4
|
+
transition: opacity, width, height 250ms ease-in-out;
|
|
5
|
+
background-color: var(--color);
|
|
6
|
+
opacity: var(--opacity);
|
|
14
7
|
}
|
|
15
|
-
.
|
|
16
|
-
height: var(--
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
.divider-module_divider-line__6CesR.divider-module_vertical__qSVWD {
|
|
9
|
+
height: var(--length);
|
|
10
|
+
left: var(--left);
|
|
11
|
+
width: var(--width);
|
|
12
|
+
margin: var(--margin);
|
|
19
13
|
}
|
|
20
|
-
.
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
.divider-module_divider-line__6CesR.divider-module_horizontal__Gz-Oj {
|
|
15
|
+
width: var(--length);
|
|
16
|
+
left: var(--left);
|
|
17
|
+
height: var(--height);
|
|
18
|
+
margin: var(--margin);
|
|
23
19
|
}
|
|
24
|
-
.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
.errorBoundary-module_errorBoundary__gk9ps {
|
|
21
|
+
background: #EFEFEF;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
28
24
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
opacity: 1;
|
|
25
|
+
|
|
26
|
+
.errorBoundary-module_StyledIcon__IYHiU {
|
|
27
|
+
margin-right: 10px;
|
|
33
28
|
}
|
|
34
29
|
.icon-module_icon-base-parent__nOMvW {
|
|
35
30
|
line-height: 1px !important;
|
|
@@ -61,14 +56,38 @@
|
|
|
61
56
|
width: var(--height);
|
|
62
57
|
height: var(--width);
|
|
63
58
|
}
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
60
|
+
transform-origin: 0% 0%;
|
|
61
|
+
opacity: 0;
|
|
62
|
+
overflow: clip;
|
|
68
63
|
}
|
|
69
|
-
|
|
70
|
-
.
|
|
71
|
-
|
|
64
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
65
|
+
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
66
|
+
will-change: opacity, height, max-height;
|
|
67
|
+
}
|
|
68
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
69
|
+
height: 0;
|
|
70
|
+
max-height: 0;
|
|
71
|
+
opacity: 0;
|
|
72
|
+
}
|
|
73
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
74
|
+
height: var(--prop-value);
|
|
75
|
+
max-height: var(--prop-value);
|
|
76
|
+
opacity: 1;
|
|
77
|
+
}
|
|
78
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
79
|
+
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
80
|
+
will-change: opacity, width, max-width;
|
|
81
|
+
}
|
|
82
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
83
|
+
width: 0;
|
|
84
|
+
max-width: 0;
|
|
85
|
+
opacity: 0;
|
|
86
|
+
}
|
|
87
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
88
|
+
width: var(--prop-value);
|
|
89
|
+
max-width: var(--prop-value);
|
|
90
|
+
opacity: 1;
|
|
72
91
|
}
|
|
73
92
|
.field-module_field__UfKm3 {
|
|
74
93
|
opacity: 1;
|
|
@@ -144,49 +163,6 @@
|
|
|
144
163
|
.field-module_field__UfKm3 label {
|
|
145
164
|
text-align: left;
|
|
146
165
|
}
|
|
147
|
-
.divider-module_divider-line__6CesR {
|
|
148
|
-
position: relative;
|
|
149
|
-
display: block;
|
|
150
|
-
transition: opacity, width, height 250ms ease-in-out;
|
|
151
|
-
background-color: var(--color);
|
|
152
|
-
opacity: var(--opacity);
|
|
153
|
-
}
|
|
154
|
-
.divider-module_divider-line__6CesR.divider-module_vertical__qSVWD {
|
|
155
|
-
height: var(--length);
|
|
156
|
-
left: var(--left);
|
|
157
|
-
width: var(--width);
|
|
158
|
-
margin: var(--margin);
|
|
159
|
-
}
|
|
160
|
-
.divider-module_divider-line__6CesR.divider-module_horizontal__Gz-Oj {
|
|
161
|
-
width: var(--length);
|
|
162
|
-
left: var(--left);
|
|
163
|
-
height: var(--height);
|
|
164
|
-
margin: var(--margin);
|
|
165
|
-
}
|
|
166
|
-
.layoutBox-module_layout-box__ZIID8 {
|
|
167
|
-
display: flex;
|
|
168
|
-
position: relative;
|
|
169
|
-
flex-direction: row;
|
|
170
|
-
flex: 0;
|
|
171
|
-
flex-grow: 0;
|
|
172
|
-
flex-shrink: 0;
|
|
173
|
-
flex-basis: auto;
|
|
174
|
-
flex-wrap: nowrap;
|
|
175
|
-
gap: 0;
|
|
176
|
-
text-align: left;
|
|
177
|
-
justify-content: flex-start;
|
|
178
|
-
align-items: flex-start;
|
|
179
|
-
align-self: auto;
|
|
180
|
-
margin: 0;
|
|
181
|
-
padding: 0;
|
|
182
|
-
width: auto;
|
|
183
|
-
height: auto;
|
|
184
|
-
max-width: none;
|
|
185
|
-
max-height: none;
|
|
186
|
-
min-width: 0;
|
|
187
|
-
min-height: 0;
|
|
188
|
-
border-radius: initial;
|
|
189
|
-
}
|
|
190
166
|
.lazyComponent-module_loader__brMEW {
|
|
191
167
|
position: relative;
|
|
192
168
|
width: 100px;
|
|
@@ -230,124 +206,29 @@
|
|
|
230
206
|
stroke-dashoffset: -124;
|
|
231
207
|
}
|
|
232
208
|
}
|
|
233
|
-
|
|
234
|
-
--divider-line: #4a4b4b;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.button-module_overflow-hidden__Vc5AU, .button-module_text-truncate__a89Bp {
|
|
238
|
-
overflow: hidden !important;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.button-module_text-nowrap__tR-VJ, .button-module_text-truncate__a89Bp {
|
|
242
|
-
white-space: nowrap !important;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.button-module_text-ellipsis__5MFA9, .button-module_text-truncate__a89Bp {
|
|
246
|
-
text-overflow: ellipsis !important;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.button-module_button__NDMQS {
|
|
250
|
-
border: none;
|
|
251
|
-
color: #090A0A;
|
|
252
|
-
padding: 0.5rem 1rem;
|
|
253
|
-
text-align: center;
|
|
254
|
-
text-decoration: none;
|
|
255
|
-
font-size: 1rem;
|
|
256
|
-
overflow: hidden;
|
|
209
|
+
.layoutBox-module_layout-box__ZIID8 {
|
|
257
210
|
display: flex;
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
280
|
-
.button-module_button__NDMQS.button-module_success__gM25y.button-module_transparent__zbeBu {
|
|
281
|
-
border: 1px solid #13CE66 !important;
|
|
282
|
-
}
|
|
283
|
-
.button-module_button__NDMQS.button-module_error__q9qqo {
|
|
284
|
-
background-color: #FF4949;
|
|
285
|
-
}
|
|
286
|
-
.button-module_button__NDMQS.button-module_error__q9qqo.button-module_transparent__zbeBu {
|
|
287
|
-
border: 1px solid #FF4949 !important;
|
|
288
|
-
}
|
|
289
|
-
.button-module_button__NDMQS.button-module_warning__MdmiZ {
|
|
290
|
-
background-color: #FFCC3D;
|
|
291
|
-
}
|
|
292
|
-
.button-module_button__NDMQS.button-module_warning__MdmiZ.button-module_transparent__zbeBu {
|
|
293
|
-
border: 1px solid #FFCC3D !important;
|
|
294
|
-
}
|
|
295
|
-
.button-module_button__NDMQS.button-module_transparent__zbeBu {
|
|
296
|
-
border: none !important;
|
|
297
|
-
background-color: transparent !important;
|
|
298
|
-
background: transparent !important;
|
|
299
|
-
}
|
|
300
|
-
.button-module_button__NDMQS.button-module_tiny__pBNwo {
|
|
301
|
-
height: 1.4rem;
|
|
302
|
-
min-width: 1.5rem;
|
|
303
|
-
width: 1.5rem;
|
|
304
|
-
padding: 0.2rem;
|
|
305
|
-
font-size: 0.8rem;
|
|
306
|
-
}
|
|
307
|
-
.button-module_button__NDMQS.button-module_fluid__GXxID {
|
|
308
|
-
width: 100%;
|
|
309
|
-
}
|
|
310
|
-
.button-module_button__NDMQS.button-module_truncate__c-G9k > span {
|
|
311
|
-
overflow: hidden !important;
|
|
312
|
-
white-space: nowrap !important;
|
|
313
|
-
text-overflow: ellipsis !important;
|
|
314
|
-
}
|
|
315
|
-
.button-module_button__NDMQS.button-module_animated__gLwPl {
|
|
316
|
-
transition: transform 250ms ease-out;
|
|
317
|
-
}
|
|
318
|
-
.button-module_button__NDMQS.button-module_hasShadow__42BQv {
|
|
319
|
-
box-shadow: 0 5px 15px 0 rgba(28, 37, 39, 0.1), 0 0 2px 0 rgba(0, 0, 0, 0.1);
|
|
320
|
-
}
|
|
321
|
-
.button-module_button__NDMQS.button-module_hasIcon__dXLlJ {
|
|
322
|
-
padding: 0.4rem;
|
|
323
|
-
border: none !important;
|
|
324
|
-
line-height: 1px;
|
|
325
|
-
}
|
|
326
|
-
.button-module_button__NDMQS.button-module_hasIcon__dXLlJ.button-module_tiny__pBNwo {
|
|
327
|
-
padding: 0px;
|
|
328
|
-
}
|
|
329
|
-
.button-module_button__NDMQS:hover {
|
|
330
|
-
background-color: #c5c5c5 !important;
|
|
331
|
-
}
|
|
332
|
-
.button-module_button__NDMQS:hover.button-module_animated__gLwPl {
|
|
333
|
-
transform: scale(1.2);
|
|
334
|
-
}
|
|
335
|
-
.button-module_button__NDMQS.button-module_disabled__hEydO {
|
|
336
|
-
user-select: none;
|
|
337
|
-
pointer-events: none;
|
|
338
|
-
cursor: not-allowed;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.cui-theme-dark .button-module_button__NDMQS {
|
|
342
|
-
color: #F4F4F4;
|
|
343
|
-
}
|
|
344
|
-
.cui-theme-light .button-module_button__NDMQS {
|
|
345
|
-
color: #090A0A;
|
|
346
|
-
}
|
|
347
|
-
.textAndContent-module_textAndContent__X5P1n {
|
|
348
|
-
align-items: baseline;
|
|
349
|
-
flex-shrink: 1;
|
|
350
|
-
gap: 8px;
|
|
211
|
+
position: relative;
|
|
212
|
+
flex-direction: row;
|
|
213
|
+
flex: 0;
|
|
214
|
+
flex-grow: 0;
|
|
215
|
+
flex-shrink: 0;
|
|
216
|
+
flex-basis: auto;
|
|
217
|
+
flex-wrap: nowrap;
|
|
218
|
+
gap: 0;
|
|
219
|
+
text-align: left;
|
|
220
|
+
justify-content: flex-start;
|
|
221
|
+
align-items: flex-start;
|
|
222
|
+
align-self: auto;
|
|
223
|
+
margin: 0;
|
|
224
|
+
padding: 0;
|
|
225
|
+
width: auto;
|
|
226
|
+
height: auto;
|
|
227
|
+
max-width: none;
|
|
228
|
+
max-height: none;
|
|
229
|
+
min-width: 0;
|
|
230
|
+
min-height: 0;
|
|
231
|
+
border-radius: initial;
|
|
351
232
|
}
|
|
352
233
|
:root {
|
|
353
234
|
--divider-line: #4a4b4b;
|
|
@@ -415,19 +296,6 @@
|
|
|
415
296
|
pointer-events: none;
|
|
416
297
|
opacity: 0.6;
|
|
417
298
|
}
|
|
418
|
-
.flowLayout-module_flowLayout__VHpnY {
|
|
419
|
-
overflow: auto;
|
|
420
|
-
}
|
|
421
|
-
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
|
|
422
|
-
display: flex;
|
|
423
|
-
width: 100%;
|
|
424
|
-
min-width: 0;
|
|
425
|
-
}
|
|
426
|
-
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
|
|
427
|
-
display: flex;
|
|
428
|
-
width: 100%;
|
|
429
|
-
min-width: 0;
|
|
430
|
-
}
|
|
431
299
|
:root {
|
|
432
300
|
--divider-line: #4a4b4b;
|
|
433
301
|
}
|
|
@@ -592,6 +460,120 @@
|
|
|
592
460
|
border-color: #FD8F3E;
|
|
593
461
|
color: #632E03;
|
|
594
462
|
}
|
|
463
|
+
:root {
|
|
464
|
+
--divider-line: #4a4b4b;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.button-module_overflow-hidden__Vc5AU, .button-module_text-truncate__a89Bp {
|
|
468
|
+
overflow: hidden !important;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.button-module_text-nowrap__tR-VJ, .button-module_text-truncate__a89Bp {
|
|
472
|
+
white-space: nowrap !important;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.button-module_text-ellipsis__5MFA9, .button-module_text-truncate__a89Bp {
|
|
476
|
+
text-overflow: ellipsis !important;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.button-module_button__NDMQS {
|
|
480
|
+
border: none;
|
|
481
|
+
color: #090A0A;
|
|
482
|
+
padding: 0.5rem 1rem;
|
|
483
|
+
text-align: center;
|
|
484
|
+
text-decoration: none;
|
|
485
|
+
font-size: 1rem;
|
|
486
|
+
overflow: hidden;
|
|
487
|
+
display: flex;
|
|
488
|
+
align-items: center;
|
|
489
|
+
justify-content: center;
|
|
490
|
+
min-width: "auto";
|
|
491
|
+
width: "auto";
|
|
492
|
+
user-select: all;
|
|
493
|
+
pointer-events: auto;
|
|
494
|
+
cursor: pointer;
|
|
495
|
+
}
|
|
496
|
+
.button-module_button__NDMQS > span {
|
|
497
|
+
overflow: hidden;
|
|
498
|
+
white-space: nowrap;
|
|
499
|
+
display: inline-block;
|
|
500
|
+
}
|
|
501
|
+
.button-module_button__NDMQS.button-module_info__O6gEW {
|
|
502
|
+
background-color: #2D8EFF;
|
|
503
|
+
}
|
|
504
|
+
.button-module_button__NDMQS.button-module_info__O6gEW.button-module_transparent__zbeBu {
|
|
505
|
+
border: 1px solid #2D8EFF !important;
|
|
506
|
+
}
|
|
507
|
+
.button-module_button__NDMQS.button-module_success__gM25y {
|
|
508
|
+
background-color: #13CE66;
|
|
509
|
+
}
|
|
510
|
+
.button-module_button__NDMQS.button-module_success__gM25y.button-module_transparent__zbeBu {
|
|
511
|
+
border: 1px solid #13CE66 !important;
|
|
512
|
+
}
|
|
513
|
+
.button-module_button__NDMQS.button-module_error__q9qqo {
|
|
514
|
+
background-color: #FF4949;
|
|
515
|
+
}
|
|
516
|
+
.button-module_button__NDMQS.button-module_error__q9qqo.button-module_transparent__zbeBu {
|
|
517
|
+
border: 1px solid #FF4949 !important;
|
|
518
|
+
}
|
|
519
|
+
.button-module_button__NDMQS.button-module_warning__MdmiZ {
|
|
520
|
+
background-color: #FFCC3D;
|
|
521
|
+
}
|
|
522
|
+
.button-module_button__NDMQS.button-module_warning__MdmiZ.button-module_transparent__zbeBu {
|
|
523
|
+
border: 1px solid #FFCC3D !important;
|
|
524
|
+
}
|
|
525
|
+
.button-module_button__NDMQS.button-module_transparent__zbeBu {
|
|
526
|
+
border: none !important;
|
|
527
|
+
background-color: transparent !important;
|
|
528
|
+
background: transparent !important;
|
|
529
|
+
}
|
|
530
|
+
.button-module_button__NDMQS.button-module_tiny__pBNwo {
|
|
531
|
+
height: 1.4rem;
|
|
532
|
+
min-width: 1.5rem;
|
|
533
|
+
width: 1.5rem;
|
|
534
|
+
padding: 0.2rem;
|
|
535
|
+
font-size: 0.8rem;
|
|
536
|
+
}
|
|
537
|
+
.button-module_button__NDMQS.button-module_fluid__GXxID {
|
|
538
|
+
width: 100%;
|
|
539
|
+
}
|
|
540
|
+
.button-module_button__NDMQS.button-module_truncate__c-G9k > span {
|
|
541
|
+
overflow: hidden !important;
|
|
542
|
+
white-space: nowrap !important;
|
|
543
|
+
text-overflow: ellipsis !important;
|
|
544
|
+
}
|
|
545
|
+
.button-module_button__NDMQS.button-module_animated__gLwPl {
|
|
546
|
+
transition: transform 250ms ease-out;
|
|
547
|
+
}
|
|
548
|
+
.button-module_button__NDMQS.button-module_hasShadow__42BQv {
|
|
549
|
+
box-shadow: 0 5px 15px 0 rgba(28, 37, 39, 0.1), 0 0 2px 0 rgba(0, 0, 0, 0.1);
|
|
550
|
+
}
|
|
551
|
+
.button-module_button__NDMQS.button-module_hasIcon__dXLlJ {
|
|
552
|
+
padding: 0.4rem;
|
|
553
|
+
border: none !important;
|
|
554
|
+
line-height: 1px;
|
|
555
|
+
}
|
|
556
|
+
.button-module_button__NDMQS.button-module_hasIcon__dXLlJ.button-module_tiny__pBNwo {
|
|
557
|
+
padding: 0px;
|
|
558
|
+
}
|
|
559
|
+
.button-module_button__NDMQS:hover {
|
|
560
|
+
background-color: #c5c5c5 !important;
|
|
561
|
+
}
|
|
562
|
+
.button-module_button__NDMQS:hover.button-module_animated__gLwPl {
|
|
563
|
+
transform: scale(1.2);
|
|
564
|
+
}
|
|
565
|
+
.button-module_button__NDMQS.button-module_disabled__hEydO {
|
|
566
|
+
user-select: none;
|
|
567
|
+
pointer-events: none;
|
|
568
|
+
cursor: not-allowed;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.cui-theme-dark .button-module_button__NDMQS {
|
|
572
|
+
color: #F4F4F4;
|
|
573
|
+
}
|
|
574
|
+
.cui-theme-light .button-module_button__NDMQS {
|
|
575
|
+
color: #090A0A;
|
|
576
|
+
}
|
|
595
577
|
.popup-overlay-module_popup-modal-overlay__dlJqM {
|
|
596
578
|
z-index: 1;
|
|
597
579
|
position: fixed;
|
|
@@ -615,6 +597,19 @@
|
|
|
615
597
|
opacity: 0;
|
|
616
598
|
visibility: hidden;
|
|
617
599
|
}
|
|
600
|
+
.flowLayout-module_flowLayout__VHpnY {
|
|
601
|
+
overflow: auto;
|
|
602
|
+
}
|
|
603
|
+
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
|
|
604
|
+
display: flex;
|
|
605
|
+
width: 100%;
|
|
606
|
+
min-width: 0;
|
|
607
|
+
}
|
|
608
|
+
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
|
|
609
|
+
display: flex;
|
|
610
|
+
width: 100%;
|
|
611
|
+
min-width: 0;
|
|
612
|
+
}
|
|
618
613
|
:root {
|
|
619
614
|
--divider-line: #4a4b4b;
|
|
620
615
|
}
|
|
@@ -711,6 +706,11 @@
|
|
|
711
706
|
background-color: #090A0A;
|
|
712
707
|
color: #F4F4F4;
|
|
713
708
|
}
|
|
709
|
+
.textAndContent-module_textAndContent__X5P1n {
|
|
710
|
+
align-items: baseline;
|
|
711
|
+
flex-shrink: 1;
|
|
712
|
+
gap: 8px;
|
|
713
|
+
}
|
|
714
714
|
:root {
|
|
715
715
|
--divider-line: #4a4b4b;
|
|
716
716
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./useApi.js"),s=require("./useToggle.js"),r=require("./useOutsideClick.js"),u=require("./useResize.js"),
|
|
1
|
+
"use strict";var e=require("./useApi.js"),s=require("./useToggle.js"),r=require("./useOutsideClick.js"),u=require("./useResize.js"),t=require("./useClassNames.js"),o=require("./useParseProps.js"),i=require("./useThemePreference.js"),m=require("./useAnimation.js"),p=require("./useIntersectionObserver.js"),a=require("./useSetTimeout.js");exports.useApi=e.useApi,exports.useToggle=s.useToggle,exports.outsideClickHandler=r.outsideClickHandler,exports.useOutsideClick=r.useOutsideClick,exports.useResize=u.useResize,exports.useClassNames=t.useClassNames,exports.useParseProps=o.useParseProps,exports.getBaseThemes=i.getBaseThemes,exports.observeThemePreference=i.observeThemePreference,exports.setThemeClassNames=i.setThemeClassNames,exports.switchColorTheme=i.switchColorTheme,exports.updateColorTheme=i.updateColorTheme,exports.useThemePreference=i.useThemePreference,exports.useAnimation=m.useAnimation,exports.useIntersectionObserver=p.useIntersectionObserver,exports.useTimeoutFn=a.useTimeoutFn;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("react");exports.useTimeoutFn=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const u=e.useRef({ready:null,timeout:null,callback:t}),c=e.useCallback((()=>u.current.ready),[]),l=e.useCallback((()=>{u.current.ready=null,u.current.timeout&&clearTimeout(u.current.timeout)}),[]),a=e.useCallback((()=>{u.current.ready=!1,u.current.timeout&&clearTimeout(u.current.timeout),u.current.timeout=setTimeout((()=>{u.current.ready=!0,u.current.callback()}),r)}),[r]);return e.useEffect((()=>{u.current.callback=t}),[t]),e.useEffect((()=>(a(),l)),[l,r,a]),[c,l,a]};
|
|
2
|
+
//# sourceMappingURL=useSetTimeout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSetTimeout.js","sources":["../../../../../src/core/hooks/useSetTimeout.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nexport type UseTimeoutFnReturn = [() => boolean | null, () => void, () => void];\n\ntype CallBackType = (...args: unknown[]) => unknown\n\ntype LocalStateType = {\n ready: boolean | null\n timeout: ReturnType<typeof setTimeout> | null\n callback: CallBackType\n}\n\nexport const useTimeoutFn = (fn: CallBackType, ms: number = 0): UseTimeoutFnReturn => {\n const store = useRef<LocalStateType>({\n ready: null,\n timeout: null,\n callback: fn,\n })\n\n const isReady = useCallback(() => store.current.ready, [])\n\n const clear = useCallback(() => {\n store.current.ready = null\n store.current.timeout && clearTimeout(store.current.timeout)\n }, [])\n\n const set = useCallback(() => {\n store.current.ready = false\n store.current.timeout && clearTimeout(store.current.timeout)\n\n store.current.timeout = setTimeout(() => {\n store.current.ready = true\n store.current.callback()\n }, ms)\n }, [ms])\n\n // update ref when function changes\n useEffect(() => {\n store.current.callback = fn\n }, [fn])\n\n // set on mount, clear on unmount\n useEffect(() => {\n set()\n\n return clear\n }, [clear, ms, set])\n\n return [isReady, clear, set]\n}\n"],"names":["fn","ms","arguments","length","undefined","store","useRef","ready","timeout","callback","isReady","useCallback","current","clear","clearTimeout","set","setTimeout","useEffect"],"mappings":"yDAY4B,SAACA,GAAyD,IAAvCC,EAAUC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC1D,MAAMG,EAAQC,EAAAA,OAAuB,CACnCC,MAAO,KACPC,QAAS,KACTC,SAAUT,IAGNU,EAAUC,EAAAA,aAAY,IAAMN,EAAMO,QAAQL,OAAO,IAEjDM,EAAQF,EAAAA,aAAY,KACxBN,EAAMO,QAAQL,MAAQ,KACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,QAAQ,GAC3D,IAEGO,EAAMJ,EAAAA,aAAY,KACtBN,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,SAEpDH,EAAMO,QAAQJ,QAAUQ,YAAW,KACjCX,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQH,UAAU,GACvBR,EAAG,GACL,CAACA,IAcJ,OAXAgB,EAAAA,WAAU,KACRZ,EAAMO,QAAQH,SAAWT,CAAE,GAC1B,CAACA,IAGJiB,EAAAA,WAAU,KACRF,IAEOF,IACN,CAACA,EAAOZ,EAAIc,IAER,CAACL,EAASG,EAAOE,EAC1B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("react");exports.useTimeoutFn=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const u=e.useRef({ready:null,timeout:null,callback:t}),c=e.useCallback((()=>u.current.ready),[]),l=e.useCallback((()=>{u.current.ready=null,u.current.timeout&&clearTimeout(u.current.timeout)}),[]),a=e.useCallback((()=>{u.current.ready=!1,u.current.timeout&&clearTimeout(u.current.timeout),u.current.timeout=setTimeout((()=>{u.current.ready=!0,u.current.callback()}),r)}),[r]);return e.useEffect((()=>{u.current.callback=t}),[t]),e.useEffect((()=>(a(),l)),[l,r,a]),[c,l,a]};
|
|
2
|
+
//# sourceMappingURL=useSetTimeout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSetTimeout.js","sources":["../../../../../../src/core/hooks/useSetTimeout.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nexport type UseTimeoutFnReturn = [() => boolean | null, () => void, () => void];\n\ntype CallBackType = (...args: unknown[]) => unknown\n\ntype LocalStateType = {\n ready: boolean | null\n timeout: ReturnType<typeof setTimeout> | null\n callback: CallBackType\n}\n\nexport const useTimeoutFn = (fn: CallBackType, ms: number = 0): UseTimeoutFnReturn => {\n const store = useRef<LocalStateType>({\n ready: null,\n timeout: null,\n callback: fn,\n })\n\n const isReady = useCallback(() => store.current.ready, [])\n\n const clear = useCallback(() => {\n store.current.ready = null\n store.current.timeout && clearTimeout(store.current.timeout)\n }, [])\n\n const set = useCallback(() => {\n store.current.ready = false\n store.current.timeout && clearTimeout(store.current.timeout)\n\n store.current.timeout = setTimeout(() => {\n store.current.ready = true\n store.current.callback()\n }, ms)\n }, [ms])\n\n // update ref when function changes\n useEffect(() => {\n store.current.callback = fn\n }, [fn])\n\n // set on mount, clear on unmount\n useEffect(() => {\n set()\n\n return clear\n }, [clear, ms, set])\n\n return [isReady, clear, set]\n}\n"],"names":["fn","ms","arguments","length","undefined","store","useRef","ready","timeout","callback","isReady","useCallback","current","clear","clearTimeout","set","setTimeout","useEffect"],"mappings":"yDAY4B,SAACA,GAAyD,IAAvCC,EAAUC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC1D,MAAMG,EAAQC,EAAAA,OAAuB,CACnCC,MAAO,KACPC,QAAS,KACTC,SAAUT,IAGNU,EAAUC,EAAAA,aAAY,IAAMN,EAAMO,QAAQL,OAAO,IAEjDM,EAAQF,EAAAA,aAAY,KACxBN,EAAMO,QAAQL,MAAQ,KACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,QAAQ,GAC3D,IAEGO,EAAMJ,EAAAA,aAAY,KACtBN,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,SAEpDH,EAAMO,QAAQJ,QAAUQ,YAAW,KACjCX,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQH,UAAU,GACvBR,EAAG,GACL,CAACA,IAcJ,OAXAgB,EAAAA,WAAU,KACRZ,EAAMO,QAAQH,SAAWT,CAAE,GAC1B,CAACA,IAGJiB,EAAAA,WAAU,KACRF,IAEOF,IACN,CAACA,EAAOZ,EAAIc,IAER,CAACL,EAASG,EAAOE,EAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"other.js","sources":["../../../../../../../src/core/utils/helpers/other.ts"],"sourcesContent":["import { memoizeWith, identity } from 'ramda'\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const nestedTernary = (condition: boolean, branchA: any, branchB: any): any => (condition ? branchA : branchB)\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoize = memoizeWith(identity)\n\n// Beware fellow developer, this is to be used with caution and precison\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoizeComplex = memoizeWith((...args) => JSON.stringify(args))\n\nexport const memoizer\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n= (memoizeFunc = (...args): string => JSON.stringify(args)): ReturnType<typeof memoizeWith> => memoizeWith(memoizeFunc)\n\nexport const debounce = (func: () => void, wait = 100, immediate = false): () => void => {\n let timeout: any\n\n return function debounced(...args) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const context: unknown = this\n const later = (): void => {\n clearTimeout(timeout)\n timeout = null\n if (!immediate) {\n func.apply(context, args)\n }\n }\n const callNow = immediate && !timeout\n\n clearTimeout(timeout)\n timeout = setTimeout(later, wait)\n if (callNow) {\n func.apply(context, args)\n }\n }\n}\n\nexport const delay = (delay: number): Promise<string> => new Promise((resolve) => {\n setTimeout(() => resolve(`delayed: ${delay}`), delay)\n})\n\nexport const AsyncFunctionTemplate = (async (): Promise<void> => {}).constructor\n\nexport const isFunctionAsync = (\n func: () => unknown,\n): boolean => func.constructor === AsyncFunctionTemplate.prototype.constructor\n"],"names":["nestedTernary","memoize","memoizeWith","identity","memoizeComplex","_len","arguments","length","args","Array","_key","JSON","stringify","AsyncFunctionTemplate","_asyncToGenerator","asyncToGenerator","constructor","func","timeout","wait","undefined","immediate","_len3","_key3","context","this","callNow","clearTimeout","setTimeout","later","apply","delay","Promise","resolve","prototype","memoizeFunc","_len2","_key2","condition","branchA","branchB"],"mappings":"mGAGaA,MAIAC,EAAUC,EAAWA,YAACC,YAKtBC,EAAiBF,EAAWA,aAAC,WAAA,IAAA,IAAAG,EAAAC,UAAAC,OAAIC,EAAIC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAAA,OAAKC,KAAKC,UAAUJ,EAAK,IAoC9DK,EAAwBC,EAAAC,kBAAC,YAA6B,IAAEC,6DA7B7C,SAACC,GAAgE,IACnFC,EADqCC,EAAIb,UAAAC,OAAA,QAAAa,IAAAd,UAAA,GAAAA,UAAA,GAAG,IAAKe,EAASf,UAAAC,OAAA,QAAAa,IAAAd,UAAA,IAAAA,UAAA,GAG9D,OAAO,WAA4B,IAAA,IAAAgB,EAAAhB,UAAAC,OAANC,EAAIC,IAAAA,MAAAa,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJf,EAAIe,GAAAjB,UAAAiB,GAI/B,MAAMC,EAAmBC,KAQnBC,EAAUL,IAAcH,EAE9BS,aAAaT,GACbA,EAAUU,YAVIC,KACZF,aAAaT,GACbA,EAAU,KACLG,GACHJ,EAAKa,MAAMN,EAAShB,EACtB,GAK0BW,GACxBO,GACFT,EAAKa,MAAMN,EAAShB,GAG1B,gBAEsBuB,GAAmC,IAAIC,SAASC,IACpEL,YAAW,IAAMK,EAAQ,YAAYF,MAAUA,EAAM,4BAMrDd,GACYA,EAAKD,cAAgBH,EAAsBqB,UAAUlB,wEAnCjE,WAAA,IAACmB,EAAW7B,UAAAC,OAAAD,QAAAc,IAAAd,UAAAc,GAAAd,UAAG,GAAA,WAAA,IAAA,IAAA8B,EAAA9B,UAAAC,OAAIC,EAAIC,IAAAA,MAAA2B,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJ7B,EAAI6B,GAAA/B,UAAA+B,GAAA,OAAa1B,KAAKC,UAAUJ,EAAK,EAAA,OAAqCN,EAAAA,YAAYiC,EAAY,wBAd1FnC,CAACsC,EAAoBC,EAAcC,IAAuBF,EAAYC,EAAUC"}
|
|
1
|
+
{"version":3,"file":"other.js","sources":["../../../../../../../src/core/utils/helpers/other.ts"],"sourcesContent":["import { memoizeWith, identity } from 'ramda'\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const nestedTernary = (condition: boolean, branchA: any, branchB: any): any => (condition ? branchA : branchB)\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoize = memoizeWith(identity)\n\n// Beware fellow developer, this is to be used with caution and precison\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoizeComplex = memoizeWith((...args) => JSON.stringify(args))\n\nexport const memoizer\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n= (memoizeFunc = (...args): string => JSON.stringify(args)): ReturnType<typeof memoizeWith> => memoizeWith(memoizeFunc)\n\nexport const debounce = (func: () => void, wait = 100, immediate = false): () => void => {\n let timeout: any\n\n return function debounced(...args) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const context: unknown = this\n const later = (): void => {\n clearTimeout(timeout)\n timeout = null\n if (!immediate) {\n func.apply(context, args)\n }\n }\n const callNow = immediate && !timeout\n\n clearTimeout(timeout)\n timeout = setTimeout(later, wait)\n if (callNow) {\n func.apply(context, args)\n }\n }\n}\n\nexport const delay = (delay: number): Promise<string> => new Promise((resolve) => {\n setTimeout(() => resolve(`delayed: ${delay}`), delay)\n})\n\nexport const AsyncFunctionTemplate = (async (): Promise<void> => {}).constructor\n\nexport const isFunctionAsync = (\n func: (...args: any[]) => unknown,\n): boolean => func.constructor === AsyncFunctionTemplate.prototype.constructor\n"],"names":["nestedTernary","memoize","memoizeWith","identity","memoizeComplex","_len","arguments","length","args","Array","_key","JSON","stringify","AsyncFunctionTemplate","_asyncToGenerator","asyncToGenerator","constructor","func","timeout","wait","undefined","immediate","_len3","_key3","context","this","callNow","clearTimeout","setTimeout","later","apply","delay","Promise","resolve","prototype","memoizeFunc","_len2","_key2","condition","branchA","branchB"],"mappings":"mGAGaA,MAIAC,EAAUC,EAAWA,YAACC,YAKtBC,EAAiBF,EAAWA,aAAC,WAAA,IAAA,IAAAG,EAAAC,UAAAC,OAAIC,EAAIC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAAA,OAAKC,KAAKC,UAAUJ,EAAK,IAoC9DK,EAAwBC,EAAAC,kBAAC,YAA6B,IAAEC,6DA7B7C,SAACC,GAAgE,IACnFC,EADqCC,EAAIb,UAAAC,OAAA,QAAAa,IAAAd,UAAA,GAAAA,UAAA,GAAG,IAAKe,EAASf,UAAAC,OAAA,QAAAa,IAAAd,UAAA,IAAAA,UAAA,GAG9D,OAAO,WAA4B,IAAA,IAAAgB,EAAAhB,UAAAC,OAANC,EAAIC,IAAAA,MAAAa,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJf,EAAIe,GAAAjB,UAAAiB,GAI/B,MAAMC,EAAmBC,KAQnBC,EAAUL,IAAcH,EAE9BS,aAAaT,GACbA,EAAUU,YAVIC,KACZF,aAAaT,GACbA,EAAU,KACLG,GACHJ,EAAKa,MAAMN,EAAShB,EACtB,GAK0BW,GACxBO,GACFT,EAAKa,MAAMN,EAAShB,GAG1B,gBAEsBuB,GAAmC,IAAIC,SAASC,IACpEL,YAAW,IAAMK,EAAQ,YAAYF,MAAUA,EAAM,4BAMrDd,GACYA,EAAKD,cAAgBH,EAAsBqB,UAAUlB,wEAnCjE,WAAA,IAACmB,EAAW7B,UAAAC,OAAAD,QAAAc,IAAAd,UAAAc,GAAAd,UAAG,GAAA,WAAA,IAAA,IAAA8B,EAAA9B,UAAAC,OAAIC,EAAIC,IAAAA,MAAA2B,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJ7B,EAAI6B,GAAA/B,UAAA+B,GAAA,OAAa1B,KAAKC,UAAUJ,EAAK,EAAA,OAAqCN,EAAAA,YAAYiC,EAAY,wBAd1FnC,CAACsC,EAAoBC,EAAcC,IAAuBF,EAAYC,EAAUC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./core/hooks/useApi.js"),r=require("./core/hooks/useToggle.js"),t=require("./core/hooks/useOutsideClick.js"),o=require("./core/hooks/useResize.js"),s=require("./core/hooks/useClassNames.js"),a=require("./core/hooks/useParseProps.js"),i=require("./core/hooks/useThemePreference.js"),n=require("./core/hooks/useAnimation.js"),p=require("./core/hooks/useIntersectionObserver.js"),l=require("./core/utils/helpers/birthnumber.validator.js"),c=require("./core/utils/helpers/birthnumberCZSKvalidator.js"),
|
|
1
|
+
"use strict";var e=require("./core/hooks/useApi.js"),r=require("./core/hooks/useToggle.js"),t=require("./core/hooks/useOutsideClick.js"),o=require("./core/hooks/useResize.js"),s=require("./core/hooks/useClassNames.js"),a=require("./core/hooks/useParseProps.js"),i=require("./core/hooks/useThemePreference.js"),n=require("./core/hooks/useAnimation.js"),p=require("./core/hooks/useIntersectionObserver.js"),u=require("./core/hooks/useSetTimeout.js"),l=require("./core/utils/helpers/birthnumber.validator.js"),c=require("./core/utils/helpers/birthnumberCZSKvalidator.js"),x=require("./core/utils/helpers/fileValidator.js"),m=require("./core/utils/helpers/date.js"),d=require("./core/utils/helpers/deviceInfo.js"),T=require("./core/utils/helpers/emailMatcher.js"),h=require("./core/utils/helpers/file.js"),S=require("./core/utils/helpers/objectOperations.js"),y=require("./core/utils/helpers/other.js"),g=require("./core/utils/helpers/textValueOperations.js"),j=require("./core/utils/helpers/valueOperations.js"),C=require("./core/utils/helpers/cancelableDelayedFunction.js"),v=require("./core/utils/helpers/ui.js"),q=require("./core/utils/helpers/text.js"),P=require("./core/utils/keyExtractor.js"),b=require("./core/utils/date.js"),I=require("./core/utils/webComponents/webComponent.utils.js"),f=require("./core/utils/appState/store/store.vanillajs.js"),A=require("./core/utils/appState/store/store.vanillajs.templates.js"),F=require("./core/utils/appState/store/useStore.react.js"),D=require("./core/utils/appState/peregrineMQ/peregrineMQ.js"),M=require("./core/utils/appState/peregrineMQ/index.js"),z=require("./core/utils/appState/stateMachine/tiny-state-machine.base.js"),L=require("./core/constants/ui.constants.js"),E=require("./core/ui/utils/style.js"),k=require("./core/ui/components/container/layoutBox/LayoutBox.js"),B=require("./core/ui/components/container/layoutBox/layoutBox.types.js"),O=require("./core/ui/components/container/lazyComponent/LazyComponent.js"),V=require("./core/ui/components/container/CollapsibleContainer.js"),N=require("./core/ui/components/container/ResizableContainer.js"),R=require("./core/ui/components/error/ErrorBoundary.js"),H=require("./core/ui/components/field/Field.js"),w=require("./core/ui/components/dividers/DividerLine.js"),Q=require("./core/ui/components/icon/IconBase.js"),_=require("./core/ui/components/icon/Icon.js"),W=require("./core/ui/components/icon/IconWC.js"),J=require("./core/ui/components/atoms/button/Button.js"),K=require("./core/ui/components/atoms/text/Text.js"),G=require("./core/ui/components/atoms/text/Headline.js"),U=require("./core/ui/components/atoms/text/Paragraph.js"),Z=require("./core/ui/components/atoms/text/Link.js"),X=require("./core/ui/components/atoms/text/anchor-link/AnchorLink.js"),Y=require("./core/ui/components/atoms/textAndContent/TextAndContent.js"),$=require("./core/ui/components/atoms/tag/Tag.js"),ee=require("./core/ui/components/atoms/tag/tag.types.js"),re=require("./core/ui/components/molecules/layouts/FlowLayout.js"),te=require("./core/ui/components/molecules/popover/PopoverLite.js"),oe=require("./core/ui/components/molecules/popover/Tooltip.js"),se=require("./core/ui/components/molecules/popover/popover.types.js"),ae=require("./core/ui/components/molecules/popup/Popup.js"),ie=require("./core/ui/components/molecules/popup/popup.types.js");exports.useApi=e.useApi,exports.useToggle=r.useToggle,exports.outsideClickHandler=t.outsideClickHandler,exports.useOutsideClick=t.useOutsideClick,exports.useResize=o.useResize,exports.useClassNames=s.useClassNames,exports.useParseProps=a.useParseProps,exports.getBaseThemes=i.getBaseThemes,exports.observeThemePreference=i.observeThemePreference,exports.setThemeClassNames=i.setThemeClassNames,exports.switchColorTheme=i.switchColorTheme,exports.updateColorTheme=i.updateColorTheme,exports.useThemePreference=i.useThemePreference,exports.useAnimation=n.useAnimation,exports.useIntersectionObserver=p.useIntersectionObserver,exports.useTimeoutFn=u.useTimeoutFn,exports.isBirthNumberValid=l.isBirthNumberValid,exports.getMatch=c.getMatch,exports.isValidFormat=c.isValidFormat,exports.isValidModulo11=c.isValidModulo11,exports.parse=c.parse,exports.regex=c.regex,exports.parseCSVdata=x.parseCSVdata,exports.validateCSVFile=x.validateCSVFile,exports.validateCSVlines=x.validateCSVlines,exports.validateJSONFile=x.validateJSONFile,exports.validateLineCellTrimmed=x.validateLineCellTrimmed,exports.validateLineNumColumns=x.validateLineNumColumns,exports.validateSDFFile=x.validateSDFFile,exports.DATE_FORMAT=m.DATE_FORMAT,exports.DATE_TIME_FORMAT=m.DATE_TIME_FORMAT,exports.formatDate=m.formatDate,exports.formatDateTime=m.formatDateTime,exports.formatDateToTimestamp=m.formatDateToTimestamp,exports.getDate=m.getDate,exports.getDeviceId=d.getDeviceId,exports.emailMatch=T.emailMatch,exports.emailMatcher=T.emailMatcher,exports.regexBuilder=T.regexBuilder,exports.cleanCsvLines=h.cleanCsvLines,exports.formatFilePath=h.formatFilePath,exports.arrayToObjectTree=S.arrayToObjectTree,exports.chunkArray=S.chunkArray,exports.duplicatesInArray=S.duplicatesInArray,exports.formatJsonString=S.formatJsonString,exports.formatObj=S.formatObj,exports.formatObj2=S.formatObj2,exports.AsyncFunctionTemplate=y.AsyncFunctionTemplate,exports.debounce=y.debounce,exports.delay=y.delay,exports.isFunctionAsync=y.isFunctionAsync,exports.memoize=y.memoize,exports.memoizeComplex=y.memoizeComplex,exports.memoizer=y.memoizer,exports.nestedTernary=y.nestedTernary,exports.escapeRegExp=g.escapeRegExp,exports.fileNameExt=g.fileNameExt,exports.findStringInText=g.findStringInText,exports.normalizeString=g.normalizeString,exports.removeWhitespaces=g.removeWhitespaces,exports.sanitizeId=g.sanitizeId,exports.sanitizePathId=g.sanitizePathId,exports.toLowerCase=g.toLowerCase,exports.toUpperCase=g.toUpperCase,exports.truncateText=g.truncateText,exports.Operation=j.Operation,exports.decrementValue=j.decrementValue,exports.incerementValue=j.incerementValue,exports.numberDefined=j.numberDefined,exports.numberOperation=j.numberOperation,exports.restrictNumberInLimits=j.restrictNumberInLimits,exports.setValue=j.setValue,exports.cancelableSetInterval=C.cancelableSetInterval,exports.cancelableSetTimeout=C.cancelableSetTimeout,exports.anchorClick=v.anchorClick,exports.classNames=v.classNames,exports.generateId=v.generateId,exports.mapSerReplacer=v.mapSerReplacer,exports.noop=v.noop,exports.parseProps=v.parseProps,exports.composeId=q.composeId,exports.defaultSanitizeConfig=q.defaultSanitizeConfig,exports.sanitizeHtml=q.sanitizeHtml,exports.keyExtractor=P.keyExtractor,exports.keyExtractorFunction=P.keyExtractorFunction,exports.dateRangeFormat=b.dateRangeFormat,exports.getDateTime=b.getDateTime,exports.getTimeFromNow=b.getTimeFromNow,exports.getTimeFromNowOriginal=b.getTimeFromNowOriginal,exports.getTimeTo=b.getTimeTo,exports.ced=I.ced,exports.createResolveAttribute=I.createResolveAttribute,exports.customElementDefine=I.customElementDefine,exports.resolveAttributes=I.resolveAttributes,exports.createStore=f.createStore,exports.createDataStore=A.createDataStore,exports.useStore=F.useStore,exports.useStoreApi=F.useStoreApi,exports.PeregrineMQ=D.PeregrineMQ,exports.PeregrineMQClearError=D.PeregrineMQClearError,exports.peregrineMQInstance=M.peregrineMQInstance,exports.TinyStateMachine=z.TinyStateMachine,exports.TinyStateMachineEvent=z.TinyStateMachineEvent,exports.TinyStateMachineEventType=z.TinyStateMachineEventType,exports.TinyStateMachineState=z.TinyStateMachineState,exports.createStates=z.createStates,exports.stateIterator=z.stateIterator,exports.Alerts=L.Alerts,exports.EventName=L.EventName,exports.KeyCode=L.KeyCode,exports.calculateColors=E.calculateColors,exports.calculatePercColor=E.calculatePercColor,exports.convertHex=E.convertHex,exports.convertRGB=E.convertRGB,Object.defineProperty(exports,"defaultFontSize",{enumerable:!0,get:function(){return E.defaultFontSize}}),exports.pxToRem=E.pxToRem,exports.resolveStyleValue=E.resolveStyleValue,exports.setDefaultFontSize=E.setDefaultFontSize,exports.toHex=E.toHex,exports.LayoutBox=k.LayoutBox,exports.LayoutDirection=B.LayoutDirection,exports.LazyComponent=O.LazyComponent,exports.PendingBoundary=O.PendingBoundary,exports.createLazyModule=O.createLazyModule,exports.createLazyModuleWithStore=O.createLazyModuleWithStore,exports.wrapPromise=O.wrapPromise,exports.CollapsibleContainer=V.CollapsibleContainer,exports.ResizableContainer=N.ResizableContainer,exports.DefaultErrorComponent=R.DefaultErrorComponent,exports.ErrorBoundary=R.ErrorBoundary,exports.Field=H.Field,exports.Select=H.Select,exports.setIconColor=H.setIconColor,exports.setIconComponent=H.setIconComponent,exports.DividerHorizontal=w.DividerHorizontal,exports.DividerLine=w.DividerLine,exports.DividerVertical=w.DividerVertical,exports.IconBase=Q.IconBase,exports.Icon=_.Icon,exports.ESIcon=W.ESIcon,exports.ESIconBase=W.ESIconBase,exports.Button=J.Button,exports.IconButton=J.IconButton,exports.keys=J.keys,exports.Text=K.Text,exports.Headline=G.Headline,exports.HeadlineSecondary=G.HeadlineSecondary,exports.HeadlineTertiary=G.HeadlineTertiary,exports.Paragraph=U.Paragraph,exports.ParagraphBold=U.ParagraphBold,exports.ParagraphBoldSmall=U.ParagraphBoldSmall,exports.ParagraphSmall=U.ParagraphSmall,exports.Link=Z.Link,exports.AnchorLink=X.AnchorLink,exports.TextAndContent=Y.TextAndContent,exports.TextAndIcons=Y.TextAndIcons,exports.Tag=$.Tag,exports.TagVariant=ee.TagVariant,exports.FlowLayout=re.FlowLayout,exports.Popover=te.Popover,exports.Tooltip=oe.Tooltip,exports.PopoverPlacement=se.PopoverPlacement,exports.Popup=ae.Popup,exports.PopupAnimateVariant=ie.PopupAnimateVariant;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{useRef as t,useCallback as r,useEffect as e}from"react";const u=function(u){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=t({ready:null,timeout:null,callback:u}),l=r((()=>n.current.ready),[]),o=r((()=>{n.current.ready=null,n.current.timeout&&clearTimeout(n.current.timeout)}),[]),a=r((()=>{n.current.ready=!1,n.current.timeout&&clearTimeout(n.current.timeout),n.current.timeout=setTimeout((()=>{n.current.ready=!0,n.current.callback()}),c)}),[c]);return e((()=>{n.current.callback=u}),[u]),e((()=>(a(),o)),[o,c,a]),[l,o,a]};export{u as useTimeoutFn};
|
|
2
|
+
//# sourceMappingURL=useSetTimeout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSetTimeout.js","sources":["../../../../../../src/core/hooks/useSetTimeout.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nexport type UseTimeoutFnReturn = [() => boolean | null, () => void, () => void];\n\ntype CallBackType = (...args: unknown[]) => unknown\n\ntype LocalStateType = {\n ready: boolean | null\n timeout: ReturnType<typeof setTimeout> | null\n callback: CallBackType\n}\n\nexport const useTimeoutFn = (fn: CallBackType, ms: number = 0): UseTimeoutFnReturn => {\n const store = useRef<LocalStateType>({\n ready: null,\n timeout: null,\n callback: fn,\n })\n\n const isReady = useCallback(() => store.current.ready, [])\n\n const clear = useCallback(() => {\n store.current.ready = null\n store.current.timeout && clearTimeout(store.current.timeout)\n }, [])\n\n const set = useCallback(() => {\n store.current.ready = false\n store.current.timeout && clearTimeout(store.current.timeout)\n\n store.current.timeout = setTimeout(() => {\n store.current.ready = true\n store.current.callback()\n }, ms)\n }, [ms])\n\n // update ref when function changes\n useEffect(() => {\n store.current.callback = fn\n }, [fn])\n\n // set on mount, clear on unmount\n useEffect(() => {\n set()\n\n return clear\n }, [clear, ms, set])\n\n return [isReady, clear, set]\n}\n"],"names":["useTimeoutFn","fn","ms","arguments","length","undefined","store","useRef","ready","timeout","callback","isReady","useCallback","current","clear","clearTimeout","set","setTimeout","useEffect"],"mappings":"qEAYaA,EAAe,SAACC,GAAyD,IAAvCC,EAAUC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,EAC1D,MAAMG,EAAQC,EAAuB,CACnCC,MAAO,KACPC,QAAS,KACTC,SAAUT,IAGNU,EAAUC,GAAY,IAAMN,EAAMO,QAAQL,OAAO,IAEjDM,EAAQF,GAAY,KACxBN,EAAMO,QAAQL,MAAQ,KACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,QAAQ,GAC3D,IAEGO,EAAMJ,GAAY,KACtBN,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQJ,SAAWM,aAAaT,EAAMO,QAAQJ,SAEpDH,EAAMO,QAAQJ,QAAUQ,YAAW,KACjCX,EAAMO,QAAQL,OAAQ,EACtBF,EAAMO,QAAQH,UAAU,GACvBR,EAAG,GACL,CAACA,IAcJ,OAXAgB,GAAU,KACRZ,EAAMO,QAAQH,SAAWT,CAAE,GAC1B,CAACA,IAGJiB,GAAU,KACRF,IAEOF,IACN,CAACA,EAAOZ,EAAIc,IAER,CAACL,EAASG,EAAOE,EAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"other.js","sources":["../../../../../../../src/core/utils/helpers/other.ts"],"sourcesContent":["import { memoizeWith, identity } from 'ramda'\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const nestedTernary = (condition: boolean, branchA: any, branchB: any): any => (condition ? branchA : branchB)\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoize = memoizeWith(identity)\n\n// Beware fellow developer, this is to be used with caution and precison\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoizeComplex = memoizeWith((...args) => JSON.stringify(args))\n\nexport const memoizer\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n= (memoizeFunc = (...args): string => JSON.stringify(args)): ReturnType<typeof memoizeWith> => memoizeWith(memoizeFunc)\n\nexport const debounce = (func: () => void, wait = 100, immediate = false): () => void => {\n let timeout: any\n\n return function debounced(...args) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const context: unknown = this\n const later = (): void => {\n clearTimeout(timeout)\n timeout = null\n if (!immediate) {\n func.apply(context, args)\n }\n }\n const callNow = immediate && !timeout\n\n clearTimeout(timeout)\n timeout = setTimeout(later, wait)\n if (callNow) {\n func.apply(context, args)\n }\n }\n}\n\nexport const delay = (delay: number): Promise<string> => new Promise((resolve) => {\n setTimeout(() => resolve(`delayed: ${delay}`), delay)\n})\n\nexport const AsyncFunctionTemplate = (async (): Promise<void> => {}).constructor\n\nexport const isFunctionAsync = (\n func: () => unknown,\n): boolean => func.constructor === AsyncFunctionTemplate.prototype.constructor\n"],"names":["nestedTernary","condition","branchA","branchB","memoize","memoizeWith","identity","memoizeComplex","_len","arguments","length","args","Array","_key","JSON","stringify","memoizer","memoizeFunc","undefined","_len2","_key2","debounce","func","timeout","wait","immediate","_len3","_key3","context","this","callNow","clearTimeout","setTimeout","later","apply","delay","Promise","resolve","AsyncFunctionTemplate","_asyncToGenerator","constructor","isFunctionAsync","prototype"],"mappings":"uIAGaA,MAAAA,EAAgBA,CAACC,EAAoBC,EAAcC,IAAuBF,EAAYC,EAAUC,EAIhGC,EAAUC,EAAYC,GAKtBC,EAAiBF,GAAY,WAAA,IAAA,IAAAG,EAAAC,UAAAC,OAAIC,EAAIC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAAA,OAAKC,KAAKC,UAAUJ,EAAK,IAE9DK,EAGX,WAAA,IAACC,EAAWR,UAAAC,OAAAD,QAAAS,IAAAT,UAAAS,GAAAT,UAAG,GAAA,WAAA,IAAA,IAAAU,EAAAV,UAAAC,OAAIC,EAAIC,IAAAA,MAAAO,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJT,EAAIS,GAAAX,UAAAW,GAAA,OAAaN,KAAKC,UAAUJ,EAAK,EAAA,OAAqCN,EAAYY,EAAY,EAE1GI,EAAW,SAACC,GAAgE,IACnFC,EADqCC,EAAIf,UAAAC,OAAA,QAAAQ,IAAAT,UAAA,GAAAA,UAAA,GAAG,IAAKgB,EAAShB,UAAAC,OAAA,QAAAQ,IAAAT,UAAA,IAAAA,UAAA,GAG9D,OAAO,WAA4B,IAAA,IAAAiB,EAAAjB,UAAAC,OAANC,EAAIC,IAAAA,MAAAc,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJhB,EAAIgB,GAAAlB,UAAAkB,GAI/B,MAAMC,EAAmBC,KAQnBC,EAAUL,IAAcF,EAE9BQ,aAAaR,GACbA,EAAUS,YAVIC,KACZF,aAAaR,GACbA,EAAU,KACLE,GACHH,EAAKY,MAAMN,EAASjB,EACtB,GAK0Ba,GACxBM,GACFR,EAAKY,MAAMN,EAASjB,GAG1B,EAEawB,EAASA,GAAmC,IAAIC,SAASC,IACpEL,YAAW,IAAMK,EAAQ,YAAYF,MAAUA,EAAM,IAG1CG,EAAwBC,GAAC,YAA6B,IAAEC,YAExDC,EACXnB,GACYA,EAAKkB,cAAgBF,EAAsBI,UAAUF"}
|
|
1
|
+
{"version":3,"file":"other.js","sources":["../../../../../../../src/core/utils/helpers/other.ts"],"sourcesContent":["import { memoizeWith, identity } from 'ramda'\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const nestedTernary = (condition: boolean, branchA: any, branchB: any): any => (condition ? branchA : branchB)\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoize = memoizeWith(identity)\n\n// Beware fellow developer, this is to be used with caution and precison\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nexport const memoizeComplex = memoizeWith((...args) => JSON.stringify(args))\n\nexport const memoizer\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n= (memoizeFunc = (...args): string => JSON.stringify(args)): ReturnType<typeof memoizeWith> => memoizeWith(memoizeFunc)\n\nexport const debounce = (func: () => void, wait = 100, immediate = false): () => void => {\n let timeout: any\n\n return function debounced(...args) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const context: unknown = this\n const later = (): void => {\n clearTimeout(timeout)\n timeout = null\n if (!immediate) {\n func.apply(context, args)\n }\n }\n const callNow = immediate && !timeout\n\n clearTimeout(timeout)\n timeout = setTimeout(later, wait)\n if (callNow) {\n func.apply(context, args)\n }\n }\n}\n\nexport const delay = (delay: number): Promise<string> => new Promise((resolve) => {\n setTimeout(() => resolve(`delayed: ${delay}`), delay)\n})\n\nexport const AsyncFunctionTemplate = (async (): Promise<void> => {}).constructor\n\nexport const isFunctionAsync = (\n func: (...args: any[]) => unknown,\n): boolean => func.constructor === AsyncFunctionTemplate.prototype.constructor\n"],"names":["nestedTernary","condition","branchA","branchB","memoize","memoizeWith","identity","memoizeComplex","_len","arguments","length","args","Array","_key","JSON","stringify","memoizer","memoizeFunc","undefined","_len2","_key2","debounce","func","timeout","wait","immediate","_len3","_key3","context","this","callNow","clearTimeout","setTimeout","later","apply","delay","Promise","resolve","AsyncFunctionTemplate","_asyncToGenerator","constructor","isFunctionAsync","prototype"],"mappings":"uIAGaA,MAAAA,EAAgBA,CAACC,EAAoBC,EAAcC,IAAuBF,EAAYC,EAAUC,EAIhGC,EAAUC,EAAYC,GAKtBC,EAAiBF,GAAY,WAAA,IAAA,IAAAG,EAAAC,UAAAC,OAAIC,EAAIC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAJF,EAAIE,GAAAJ,UAAAI,GAAA,OAAKC,KAAKC,UAAUJ,EAAK,IAE9DK,EAGX,WAAA,IAACC,EAAWR,UAAAC,OAAAD,QAAAS,IAAAT,UAAAS,GAAAT,UAAG,GAAA,WAAA,IAAA,IAAAU,EAAAV,UAAAC,OAAIC,EAAIC,IAAAA,MAAAO,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJT,EAAIS,GAAAX,UAAAW,GAAA,OAAaN,KAAKC,UAAUJ,EAAK,EAAA,OAAqCN,EAAYY,EAAY,EAE1GI,EAAW,SAACC,GAAgE,IACnFC,EADqCC,EAAIf,UAAAC,OAAA,QAAAQ,IAAAT,UAAA,GAAAA,UAAA,GAAG,IAAKgB,EAAShB,UAAAC,OAAA,QAAAQ,IAAAT,UAAA,IAAAA,UAAA,GAG9D,OAAO,WAA4B,IAAA,IAAAiB,EAAAjB,UAAAC,OAANC,EAAIC,IAAAA,MAAAc,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAJhB,EAAIgB,GAAAlB,UAAAkB,GAI/B,MAAMC,EAAmBC,KAQnBC,EAAUL,IAAcF,EAE9BQ,aAAaR,GACbA,EAAUS,YAVIC,KACZF,aAAaR,GACbA,EAAU,KACLE,GACHH,EAAKY,MAAMN,EAASjB,EACtB,GAK0Ba,GACxBM,GACFR,EAAKY,MAAMN,EAASjB,GAG1B,EAEawB,EAASA,GAAmC,IAAIC,SAASC,IACpEL,YAAW,IAAMK,EAAQ,YAAYF,MAAUA,EAAM,IAG1CG,EAAwBC,GAAC,YAA6B,IAAEC,YAExDC,EACXnB,GACYA,EAAKkB,cAAgBF,EAAsBI,UAAUF"}
|