@sankhyalabs/ezui 1.1.89 → 1.1.90

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 (66) hide show
  1. package/dist/cjs/{AssetsUtils-caf95dab.js → AssetsUtils-4909c6de.js} +1 -1
  2. package/dist/cjs/ez-action-chip.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-button_11.cjs.entry.js +55 -11
  5. package/dist/cjs/ez-calendar.cjs.entry.js +11 -4
  6. package/dist/cjs/ez-collapsible-box_7.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-form.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-label-chip.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
  14. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  15. package/dist/cjs/ezui.cjs.js +2 -2
  16. package/dist/cjs/{index-0bce1636.js → index-88286449.js} +358 -8
  17. package/dist/cjs/loader.cjs.js +2 -2
  18. package/dist/collection/components/ez-calendar/ez-calendar.css +33 -29
  19. package/dist/collection/components/ez-calendar/ez-calendar.js +9 -2
  20. package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +7 -5
  21. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +42 -1
  22. package/dist/collection/components/ez-grid/ez-grid.css +7 -2
  23. package/dist/collection/components/ez-grid/ez-grid.js +6 -3
  24. package/dist/collection/components/ez-list/ez-list.js +2 -1
  25. package/dist/custom-elements/index.js +64 -13
  26. package/dist/esm/{AssetsUtils-9b1d9c38.js → AssetsUtils-9b1329a3.js} +1 -1
  27. package/dist/esm/ez-action-chip.entry.js +1 -1
  28. package/dist/esm/ez-application.entry.js +1 -1
  29. package/dist/esm/ez-button_11.entry.js +55 -11
  30. package/dist/esm/ez-calendar.entry.js +11 -4
  31. package/dist/esm/ez-collapsible-box_7.entry.js +1 -1
  32. package/dist/esm/ez-combo-box.entry.js +1 -1
  33. package/dist/esm/ez-dialog.entry.js +1 -1
  34. package/dist/esm/ez-form.entry.js +1 -1
  35. package/dist/esm/ez-label-chip.entry.js +1 -1
  36. package/dist/esm/ez-popover.entry.js +1 -1
  37. package/dist/esm/ez-popup.entry.js +1 -1
  38. package/dist/esm/ez-time-input.entry.js +2 -2
  39. package/dist/esm/ez-toast.entry.js +1 -1
  40. package/dist/esm/ezui.js +2 -2
  41. package/dist/esm/{index-d80a8d1f.js → index-6b8bfbeb.js} +358 -8
  42. package/dist/esm/loader.js +2 -2
  43. package/dist/ezui/ezui.esm.js +1 -1
  44. package/dist/ezui/{p-091b27f2.entry.js → p-020f1285.entry.js} +1 -1
  45. package/dist/ezui/{p-27a35580.entry.js → p-038fd0cb.entry.js} +1 -1
  46. package/dist/ezui/{p-f87c7082.js → p-477bb703.js} +1 -1
  47. package/dist/ezui/{p-4e08b842.entry.js → p-4c20d96e.entry.js} +1 -1
  48. package/dist/ezui/{p-a52b3368.entry.js → p-502d7e0d.entry.js} +1 -1
  49. package/dist/ezui/{p-19d8a928.entry.js → p-542d3d29.entry.js} +1 -1
  50. package/dist/ezui/{p-826b6c4d.entry.js → p-552a0b2e.entry.js} +1 -1
  51. package/dist/ezui/{p-3e79877f.entry.js → p-60469339.entry.js} +1 -1
  52. package/dist/ezui/{p-eefc1f9d.entry.js → p-7e0281cd.entry.js} +1 -1
  53. package/dist/ezui/p-89a57641.js +1 -0
  54. package/dist/ezui/p-95fc543c.entry.js +1 -0
  55. package/dist/ezui/{p-b678dc80.entry.js → p-b217f40b.entry.js} +1 -1
  56. package/dist/ezui/{p-6206515e.entry.js → p-b8678ee6.entry.js} +1 -1
  57. package/dist/ezui/p-d22db59d.entry.js +1 -0
  58. package/dist/ezui/{p-93bb1854.entry.js → p-f241de18.entry.js} +2 -2
  59. package/dist/types/components/ez-calendar/ez-calendar.d.ts +1 -0
  60. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +8 -0
  61. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
  62. package/package.json +2 -2
  63. package/dist/collection/utils/FloatingManager.js +0 -16
  64. package/dist/ezui/p-39218c31.entry.js +0 -1
  65. package/dist/ezui/p-535771b6.entry.js +0 -1
  66. package/dist/ezui/p-7c101b34.js +0 -1
@@ -1,7 +1,11 @@
1
1
  const NAMESPACE = 'ezui';
2
2
 
3
3
  let scopeId;
4
+ let contentRef;
4
5
  let hostTagName;
6
+ let useNativeShadowDom = false;
7
+ let checkSlotFallbackVisibility = false;
8
+ let checkSlotRelocate = false;
5
9
  let isSvgMode = false;
6
10
  let queuePending = false;
7
11
  const win = typeof window !== 'undefined' ? window : {};
@@ -142,6 +146,7 @@ const isComplexType = (o) => {
142
146
  const h = (nodeName, vnodeData, ...children) => {
143
147
  let child = null;
144
148
  let key = null;
149
+ let slotName = null;
145
150
  let simple = false;
146
151
  let lastSimple = false;
147
152
  let vNodeChildren = [];
@@ -173,6 +178,9 @@ const h = (nodeName, vnodeData, ...children) => {
173
178
  if (vnodeData.key) {
174
179
  key = vnodeData.key;
175
180
  }
181
+ if (vnodeData.name) {
182
+ slotName = vnodeData.name;
183
+ }
176
184
  {
177
185
  const classData = vnodeData.className || vnodeData.class;
178
186
  if (classData) {
@@ -197,6 +205,9 @@ const h = (nodeName, vnodeData, ...children) => {
197
205
  {
198
206
  vnode.$key$ = key;
199
207
  }
208
+ {
209
+ vnode.$name$ = slotName;
210
+ }
200
211
  return vnode;
201
212
  };
202
213
  const newVNode = (tag, text) => {
@@ -213,6 +224,9 @@ const newVNode = (tag, text) => {
213
224
  {
214
225
  vnode.$key$ = null;
215
226
  }
227
+ {
228
+ vnode.$name$ = null;
229
+ }
216
230
  return vnode;
217
231
  };
218
232
  const Host = {};
@@ -425,16 +439,39 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
425
439
  let i = 0;
426
440
  let elm;
427
441
  let childNode;
442
+ let oldVNode;
443
+ if (!useNativeShadowDom) {
444
+ // remember for later we need to check to relocate nodes
445
+ checkSlotRelocate = true;
446
+ if (newVNode.$tag$ === 'slot') {
447
+ if (scopeId) {
448
+ // scoped css needs to add its scoped id to the parent element
449
+ parentElm.classList.add(scopeId + '-s');
450
+ }
451
+ newVNode.$flags$ |= newVNode.$children$
452
+ ? // slot element has fallback content
453
+ 2 /* isSlotFallback */
454
+ : // slot element does not have fallback content
455
+ 1 /* isSlotReference */;
456
+ }
457
+ }
428
458
  if (newVNode.$text$ !== null) {
429
459
  // create text node
430
460
  elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
431
461
  }
462
+ else if (newVNode.$flags$ & 1 /* isSlotReference */) {
463
+ // create a slot reference node
464
+ elm = newVNode.$elm$ =
465
+ doc.createTextNode('');
466
+ }
432
467
  else {
433
468
  if (!isSvgMode) {
434
469
  isSvgMode = newVNode.$tag$ === 'svg';
435
470
  }
436
471
  // create element
437
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$tag$)
472
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
473
+ ? 'slot-fb'
474
+ : newVNode.$tag$)
438
475
  );
439
476
  if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
440
477
  isSvgMode = false;
@@ -451,7 +488,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
451
488
  if (newVNode.$children$) {
452
489
  for (i = 0; i < newVNode.$children$.length; ++i) {
453
490
  // create the node
454
- childNode = createElm(oldParentVNode, newVNode, i);
491
+ childNode = createElm(oldParentVNode, newVNode, i, elm);
455
492
  // return node could have been null
456
493
  if (childNode) {
457
494
  // append our new node
@@ -470,20 +507,62 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
470
507
  }
471
508
  }
472
509
  }
510
+ {
511
+ elm['s-hn'] = hostTagName;
512
+ if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
513
+ // remember the content reference comment
514
+ elm['s-sr'] = true;
515
+ // remember the content reference comment
516
+ elm['s-cr'] = contentRef;
517
+ // remember the slot name, or empty string for default slot
518
+ elm['s-sn'] = newVNode.$name$ || '';
519
+ // check if we've got an old vnode for this slot
520
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
521
+ if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
522
+ // we've got an old slot vnode and the wrapper is being replaced
523
+ // so let's move the old slot content back to it's original location
524
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
525
+ }
526
+ }
527
+ }
473
528
  return elm;
474
529
  };
530
+ const putBackInOriginalLocation = (parentElm, recursive) => {
531
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
532
+ const oldSlotChildNodes = parentElm.childNodes;
533
+ for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
534
+ const childNode = oldSlotChildNodes[i];
535
+ if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
536
+ // // this child node in the old element is from another component
537
+ // // remove this node from the old slot's parent
538
+ // childNode.remove();
539
+ // and relocate it back to it's original location
540
+ parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
541
+ // remove the old original location comment entirely
542
+ // later on the patch function will know what to do
543
+ // and move this to the correct spot in need be
544
+ childNode['s-ol'].remove();
545
+ childNode['s-ol'] = undefined;
546
+ checkSlotRelocate = true;
547
+ }
548
+ if (recursive) {
549
+ putBackInOriginalLocation(childNode, recursive);
550
+ }
551
+ }
552
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
553
+ };
475
554
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
476
- let containerElm = (parentElm);
555
+ let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
477
556
  let childNode;
478
557
  if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
479
558
  containerElm = containerElm.shadowRoot;
480
559
  }
481
560
  for (; startIdx <= endIdx; ++startIdx) {
482
561
  if (vnodes[startIdx]) {
483
- childNode = createElm(null, parentVNode, startIdx);
562
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
484
563
  if (childNode) {
485
564
  vnodes[startIdx].$elm$ = childNode;
486
- containerElm.insertBefore(childNode, before);
565
+ containerElm.insertBefore(childNode, referenceNode(before) );
487
566
  }
488
567
  }
489
568
  }
@@ -493,6 +572,20 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
493
572
  if ((vnode = vnodes[startIdx])) {
494
573
  elm = vnode.$elm$;
495
574
  callNodeRefs(vnode);
575
+ {
576
+ // we're removing this element
577
+ // so it's possible we need to show slot fallback content now
578
+ checkSlotFallbackVisibility = true;
579
+ if (elm['s-ol']) {
580
+ // remove the original location comment
581
+ elm['s-ol'].remove();
582
+ }
583
+ else {
584
+ // it's possible that child nodes of the node
585
+ // that's being removed are slot nodes
586
+ putBackInOriginalLocation(elm, true);
587
+ }
588
+ }
496
589
  // remove the vnode's element from the dom
497
590
  elm.remove();
498
591
  }
@@ -536,12 +629,20 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
536
629
  newEndVnode = newCh[--newEndIdx];
537
630
  }
538
631
  else if (isSameVnode(oldStartVnode, newEndVnode)) {
632
+ // Vnode moved right
633
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
634
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
635
+ }
539
636
  patch(oldStartVnode, newEndVnode);
540
637
  parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
541
638
  oldStartVnode = oldCh[++oldStartIdx];
542
639
  newEndVnode = newCh[--newEndIdx];
543
640
  }
544
641
  else if (isSameVnode(oldEndVnode, newStartVnode)) {
642
+ // Vnode moved left
643
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
644
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
645
+ }
545
646
  patch(oldEndVnode, newStartVnode);
546
647
  parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
547
648
  oldEndVnode = oldCh[--oldEndIdx];
@@ -561,7 +662,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
561
662
  if (idxInOld >= 0) {
562
663
  elmToMove = oldCh[idxInOld];
563
664
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
564
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld);
665
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
565
666
  }
566
667
  else {
567
668
  patch(elmToMove, newStartVnode);
@@ -572,12 +673,12 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
572
673
  }
573
674
  else {
574
675
  // new element
575
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
676
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
576
677
  newStartVnode = newCh[++newStartIdx];
577
678
  }
578
679
  if (node) {
579
680
  {
580
- oldStartVnode.$elm$.parentNode.insertBefore(node, oldStartVnode.$elm$);
681
+ parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
581
682
  }
582
683
  }
583
684
  }
@@ -593,18 +694,30 @@ const isSameVnode = (vnode1, vnode2) => {
593
694
  // compare if two vnode to see if they're "technically" the same
594
695
  // need to have the same element tag, and same key to be the same
595
696
  if (vnode1.$tag$ === vnode2.$tag$) {
697
+ if (vnode1.$tag$ === 'slot') {
698
+ return vnode1.$name$ === vnode2.$name$;
699
+ }
596
700
  {
597
701
  return vnode1.$key$ === vnode2.$key$;
598
702
  }
599
703
  }
600
704
  return false;
601
705
  };
706
+ const referenceNode = (node) => {
707
+ // this node was relocated to a new location in the dom
708
+ // because of some other component's slot
709
+ // but we still have an html comment in place of where
710
+ // it's original location was according to it's original vdom
711
+ return (node && node['s-ol']) || node;
712
+ };
713
+ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
602
714
  const patch = (oldVNode, newVNode) => {
603
715
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
604
716
  const oldChildren = oldVNode.$children$;
605
717
  const newChildren = newVNode.$children$;
606
718
  const tag = newVNode.$tag$;
607
719
  const text = newVNode.$text$;
720
+ let defaultHolder;
608
721
  if (text === null) {
609
722
  {
610
723
  // test if we're rendering an svg element, or still rendering nodes inside of one
@@ -643,12 +756,147 @@ const patch = (oldVNode, newVNode) => {
643
756
  isSvgMode = false;
644
757
  }
645
758
  }
759
+ else if ((defaultHolder = elm['s-cr'])) {
760
+ // this element has slotted content
761
+ defaultHolder.parentNode.textContent = text;
762
+ }
646
763
  else if (oldVNode.$text$ !== text) {
647
764
  // update the text content for the text only vnode
648
765
  // and also only if the text is different than before
649
766
  elm.data = text;
650
767
  }
651
768
  };
769
+ const updateFallbackSlotVisibility = (elm) => {
770
+ // tslint:disable-next-line: prefer-const
771
+ let childNodes = elm.childNodes;
772
+ let childNode;
773
+ let i;
774
+ let ilen;
775
+ let j;
776
+ let slotNameAttr;
777
+ let nodeType;
778
+ for (i = 0, ilen = childNodes.length; i < ilen; i++) {
779
+ childNode = childNodes[i];
780
+ if (childNode.nodeType === 1 /* ElementNode */) {
781
+ if (childNode['s-sr']) {
782
+ // this is a slot fallback node
783
+ // get the slot name for this slot reference node
784
+ slotNameAttr = childNode['s-sn'];
785
+ // by default always show a fallback slot node
786
+ // then hide it if there are other slots in the light dom
787
+ childNode.hidden = false;
788
+ for (j = 0; j < ilen; j++) {
789
+ nodeType = childNodes[j].nodeType;
790
+ if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
791
+ // this sibling node is from a different component OR is a named fallback slot node
792
+ if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
793
+ childNode.hidden = true;
794
+ break;
795
+ }
796
+ }
797
+ else {
798
+ // this is a default fallback slot node
799
+ // any element or text node (with content)
800
+ // should hide the default fallback slot node
801
+ if (nodeType === 1 /* ElementNode */ ||
802
+ (nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
803
+ childNode.hidden = true;
804
+ break;
805
+ }
806
+ }
807
+ }
808
+ }
809
+ // keep drilling down
810
+ updateFallbackSlotVisibility(childNode);
811
+ }
812
+ }
813
+ };
814
+ const relocateNodes = [];
815
+ const relocateSlotContent = (elm) => {
816
+ // tslint:disable-next-line: prefer-const
817
+ let childNode;
818
+ let node;
819
+ let hostContentNodes;
820
+ let slotNameAttr;
821
+ let relocateNodeData;
822
+ let j;
823
+ let i = 0;
824
+ let childNodes = elm.childNodes;
825
+ let ilen = childNodes.length;
826
+ for (; i < ilen; i++) {
827
+ childNode = childNodes[i];
828
+ if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
829
+ // first got the content reference comment node
830
+ // then we got it's parent, which is where all the host content is in now
831
+ hostContentNodes = node.parentNode.childNodes;
832
+ slotNameAttr = childNode['s-sn'];
833
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
834
+ node = hostContentNodes[j];
835
+ if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
836
+ // let's do some relocating to its new home
837
+ // but never relocate a content reference node
838
+ // that is suppose to always represent the original content location
839
+ if (isNodeLocatedInSlot(node, slotNameAttr)) {
840
+ // it's possible we've already decided to relocate this node
841
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
842
+ // made some changes to slots
843
+ // let's make sure we also double check
844
+ // fallbacks are correctly hidden or shown
845
+ checkSlotFallbackVisibility = true;
846
+ node['s-sn'] = node['s-sn'] || slotNameAttr;
847
+ if (relocateNodeData) {
848
+ // previously we never found a slot home for this node
849
+ // but turns out we did, so let's remember it now
850
+ relocateNodeData.$slotRefNode$ = childNode;
851
+ }
852
+ else {
853
+ // add to our list of nodes to relocate
854
+ relocateNodes.push({
855
+ $slotRefNode$: childNode,
856
+ $nodeToRelocate$: node,
857
+ });
858
+ }
859
+ if (node['s-sr']) {
860
+ relocateNodes.map((relocateNode) => {
861
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
862
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
863
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
864
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
865
+ }
866
+ }
867
+ });
868
+ }
869
+ }
870
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
871
+ // so far this element does not have a slot home, not setting slotRefNode on purpose
872
+ // if we never find a home for this element then we'll need to hide it
873
+ relocateNodes.push({
874
+ $nodeToRelocate$: node,
875
+ });
876
+ }
877
+ }
878
+ }
879
+ }
880
+ if (childNode.nodeType === 1 /* ElementNode */) {
881
+ relocateSlotContent(childNode);
882
+ }
883
+ }
884
+ };
885
+ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
886
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
887
+ if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
888
+ return true;
889
+ }
890
+ if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
891
+ return true;
892
+ }
893
+ return false;
894
+ }
895
+ if (nodeToRelocate['s-sn'] === slotNameAttr) {
896
+ return true;
897
+ }
898
+ return slotNameAttr === '';
899
+ };
652
900
  const callNodeRefs = (vNode) => {
653
901
  {
654
902
  vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
@@ -672,8 +920,90 @@ const renderVdom = (hostRef, renderFnResults) => {
672
920
  {
673
921
  scopeId = hostElm['s-sc'];
674
922
  }
923
+ {
924
+ contentRef = hostElm['s-cr'];
925
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
926
+ // always reset
927
+ checkSlotFallbackVisibility = false;
928
+ }
675
929
  // synchronous patch
676
930
  patch(oldVNode, rootVnode);
931
+ {
932
+ // while we're moving nodes around existing nodes, temporarily disable
933
+ // the disconnectCallback from working
934
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
935
+ if (checkSlotRelocate) {
936
+ relocateSlotContent(rootVnode.$elm$);
937
+ let relocateData;
938
+ let nodeToRelocate;
939
+ let orgLocationNode;
940
+ let parentNodeRef;
941
+ let insertBeforeNode;
942
+ let refNode;
943
+ let i = 0;
944
+ for (; i < relocateNodes.length; i++) {
945
+ relocateData = relocateNodes[i];
946
+ nodeToRelocate = relocateData.$nodeToRelocate$;
947
+ if (!nodeToRelocate['s-ol']) {
948
+ // add a reference node marking this node's original location
949
+ // keep a reference to this node for later lookups
950
+ orgLocationNode =
951
+ doc.createTextNode('');
952
+ orgLocationNode['s-nr'] = nodeToRelocate;
953
+ nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
954
+ }
955
+ }
956
+ for (i = 0; i < relocateNodes.length; i++) {
957
+ relocateData = relocateNodes[i];
958
+ nodeToRelocate = relocateData.$nodeToRelocate$;
959
+ if (relocateData.$slotRefNode$) {
960
+ // by default we're just going to insert it directly
961
+ // after the slot reference node
962
+ parentNodeRef = relocateData.$slotRefNode$.parentNode;
963
+ insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
964
+ orgLocationNode = nodeToRelocate['s-ol'];
965
+ while ((orgLocationNode = orgLocationNode.previousSibling)) {
966
+ refNode = orgLocationNode['s-nr'];
967
+ if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
968
+ refNode = refNode.nextSibling;
969
+ if (!refNode || !refNode['s-nr']) {
970
+ insertBeforeNode = refNode;
971
+ break;
972
+ }
973
+ }
974
+ }
975
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
976
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
977
+ // we've checked that it's worth while to relocate
978
+ // since that the node to relocate
979
+ // has a different next sibling or parent relocated
980
+ if (nodeToRelocate !== insertBeforeNode) {
981
+ if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
982
+ // probably a component in the index.html that doesn't have it's hostname set
983
+ nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
984
+ }
985
+ // add it back to the dom but in its new home
986
+ parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
987
+ }
988
+ }
989
+ }
990
+ else {
991
+ // this node doesn't have a slot home to go to, so let's hide it
992
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
993
+ nodeToRelocate.hidden = true;
994
+ }
995
+ }
996
+ }
997
+ }
998
+ if (checkSlotFallbackVisibility) {
999
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1000
+ }
1001
+ // done moving nodes around
1002
+ // allow the disconnect callback to work again
1003
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1004
+ // always reset
1005
+ relocateNodes.length = 0;
1006
+ }
677
1007
  };
678
1008
  const getElement = (ref) => (getHostRef(ref).$hostElement$ );
679
1009
  const createEvent = (ref, name, flags) => {
@@ -1135,6 +1465,15 @@ const connectedCallback = (elm) => {
1135
1465
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1136
1466
  // first time this component has connected
1137
1467
  hostRef.$flags$ |= 1 /* hasConnected */;
1468
+ {
1469
+ // initUpdate
1470
+ // if the slot polyfill is required we'll need to put some nodes
1471
+ // in here to act as original content anchors as we move nodes around
1472
+ // host element has been connected to the DOM
1473
+ if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
1474
+ setContentReference(elm);
1475
+ }
1476
+ }
1138
1477
  {
1139
1478
  // find the first ancestor component (if there is one) and register
1140
1479
  // this component as one of the actively loading child components for its ancestor
@@ -1168,6 +1507,17 @@ const connectedCallback = (elm) => {
1168
1507
  endConnected();
1169
1508
  }
1170
1509
  };
1510
+ const setContentReference = (elm) => {
1511
+ // only required when we're NOT using native shadow dom (slot)
1512
+ // or this browser doesn't support native shadow dom
1513
+ // and this host element was NOT created with SSR
1514
+ // let's pick out the inner content for slot projection
1515
+ // create a node to represent where the original
1516
+ // content was first placed, which is useful later on
1517
+ const contentRefElm = (elm['s-cr'] = doc.createComment(''));
1518
+ contentRefElm['s-cn'] = true;
1519
+ elm.insertBefore(contentRefElm, elm.firstChild);
1520
+ };
1171
1521
  const disconnectedCallback = (elm) => {
1172
1522
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1173
1523
  getHostRef(elm);
@@ -1,4 +1,4 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-d80a8d1f.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-6b8bfbeb.js';
2
2
 
3
3
  /*
4
4
  Stencil Client Patch Esm v2.13.0 | MIT Licensed | https://stenciljs.com
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["ez-form",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"submit":[64],"cancel":[64],"validate":[64]}]]],["ez-dialog",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-application",[[0,"ez-application"]]],["ez-label-chip",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]]],["ez-toast",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"show":[64]}]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-button_11",[[0,"test-du"],[2,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"_popUpVisible":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64]}],[2,"grid-config",{"selectedTab":[1025,"selected-tab"],"columns":[1040]}],[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}],[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"setSelection":[64],"getSelection":[64],"getList":[64]}],[1,"select-box",{"selectedOption":[1,"selected-option"]}],[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]}],[1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513],"getMode":[64],"setFocus":[64]}],[1,"ez-tabselector",{"selectedIndex":[1537,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}],[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}],[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"restrict":[1],"setFocus":[64],"setBlur":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"optionLoader":[16],"_preSelection":[32],"_visibleOptions":[32]}]]],["ez-collapsible-box_7",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"]}],[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"]}],[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"]}],[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"]}],[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"showHide":[64]}],[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"setFocus":[64],"setBlur":[64]}],[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64]}]]]], options);
13
+ return bootstrapLazy([["ez-form",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"submit":[64],"cancel":[64],"validate":[64]}]]],["ez-dialog",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-time-input",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-application",[[0,"ez-application"]]],["ez-label-chip",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-popover",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]]],["ez-toast",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"show":[64]}]]],["ez-calendar",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-button_11",[[0,"test-du"],[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"_popUpVisible":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64]}],[2,"grid-config",{"selectedTab":[1025,"selected-tab"],"columns":[1040]}],[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}],[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"setSelection":[64],"getSelection":[64],"getList":[64]}],[1,"select-box",{"selectedOption":[1,"selected-option"]}],[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]}],[1,"ez-check",{"label":[513],"value":[1540],"enabled":[516],"mode":[513],"getMode":[64],"setFocus":[64]}],[1,"ez-tabselector",{"selectedIndex":[1537,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}],[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}],[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"restrict":[1],"setFocus":[64],"setBlur":[64]}]]],["ez-combo-box",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"optionLoader":[16],"_preSelection":[32],"_visibleOptions":[32]}]]],["ez-collapsible-box_7",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"]}],[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"]}],[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"]}],[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"]}],[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"showHide":[64]}],[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"setFocus":[64],"setBlur":[64]}],[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64]}]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-7c101b34.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((e=>a([["p-4e08b842",[[0,"ez-form",{dataUnit:[1040],config:[16],submit:[64],cancel:[64],validate:[64]}]]],["p-091b27f2",[[1,"ez-dialog",{confirm:[1028],critical:[1028],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-eefc1f9d",[[1,"ez-time-input",{label:[513],viewValue:[1537,"view-value"],value:[1026],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-6206515e",[[1,"ez-action-chip",{label:[513],enabled:[516]}]]],["p-39218c31",[[0,"ez-application"]]],["p-19d8a928",[[1,"ez-label-chip",{label:[513],enabled:[516],removable:[516],value:[1540],setFocus:[64],setBlur:[64]}]]],["p-826b6c4d",[[1,"ez-popover",{autoClose:[516,"auto-close"],top:[1537],left:[1537],bottom:[1537],right:[1537],boxWidth:[513,"box-width"],opened:[1540],updatePosition:[64],show:[64],hide:[64]}]]],["p-a52b3368",[[1,"ez-popup",{size:[1],opened:[1540],useHeader:[1540,"use-header"],ezTitle:[1,"ez-title"]}]]],["p-b678dc80",[[1,"ez-toast",{message:[1025],fadeTime:[1026,"fade-time"],useIcon:[1028,"use-icon"],show:[64]}]]],["p-535771b6",[[1,"ez-calendar",{value:[1040],floating:[516],time:[516],showSeconds:[516,"show-seconds"],show:[64],fitVertical:[64],hide:[64]}]]],["p-93bb1854",[[0,"test-du"],[2,"ez-grid",{multipleSelection:[4,"multiple-selection"],pageSize:[2,"page-size"],serverUrl:[1,"server-url"],dataUnit:[16],_navigationHasPrevious:[32],_navigationHasNext:[32],_navigationFirstRow:[32],_navigationLastRow:[32],_navigationTotalRows:[32],_popUpVisible:[32],setColumnsDef:[64],addColumnMenuItem:[64],setColumnsState:[64],setData:[64],getSelection:[64],getColumnsState:[64],getColumns:[64]}],[2,"grid-config",{selectedTab:[1025,"selected-tab"],columns:[1040]}],[1,"ez-modal",{modalSize:[1,"modal-size"],align:[1],opened:[1028],closeEsc:[4,"close-esc"],closeOutsideClick:[4,"close-outside-click"]}],[1,"ez-list",{dataSource:[1040],useGroups:[1540,"use-groups"],ezDraggable:[1028,"ez-draggable"],ezSelectable:[1028,"ez-selectable"],itemSlotBuilder:[1040],_listItems:[32],_listGroupItems:[32],setSelection:[64],getSelection:[64],getList:[64]}],[1,"select-box",{selectedOption:[1,"selected-option"]}],[1,"ez-button",{label:[513],enabled:[516],mode:[513],image:[513],iconName:[513,"icon-name"],size:[513]}],[1,"ez-check",{label:[513],value:[1540],enabled:[516],mode:[513],getMode:[64],setFocus:[64]}],[1,"ez-tabselector",{selectedIndex:[1537,"selected-index"],selectedTab:[1537,"selected-tab"],tabs:[1]}],[1,"ez-icon",{size:[513],href:[513],iconName:[513,"icon-name"]}],[1,"ez-text-input",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],mask:[1],restrict:[1],setFocus:[64],setBlur:[64]}]]],["p-3e79877f",[[1,"ez-combo-box",{value:[1537],label:[513],enabled:[516],options:[1040],errorMessage:[1537,"error-message"],searchMode:[4,"search-mode"],showSelectedValue:[4,"show-selected-value"],showOptionValue:[4,"show-option-value"],optionLoader:[16],_preSelection:[32],_visibleOptions:[32]}]]],["p-27a35580",[[1,"ez-date-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"]}],[1,"ez-date-time-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"]}],[1,"ez-search",{value:[1537],label:[1537],enabled:[1540],errorMessage:[1537,"error-message"],optionLoader:[16],showSelectedValue:[4,"show-selected-value"],showOptionValue:[4,"show-option-value"]}],[1,"ez-number-input",{label:[1],value:[1538],enabled:[4],errorMessage:[1537,"error-message"],precision:[2],prettyPrecision:[2,"pretty-precision"]}],[1,"ez-collapsible-box",{value:[1540],label:[513],headerSize:[513,"header-size"],iconPlacement:[513,"icon-placement"],showHide:[64]}],[1,"ez-text-area",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],rows:[1538],setFocus:[64],setBlur:[64]}],[1,"ez-upload",{label:[1],enabled:[4],maxFileSize:[2,"max-file-size"],maxFiles:[2,"max-files"],requestHeaders:[8,"request-headers"],urlUpload:[1,"url-upload"],urlDelete:[1,"url-delete"],value:[1040],addFiles:[64]}]]]],e)));
1
+ import{p as e,b as a}from"./p-89a57641.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((e=>a([["p-4c20d96e",[[0,"ez-form",{dataUnit:[1040],config:[16],submit:[64],cancel:[64],validate:[64]}]]],["p-020f1285",[[1,"ez-dialog",{confirm:[1028],critical:[1028],message:[1025],opened:[1540],personalizedIconPath:[1025,"personalized-icon-path"],ezTitle:[1025,"ez-title"],handleButtonClick:[64],show:[64]}]]],["p-7e0281cd",[[1,"ez-time-input",{label:[513],viewValue:[1537,"view-value"],value:[1026],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"],setFocus:[64],setBlur:[64]}]]],["p-b8678ee6",[[1,"ez-action-chip",{label:[513],enabled:[516]}]]],["p-95fc543c",[[0,"ez-application"]]],["p-542d3d29",[[1,"ez-label-chip",{label:[513],enabled:[516],removable:[516],value:[1540],setFocus:[64],setBlur:[64]}]]],["p-552a0b2e",[[1,"ez-popover",{autoClose:[516,"auto-close"],top:[1537],left:[1537],bottom:[1537],right:[1537],boxWidth:[513,"box-width"],opened:[1540],updatePosition:[64],show:[64],hide:[64]}]]],["p-502d7e0d",[[1,"ez-popup",{size:[1],opened:[1540],useHeader:[1540,"use-header"],ezTitle:[1,"ez-title"]}]]],["p-b217f40b",[[1,"ez-toast",{message:[1025],fadeTime:[1026,"fade-time"],useIcon:[1028,"use-icon"],show:[64]}]]],["p-d22db59d",[[1,"ez-calendar",{value:[1040],floating:[516],time:[516],showSeconds:[516,"show-seconds"],show:[64],fitVertical:[64],hide:[64]}]]],["p-f241de18",[[0,"test-du"],[6,"ez-grid",{multipleSelection:[4,"multiple-selection"],pageSize:[2,"page-size"],serverUrl:[1,"server-url"],dataUnit:[16],_navigationHasPrevious:[32],_navigationHasNext:[32],_navigationFirstRow:[32],_navigationLastRow:[32],_navigationTotalRows:[32],_popUpVisible:[32],setColumnsDef:[64],addColumnMenuItem:[64],setColumnsState:[64],setData:[64],getSelection:[64],getColumnsState:[64],getColumns:[64]}],[2,"grid-config",{selectedTab:[1025,"selected-tab"],columns:[1040]}],[1,"ez-modal",{modalSize:[1,"modal-size"],align:[1],opened:[1028],closeEsc:[4,"close-esc"],closeOutsideClick:[4,"close-outside-click"]}],[1,"ez-list",{dataSource:[1040],useGroups:[1540,"use-groups"],ezDraggable:[1028,"ez-draggable"],ezSelectable:[1028,"ez-selectable"],itemSlotBuilder:[1040],_listItems:[32],_listGroupItems:[32],setSelection:[64],getSelection:[64],getList:[64]}],[1,"select-box",{selectedOption:[1,"selected-option"]}],[1,"ez-button",{label:[513],enabled:[516],mode:[513],image:[513],iconName:[513,"icon-name"],size:[513]}],[1,"ez-check",{label:[513],value:[1540],enabled:[516],mode:[513],getMode:[64],setFocus:[64]}],[1,"ez-tabselector",{selectedIndex:[1537,"selected-index"],selectedTab:[1537,"selected-tab"],tabs:[1]}],[1,"ez-icon",{size:[513],href:[513],iconName:[513,"icon-name"]}],[1,"ez-text-input",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],mask:[1],restrict:[1],setFocus:[64],setBlur:[64]}]]],["p-60469339",[[1,"ez-combo-box",{value:[1537],label:[513],enabled:[516],options:[1040],errorMessage:[1537,"error-message"],searchMode:[4,"search-mode"],showSelectedValue:[4,"show-selected-value"],showOptionValue:[4,"show-option-value"],optionLoader:[16],_preSelection:[32],_visibleOptions:[32]}]]],["p-038fd0cb",[[1,"ez-date-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"]}],[1,"ez-date-time-input",{label:[513],value:[1040],enabled:[516],errorMessage:[1537,"error-message"],showSeconds:[516,"show-seconds"]}],[1,"ez-search",{value:[1537],label:[1537],enabled:[1540],errorMessage:[1537,"error-message"],optionLoader:[16],showSelectedValue:[4,"show-selected-value"],showOptionValue:[4,"show-option-value"]}],[1,"ez-number-input",{label:[1],value:[1538],enabled:[4],errorMessage:[1537,"error-message"],precision:[2],prettyPrecision:[2,"pretty-precision"]}],[1,"ez-collapsible-box",{value:[1540],label:[513],headerSize:[513,"header-size"],iconPlacement:[513,"icon-placement"],showHide:[64]}],[1,"ez-text-area",{label:[513],value:[1537],enabled:[516],loading:[516],errorMessage:[1537,"error-message"],rows:[1538],setFocus:[64],setBlur:[64]}],[1,"ez-upload",{label:[1],enabled:[4],maxFileSize:[2,"max-file-size"],maxFiles:[2,"max-files"],requestHeaders:[8,"request-headers"],urlUpload:[1,"url-upload"],urlDelete:[1,"url-delete"],value:[1040],addFiles:[64]}]]]],e)));
@@ -1 +1 @@
1
- import{r as i,c as t,f as o,h as a}from"./p-7c101b34.js";class l{constructor(i,t,o,a,l,d){this.title=i,this.message=t,this.critical=o,this.confirm=a,this.icon=l,this.callBack=d}}let d=class{constructor(o){i(this,o),this.ezCancel=t(this,"ezCancel",7),this.ezAccept=t(this,"ezAccept",7),this.confirm=!1,this.critical=!1,this.opened=!1,this._messageQueue=[]}async handleButtonClick(i){this.opened=this._messageQueue.length>0,this._currentMessage.callBack?this._currentMessage.callBack(i):i?this.ezAccept.emit(i):this.ezCancel.emit(i),this._currentMessage=this._messageQueue.shift(),o(this)}async show(i,t,o,a,d){return this.opened=!0,new Promise((e=>{this._messageQueue.push(new l(i,t,o,a,d,e))}))}componentWillRender(){this._currentMessage||(this._messageQueue.length>0?this._currentMessage=this._messageQueue.pop():this.opened&&(this._currentMessage=new l(this.ezTitle,this.message,this.critical,this.confirm,this.personalizedIconPath,null)))}render(){return this.opened&&this._currentMessage?a("div",{class:"overlay"},a("div",{class:"dialog"},a("div",{class:!0===this._currentMessage.critical?"dialog__critical--indicator":"dialog__warning--indicator"}),a("div",{class:"dialog__container"},a("div",{class:"title__container"},a("div",{class:"title__box"},this._currentMessage.icon?a("svg",{class:"changeable__icon",role:"img"},a("use",{xlinkHref:this._currentMessage.icon})):a("div",{class:this._currentMessage.critical?"title-icon title-icon--critical":"title-icon"}),a("div",{class:"title title--label"},a("h2",null,this._currentMessage.title))),a("button",{class:"btn-close",onClick:()=>this.handleButtonClick(!1)})),a("div",{class:"message"},this._currentMessage.message),this._currentMessage.confirm?a("div",{class:"button-yes-no__container"},a("ez-button",{class:"button__no",mode:"link",label:"Não",onClick:()=>this.handleButtonClick(!1)}),a("ez-button",{label:"Ok",onClick:()=>this.handleButtonClick(!0)})):void 0,this._currentMessage.confirm?void 0:a("div",{class:"button__ok--container"},a("ez-button",{label:"Ok",onClick:()=>this.handleButtonClick(!0)}))))):null}};d.style=':host{--dialog__container-padding:var(--space--large, 24px);--dialog__btn__close--background-color:var(--title--primary, #2b3a54);--dialog__btn__no--padding-right:var(--space--large, 24px);--dialog__btn__close__image:url(\'data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>\');--dialog__title--font-pattern:var(--font-pattern, "\'Sora\', \'Algerian\'");--dialog__title--padding-left:var(--space--small, 6px);--dialog__title__container--padding-bottom:var(--space--medium, 12px);--dialog__title--weight--large:var(--text-weight--large, 600);--dialog__body--font-pattern:var(--font-pattern, "\'Sora\', \'Algerian\'");--dialog__body--text-shadow:var(--text-shadow, "0 0 0 #353535, 0 0 1px transparent");--dialog__body--text-weight--medium:var(--text-weight--medium, 400);--dialog__body--padding-bottom:var(--space--large, 24px);--dialog__body--font-size:var(--text--medium, 14px);--dialog__body--color:var(--text--primary, #626e82);--dialog__critical--background-color:var(--color--alert-error-800, #BD0025);--dialog__warning--background-color:var(--color--alert-warning-500, #EFB103);--dialog-z-index:var(--most-visible, 3);--dialog--warning__image:url(\'data: image/svg+xml;utf8,<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M 7.5,0 0,13 h 15 z m 0,2.73684 5.1341,8.89476 H 2.36591 Z M 6.81818,5.47368 V 8.21053 H 8.18182 V 5.47368 Z m 0,4.10527 V 10.9474 H 8.18182 V 9.57895"/></svg>\');--dialog--critical__image:url(\'data: image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path d="M 7.6534493,6.4948538 12.762051,1.3864299 C 12.914368,1.2341297 13,1.027552 13,0.81215179 13,0.59676225 12.914369,0.39018443 12.762051,0.23787352 12.609733,0.08557341 12.40318,0 12.187747,0 11.972425,0 11.765762,0.08557341 11.613445,0.23787352 L 6.5048431,5.3462975 1.3961977,0.23787352 C 1.2438802,0.08557341 1.0373043,0 0.82189458,0 0.60649572,0 0.39990901,0.08557341 0.24759147,0.23787352 0.09527396,0.39018443 0.00970766,0.59676225 0.00970766,0.81215179 c 0,0.21540021 0.0855663,0.42197791 0.23788381,0.57427811 L 5.3562369,6.4948538 0.24759147,11.604381 c -0.0775121,0.07492 -0.13931586,0.164543 -0.18182835,0.263595 -0.04250169,0.09905 -0.064850182,0.205678 -0.0657357237,0.313391 -8.8554258e-4,0.107813 0.0197049337,0.214771 0.0605827337,0.314472 0.04086693,0.0998 0.10119858,0.190415 0.17746563,0.266625 0.0762779,0.07622 0.16695386,0.136398 0.26675594,0.177208 0.099802,0.04082 0.20672745,0.06127 0.31452961,0.06029 0.1078025,-9.53e-4 0.21433799,-0.0235 0.31337139,-0.06604 0.099045,-0.04265 0.1886052,-0.104571 0.263465,-0.182081 L 6.5048431,7.6434102 11.613445,12.751855 c 0.152317,0.152312 0.35898,0.237831 0.574302,0.237831 0.215433,0 0.421986,-0.08552 0.574304,-0.237831 C 12.914368,12.599545 13,12.393 13,12.177578 13,11.962157 12.91437,11.75561 12.762051,11.603299 Z"/></svg>\')}h2{margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px}.overlay{position:fixed;display:flex;top:0px;z-index:var(--dialog-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.dialog{display:flex;width:80%;position:absolute;top:50%;left:50%;margin-right:-50%;box-sizing:border-box;transform:translate(-50%, -50%);box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122)}@media screen and (min-width: 768px){.dialog{width:50%}}@media screen and (min-width: 992px){.dialog{width:33.33333%}}.dialog__container{width:100%;background:#FFFF;border-radius:0px 6px 6px 0px;box-sizing:border-box;padding:var(--dialog__container-padding)}.dialog__critical--indicator{box-sizing:border-box;width:12px;border-radius:6px 0px 0px 6px;background-color:var(--dialog__critical--background-color)}.dialog__warning--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__warning--background-color)}.message{font-size:var(--dialog__body--font-size);font-weight:var(--dialog__body--text-weight--medium);font-family:var(--dialog__body--font-pattern);text-shadow:var(--dialog__body--text-shadow);padding-bottom:var(--dialog__body--padding-bottom);color:var(--dialog__body--color);max-height:30vh;content-visibility:auto;margin-bottom:24px;overflow-y:auto}.changeable__icon{width:15px;height:15px}.title{display:flex;font-family:var(--dialog__title--font-pattern);margin:0;font-weight:var(--dialog__title--weight--large);line-height:1.3}.title__container{display:flex;padding-bottom:var(--dialog__title__container--padding-bottom)}.title__box{display:flex;width:100%;align-items:center;align-self:center}.title--label{padding-left:var(--dialog__title--padding-left)}.title-icon{outline:none;border:none;background-color:var(--dialog__warning--background-color);width:26px;height:26px;border-radius:100%;padding:0;display:flex;justify-content:center;align-items:center}.title-icon--critical{background-color:var(--dialog__critical--background-color)}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--dialog__btn__close--background-color);width:12px;height:12px;-webkit-mask-image:var(--dialog__btn__close__image);mask-image:var(--dialog__btn__close__image)}.title-icon::after{content:\'\';display:flex;background-color:#FFFF;width:15px;height:15px;-webkit-mask-image:var(--dialog--warning__image);mask-image:var(--dialog--warning__image)}.title-icon--critical::after{content:\'\';display:flex;background-color:#FFFF;width:13px;height:13px;-webkit-mask-image:var(--dialog--critical__image);mask-image:var(--dialog--critical__image)}.button-yes-no__container{display:flex;box-sizing:border-box;align-self:center;align-items:center;justify-content:flex-end}.button__no{padding-right:var(--dialog__btn__no--padding-right)}.button__ok--container{display:flex;justify-content:flex-end}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{d as ez_dialog}
1
+ import{r as i,c as t,f as o,h as a}from"./p-89a57641.js";class l{constructor(i,t,o,a,l,d){this.title=i,this.message=t,this.critical=o,this.confirm=a,this.icon=l,this.callBack=d}}let d=class{constructor(o){i(this,o),this.ezCancel=t(this,"ezCancel",7),this.ezAccept=t(this,"ezAccept",7),this.confirm=!1,this.critical=!1,this.opened=!1,this._messageQueue=[]}async handleButtonClick(i){this.opened=this._messageQueue.length>0,this._currentMessage.callBack?this._currentMessage.callBack(i):i?this.ezAccept.emit(i):this.ezCancel.emit(i),this._currentMessage=this._messageQueue.shift(),o(this)}async show(i,t,o,a,d){return this.opened=!0,new Promise((e=>{this._messageQueue.push(new l(i,t,o,a,d,e))}))}componentWillRender(){this._currentMessage||(this._messageQueue.length>0?this._currentMessage=this._messageQueue.pop():this.opened&&(this._currentMessage=new l(this.ezTitle,this.message,this.critical,this.confirm,this.personalizedIconPath,null)))}render(){return this.opened&&this._currentMessage?a("div",{class:"overlay"},a("div",{class:"dialog"},a("div",{class:!0===this._currentMessage.critical?"dialog__critical--indicator":"dialog__warning--indicator"}),a("div",{class:"dialog__container"},a("div",{class:"title__container"},a("div",{class:"title__box"},this._currentMessage.icon?a("svg",{class:"changeable__icon",role:"img"},a("use",{xlinkHref:this._currentMessage.icon})):a("div",{class:this._currentMessage.critical?"title-icon title-icon--critical":"title-icon"}),a("div",{class:"title title--label"},a("h2",null,this._currentMessage.title))),a("button",{class:"btn-close",onClick:()=>this.handleButtonClick(!1)})),a("div",{class:"message"},this._currentMessage.message),this._currentMessage.confirm?a("div",{class:"button-yes-no__container"},a("ez-button",{class:"button__no",mode:"link",label:"Não",onClick:()=>this.handleButtonClick(!1)}),a("ez-button",{label:"Ok",onClick:()=>this.handleButtonClick(!0)})):void 0,this._currentMessage.confirm?void 0:a("div",{class:"button__ok--container"},a("ez-button",{label:"Ok",onClick:()=>this.handleButtonClick(!0)}))))):null}};d.style=':host{--dialog__container-padding:var(--space--large, 24px);--dialog__btn__close--background-color:var(--title--primary, #2b3a54);--dialog__btn__no--padding-right:var(--space--large, 24px);--dialog__btn__close__image:url(\'data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>\');--dialog__title--font-pattern:var(--font-pattern, "\'Sora\', \'Algerian\'");--dialog__title--padding-left:var(--space--small, 6px);--dialog__title__container--padding-bottom:var(--space--medium, 12px);--dialog__title--weight--large:var(--text-weight--large, 600);--dialog__body--font-pattern:var(--font-pattern, "\'Sora\', \'Algerian\'");--dialog__body--text-shadow:var(--text-shadow, "0 0 0 #353535, 0 0 1px transparent");--dialog__body--text-weight--medium:var(--text-weight--medium, 400);--dialog__body--padding-bottom:var(--space--large, 24px);--dialog__body--font-size:var(--text--medium, 14px);--dialog__body--color:var(--text--primary, #626e82);--dialog__critical--background-color:var(--color--alert-error-800, #BD0025);--dialog__warning--background-color:var(--color--alert-warning-500, #EFB103);--dialog-z-index:var(--most-visible, 3);--dialog--warning__image:url(\'data: image/svg+xml;utf8,<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M 7.5,0 0,13 h 15 z m 0,2.73684 5.1341,8.89476 H 2.36591 Z M 6.81818,5.47368 V 8.21053 H 8.18182 V 5.47368 Z m 0,4.10527 V 10.9474 H 8.18182 V 9.57895"/></svg>\');--dialog--critical__image:url(\'data: image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path d="M 7.6534493,6.4948538 12.762051,1.3864299 C 12.914368,1.2341297 13,1.027552 13,0.81215179 13,0.59676225 12.914369,0.39018443 12.762051,0.23787352 12.609733,0.08557341 12.40318,0 12.187747,0 11.972425,0 11.765762,0.08557341 11.613445,0.23787352 L 6.5048431,5.3462975 1.3961977,0.23787352 C 1.2438802,0.08557341 1.0373043,0 0.82189458,0 0.60649572,0 0.39990901,0.08557341 0.24759147,0.23787352 0.09527396,0.39018443 0.00970766,0.59676225 0.00970766,0.81215179 c 0,0.21540021 0.0855663,0.42197791 0.23788381,0.57427811 L 5.3562369,6.4948538 0.24759147,11.604381 c -0.0775121,0.07492 -0.13931586,0.164543 -0.18182835,0.263595 -0.04250169,0.09905 -0.064850182,0.205678 -0.0657357237,0.313391 -8.8554258e-4,0.107813 0.0197049337,0.214771 0.0605827337,0.314472 0.04086693,0.0998 0.10119858,0.190415 0.17746563,0.266625 0.0762779,0.07622 0.16695386,0.136398 0.26675594,0.177208 0.099802,0.04082 0.20672745,0.06127 0.31452961,0.06029 0.1078025,-9.53e-4 0.21433799,-0.0235 0.31337139,-0.06604 0.099045,-0.04265 0.1886052,-0.104571 0.263465,-0.182081 L 6.5048431,7.6434102 11.613445,12.751855 c 0.152317,0.152312 0.35898,0.237831 0.574302,0.237831 0.215433,0 0.421986,-0.08552 0.574304,-0.237831 C 12.914368,12.599545 13,12.393 13,12.177578 13,11.962157 12.91437,11.75561 12.762051,11.603299 Z"/></svg>\')}h2{margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px}.overlay{position:fixed;display:flex;top:0px;z-index:var(--dialog-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.dialog{display:flex;width:80%;position:absolute;top:50%;left:50%;margin-right:-50%;box-sizing:border-box;transform:translate(-50%, -50%);box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122)}@media screen and (min-width: 768px){.dialog{width:50%}}@media screen and (min-width: 992px){.dialog{width:33.33333%}}.dialog__container{width:100%;background:#FFFF;border-radius:0px 6px 6px 0px;box-sizing:border-box;padding:var(--dialog__container-padding)}.dialog__critical--indicator{box-sizing:border-box;width:12px;border-radius:6px 0px 0px 6px;background-color:var(--dialog__critical--background-color)}.dialog__warning--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__warning--background-color)}.message{font-size:var(--dialog__body--font-size);font-weight:var(--dialog__body--text-weight--medium);font-family:var(--dialog__body--font-pattern);text-shadow:var(--dialog__body--text-shadow);padding-bottom:var(--dialog__body--padding-bottom);color:var(--dialog__body--color);max-height:30vh;content-visibility:auto;margin-bottom:24px;overflow-y:auto}.changeable__icon{width:15px;height:15px}.title{display:flex;font-family:var(--dialog__title--font-pattern);margin:0;font-weight:var(--dialog__title--weight--large);line-height:1.3}.title__container{display:flex;padding-bottom:var(--dialog__title__container--padding-bottom)}.title__box{display:flex;width:100%;align-items:center;align-self:center}.title--label{padding-left:var(--dialog__title--padding-left)}.title-icon{outline:none;border:none;background-color:var(--dialog__warning--background-color);width:26px;height:26px;border-radius:100%;padding:0;display:flex;justify-content:center;align-items:center}.title-icon--critical{background-color:var(--dialog__critical--background-color)}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--dialog__btn__close--background-color);width:12px;height:12px;-webkit-mask-image:var(--dialog__btn__close__image);mask-image:var(--dialog__btn__close__image)}.title-icon::after{content:\'\';display:flex;background-color:#FFFF;width:15px;height:15px;-webkit-mask-image:var(--dialog--warning__image);mask-image:var(--dialog--warning__image)}.title-icon--critical::after{content:\'\';display:flex;background-color:#FFFF;width:13px;height:13px;-webkit-mask-image:var(--dialog--critical__image);mask-image:var(--dialog--critical__image)}.button-yes-no__container{display:flex;box-sizing:border-box;align-self:center;align-items:center;justify-content:flex-end}.button__no{padding-right:var(--dialog__btn__no--padding-right)}.button__ok--container{display:flex;justify-content:flex-end}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{d as ez_dialog}