@e1011/es-kit 1.1.44 → 1.1.46

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 (24) hide show
  1. package/dist/hooks/esm/index.css +226 -226
  2. package/dist/hooks/index.css +226 -226
  3. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
  4. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +2 -0
  5. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -0
  6. package/dist/lib/cjs/src/index.js +1 -1
  7. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
  8. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +2 -0
  9. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -0
  10. package/dist/lib/esm/src/index.js +1 -1
  11. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  12. package/dist/types/src/core/utils/appState/peregrineMQ/index.d.ts +1 -1
  13. package/dist/types/src/core/utils/appState/peregrineMQ/index.d.ts.map +1 -1
  14. package/dist/utils/esm/index.css +226 -226
  15. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
  16. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +2 -0
  17. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -0
  18. package/dist/utils/esm/src/core/utils/index.js +1 -1
  19. package/dist/utils/index.css +226 -226
  20. package/dist/utils/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
  21. package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +2 -0
  22. package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -0
  23. package/dist/utils/src/core/utils/index.js +1 -1
  24. package/package.json +1 -1
@@ -1,51 +1,11 @@
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);
7
- }
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);
13
- }
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);
19
- }
20
- .icon-module_icon-base-parent__nOMvW {
21
- line-height: 1px !important;
1
+ .errorBoundary-module_errorBoundary__gk9ps {
2
+ background: #EFEFEF;
3
+ width: 100%;
4
+ height: 100%;
22
5
  }
23
6
 
24
- .icon-module_icon-base__S0tHf {
25
- min-width: var(--min-width);
26
- min-height: var(--min-height);
27
- width: var(--width) !important;
28
- height: var(--height) !important;
29
- line-height: 1px !important;
30
- background-color: var(--icon-color);
31
- color: var(--icon-content-color);
32
- background-repeat: no-repeat;
33
- mask-image: var(--icon-url);
34
- -webkit-mask-image: var(--icon-url);
35
- mask-repeat: no-repeat;
36
- -webkit-mask-repeat: no-repeat;
37
- mask-size: contain;
38
- -webkit-mask-size: contain;
39
- mask-position: center;
40
- -webkit-mask-position: center;
41
- display: inline-block;
42
- will-change: transform;
43
- transform: translate3d(0, 0, 0);
44
- }
45
- .icon-module_icon-base__S0tHf svg {
46
- fill: var(--icon-content-color);
47
- width: var(--height);
48
- height: var(--width);
7
+ .errorBoundary-module_StyledIcon__IYHiU {
8
+ margin-right: 10px;
49
9
  }
50
10
  .CollapsibleContainer-module_collapsible-container__u0Jmm {
51
11
  transform-origin: 0% 0%;
@@ -80,14 +40,54 @@
80
40
  max-width: var(--prop-value);
81
41
  opacity: 1;
82
42
  }
83
- .errorBoundary-module_errorBoundary__gk9ps {
84
- background: #EFEFEF;
85
- width: 100%;
86
- height: 100%;
43
+ .icon-module_icon-base-parent__nOMvW {
44
+ line-height: 1px !important;
87
45
  }
88
46
 
89
- .errorBoundary-module_StyledIcon__IYHiU {
90
- margin-right: 10px;
47
+ .icon-module_icon-base__S0tHf {
48
+ min-width: var(--min-width);
49
+ min-height: var(--min-height);
50
+ width: var(--width) !important;
51
+ height: var(--height) !important;
52
+ line-height: 1px !important;
53
+ background-color: var(--icon-color);
54
+ color: var(--icon-content-color);
55
+ background-repeat: no-repeat;
56
+ mask-image: var(--icon-url);
57
+ -webkit-mask-image: var(--icon-url);
58
+ mask-repeat: no-repeat;
59
+ -webkit-mask-repeat: no-repeat;
60
+ mask-size: contain;
61
+ -webkit-mask-size: contain;
62
+ mask-position: center;
63
+ -webkit-mask-position: center;
64
+ display: inline-block;
65
+ will-change: transform;
66
+ transform: translate3d(0, 0, 0);
67
+ }
68
+ .icon-module_icon-base__S0tHf svg {
69
+ fill: var(--icon-content-color);
70
+ width: var(--height);
71
+ height: var(--width);
72
+ }
73
+ .divider-module_divider-line__6CesR {
74
+ position: relative;
75
+ display: block;
76
+ transition: opacity, width, height 250ms ease-in-out;
77
+ background-color: var(--color);
78
+ opacity: var(--opacity);
79
+ }
80
+ .divider-module_divider-line__6CesR.divider-module_vertical__qSVWD {
81
+ height: var(--length);
82
+ left: var(--left);
83
+ width: var(--width);
84
+ margin: var(--margin);
85
+ }
86
+ .divider-module_divider-line__6CesR.divider-module_horizontal__Gz-Oj {
87
+ width: var(--length);
88
+ left: var(--left);
89
+ height: var(--height);
90
+ margin: var(--margin);
91
91
  }
92
92
  .field-module_field__UfKm3 {
93
93
  opacity: 1;
@@ -163,6 +163,30 @@
163
163
  .field-module_field__UfKm3 label {
164
164
  text-align: left;
165
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
+ }
166
190
  .lazyComponent-module_loader__brMEW {
167
191
  position: relative;
168
192
  width: 100px;
@@ -206,48 +230,77 @@
206
230
  stroke-dashoffset: -124;
207
231
  }
208
232
  }
209
- .layoutBox-module_layout-box__ZIID8 {
210
- display: flex;
211
- position: relative;
212
- flex-direction: row;
213
- flex: 0;
233
+ :root {
234
+ --divider-line: #4a4b4b;
235
+ }
236
+
237
+ .typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
238
+ overflow: hidden !important;
239
+ }
240
+
241
+ .typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
242
+ white-space: nowrap !important;
243
+ }
244
+
245
+ .typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
246
+ text-overflow: ellipsis !important;
247
+ }
248
+
249
+ .typography-module_headline__b0XlP {
250
+ font-size: 28px;
251
+ line-height: 32px;
252
+ }
253
+
254
+ .typography-module_headlineSecondary__IDnhT {
255
+ font-size: 24px;
256
+ line-height: 28px;
257
+ }
258
+
259
+ .typography-module_headlineTertiary__mlG-v {
260
+ font-size: 18px;
261
+ line-height: 24x;
262
+ }
263
+
264
+ .typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
265
+ font-size: 14px;
266
+ line-height: 18px;
267
+ font-weight: 300;
268
+ }
269
+
270
+ .typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
271
+ font-size: 12px;
272
+ }
273
+
274
+ .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
275
+ font-weight: 600;
276
+ }
277
+
278
+ .typography-module_link__DWurf {
279
+ overflow: hidden !important;
280
+ white-space: nowrap !important;
281
+ text-overflow: ellipsis !important;
282
+ text-decoration: none;
283
+ color: #65C5F6;
284
+ display: inline;
285
+ gap: 4px;
214
286
  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;
287
+ max-width: 400px;
288
+ position: relative;
289
+ vertical-align: center;
290
+ }
291
+ .typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
292
+ text-decoration: underline;
293
+ color: #65C5F6;
294
+ }
295
+ .typography-module_link__DWurf.typography-module_disabled__hjK8C {
296
+ pointer-events: none;
297
+ opacity: 0.6;
232
298
  }
233
299
  .textAndContent-module_textAndContent__X5P1n {
234
300
  align-items: baseline;
235
301
  flex-shrink: 1;
236
302
  gap: 8px;
237
303
  }
238
- .flowLayout-module_flowLayout__VHpnY {
239
- overflow: auto;
240
- }
241
- .flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
242
- display: flex;
243
- width: 100%;
244
- min-width: 0;
245
- }
246
- .flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
247
- display: flex;
248
- width: 100%;
249
- min-width: 0;
250
- }
251
304
  :root {
252
305
  --divider-line: #4a4b4b;
253
306
  }
@@ -362,71 +415,114 @@
362
415
  .cui-theme-light .button-module_button__NDMQS {
363
416
  color: #090A0A;
364
417
  }
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
+ }
365
431
  :root {
366
432
  --divider-line: #4a4b4b;
367
433
  }
368
434
 
369
- .typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
435
+ .popup-module_overflow-hidden__uimg4, .popup-module_text-truncate__y-5c1 {
370
436
  overflow: hidden !important;
371
437
  }
372
438
 
373
- .typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
439
+ .popup-module_text-nowrap__eDCv3, .popup-module_text-truncate__y-5c1 {
374
440
  white-space: nowrap !important;
375
441
  }
376
442
 
377
- .typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
443
+ .popup-module_text-ellipsis__yu8nx, .popup-module_text-truncate__y-5c1 {
378
444
  text-overflow: ellipsis !important;
379
445
  }
380
446
 
381
- .typography-module_headline__b0XlP {
382
- font-size: 28px;
383
- line-height: 32px;
447
+ .popup-module_popup-container__PJ0oQ {
448
+ --popup-width: 60vw;
449
+ --popup-height: 50vh;
450
+ position: fixed;
451
+ width: var(--popup-width);
452
+ height: var(--popup-height);
453
+ --slideXFrom: 0;
454
+ --slideYFrom: 0;
455
+ will-change: opacity;
456
+ transition: opacity 300ms ease-in-out;
457
+ opacity: 0;
458
+ visibility: hidden;
459
+ pointer-events: none;
384
460
  }
385
-
386
- .typography-module_headlineSecondary__IDnhT {
387
- font-size: 24px;
388
- line-height: 28px;
461
+ .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz {
462
+ position: relative;
463
+ flex-direction: column;
464
+ align-items: start;
465
+ width: 100%;
466
+ height: 100%;
467
+ overflow-x: clip;
468
+ background-color: #090A0A;
469
+ border-radius: 4px;
470
+ box-shadow: 0px 10px 20px 4px rgba(0, 0, 0, 0.15);
471
+ transition: transform 350ms ease-out;
472
+ will-change: transform;
473
+ transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
389
474
  }
390
-
391
- .typography-module_headlineTertiary__mlG-v {
392
- font-size: 18px;
393
- line-height: 24x;
475
+ .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz button {
476
+ margin-bottom: 0;
394
477
  }
395
-
396
- .typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
397
- font-size: 14px;
398
- line-height: 18px;
399
- font-weight: 300;
478
+ .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx {
479
+ cursor: pointer;
480
+ line-height: 1px;
481
+ background-color: rgba(255, 255, 255, 0);
400
482
  }
401
-
402
- .typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
403
- font-size: 12px;
483
+ .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx .icon-base {
484
+ background-color: #FDDA0D;
485
+ width: 9px !important;
486
+ height: 9px !important;
487
+ line-height: 1px !important;
404
488
  }
405
-
406
- .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
407
- font-weight: 600;
489
+ .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx:hover .icon-base {
490
+ background-color: #FFEA00;
408
491
  }
409
-
410
- .typography-module_link__DWurf {
411
- overflow: hidden !important;
412
- white-space: nowrap !important;
413
- text-overflow: ellipsis !important;
414
- text-decoration: none;
415
- color: #65C5F6;
416
- display: inline;
417
- gap: 4px;
418
- flex-grow: 0;
419
- max-width: 400px;
420
- position: relative;
421
- vertical-align: center;
492
+ .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm {
493
+ width: 100%;
494
+ height: 100%;
495
+ padding: 24px;
496
+ overflow-y: auto;
497
+ display: flex;
422
498
  }
423
- .typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
424
- text-decoration: underline;
425
- color: #65C5F6;
499
+ .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm > * {
500
+ overflow-y: auto;
426
501
  }
427
- .typography-module_link__DWurf.typography-module_disabled__hjK8C {
502
+ .popup-module_popup-container__PJ0oQ[data-show] {
503
+ opacity: 1;
504
+ visibility: visible;
505
+ pointer-events: all;
506
+ }
507
+ .popup-module_popup-container__PJ0oQ[data-show] .popup-module_popup-container-inner__n83Cz {
508
+ transform: translateX(0) translateY(0);
509
+ }
510
+ .popup-module_popup-container__PJ0oQ[data-show=false] {
511
+ opacity: 0;
512
+ visibility: hidden;
428
513
  pointer-events: none;
429
- opacity: 0.6;
514
+ }
515
+ .popup-module_popup-container__PJ0oQ[data-show=false] .popup-module_popup-container-inner__n83Cz {
516
+ transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
517
+ }
518
+
519
+ .cui-theme-dark .popup-module_popup-container-inner__n83Cz {
520
+ background-color: #090A0A;
521
+ color: #F4F4F4;
522
+ }
523
+ .cui-theme-light .popup-module_popup-container-inner__n83Cz {
524
+ background-color: #090A0A;
525
+ color: #F4F4F4;
430
526
  }
431
527
  :root {
432
528
  --divider-line: #4a4b4b;
@@ -592,102 +688,6 @@
592
688
  border-color: #FD8F3E;
593
689
  color: #632E03;
594
690
  }
595
- :root {
596
- --divider-line: #4a4b4b;
597
- }
598
-
599
- .popup-module_overflow-hidden__uimg4, .popup-module_text-truncate__y-5c1 {
600
- overflow: hidden !important;
601
- }
602
-
603
- .popup-module_text-nowrap__eDCv3, .popup-module_text-truncate__y-5c1 {
604
- white-space: nowrap !important;
605
- }
606
-
607
- .popup-module_text-ellipsis__yu8nx, .popup-module_text-truncate__y-5c1 {
608
- text-overflow: ellipsis !important;
609
- }
610
-
611
- .popup-module_popup-container__PJ0oQ {
612
- --popup-width: 60vw;
613
- --popup-height: 50vh;
614
- position: fixed;
615
- width: var(--popup-width);
616
- height: var(--popup-height);
617
- --slideXFrom: 0;
618
- --slideYFrom: 0;
619
- will-change: opacity;
620
- transition: opacity 300ms ease-in-out;
621
- opacity: 0;
622
- visibility: hidden;
623
- pointer-events: none;
624
- }
625
- .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz {
626
- position: relative;
627
- flex-direction: column;
628
- align-items: start;
629
- width: 100%;
630
- height: 100%;
631
- overflow-x: clip;
632
- background-color: #090A0A;
633
- border-radius: 4px;
634
- box-shadow: 0px 10px 20px 4px rgba(0, 0, 0, 0.15);
635
- transition: transform 350ms ease-out;
636
- will-change: transform;
637
- transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
638
- }
639
- .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz button {
640
- margin-bottom: 0;
641
- }
642
- .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx {
643
- cursor: pointer;
644
- line-height: 1px;
645
- background-color: rgba(255, 255, 255, 0);
646
- }
647
- .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx .icon-base {
648
- background-color: #FDDA0D;
649
- width: 9px !important;
650
- height: 9px !important;
651
- line-height: 1px !important;
652
- }
653
- .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx:hover .icon-base {
654
- background-color: #FFEA00;
655
- }
656
- .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm {
657
- width: 100%;
658
- height: 100%;
659
- padding: 24px;
660
- overflow-y: auto;
661
- display: flex;
662
- }
663
- .popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm > * {
664
- overflow-y: auto;
665
- }
666
- .popup-module_popup-container__PJ0oQ[data-show] {
667
- opacity: 1;
668
- visibility: visible;
669
- pointer-events: all;
670
- }
671
- .popup-module_popup-container__PJ0oQ[data-show] .popup-module_popup-container-inner__n83Cz {
672
- transform: translateX(0) translateY(0);
673
- }
674
- .popup-module_popup-container__PJ0oQ[data-show=false] {
675
- opacity: 0;
676
- visibility: hidden;
677
- pointer-events: none;
678
- }
679
- .popup-module_popup-container__PJ0oQ[data-show=false] .popup-module_popup-container-inner__n83Cz {
680
- transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
681
- }
682
-
683
- .cui-theme-dark .popup-module_popup-container-inner__n83Cz {
684
- background-color: #090A0A;
685
- color: #F4F4F4;
686
- }
687
- .cui-theme-light .popup-module_popup-container-inner__n83Cz {
688
- background-color: #090A0A;
689
- color: #F4F4F4;
690
- }
691
691
  .popup-overlay-module_popup-modal-overlay__dlJqM {
692
692
  z-index: 1;
693
693
  position: fixed;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../src/core/utils/appState/peregrineMQ/index.ts"],"sourcesContent":["import { PeregrineMQ } from './peregrineMQ'\n\nexport { PeregrineMQ, PeregrineMQClearError } from './peregrineMQ'\n\nexport const peregrineMQInstance = new PeregrineMQ()\n\nexport default peregrineMQInstance\n\n\nexport type * from './peregrineMQ.types'\nexport type * from './usePeregrineMQ.react'\n"],"names":["peregrineMQInstance","PeregrineMQ"],"mappings":"4GAIaA,EAAsB,IAAIC,EAAWA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../src/core/utils/appState/peregrineMQ/index.ts"],"sourcesContent":["import { PeregrineMQ } from './peregrineMQ'\n\nexport { PeregrineMQ, PeregrineMQClearError } from './peregrineMQ'\n\nexport const peregrineMQInstance = new PeregrineMQ()\n\nexport default peregrineMQInstance\n\n\nexport type * from './peregrineMQ.types'\nexport * from './usePeregrineMQ.react'\n"],"names":["peregrineMQInstance","PeregrineMQ"],"mappings":"4GAIaA,EAAsB,IAAIC,EAAWA"}
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("react");exports.usePeregrineMQ=(r,s,u)=>{const t=e.useCallback(u,[u]),c=e.useRef();return e.useEffect((()=>(c.current=r.subscribe(s,t),()=>{c?.current?.()})),[t,s,r]),[c,r.publish]};
2
+ //# sourceMappingURL=usePeregrineMQ.react.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePeregrineMQ.react.js","sources":["../../../../../../../src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nimport { PeregrineMQ } from './peregrineMQ'\nimport { Callback } from './peregrineMQ.types'\n\nexport type usePeregrineMQReturnType = [\n { current?: () => boolean },\n <T>(channel: string, data?: T) => boolean\n]\n\nexport const usePeregrineMQ = (\n peregrineInstance: PeregrineMQ, channel: string, callback: Callback,\n): usePeregrineMQReturnType => {\n const memCallback = useCallback(callback, [callback])\n\n const unsubscribeRef = useRef<ReturnType<typeof peregrineInstance.subscribe>>()\n\n useEffect(() => {\n unsubscribeRef.current = peregrineInstance.subscribe(channel, memCallback)\n\n return (): void => {\n unsubscribeRef?.current?.()\n }\n }, [memCallback, channel, peregrineInstance])\n\n return [unsubscribeRef, peregrineInstance.publish]\n}\n"],"names":["usePeregrineMQ","peregrineInstance","channel","callback","memCallback","useCallback","unsubscribeRef","useRef","useEffect","current","subscribe","publish"],"mappings":"2DAU8BA,CAC5BC,EAAgCC,EAAiBC,KAEjD,MAAMC,EAAcC,EAAWA,YAACF,EAAU,CAACA,IAErCG,EAAiBC,EAAAA,SAUvB,OARAC,EAAAA,WAAU,KACRF,EAAeG,QAAUR,EAAkBS,UAAUR,EAASE,GAEvD,KACLE,GAAgBG,WAAW,IAE5B,CAACL,EAAaF,EAASD,IAEnB,CAACK,EAAgBL,EAAkBU,QAAQ"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./keyExtractor.js"),t=require("./date.js"),r=require("./appState/peregrineMQ/index.js"),a=require("./helpers/birthnumber.validator.js"),s=require("./helpers/birthnumberCZSKvalidator.js"),o=require("./helpers/fileValidator.js"),i=require("./helpers/date.js"),p=require("./helpers/deviceInfo.js"),n=require("./helpers/emailMatcher.js"),l=require("./helpers/file.js"),x=require("./helpers/objectOperations.js"),m=require("./helpers/other.js"),c=require("./helpers/textValueOperations.js"),u=require("./helpers/valueOperations.js"),d=require("./helpers/cancelableDelayedFunction.js"),S=require("./helpers/ui.js"),T=require("./helpers/text.js"),h=require("./webComponents/webComponent.utils.js"),g=require("./appState/store/store.vanillajs.js"),v=require("./appState/store/store.vanillajs.templates.js"),b=require("./appState/store/useStore.react.js"),M=require("./appState/peregrineMQ/peregrineMQ.js"),j=require("./appState/stateMachine/tiny-state-machine.base.js");exports.keyExtractor=e.keyExtractor,exports.keyExtractorFunction=e.keyExtractorFunction,exports.dateRangeFormat=t.dateRangeFormat,exports.getDateTime=t.getDateTime,exports.getTimeFromNow=t.getTimeFromNow,exports.getTimeFromNowOriginal=t.getTimeFromNowOriginal,exports.getTimeTo=t.getTimeTo,exports.peregrineMQInstance=r.peregrineMQInstance,exports.isBirthNumberValid=a.isBirthNumberValid,exports.getMatch=s.getMatch,exports.isValidFormat=s.isValidFormat,exports.isValidModulo11=s.isValidModulo11,exports.parse=s.parse,exports.regex=s.regex,exports.parseCSVdata=o.parseCSVdata,exports.validateCSVFile=o.validateCSVFile,exports.validateCSVlines=o.validateCSVlines,exports.validateJSONFile=o.validateJSONFile,exports.validateLineCellTrimmed=o.validateLineCellTrimmed,exports.validateLineNumColumns=o.validateLineNumColumns,exports.validateSDFFile=o.validateSDFFile,exports.DATE_FORMAT=i.DATE_FORMAT,exports.DATE_TIME_FORMAT=i.DATE_TIME_FORMAT,exports.formatDate=i.formatDate,exports.formatDateTime=i.formatDateTime,exports.formatDateToTimestamp=i.formatDateToTimestamp,exports.getDate=i.getDate,exports.getDeviceId=p.getDeviceId,exports.emailMatch=n.emailMatch,exports.emailMatcher=n.emailMatcher,exports.regexBuilder=n.regexBuilder,exports.cleanCsvLines=l.cleanCsvLines,exports.formatFilePath=l.formatFilePath,exports.arrayToObjectTree=x.arrayToObjectTree,exports.chunkArray=x.chunkArray,exports.duplicatesInArray=x.duplicatesInArray,exports.formatJsonString=x.formatJsonString,exports.formatObj=x.formatObj,exports.formatObj2=x.formatObj2,exports.AsyncFunctionTemplate=m.AsyncFunctionTemplate,exports.debounce=m.debounce,exports.delay=m.delay,exports.isFunctionAsync=m.isFunctionAsync,exports.memoize=m.memoize,exports.memoizeComplex=m.memoizeComplex,exports.memoizer=m.memoizer,exports.nestedTernary=m.nestedTernary,exports.escapeRegExp=c.escapeRegExp,exports.fileNameExt=c.fileNameExt,exports.findStringInText=c.findStringInText,exports.normalizeString=c.normalizeString,exports.removeWhitespaces=c.removeWhitespaces,exports.sanitizeId=c.sanitizeId,exports.sanitizePathId=c.sanitizePathId,exports.toLowerCase=c.toLowerCase,exports.toUpperCase=c.toUpperCase,exports.truncateText=c.truncateText,exports.Operation=u.Operation,exports.decrementValue=u.decrementValue,exports.incerementValue=u.incerementValue,exports.numberDefined=u.numberDefined,exports.numberOperation=u.numberOperation,exports.restrictNumberInLimits=u.restrictNumberInLimits,exports.setValue=u.setValue,exports.cancelableSetInterval=d.cancelableSetInterval,exports.cancelableSetTimeout=d.cancelableSetTimeout,exports.anchorClick=S.anchorClick,exports.classNames=S.classNames,exports.generateId=S.generateId,exports.mapSerReplacer=S.mapSerReplacer,exports.noop=S.noop,exports.parseProps=S.parseProps,exports.composeId=T.composeId,exports.defaultSanitizeConfig=T.defaultSanitizeConfig,exports.sanitizeHtml=T.sanitizeHtml,exports.ced=h.ced,exports.createResolveAttribute=h.createResolveAttribute,exports.customElementDefine=h.customElementDefine,exports.resolveAttributes=h.resolveAttributes,exports.createStore=g.createStore,exports.createDataStore=v.createDataStore,exports.useStore=b.useStore,exports.useStoreApi=b.useStoreApi,exports.PeregrineMQ=M.PeregrineMQ,exports.PeregrineMQClearError=M.PeregrineMQClearError,exports.TinyStateMachine=j.TinyStateMachine,exports.TinyStateMachineEvent=j.TinyStateMachineEvent,exports.TinyStateMachineEventType=j.TinyStateMachineEventType,exports.TinyStateMachineState=j.TinyStateMachineState,exports.createStates=j.createStates,exports.stateIterator=j.stateIterator;
1
+ "use strict";var e=require("./keyExtractor.js"),t=require("./date.js"),r=require("./appState/peregrineMQ/index.js"),a=require("./helpers/birthnumber.validator.js"),s=require("./helpers/birthnumberCZSKvalidator.js"),o=require("./helpers/fileValidator.js"),i=require("./helpers/date.js"),p=require("./helpers/deviceInfo.js"),n=require("./helpers/emailMatcher.js"),l=require("./helpers/file.js"),x=require("./helpers/objectOperations.js"),m=require("./helpers/other.js"),c=require("./helpers/textValueOperations.js"),u=require("./helpers/valueOperations.js"),d=require("./helpers/cancelableDelayedFunction.js"),S=require("./helpers/ui.js"),T=require("./helpers/text.js"),g=require("./webComponents/webComponent.utils.js"),h=require("./appState/store/store.vanillajs.js"),M=require("./appState/store/store.vanillajs.templates.js"),v=require("./appState/store/useStore.react.js"),b=require("./appState/peregrineMQ/peregrineMQ.js"),j=require("./appState/peregrineMQ/usePeregrineMQ.react.js"),y=require("./appState/stateMachine/tiny-state-machine.base.js");exports.keyExtractor=e.keyExtractor,exports.keyExtractorFunction=e.keyExtractorFunction,exports.dateRangeFormat=t.dateRangeFormat,exports.getDateTime=t.getDateTime,exports.getTimeFromNow=t.getTimeFromNow,exports.getTimeFromNowOriginal=t.getTimeFromNowOriginal,exports.getTimeTo=t.getTimeTo,exports.peregrineMQInstance=r.peregrineMQInstance,exports.isBirthNumberValid=a.isBirthNumberValid,exports.getMatch=s.getMatch,exports.isValidFormat=s.isValidFormat,exports.isValidModulo11=s.isValidModulo11,exports.parse=s.parse,exports.regex=s.regex,exports.parseCSVdata=o.parseCSVdata,exports.validateCSVFile=o.validateCSVFile,exports.validateCSVlines=o.validateCSVlines,exports.validateJSONFile=o.validateJSONFile,exports.validateLineCellTrimmed=o.validateLineCellTrimmed,exports.validateLineNumColumns=o.validateLineNumColumns,exports.validateSDFFile=o.validateSDFFile,exports.DATE_FORMAT=i.DATE_FORMAT,exports.DATE_TIME_FORMAT=i.DATE_TIME_FORMAT,exports.formatDate=i.formatDate,exports.formatDateTime=i.formatDateTime,exports.formatDateToTimestamp=i.formatDateToTimestamp,exports.getDate=i.getDate,exports.getDeviceId=p.getDeviceId,exports.emailMatch=n.emailMatch,exports.emailMatcher=n.emailMatcher,exports.regexBuilder=n.regexBuilder,exports.cleanCsvLines=l.cleanCsvLines,exports.formatFilePath=l.formatFilePath,exports.arrayToObjectTree=x.arrayToObjectTree,exports.chunkArray=x.chunkArray,exports.duplicatesInArray=x.duplicatesInArray,exports.formatJsonString=x.formatJsonString,exports.formatObj=x.formatObj,exports.formatObj2=x.formatObj2,exports.AsyncFunctionTemplate=m.AsyncFunctionTemplate,exports.debounce=m.debounce,exports.delay=m.delay,exports.isFunctionAsync=m.isFunctionAsync,exports.memoize=m.memoize,exports.memoizeComplex=m.memoizeComplex,exports.memoizer=m.memoizer,exports.nestedTernary=m.nestedTernary,exports.escapeRegExp=c.escapeRegExp,exports.fileNameExt=c.fileNameExt,exports.findStringInText=c.findStringInText,exports.normalizeString=c.normalizeString,exports.removeWhitespaces=c.removeWhitespaces,exports.sanitizeId=c.sanitizeId,exports.sanitizePathId=c.sanitizePathId,exports.toLowerCase=c.toLowerCase,exports.toUpperCase=c.toUpperCase,exports.truncateText=c.truncateText,exports.Operation=u.Operation,exports.decrementValue=u.decrementValue,exports.incerementValue=u.incerementValue,exports.numberDefined=u.numberDefined,exports.numberOperation=u.numberOperation,exports.restrictNumberInLimits=u.restrictNumberInLimits,exports.setValue=u.setValue,exports.cancelableSetInterval=d.cancelableSetInterval,exports.cancelableSetTimeout=d.cancelableSetTimeout,exports.anchorClick=S.anchorClick,exports.classNames=S.classNames,exports.generateId=S.generateId,exports.mapSerReplacer=S.mapSerReplacer,exports.noop=S.noop,exports.parseProps=S.parseProps,exports.composeId=T.composeId,exports.defaultSanitizeConfig=T.defaultSanitizeConfig,exports.sanitizeHtml=T.sanitizeHtml,exports.ced=g.ced,exports.createResolveAttribute=g.createResolveAttribute,exports.customElementDefine=g.customElementDefine,exports.resolveAttributes=g.resolveAttributes,exports.createStore=h.createStore,exports.createDataStore=M.createDataStore,exports.useStore=v.useStore,exports.useStoreApi=v.useStoreApi,exports.PeregrineMQ=b.PeregrineMQ,exports.PeregrineMQClearError=b.PeregrineMQClearError,exports.usePeregrineMQ=j.usePeregrineMQ,exports.TinyStateMachine=y.TinyStateMachine,exports.TinyStateMachineEvent=y.TinyStateMachineEvent,exports.TinyStateMachineEventType=y.TinyStateMachineEventType,exports.TinyStateMachineState=y.TinyStateMachineState,exports.createStates=y.createStates,exports.stateIterator=y.stateIterator;
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e1011/es-kit",
3
- "version": "1.1.44",
3
+ "version": "1.1.46",
4
4
  "main": "dist/lib/cjs/src/index.js",
5
5
  "module": "dist/lib/esm/src/index.js",
6
6
  "sideEffects": false,