@zanichelli/albe-web-components 2.24.9 → 2.24.13

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 (116) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/cjs/{index-2e494cc2.js → index-dee3e21d.js} +4 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/web-components-library.cjs.js +2 -2
  5. package/dist/cjs/z-alert_65.cjs.entry.js +84 -26
  6. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  7. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  8. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  9. package/dist/cjs/z-heading.cjs.entry.js +1 -1
  10. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  11. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  12. package/dist/cjs/z-modal.cjs.entry.js +4 -4
  13. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  14. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  15. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  16. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  17. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  18. package/dist/cjs/z-navigation-tabs.cjs.entry.js +7 -3
  19. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  20. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  21. package/dist/cjs/z-pocket_3.cjs.entry.js +1 -1
  22. package/dist/cjs/z-registro-table-footer.cjs.entry.js +1 -1
  23. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  24. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  25. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  26. package/dist/collection/components/inputs/z-input/index.js +3 -3
  27. package/dist/collection/components/inputs/z-input-label/index.js +18 -1
  28. package/dist/collection/components/inputs/z-select/index.js +1 -1
  29. package/dist/collection/components/modal/z-modal/index.js +4 -4
  30. package/dist/collection/components/modal/z-modal/styles.css +6 -6
  31. package/dist/collection/components/navigation/z-app-topbar/styles.css +5 -9
  32. package/dist/collection/components/navigation/z-navigation-tabs/index.js +9 -5
  33. package/dist/collection/components/navigation/z-user-dropdown/styles.css +5 -6
  34. package/dist/collection/components/notification/z-tooltip/index.js +75 -17
  35. package/dist/collection/components/notification/z-tooltip/styles.css +22 -18
  36. package/dist/esm/{index-6eb9a735.js → index-fa9e549c.js} +4 -0
  37. package/dist/esm/loader.js +2 -2
  38. package/dist/esm/web-components-library.js +2 -2
  39. package/dist/esm/z-alert_65.entry.js +84 -26
  40. package/dist/esm/z-app-header.entry.js +1 -1
  41. package/dist/esm/z-candybar.entry.js +1 -1
  42. package/dist/esm/z-cookiebar.entry.js +1 -1
  43. package/dist/esm/z-heading.entry.js +1 -1
  44. package/dist/esm/z-messages-pocket.entry.js +1 -1
  45. package/dist/esm/z-modal-login.entry.js +1 -1
  46. package/dist/esm/z-modal.entry.js +4 -4
  47. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  48. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  49. package/dist/esm/z-myz-card-info.entry.js +1 -1
  50. package/dist/esm/z-myz-topbar.entry.js +1 -1
  51. package/dist/esm/z-navigation-tab.entry.js +1 -1
  52. package/dist/esm/z-navigation-tabs.entry.js +7 -3
  53. package/dist/esm/z-otp.entry.js +1 -1
  54. package/dist/esm/z-pocket-message.entry.js +1 -1
  55. package/dist/esm/z-pocket_3.entry.js +1 -1
  56. package/dist/esm/z-registro-table-footer.entry.js +1 -1
  57. package/dist/esm/z-slideshow.entry.js +1 -1
  58. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  59. package/dist/esm/z-toast-notification.entry.js +1 -1
  60. package/dist/types/components/inputs/z-input-label/index.d.ts +2 -0
  61. package/dist/types/components/notification/z-tooltip/index.d.ts +2 -0
  62. package/dist/types/components.d.ts +8 -0
  63. package/dist/web-components-library/{p-ba896238.entry.js → p-017370c7.entry.js} +1 -1
  64. package/dist/web-components-library/p-139b1c56.entry.js +1 -0
  65. package/dist/web-components-library/{p-9c17ebe5.entry.js → p-140cc18f.entry.js} +1 -1
  66. package/dist/web-components-library/{p-b11b6985.entry.js → p-1c72783c.entry.js} +1 -1
  67. package/dist/web-components-library/{p-f4c34386.entry.js → p-3ad9ef65.entry.js} +1 -1
  68. package/dist/web-components-library/{p-cf0eda28.entry.js → p-418044b0.entry.js} +1 -1
  69. package/dist/web-components-library/{p-490a6fe0.entry.js → p-44de8dac.entry.js} +1 -1
  70. package/dist/web-components-library/{p-468bee84.entry.js → p-5ff2bb78.entry.js} +1 -1
  71. package/{www/build/p-1aa48115.entry.js → dist/web-components-library/p-6b7ee18b.entry.js} +1 -1
  72. package/dist/web-components-library/{p-b33e37be.entry.js → p-6fed64d8.entry.js} +1 -1
  73. package/dist/web-components-library/{p-afcdcad4.entry.js → p-8f5eaf9d.entry.js} +1 -1
  74. package/{www/build/p-859f6438.js → dist/web-components-library/p-904a85e4.js} +1 -1
  75. package/dist/web-components-library/{p-251558f4.entry.js → p-96e3aec6.entry.js} +1 -1
  76. package/{www/build/p-2231641e.entry.js → dist/web-components-library/p-ba400b3b.entry.js} +1 -1
  77. package/dist/web-components-library/{p-590be9d2.entry.js → p-c7af96eb.entry.js} +1 -1
  78. package/dist/web-components-library/{p-b6e7981c.entry.js → p-ccaa0324.entry.js} +2 -2
  79. package/dist/web-components-library/{p-37294b80.entry.js → p-ccf4d1e7.entry.js} +1 -1
  80. package/dist/web-components-library/{p-69ff80d0.entry.js → p-cfa47b41.entry.js} +1 -1
  81. package/dist/web-components-library/{p-ac2744d4.entry.js → p-cfd7f25f.entry.js} +1 -1
  82. package/dist/web-components-library/{p-acf171e5.entry.js → p-e86e2a5f.entry.js} +1 -1
  83. package/dist/web-components-library/{p-d428fe35.entry.js → p-f113a03a.entry.js} +1 -1
  84. package/dist/web-components-library/{p-a00d5a85.entry.js → p-fbfde057.entry.js} +1 -1
  85. package/dist/web-components-library/web-components-library.esm.js +1 -1
  86. package/package.json +1 -1
  87. package/www/build/{p-ba896238.entry.js → p-017370c7.entry.js} +1 -1
  88. package/www/build/p-139b1c56.entry.js +1 -0
  89. package/www/build/{p-9c17ebe5.entry.js → p-140cc18f.entry.js} +1 -1
  90. package/www/build/{p-b11b6985.entry.js → p-1c72783c.entry.js} +1 -1
  91. package/www/build/{p-f4c34386.entry.js → p-3ad9ef65.entry.js} +1 -1
  92. package/www/build/{p-cf0eda28.entry.js → p-418044b0.entry.js} +1 -1
  93. package/www/build/{p-490a6fe0.entry.js → p-44de8dac.entry.js} +1 -1
  94. package/www/build/{p-468bee84.entry.js → p-5ff2bb78.entry.js} +1 -1
  95. package/{dist/web-components-library/p-1aa48115.entry.js → www/build/p-6b7ee18b.entry.js} +1 -1
  96. package/www/build/{p-b33e37be.entry.js → p-6fed64d8.entry.js} +1 -1
  97. package/www/build/{p-afcdcad4.entry.js → p-8f5eaf9d.entry.js} +1 -1
  98. package/{dist/web-components-library/p-859f6438.js → www/build/p-904a85e4.js} +1 -1
  99. package/www/build/{p-251558f4.entry.js → p-96e3aec6.entry.js} +1 -1
  100. package/{dist/web-components-library/p-2231641e.entry.js → www/build/p-ba400b3b.entry.js} +1 -1
  101. package/www/build/{p-590be9d2.entry.js → p-c7af96eb.entry.js} +1 -1
  102. package/www/build/p-ca89b853.js +1 -0
  103. package/www/build/{p-b6e7981c.entry.js → p-ccaa0324.entry.js} +2 -2
  104. package/www/build/{p-37294b80.entry.js → p-ccf4d1e7.entry.js} +1 -1
  105. package/www/build/{p-69ff80d0.entry.js → p-cfa47b41.entry.js} +1 -1
  106. package/www/build/{p-ac2744d4.entry.js → p-cfd7f25f.entry.js} +1 -1
  107. package/www/build/{p-acf171e5.entry.js → p-e86e2a5f.entry.js} +1 -1
  108. package/www/build/p-ea943cbd.css +1 -0
  109. package/www/build/{p-d428fe35.entry.js → p-f113a03a.entry.js} +1 -1
  110. package/www/build/{p-a00d5a85.entry.js → p-fbfde057.entry.js} +1 -1
  111. package/www/build/web-components-library.esm.js +1 -1
  112. package/www/index.html +1 -1
  113. package/dist/web-components-library/p-f63a3dbe.entry.js +0 -1
  114. package/www/build/p-7f34c867.js +0 -122
  115. package/www/build/p-97a11655.css +0 -789
  116. package/www/build/p-f63a3dbe.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, c as createEvent, g as getElement, H as Host } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h, c as createEvent, g as getElement, H as Host } from './index-fa9e549c.js';
2
2
  import { T as ThemeVariant, A as AvatarSize, B as ButtonTypeEnum, a as ButtonVariantEnum, b as ButtonSizeEnum, C as CardVariants, I as InputTypeEnum, k as keybordKeyCodeEnum, P as PopoverPosition, c as DividerSize, d as DividerOrientation, L as ListSize, E as ExpandableListButtonAlign, e as ListDividerType, f as ExpandableListStyle, K as KeyboardKeys, g as LicenseTypeEnum, h as AlertTypesEnum, N as NotificationType, i as PopoverBorderRadius, j as PopoverShadow, l as TableHeaderSize, S as SortDirectionEnum, Z as ZRegistroTableRowExpandedType, m as InputStatusEnum, n as StatusTagStatus, o as TooltipPosition } from './index-ac6e10aa.js';
3
3
  import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
4
4
  import { c as createCommonjsModule, h as hammer } from './hammer-c807d0b5.js';
@@ -37,7 +37,7 @@ const ZAppSwitcher = class {
37
37
  };
38
38
  ZAppSwitcher.style = stylesCss$_;
39
39
 
40
- const stylesCss$Z = ":host{display:block;position:sticky;top:0;z-index:99;font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{background:var(--bg-grey-900);border-radius:var(--border-radius-min);display:grid;grid-template-columns:repeat(2, 1fr);justify-content:space-between;align-items:center;padding:calc(var(--space-unit) * .5);}:host>div.light{background:var(--bg-white)}:host>div.light #hashtag{color:var(--bg-grey-900)}.left{grid-column-start:1;grid-column-end:2;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center}.left>#hashtag{display:none}.right{grid-column-start:2;grid-column-end:3;display:flex;align-items:center;justify-content:flex-end}.right.hide-actions>slot[name=\"actions\"]{display:none}.right>::slotted(z-link){padding:calc(var(--space-unit) * .5)}.right>::slotted(z-app-switcher){padding:6px}@media only screen and (min-width: 768px){:host>div{grid-template-columns:repeat(2, auto)}.left>#hashtag{display:initial;color:var(--bg-white);text-transform:uppercase;padding:var(--space-unit) calc(var(--space-unit) * 2)}.left>#hashtag::before{content:\"#\"}.right{grid-column-gap:var(--space-unit)}.right>::slotted(z-app-switcher){padding:6px calc(var(--space-unit) * 2) 6px var(--space-unit)}}";
40
+ const stylesCss$Z = ":host{display:block;position:sticky;top:0;z-index:99;font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{background:var(--bg-grey-900);border-radius:var(--border-radius-min);display:grid;grid-template-columns:repeat(2, 1fr);justify-content:space-between;align-items:center;padding:calc(var(--space-unit) * .5);}:host>div.light{background:var(--bg-white)}:host>div.light #hashtag{color:var(--bg-grey-900)}.left{grid-column-start:1;grid-column-end:2;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center}.left>#hashtag{display:none}.right{grid-column-start:2;grid-column-end:3;display:flex;align-items:center;justify-content:flex-end;padding-right:var(--space-unit)}.right.hide-actions>slot[name=\"actions\"]{display:none}.right>::slotted(*){padding:calc(var(--space-unit) * .5)}@media only screen and (min-width: 768px){:host>div{grid-template-columns:repeat(2, auto)}.left>#hashtag{display:initial;color:var(--bg-white);text-transform:uppercase;padding:var(--space-unit) calc(var(--space-unit) * 2)}.left>#hashtag::before{content:\"#\"}.right{grid-column-gap:var(--space-unit);padding-right:calc(var(--space-unit) * 1.5)}}";
41
41
 
42
42
  const ZAppTopbar = class {
43
43
  constructor(hostRef) {
@@ -1352,7 +1352,7 @@ const ZInput = class {
1352
1352
  renderLabel() {
1353
1353
  if (!this.label)
1354
1354
  return;
1355
- return (h("z-input-label", { value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_label` }));
1355
+ return (h("z-input-label", { htmlfor: this.htmlid, value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_label` }));
1356
1356
  }
1357
1357
  renderIcons() {
1358
1358
  return (h("span", { class: {
@@ -1408,7 +1408,7 @@ const ZInput = class {
1408
1408
  checkboxLabel: true,
1409
1409
  after: this.labelafter,
1410
1410
  before: !this.labelafter,
1411
- } }, h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": true }), this.label && h("span", { innerHTML: this.label }))));
1411
+ } }, h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
1412
1412
  }
1413
1413
  /* END checkbox */
1414
1414
  /* START radio */
@@ -1417,7 +1417,7 @@ const ZInput = class {
1417
1417
  radioLabel: true,
1418
1418
  after: this.labelafter,
1419
1419
  before: !this.labelafter,
1420
- } }, h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": true }), this.label && h("span", { innerHTML: this.label }))));
1420
+ } }, h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
1421
1421
  }
1422
1422
  /* END radio */
1423
1423
  /* START select */
@@ -1457,7 +1457,7 @@ const ZInputLabel = class {
1457
1457
  this.disabled = false;
1458
1458
  }
1459
1459
  render() {
1460
- return h("label", { class: { disabled: this.disabled } }, this.value);
1460
+ return h("label", { htmlFor: this.htmlfor, class: { disabled: this.disabled } }, this.value);
1461
1461
  }
1462
1462
  };
1463
1463
  ZInputLabel.style = stylesCss$G;
@@ -3054,7 +3054,7 @@ const ZSelect = class {
3054
3054
  renderLabel() {
3055
3055
  if (!this.label)
3056
3056
  return;
3057
- return (h("z-input-label", { value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_input_label` }));
3057
+ return (h("z-input-label", { htmlfor: this.htmlid, value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_input_label` }));
3058
3058
  }
3059
3059
  renderInput() {
3060
3060
  return (h("z-input", { id: `${this.htmlid}_input`, htmlid: `${this.htmlid}_input`, placeholder: this.placeholder, value: !this.isOpen && !this.multiple && this.selectedItems.length
@@ -3193,8 +3193,31 @@ const ZToggleButton = class {
3193
3193
  };
3194
3194
  ZToggleButton.style = stylesCss$3;
3195
3195
 
3196
- const stylesCss$2 = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - calc(var(--arrow-size) / 2));--arrow-center-offset:calc(50% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position$='_right']){margin-left:calc(var(--space-unit) * -1)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position$='_left']){margin-right:calc(var(--space-unit) * -1)}:host([position^='top'])::before{top:var(--arrow-edge-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-edge-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-offset)}:host([position='right'])::before{right:var(--arrow-edge-offset)}:host([position$='_right'])::before{right:calc(100% - calc(var(--arrow-size) / 2) - calc(var(--space-unit) * 2))}:host([position='left'])::before{left:var(--arrow-edge-offset)}:host([position$='_left'])::before{left:calc(100% - calc(var(--arrow-size) / 2) - calc(var(--space-unit) * 2))}::slotted(*){flex:1 auto;overflow:auto}";
3196
+ const stylesCss$2 = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
3197
3197
 
3198
+ const documentElement = document.documentElement;
3199
+ /**
3200
+ * Find the closest scrollable parent of a node.
3201
+ *
3202
+ * @param {Element} element The node
3203
+ */
3204
+ function findScrollableParent(element) {
3205
+ let parent = element.parentNode;
3206
+ while (parent && parent !== documentElement) {
3207
+ const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
3208
+ if (overflow === 'hidden' ||
3209
+ overflowY === 'hidden' ||
3210
+ overflowX === 'hidden') {
3211
+ return parent;
3212
+ }
3213
+ if ((parent.scrollHeight > parent.clientHeight && overflow !== 'visible' && overflowY !== 'visible') ||
3214
+ (parent.scrollWidth > parent.clientWidth && overflow !== 'visible' && overflowX !== 'visible')) {
3215
+ return parent;
3216
+ }
3217
+ parent = parent.parentNode;
3218
+ }
3219
+ return documentElement;
3220
+ }
3198
3221
  /**
3199
3222
  * Calculate computed offset.
3200
3223
  * It includes matrix transformations.
@@ -3219,6 +3242,17 @@ function computeOffset(element, targetParentOffset) {
3219
3242
  else {
3220
3243
  top += offsetParent.offsetTop;
3221
3244
  }
3245
+ if (window.DOMMatrix) {
3246
+ const style = window.getComputedStyle(offsetParent);
3247
+ const transform = style.transform || style.webkitTransform;
3248
+ const domMatrix = new DOMMatrix(transform);
3249
+ if (domMatrix) {
3250
+ left += domMatrix.m41;
3251
+ if (offsetParent !== document.body) {
3252
+ top += domMatrix.m42;
3253
+ }
3254
+ }
3255
+ }
3222
3256
  if (!offsetParent.offsetParent) {
3223
3257
  break;
3224
3258
  }
@@ -3234,8 +3268,8 @@ function computeOffset(element, targetParentOffset) {
3234
3268
  parentWidth = offsetParent.offsetWidth;
3235
3269
  parentHeight = offsetParent.offsetHeight;
3236
3270
  }
3237
- const right = parentWidth - left;
3238
- const bottom = parentHeight - top;
3271
+ const right = parentWidth - left - rect.width;
3272
+ const bottom = parentHeight - top - rect.height;
3239
3273
  return { top, right, bottom, left, width, height };
3240
3274
  }
3241
3275
  const ZTooltip = class {
@@ -3260,10 +3294,14 @@ const ZTooltip = class {
3260
3294
  onPositionChange() {
3261
3295
  this.positionChange.emit({ position: this.position });
3262
3296
  }
3297
+ disconnectedCallback() {
3298
+ cancelAnimationFrame(this.animationFrameRequestId);
3299
+ }
3263
3300
  /**
3264
3301
  * Setup tooltip behaviors on opening.
3265
3302
  */
3266
3303
  onOpen() {
3304
+ cancelAnimationFrame(this.animationFrameRequestId);
3267
3305
  if (this.content) {
3268
3306
  return;
3269
3307
  }
@@ -3271,7 +3309,7 @@ const ZTooltip = class {
3271
3309
  const setPosition = () => {
3272
3310
  if (this.open) {
3273
3311
  this.setPosition();
3274
- requestAnimationFrame(setPosition);
3312
+ this.animationFrameRequestId = requestAnimationFrame(setPosition);
3275
3313
  }
3276
3314
  };
3277
3315
  setPosition();
@@ -3301,30 +3339,46 @@ const ZTooltip = class {
3301
3339
  if (!element) {
3302
3340
  return;
3303
3341
  }
3342
+ const scrollContainer = findScrollableParent(element);
3343
+ const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
3344
+ const offsetContainer = this.host.offsetParent;
3345
+ const relativeBoundingRect = offsetContainer ? computeOffset(offsetContainer, scrollContainer) : { top: 0, right: 0, bottom: 0, left: 0 };
3346
+ const boundingRect = computeOffset(element, scrollContainer);
3347
+ const top = boundingRect.top - scrollContainer.scrollTop;
3348
+ const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
3349
+ const left = boundingRect.left - scrollContainer.scrollLeft;
3350
+ const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
3351
+ const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
3352
+ const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
3353
+ const availableTop = Math.min(top, top + scrollingBoundingRect.top);
3354
+ const availableBottom = Math.min(bottom, bottom - overflowBottom);
3355
+ const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
3356
+ const availableRight = Math.min(right, right - overflowRight);
3357
+ const availableHeight = availableTop + availableBottom + boundingRect.height;
3358
+ const availableWidth = availableLeft + availableRight + boundingRect.width;
3304
3359
  let position = this.type;
3305
- const boundingRect = computeOffset(element, this.host.offsetParent);
3306
3360
  if (position === TooltipPosition.AUTO) {
3307
3361
  /**
3308
3362
  * The `AUTO` position tries to place the tooltip in the "safest" area,
3309
3363
  * where there's more space available.
3310
3364
  */
3311
3365
  const positions = [];
3312
- if ((boundingRect.top + boundingRect.height) / window.innerHeight > 0.9) {
3366
+ if (availableTop / availableHeight > 0.9) {
3313
3367
  positions.unshift(TooltipPosition.TOP);
3314
3368
  }
3315
- else if ((boundingRect.top + boundingRect.height) / window.innerHeight > 0.6) {
3369
+ else if (availableTop / availableHeight > 0.6) {
3316
3370
  positions.push(TooltipPosition.TOP);
3317
3371
  }
3318
- else if ((boundingRect.top + boundingRect.height) / window.innerHeight < 0.1) {
3372
+ else if (availableTop / availableHeight < 0.1) {
3319
3373
  positions.unshift(TooltipPosition.BOTTOM);
3320
3374
  }
3321
3375
  else {
3322
3376
  positions.push(TooltipPosition.BOTTOM);
3323
3377
  }
3324
- if ((boundingRect.left + boundingRect.width) / window.innerWidth > 0.6) {
3378
+ if (availableLeft / availableWidth > 0.6) {
3325
3379
  positions.push(TooltipPosition.LEFT);
3326
3380
  }
3327
- else if ((boundingRect.left + boundingRect.width) / window.innerWidth < 0.4) {
3381
+ else if (availableLeft / availableWidth < 0.4) {
3328
3382
  positions.push(TooltipPosition.RIGHT);
3329
3383
  }
3330
3384
  position = positions.join("_");
@@ -3333,48 +3387,52 @@ const ZTooltip = class {
3333
3387
  if (!this.content) {
3334
3388
  style.position = "absolute";
3335
3389
  }
3390
+ const offsetTop = boundingRect.top - relativeBoundingRect.top;
3391
+ const offsetRight = boundingRect.right - relativeBoundingRect.right;
3392
+ const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
3393
+ const offsetLeft = boundingRect.left - relativeBoundingRect.left;
3336
3394
  if (position === TooltipPosition.TOP ||
3337
3395
  position === TooltipPosition.TOP_RIGHT ||
3338
3396
  position === TooltipPosition.TOP_LEFT) {
3339
3397
  style.top = "auto";
3340
- style.bottom = `${boundingRect.bottom}px`;
3398
+ style.bottom = `${offsetBottom + boundingRect.height}px`;
3341
3399
  }
3342
3400
  if (position === TooltipPosition.BOTTOM ||
3343
3401
  position === TooltipPosition.BOTTOM_RIGHT ||
3344
3402
  position === TooltipPosition.BOTTOM_LEFT) {
3345
- style.top = `${boundingRect.top + boundingRect.height}px`;
3403
+ style.top = `${offsetTop + boundingRect.height}px`;
3346
3404
  style.bottom = "auto";
3347
3405
  }
3348
3406
  if (position === TooltipPosition.TOP ||
3349
3407
  position === TooltipPosition.BOTTOM) {
3350
- style.left = `${boundingRect.left +
3408
+ style.left = `${offsetLeft +
3351
3409
  (boundingRect.width / 2) -
3352
3410
  (this.host.clientWidth / 2)}px`;
3353
3411
  }
3354
3412
  if (position === TooltipPosition.TOP_RIGHT ||
3355
3413
  position === TooltipPosition.BOTTOM_RIGHT) {
3356
3414
  style.right = "auto";
3357
- style.left = `${boundingRect.left + boundingRect.width - 16}px`;
3415
+ style.left = `${offsetLeft + boundingRect.width}px`;
3358
3416
  }
3359
3417
  if (position === TooltipPosition.TOP_LEFT ||
3360
3418
  position === TooltipPosition.BOTTOM_LEFT) {
3361
3419
  style.left = "auto";
3362
- style.right = `${boundingRect.right - 16}px`;
3420
+ style.right = `${offsetRight + boundingRect.width}px`;
3363
3421
  }
3364
3422
  if (position === TooltipPosition.RIGHT ||
3365
3423
  position === TooltipPosition.LEFT) {
3366
- style.top = `${boundingRect.top +
3424
+ style.top = `${offsetTop +
3367
3425
  (boundingRect.height / 2) -
3368
3426
  (this.host.clientHeight / 2)}px`;
3369
3427
  style.bottom = "auto";
3370
3428
  }
3371
3429
  if (position === TooltipPosition.RIGHT) {
3372
3430
  style.right = "auto";
3373
- style.left = `${boundingRect.left + boundingRect.width}px`;
3431
+ style.left = `${offsetLeft + boundingRect.width}px`;
3374
3432
  }
3375
3433
  if (position === TooltipPosition.LEFT) {
3376
3434
  style.left = "auto";
3377
- style.right = `${boundingRect.right}px`;
3435
+ style.right = `${offsetRight + boundingRect.width}px`;
3378
3436
  }
3379
3437
  this.position = position;
3380
3438
  }
@@ -3423,7 +3481,7 @@ const ZTypography = class {
3423
3481
  };
3424
3482
  ZTypography.style = stylesCss$1;
3425
3483
 
3426
- const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{cursor:pointer;display:flex;margin:0;background:var(--bg-grey-900);border:none;padding:0;font-size:calc(var(--space-unit) * 2);padding:6px}button>z-icon{padding:0 2px;fill:var(--bg-white)}button>span{padding:0 6px;color:var(--text-white);font-weight:var(--font-sb);line-height:19px}button.light{background:var(--bg-white)}button.light>z-icon{fill:var(--bg-grey-900)}button.light>span{color:var(--bg-grey-900)}button>.userfullname{display:none}ul{position:absolute;left:0;padding:var(--space-unit) 0 0 0;width:100%;margin:0;background:var(--bg-grey-900)}ul.light{background:var(--bg-white)}ul>li{display:flex;justify-content:flex-end;padding:var(--space-unit);margin:0 var(--space-unit);border-bottom:var(--border-base) solid var(--bg-grey-700)}ul>li:first-child{border-top:var(--border-base) solid var(--bg-grey-700)}ul>li:last-child{border-bottom:none}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4)}:host>div{position:relative}:host>div>div{padding:0}:host>div>div.open{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:flex-end;align-content:stretch;width:min-content;position:absolute;right:0;box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background:var(--bg-white);border-radius:calc(var(--space-unit) * .5);padding:calc(var(--space-unit) * .5) 0;transform:translate(0, -4px)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center;padding:6px var(--space-unit);max-width:200px}button>span{padding:0 var(--space-unit)}button.open{background-color:var(--bg-white);border-top:var(--border-size-small) solid var(--bg-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial}button>.userfullname{display:initial;white-space:nowrap;overflow:hidden;max-width:250px;text-overflow:ellipsis}button.open>z-icon{fill:var(--gray900)}button.open>span{color:var(--gray900)}ul{position:initial;left:initial;padding:0;margin-top:0;width:100%;background-color:var(--bg-white);border-bottom:var(--border-size-small) solid var(--bg-white);border-bottom-left-radius:var(--border-radius-base);border-bottom-right-radius:var(--border-radius-base)}ul>li{color:var(--gray900);border-bottom:var(--border-base) solid rgb(202, 204, 206);padding:calc(var(--space-unit) * .5) var(--space-unit)}ul>li>*{width:max-content}ul>li:first-child{border-top:none}ul>li:last-child{border-bottom:none}}@media only screen and (min-width: 1152px){button{max-width:initial}}";
3484
+ const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{cursor:pointer;display:flex;margin:0;background:var(--bg-grey-900);border:none;font-size:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) - 2px) 0}button>z-icon{padding:0 2px;fill:var(--bg-white)}button>span{padding:0 6px;color:var(--text-white);font-weight:var(--font-sb);line-height:19px}button.light{background:var(--bg-white)}button.light>z-icon{fill:var(--bg-grey-900)}button.light>span{color:var(--bg-grey-900)}button>.userfullname{display:none}ul{position:absolute;left:0;padding:var(--space-unit) 0 0 0;width:100%;margin:0;background:var(--bg-grey-900)}ul.light{background:var(--bg-white)}ul>li{display:flex;justify-content:flex-end;padding:var(--space-unit);margin:0 var(--space-unit);border-bottom:var(--border-base) solid var(--bg-grey-700)}ul>li:first-child{border-top:var(--border-base) solid var(--bg-grey-700)}ul>li:last-child{border-bottom:none}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4)}:host>div{position:relative}:host>div>div{padding:0}:host>div>div.open{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:flex-end;align-content:stretch;width:min-content;position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background:var(--bg-white);border-radius:calc(var(--space-unit) * .5);padding:calc(var(--space-unit) * .5) var(--space-unit);transform:translate(0, -4px)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center;max-width:200px}button>span{padding:0 var(--space-unit)}button.open{background-color:var(--bg-white);border-top:var(--border-size-small) solid var(--bg-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial}button>.userfullname{display:initial;white-space:nowrap;overflow:hidden;max-width:250px;text-overflow:ellipsis}button.open>z-icon{fill:var(--gray900)}button.open>span{color:var(--gray900)}ul{position:initial;left:initial;padding:0;margin-top:0;width:100%;background-color:var(--bg-white);border-bottom:var(--border-size-small) solid var(--bg-white);border-bottom-left-radius:var(--border-radius-base);border-bottom-right-radius:var(--border-radius-base)}ul>li{color:var(--gray900);border-bottom:var(--border-base) solid rgb(202, 204, 206);padding:calc(var(--space-unit) * .5);margin:unset}ul>li>*{width:max-content}ul>li:first-child{border-top:none}ul>li:last-child{border-bottom:none}}@media only screen and (min-width: 1152px){button{max-width:initial}}";
3427
3485
 
3428
3486
  const ZUserDropdown = class {
3429
3487
  constructor(hostRef) {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
2
 
3
3
  const stylesCss = ":host{--app-header-height:auto;--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-top-offset:var(var(--app-header-top-offset), 0);--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-white);--app-header-text-color:var(--gray800);display:block;color:var(--app-header-text-color)}:host,*{box-sizing:border-box}:host(:not(:empty)) .heading-panel{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-shrink:0;flex-grow:0;width:100%;height:var(--app-header-height);padding-top:calc(var(--space-unit) * 3.5);padding-right:var(--grid-mobile-margin);padding-bottom:calc(var(--space-unit) * 4.5);padding-left:var(--grid-mobile-margin);background:var(--app-header-bg)}.heading-title{display:flex;flex-direction:row;align-items:center;max-width:100%}.heading-stucked{position:fixed;top:var(--app-header-top-offset);left:0;z-index:5;display:flex;flex-direction:row;width:100%;max-width:100%;padding:var(--space-unit) var(--grid-mobile-margin);background:var(--app-header-bg);box-shadow:var(--shadow-2);animation:slideStuckedHeadingIn 250ms ease-out}.heading-stucked .heading-title,.heading-stucked .heading-title>*,.heading-stucked .heading-title ::slotted([slot='stucked-title']){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading-stucked .heading-title>*,::slotted([slot='title']),::slotted([slot='stucked-title']){margin:0;font-weight:700;font-family:'IBM Plex Serif', serif;font-size:var(--app-header-typography-3-size);line-height:var(--app-header-typography-3-lineheight);letter-spacing:var(--app-header-typography-3-tracking)}.heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 1.5))}::slotted([slot='subtitle']){margin-top:var(--space-unit);font-family:var(--font-family-sans);font-style:italic;font-weight:500;font-size:20px;line-height:1.2}.heading-container{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;max-width:100%;margin-right:auto}.menu-container{display:none;flex-direction:row;flex-wrap:wrap;align-items:baseline}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted(*:not(:last-of-type)){margin-right:calc(var(--space-unit) * 4.5)}.drawer-trigger{margin:0 calc(var(--space-unit) * 1.5) 0 0;padding:0;background:none;border:0;border-radius:0;color:inherit;appearance:none;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentColor}.drawer-container{position:fixed;top:var(--app-header-top-offset);left:0;width:100%;height:100%;z-index:100;pointer-events:none}.drawer-container .drawer-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:block;background:var(--gray900);opacity:0;transition:opacity 400ms ease-out;pointer-events:none}.drawer-panel{position:absolute;top:0;left:0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:375px;max-width:100%;height:100%;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 2) 0;background:var(--color-white);color:var(--gray800);transform:translate3d(-100%, 0, 0);transition:transform 400ms ease-out;pointer-events:none}.drawer-content{display:flex;flex-direction:column;flex:1 auto;width:100%;padding:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 2);overflow:auto}.drawer-content::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--color-white) 2px,\n var(--gray200) 4px,\n var(--color-white) 8px\n );border-radius:var(--border-radius);width:10px}.drawer-content::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.drawer-content ::slotted(z-menu){width:100%;margin-bottom:var(--space-unit)}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);margin:var(--space-unit) calc(var(--space-unit) * 2);padding:0;font-size:inherit;background:transparent;color:inherit;fill:currentColor;border:0;border-radius:0;appearance:none;cursor:pointer}:host([drawer-open]) .drawer-container .drawer-overlay{opacity:0.7;pointer-events:all}:host([drawer-open]) .drawer-container .drawer-panel{transform:none;pointer-events:all}.hero-container{position:absolute;top:0;left:0;z-index:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .hero-container::after{content:'';position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;background:var(--color-black);opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media only screen and (min-width: 768px){.heading-panel,.heading-stucked{padding-left:var(--grid-tablet-margin);padding-right:var(--grid-tablet-margin)}:host(:not([flow='offcanvas'])) .heading-subtitle{padding-left:0}:host(:not([flow='offcanvas'])) .menu-container{display:flex}:host(:not([flow='offcanvas'])) .heading-container .drawer-trigger{display:none}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 3)}.heading-stucked .heading-title>*,::slotted([slot='title']){font-size:var(--app-header-typography-5-size);line-height:var(--app-header-typography-5-lineheight);letter-spacing:var(--app-header-typography-5-tracking)}}@media only screen and (min-width: 1152px){.heading-panel,.heading-stucked{padding-left:var(--grid-desktop-margin);padding-right:var(--grid-desktop-margin)}:host(:not([flow='stack'])) .heading-panel{flex-direction:row;flex-wrap:wrap}::slotted([slot='title']){font-size:var(--app-header-typography-7-size);line-height:var(--app-header-typography-7-lineheight);letter-spacing:var(--app-header-typography-7-tracking);margin-right:var(--grid-desktop-gutter)}.heading-container{width:calc(6 * ((100% - var(--grid-desktop-gutter)) / var(--grid-desktop-column)))}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:calc(var(--space-unit) * 2)}.menu-container{margin-top:var(--space-unit)}}@media only screen and (min-width: 1366px){.heading-panel,.heading-stucked{padding-left:var(--grid-wide-margin);padding-right:var(--grid-wide-margin)}::slotted([slot='title']){font-size:var(--app-header-typography-9-size);line-height:var(--app-header-typography-9-lineheight);letter-spacing:var(--app-header-typography-9-tracking);margin-right:var(--grid-wide-gutter)}.heading-container{width:calc(6 * ((100% - var(--grid-wide-gutter)) / var(--grid-wide-column)))}:host(:not([flow='offcanvas']):not([menu-length='0'])) .heading-container:not(:last-child){margin-bottom:0}.menu-container{margin-top:calc(var(--space-unit) * 3)}}@keyframes slideStuckedHeadingIn{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h } from './index-fa9e549c.js';
2
2
 
3
3
  const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center}:host>div{position:fixed;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;top:30vh;max-width:297px;height:fit-content;min-height:232px;z-index:1000;margin:auto;overflow:auto;overflow:-moz-scrollbars-none;-ms-overflow-style:none;background:var(--myz-blue-lighter);border-radius:calc(var(--space-unit) * .5);box-shadow:0px -2px 4px 0px rgba(66, 69, 72, 0.4)}@media only screen and (min-width: 768px){:host>div{position:initial;flex-wrap:nowrap;justify-content:space-between;align-items:center;align-content:stretch;position:fixed;top:auto;bottom:0;margin:0 auto;left:0;right:0;height:auto;min-height:138px;max-width:100%;border-radius:0px}}@media only screen and (min-width: 1152px){:host>div{min-height:122px}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-fa9e549c.js';
2
2
  import { a as ButtonVariantEnum } from './index-ac6e10aa.js';
3
3
 
4
4
  const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:space-between;color:var(--text-grey-800);border-radius:calc(var(--space-unit) * .5);font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}.content>div>h2{margin:0;padding:0;color:var(--text-grey-800);border-radius:0px;font-size:18px;font-weight:var(--font-sb);letter-spacing:0px}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{cursor:pointer;font-weight:var(--font-sb);color:var(--text-grey-800);text-decoration:underline;height:14px;display:inline-flex}.content>div>div>p>a:visited{color:var(--text-grey-800);cursor:pointer;z-index:1000}.content>z-button{margin:0;width:100%}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3)}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button{margin:0;width:initial}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-left:calc(var(--space-unit) * 4);padding-right:calc(var(--space-unit) * 4)}}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h } from './index-fa9e549c.js';
2
2
 
3
3
  const ZHeading = class {
4
4
  constructor(hostRef) {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h } from './index-fa9e549c.js';
2
2
  import { p as PocketStatusEnum } from './index-ac6e10aa.js';
3
3
 
4
4
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{font-size:12px;font-weight:var(--font-sb);color:var(--color-primary01);fill:var(--color-primary01)}:host>z-pocket>z-pocket-header span.badge{background:var(--color-secondary02);color:var(--color-surface01);border-radius:50%;padding:0 calc(var(--space-unit)* 0.5);display:inline-block;margin-left:var(--space-unit)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;margin:0 var(--space-unit);padding:var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{background-image:linear-gradient(rgba(255, 0, 0, 0), white);position:absolute;top:0;left:0;right:0;bottom:0}:host>z-pocket.open>z-pocket-body>div.body{max-height:calc(100vh - 166px);overflow:auto;scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-width:thin;scrollbar-color:var(--color-primary01) var(--color-surface03)}:host ::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base);width:10px}:host ::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--radius-base);width:var(--space-unit)}}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-fa9e549c.js';
2
2
  import { m as InputStatusEnum, a as ButtonVariantEnum } from './index-ac6e10aa.js';
3
3
 
4
4
  const stylesCss = ".sc-z-modal-login-h{font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{color:var(--text-grey-800);padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 2)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}z-button.sc-z-modal-login,z-input.sc-z-modal-login,.sc-z-modal-login-s>z-button,.sc-z-modal-login-s>z-input{display:inline-block;width:100%}z-link.sc-z-modal-login,.sc-z-modal-login-s>z-link{font-size:12px}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}div.wrapper>form>div.username.sc-z-modal-login-s>z-input,div.wrapper>form>div.password.sc-z-modal-login-s>z-input,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.username.sc-z-modal-login z-input.sc-z-modal-login,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.password.sc-z-modal-login z-input.sc-z-modal-login{margin-bottom:var(--space-unit)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>z-link.forget.sc-z-modal-login{font-size:12px;align-self:flex-end}div.wrapper>form>div.login.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.login.sc-z-modal-login z-button.sc-z-modal-login{margin:calc(var(--space-unit) * 3) 0;align-self:flex-start}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>hr.sc-z-modal-login{width:100%;margin-bottom:calc(var(--space-unit) * 3);border:none;border-top:var(--border-size-medium) solid var(--bg-grey-200);margin-block-start:unset}div.wrapper>div.signup.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.signup.sc-z-modal-login z-button.sc-z-modal-login{display:inline-block;margin:calc(var(--space-unit) * 2) 0}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}slot-fb[name=\"provider\"].sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{padding-top:calc(var(--space-unit) * 2)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login>svg.sc-z-modal-login{margin-right:var(--space-unit)}@media only screen and (min-width: 768px){z-button.sc-z-modal-login,.sc-z-modal-login-s>z-button{width:initial}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:396px;padding:calc(var(--space-unit) * 3)}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{grid-column-start:1;grid-column-end:3;padding-bottom:var(--space-unit)}.sc-z-modal-login-s>[slot=\"provider\"]{width:100%}slot-fb[name=\"provider\"].sc-z-modal-login{grid-column-start:1;grid-column-end:3;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}slot-fb[name=\"provider\"].sc-z-modal-login>*.sc-z-modal-login{width:100%}}@media only screen and (min-width: 1366px){.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:477px;padding:calc(var(--space-unit) * 4)}}";
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-fa9e549c.js';
2
2
 
3
- const stylesCss = ":host{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.modal-background{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{display:flex;flex-direction:column;z-index:1010;width:100%;height:100vh;overflow:-moz-scrollbars-none;overflow:hidden}.modal-container>header{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{margin:0;padding:0;border:none;background:transparent;cursor:pointer;margin-left:auto}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;flex-direction:column;width:100%;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{margin:0;padding:0;font-weight:var(--font-rg);color:var(--color-text01)}.modal-container>header h1{font-size:var(--font-size-5);line-height:1.4;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-3);line-height:1.5;letter-spacing:0}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>main{flex:1 auto;background:var(--color-surface01);overflow:auto;overflow-x:hidden}.modal-container main::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.modal-container main::-webkit-scrollbar-track{background-color:transparent}.modal-container main::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.modal-container main::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container main{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:absolute;top:calc(var(--space-unit) * 6);left:50%;transform:translateX(-50%);width:auto;height:auto;min-width:calc(var(--space-unit) * 40);min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);line-height:1.33;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-4);line-height:1.5;letter-spacing:0}.modal-container>header h1+h2{margin-top:0}}";
3
+ const stylesCss = ":host{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.modal-background{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{display:flex;flex-direction:column;z-index:1010;width:100%;height:100vh;overflow:-moz-scrollbars-none;overflow:hidden}.modal-container>header{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{margin:0;padding:0;border:none;background:transparent;cursor:pointer;margin-left:auto}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;flex-direction:column;width:100%;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{margin:0;padding:0;font-weight:var(--font-rg);color:var(--color-text01)}.modal-container>header h1{font-size:var(--font-size-5);line-height:1.4;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-3);line-height:1.5;letter-spacing:0}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>.modal-content{flex:1 auto;background:var(--color-surface01);overflow:auto;overflow-x:hidden}.modal-container .modal-content::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-track{background-color:transparent}.modal-container .modal-content::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.modal-container .modal-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container .modal-content{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:absolute;top:calc(var(--space-unit) * 6);left:50%;transform:translateX(-50%);width:auto;height:auto;min-width:calc(var(--space-unit) * 40);min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);line-height:1.33;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-4);line-height:1.5;letter-spacing:0}.modal-container>header h1+h2{margin-top:0}}";
4
4
 
5
5
  const ZModal = class {
6
6
  constructor(hostRef) {
@@ -9,7 +9,7 @@ const ZModal = class {
9
9
  this.modalHeaderActive = createEvent(this, "modalHeaderActive", 7);
10
10
  this.modalBackgroundClick = createEvent(this, "modalBackgroundClick", 7);
11
11
  /** aria-label for close button (optional) */
12
- this.closeButtonLabel = 'close modal';
12
+ this.closeButtonLabel = "close modal";
13
13
  }
14
14
  emitModalClose() {
15
15
  this.modalClose.emit({ modalid: this.modalid });
@@ -22,7 +22,7 @@ const ZModal = class {
22
22
  }
23
23
  render() {
24
24
  return [
25
- h("div", { class: "modal-container", id: this.modalid }, h("header", { onClick: this.emitModalHeaderActive.bind(this) }, h("div", null, this.modaltitle && h("h1", null, this.modaltitle), this.modalsubtitle && h("h2", null, this.modalsubtitle)), h("slot", { name: "modalCloseButton" }, h("button", { "aria-label": this.closeButtonLabel, onClick: this.emitModalClose.bind(this) }, h("z-icon", { name: "multiply-circle-filled" })))), h("main", null, h("slot", { name: "modalContent" }))),
25
+ h("div", { class: "modal-container", id: this.modalid, role: "dialog" }, h("header", { onClick: this.emitModalHeaderActive.bind(this) }, h("div", null, this.modaltitle && h("h1", null, this.modaltitle), this.modalsubtitle && h("h2", null, this.modalsubtitle)), h("slot", { name: "modalCloseButton" }, h("button", { "aria-label": this.closeButtonLabel, onClick: this.emitModalClose.bind(this) }, h("z-icon", { name: "multiply-circle-filled" })))), h("div", { class: "modal-content" }, h("slot", { name: "modalContent" }))),
26
26
  h("div", { class: "modal-background", "data-action": "modalBackground", "data-modal": this.modalid, onClick: this.emitBackgroundClick.bind(this) })
27
27
  ];
28
28
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-fa9e549c.js';
2
2
  import { a as ButtonVariantEnum } from './index-ac6e10aa.js';
3
3
 
4
4
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;height:522px;width:100%;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;height:522px;width:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out;z-index:2}:host>div .content.flipped{-webkit-transform:rotateY(180deg);transform:rotateY(180deg);margin-top:-2px}:host>div .front,:host>div .back{position:absolute;height:100%;width:100%;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));z-index:1;top:0;left:0;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);display:flex;justify-content:center}.hideInfo{display:none}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h } from './index-fa9e549c.js';
2
2
 
3
3
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{box-sizing:border-box;border-radius:0px 0px var(--radius-base) var(--radius-base);border-top:var(--border-base) solid var(--color-surface03);padding:var(--space-unit) calc(var(--space-unit) * 2) 0;height:128px;color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-fa9e549c.js';
2
2
  import { o as TooltipPosition } from './index-ac6e10aa.js';
3
3
  import { h as handleKeyboardSubmit } from './utils-4da869b8.js';
4
4
  import './breakpoints-c386984e.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-fa9e549c.js';
2
2
  import { a as ButtonVariantEnum } from './index-ac6e10aa.js';
3
3
  import { m as mobileBreakpoint, t as tabletBreakpoint } from './breakpoints-c386984e.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-fa9e549c.js';
2
2
 
3
3
  const stylesCss = "button{position:relative;z-index:0;display:flex;align-items:center;justify-content:center;width:100%;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}*::before,*::after{box-sizing:border-box}:host(:hover:not([disabled])) button,:host([selected]) button{color:var(--color-hover-secondary);fill:currentColor}:host(:hover:not([disabled])) button::after,:host([selected]) button::after{content:'';position:absolute;background-color:var(--color-hover-secondary)}:host([orientation='horizontal']:not([disabled]):hover) button::after,:host([orientation='horizontal'][selected]) button::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}:host([orientation='horizontal']) ::slotted(z-icon){margin-right:var(--space-unit)}:host(:hover:not([disabled])) button{background-color:var(--color-background)}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([disabled]) button{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}:host([size='small']) button{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}:host([size='small'][orientation='horizontal']) button{padding:var(--space-unit) calc(var(--space-unit) * 2)}:host([size='small'][orientation='horizontal']:not([disabled]):hover) button::after,:host([size='small'][orientation='horizontal'][selected]) button::after{height:var(--border-size-medium)}:host([size='small']:not([orientation='vertical'])) ::slotted(z-icon){--z-icon-width:14px;--z-icon-height:14px}:host([orientation='vertical']) button{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host([orientation='vertical']:hover:not([disabled])) button::after,:host([orientation='vertical'][selected]) button::after{width:var(--border-size-large);height:100%;top:0;right:0}:host([orientation='vertical']) ::slotted([slot='label']){display:none}::slotted(z-icon){--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:0}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
2
  import { q as TabOrientationEnum, r as TabSizeEnum } from './index-ac6e10aa.js';
3
3
 
4
4
  const stylesCss = ":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}button.navigation{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1}button.navigation:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}button.navigation:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);scroll-padding:var(--safe-scroll-area);scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) button.navigation{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) button.navigation:first-child{left:0;padding-left:var(--safe-scroll-area);box-shadow:5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='horizontal']) button.navigation:last-child{right:0;padding-right:4px;box-shadow:-5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']){flex-direction:column}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) button.navigation{left:0;width:100%;height:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='vertical']) button.navigation:first-child{top:0;padding-top:var(--safe-scroll-area);box-shadow:0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']) button.navigation:last-child{bottom:0;padding-bottom:var(--safe-scroll-area);box-shadow:0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([size='small'][orientation='vertical']) button.navigation{height:calc(var(--space-unit) * 4)}";
@@ -40,7 +40,8 @@ const ZNavigationTabs = class {
40
40
  if (!this.tabsNav) {
41
41
  return;
42
42
  }
43
- this.canNavigateNext = this.tabsNav[`scroll${this.direction}`] + this.tabsNav[`client${this.dimension}`] < this.tabsNav[`scroll${this.dimension}`];
43
+ this.canNavigateNext = this.tabsNav[`scroll${this.direction}`] +
44
+ this.tabsNav[`client${this.dimension}`] < this.tabsNav[`scroll${this.dimension}`];
44
45
  this.canNavigatePrev = this.tabsNav[`scroll${this.direction}`] > 0;
45
46
  }
46
47
  selectedTabHandler(event) {
@@ -78,7 +79,10 @@ const ZNavigationTabs = class {
78
79
  this.checkScrollVisible();
79
80
  }
80
81
  render() {
81
- return h(Host, { class: this.size === 'small' ? 'interactive-2' : 'interactive-1', scrollable: this.canNavigate, role: "tablist" }, this.canNavigate && h("button", { role: "tab", class: "navigation", onClick: () => this.navigatePrevious(), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-left' : 'chevron-up', width: 16, height: 16 })), h("nav", { ref: (el) => this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav, onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && h("button", { role: "tab", class: "navigation", onClick: () => { this.navigateNext(); }, tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
82
+ return h(Host, { class: {
83
+ 'interactive-2': this.size === 'small',
84
+ 'interactive-1': this.size !== 'small'
85
+ }, scrollable: this.canNavigate }, this.canNavigate && h("button", { class: "navigation", onClick: () => this.navigatePrevious(), tabindex: "-1", disabled: !this.canNavigatePrev }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-left' : 'chevron-up', width: 16, height: 16 })), h("nav", { role: "tablist", ref: (el) => this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav, onScroll: this.checkScrollEnabled.bind(this) }, h("slot", null)), this.canNavigate && h("button", { class: "navigation", onClick: () => { this.navigateNext(); }, tabindex: "-1", disabled: !this.canNavigateNext }, h("z-icon", { name: this.orientation == 'horizontal' ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
82
86
  }
83
87
  get host() { return getElement(this); }
84
88
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-fa9e549c.js';
2
2
  import { m as InputStatusEnum } from './index-ac6e10aa.js';
3
3
 
4
4
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{height:72px;width:calc(var(--space-unit) * 5);font-size:32px;font-weight:300;font-family:var(--font-family-sans);text-align:center;caret-color:transparent;box-sizing:border-box;padding:0;color:var(--color-surface05)}input.error{border:1px solid;border-radius:4px;border-color:var(--color-error01);background-color:var(--color-error-inverse)}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h } from './index-fa9e549c.js';
2
2
 
3
3
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;border-bottom:var(--border-size-small) solid var(--color-surface03);padding-top:calc(var(--space-unit) * 1.5);display:grid;grid-template-rows:auto auto;grid-template-columns:36px auto}:host>div>z-icon{grid-row:1 / 2;grid-column:1 / 2}:host>div>div.content{grid-row:1 / 2;grid-column:2 / 3;margin-bottom:var(--space-unit)}:host>div>div.ctaWrapper{grid-row:2 / 3;grid-column:1 / 3;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin-bottom:var(--space-unit)}@media only screen and (min-width: 768px){:host>div>div.ctaWrapper{flex-direction:row;grid-column:2 / 3}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-fa9e549c.js';
2
2
  import { p as PocketStatusEnum } from './index-ac6e10aa.js';
3
3
  import { h as handleKeyboardSubmit } from './utils-4da869b8.js';
4
4
  import { h as hammer } from './hammer-c807d0b5.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-fa9e549c.js';
2
2
 
3
3
  const stylesCss = ".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-fa9e549c.js';
2
2
  import { D as DeviceEnum } from './index-ac6e10aa.js';
3
3
  import { b as convertJson, d as getDevice, h as handleKeyboardSubmit } from './utils-4da869b8.js';
4
4
  import './breakpoints-c386984e.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
2
  import { t as ToastNotificationPositionsEnum } from './index-ac6e10aa.js';
3
3
 
4
4
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-6eb9a735.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
2
  import { s as ToastNotificationTransitionsEnum } from './index-ac6e10aa.js';
3
3
  import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
4
4
  import { h as hammer } from './hammer-c807d0b5.js';
@@ -3,5 +3,7 @@ export declare class ZInputLabel {
3
3
  value: string;
4
4
  /** the label is disabled */
5
5
  disabled?: boolean;
6
+ /** the label is attached to */
7
+ htmlfor?: string;
6
8
  render(): any;
7
9
  }
@@ -24,8 +24,10 @@ export declare class ZTooltip {
24
24
  */
25
25
  positionChange: EventEmitter;
26
26
  host: HTMLElement;
27
+ private animationFrameRequestId?;
27
28
  validateType(newValue: any): void;
28
29
  onPositionChange(): void;
30
+ disconnectedCallback(): void;
29
31
  /**
30
32
  * Setup tooltip behaviors on opening.
31
33
  */
@@ -484,6 +484,10 @@ export namespace Components {
484
484
  * the label is disabled
485
485
  */
486
486
  "disabled"?: boolean;
487
+ /**
488
+ * the label is attached to
489
+ */
490
+ "htmlfor"?: string;
487
491
  /**
488
492
  * the label value
489
493
  */
@@ -2616,6 +2620,10 @@ declare namespace LocalJSX {
2616
2620
  * the label is disabled
2617
2621
  */
2618
2622
  "disabled"?: boolean;
2623
+ /**
2624
+ * the label is attached to
2625
+ */
2626
+ "htmlfor"?: string;
2619
2627
  /**
2620
2628
  * the label value
2621
2629
  */
@@ -1 +1 @@
1
- import{r,h as o,g as t}from"./p-859f6438.js";const e=class{constructor(o){r(this,o)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return o("slot",null)}get host(){return t(this)}};e.style=".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{e as z_registro_table_footer}
1
+ import{r,h as o,g as t}from"./p-904a85e4.js";const e=class{constructor(o){r(this,o)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return o("slot",null)}get host(){return t(this)}};e.style=".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{e as z_registro_table_footer}
@@ -0,0 +1 @@
1
+ import{r as a,c as o,h as t}from"./p-904a85e4.js";const i=class{constructor(t){a(this,t),this.modalClose=o(this,"modalClose",7),this.modalHeaderActive=o(this,"modalHeaderActive",7),this.modalBackgroundClick=o(this,"modalBackgroundClick",7),this.closeButtonLabel="close modal"}emitModalClose(){this.modalClose.emit({modalid:this.modalid})}emitModalHeaderActive(){this.modalHeaderActive.emit({modalid:this.modalid})}emitBackgroundClick(){this.modalBackgroundClick.emit({modalid:this.modalid})}render(){return[t("div",{class:"modal-container",id:this.modalid,role:"dialog"},t("header",{onClick:this.emitModalHeaderActive.bind(this)},t("div",null,this.modaltitle&&t("h1",null,this.modaltitle),this.modalsubtitle&&t("h2",null,this.modalsubtitle)),t("slot",{name:"modalCloseButton"},t("button",{"aria-label":this.closeButtonLabel,onClick:this.emitModalClose.bind(this)},t("z-icon",{name:"multiply-circle-filled"})))),t("div",{class:"modal-content"},t("slot",{name:"modalContent"}))),t("div",{class:"modal-background","data-action":"modalBackground","data-modal":this.modalid,onClick:this.emitBackgroundClick.bind(this)})]}};i.style=":host{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.modal-background{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{display:flex;flex-direction:column;z-index:1010;width:100%;height:100vh;overflow:-moz-scrollbars-none;overflow:hidden}.modal-container>header{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{margin:0;padding:0;border:none;background:transparent;cursor:pointer;margin-left:auto}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;flex-direction:column;width:100%;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{margin:0;padding:0;font-weight:var(--font-rg);color:var(--color-text01)}.modal-container>header h1{font-size:var(--font-size-5);line-height:1.4;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-3);line-height:1.5;letter-spacing:0}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>.modal-content{flex:1 auto;background:var(--color-surface01);overflow:auto;overflow-x:hidden}.modal-container .modal-content::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-track{background-color:transparent}.modal-container .modal-content::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.modal-container .modal-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container .modal-content{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:absolute;top:calc(var(--space-unit) * 6);left:50%;transform:translateX(-50%);width:auto;height:auto;min-width:calc(var(--space-unit) * 40);min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);line-height:1.33;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-4);line-height:1.5;letter-spacing:0}.modal-container>header h1+h2{margin-top:0}}";export{i as z_modal}