@zanichelli/albe-web-components 2.18.0 → 2.18.4

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 (152) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/{index-156c65fe.js → index-2e494cc2.js} +0 -12
  3. package/dist/cjs/{index-5c40f36c.js → index-66eb89b1.js} +36 -6
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{utils-2a89d30b.js → utils-2636e75b.js} +1 -1
  7. package/dist/cjs/web-components-library.cjs.js +2 -2
  8. package/dist/cjs/{contextual-menu_65.cjs.entry.js → z-alert_65.cjs.entry.js} +86 -90
  9. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  10. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  11. package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
  12. package/dist/cjs/z-header.cjs.entry.js +2 -2
  13. package/dist/cjs/z-heading.cjs.entry.js +1 -1
  14. package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
  15. package/dist/cjs/z-modal-login.cjs.entry.js +3 -3
  16. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  17. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  18. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  19. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  20. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  21. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  22. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  23. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  24. package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
  25. package/dist/cjs/z-registro-table-footer.cjs.entry.js +1 -1
  26. package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
  27. package/dist/cjs/z-toast-notification-list.cjs.entry.js +56 -0
  28. package/dist/cjs/z-toast-notification.cjs.entry.js +202 -0
  29. package/dist/collection/beans/index.js +36 -6
  30. package/dist/collection/collection-manifest.json +3 -1
  31. package/dist/collection/components/buttons/z-button/index.js +3 -3
  32. package/dist/collection/components/buttons/z-button/styles.css +33 -0
  33. package/dist/collection/components/list/z-list-element/index.js +2 -2
  34. package/dist/collection/components/list/z-toast-notification-list/index.js +97 -0
  35. package/dist/collection/components/list/z-toast-notification-list/styles.css +107 -0
  36. package/dist/collection/components/modal/z-modal-login/index.js +20 -3
  37. package/dist/collection/components/navigation/z-link/index.js +16 -16
  38. package/dist/collection/components/navigation/z-link/styles.css +10 -11
  39. package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -7
  40. package/dist/collection/components/navigation/z-user-dropdown/styles.css +0 -6
  41. package/dist/collection/components/notification/z-toast-notification/index.js +402 -0
  42. package/dist/collection/components/notification/z-toast-notification/styles.css +247 -0
  43. package/dist/collection/components/{contextual-menu → z-contextual-menu}/index.js +9 -9
  44. package/dist/collection/components/{contextual-menu → z-contextual-menu}/styles.css +8 -14
  45. package/dist/collection/snowflakes/registro-table/z-registro-table-header/index.js +38 -15
  46. package/dist/collection/snowflakes/registro-table/z-registro-table-header/styles.css +0 -4
  47. package/dist/esm/{index-c46a98db.js → index-6eb9a735.js} +1 -12
  48. package/dist/esm/{index-967c7341.js → index-98ce8389.js} +37 -7
  49. package/dist/esm/index.js +2 -2
  50. package/dist/esm/loader.js +2 -2
  51. package/dist/esm/{utils-a9ad5ffb.js → utils-c7b22832.js} +1 -1
  52. package/dist/esm/web-components-library.js +2 -2
  53. package/dist/esm/{contextual-menu_65.entry.js → z-alert_65.entry.js} +86 -90
  54. package/dist/esm/z-app-header.entry.js +1 -1
  55. package/dist/esm/z-candybar.entry.js +1 -1
  56. package/dist/esm/z-cookiebar.entry.js +2 -2
  57. package/dist/esm/z-header.entry.js +2 -2
  58. package/dist/esm/z-heading.entry.js +1 -1
  59. package/dist/esm/z-messages-pocket.entry.js +2 -2
  60. package/dist/esm/z-modal-login.entry.js +3 -3
  61. package/dist/esm/z-modal.entry.js +1 -1
  62. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  63. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  64. package/dist/esm/z-myz-card-info.entry.js +3 -3
  65. package/dist/esm/z-navigation-tab.entry.js +1 -1
  66. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  67. package/dist/esm/z-otp.entry.js +2 -2
  68. package/dist/esm/z-pocket-message.entry.js +1 -1
  69. package/dist/esm/z-pocket_3.entry.js +3 -3
  70. package/dist/esm/z-registro-table-footer.entry.js +1 -1
  71. package/dist/esm/z-slideshow.entry.js +3 -3
  72. package/dist/esm/z-toast-notification-list.entry.js +52 -0
  73. package/dist/esm/z-toast-notification.entry.js +198 -0
  74. package/dist/types/beans/index.d.ts +33 -2
  75. package/dist/types/components/buttons/z-button/index.d.ts +1 -1
  76. package/dist/types/components/list/z-list-element/index.d.ts +1 -1
  77. package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -0
  78. package/dist/types/components/modal/z-modal-login/index.d.ts +2 -0
  79. package/dist/types/components/navigation/z-link/index.d.ts +1 -2
  80. package/dist/types/components/navigation/z-user-dropdown/index.d.ts +1 -2
  81. package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -0
  82. package/dist/types/components/{contextual-menu → z-contextual-menu}/index.d.ts +4 -4
  83. package/dist/types/components.d.ts +167 -39
  84. package/dist/types/snowflakes/registro-table/z-registro-table-header/index.d.ts +2 -2
  85. package/dist/web-components-library/index.esm.js +1 -1
  86. package/dist/web-components-library/{p-2d372576.entry.js → p-01ebd1c9.entry.js} +1 -1
  87. package/dist/web-components-library/{p-81aca7f9.entry.js → p-12ce5608.entry.js} +1 -1
  88. package/dist/web-components-library/{p-57c3d9ff.entry.js → p-2137b1fb.entry.js} +1 -1
  89. package/dist/web-components-library/{p-74c1c6e0.entry.js → p-251558f4.entry.js} +1 -1
  90. package/dist/web-components-library/p-26e91915.entry.js +7 -0
  91. package/dist/web-components-library/{p-e51658e2.entry.js → p-2a5adef6.entry.js} +1 -1
  92. package/dist/web-components-library/{p-6375145b.entry.js → p-337ace81.entry.js} +1 -1
  93. package/dist/web-components-library/{p-1cab68e1.entry.js → p-3c9ec157.entry.js} +1 -1
  94. package/dist/web-components-library/{p-dc5b4723.entry.js → p-40aff614.entry.js} +1 -1
  95. package/dist/web-components-library/{p-673631bf.entry.js → p-4c255df1.entry.js} +1 -1
  96. package/dist/web-components-library/p-504ff914.entry.js +1 -0
  97. package/dist/web-components-library/{p-df7cbc7e.entry.js → p-590be9d2.entry.js} +1 -1
  98. package/dist/web-components-library/{p-f2689b14.js → p-818c7395.js} +1 -1
  99. package/dist/web-components-library/p-859f6438.js +1 -0
  100. package/dist/web-components-library/{p-e32ebd79.entry.js → p-8a7841df.entry.js} +1 -1
  101. package/dist/web-components-library/{p-640cf406.entry.js → p-8c800c8c.entry.js} +1 -1
  102. package/dist/web-components-library/{p-e45b780b.entry.js → p-9c17ebe5.entry.js} +1 -1
  103. package/dist/web-components-library/{p-d9f4bef7.entry.js → p-b11b6985.entry.js} +1 -1
  104. package/dist/web-components-library/{p-1f02b80f.entry.js → p-b4ceb308.entry.js} +1 -1
  105. package/dist/web-components-library/{p-e2d6c4ae.entry.js → p-ba896238.entry.js} +1 -1
  106. package/dist/web-components-library/{p-c007fb63.entry.js → p-d428fe35.entry.js} +1 -1
  107. package/dist/web-components-library/p-e34dbabe.js +1 -0
  108. package/dist/web-components-library/{p-195cfc7e.entry.js → p-e7cd27ec.entry.js} +1 -1
  109. package/dist/web-components-library/p-fd7a7565.entry.js +1 -0
  110. package/dist/web-components-library/web-components-library.esm.js +1 -1
  111. package/package.json +1 -1
  112. package/react/components.d.ts +3 -1
  113. package/react/components.js +5 -3
  114. package/react/components.js.map +1 -1
  115. package/www/build/index.esm.js +1 -1
  116. package/www/build/{p-2d372576.entry.js → p-01ebd1c9.entry.js} +1 -1
  117. package/www/build/{p-81aca7f9.entry.js → p-12ce5608.entry.js} +1 -1
  118. package/www/build/{p-57c3d9ff.entry.js → p-2137b1fb.entry.js} +1 -1
  119. package/www/build/{p-74c1c6e0.entry.js → p-251558f4.entry.js} +1 -1
  120. package/www/build/p-26e91915.entry.js +7 -0
  121. package/www/build/{p-e51658e2.entry.js → p-2a5adef6.entry.js} +1 -1
  122. package/www/build/{p-6375145b.entry.js → p-337ace81.entry.js} +1 -1
  123. package/www/build/{p-1cab68e1.entry.js → p-3c9ec157.entry.js} +1 -1
  124. package/www/build/{p-dc5b4723.entry.js → p-40aff614.entry.js} +1 -1
  125. package/www/build/{p-673631bf.entry.js → p-4c255df1.entry.js} +1 -1
  126. package/www/build/p-504ff914.entry.js +1 -0
  127. package/www/build/{p-df7cbc7e.entry.js → p-590be9d2.entry.js} +1 -1
  128. package/www/build/{p-f2689b14.js → p-818c7395.js} +1 -1
  129. package/www/build/p-859f6438.js +1 -0
  130. package/www/build/p-859fc437.js +1 -0
  131. package/www/build/{p-e32ebd79.entry.js → p-8a7841df.entry.js} +1 -1
  132. package/www/build/{p-640cf406.entry.js → p-8c800c8c.entry.js} +1 -1
  133. package/www/build/{p-e45b780b.entry.js → p-9c17ebe5.entry.js} +1 -1
  134. package/www/build/{p-d9f4bef7.entry.js → p-b11b6985.entry.js} +1 -1
  135. package/www/build/{p-1f02b80f.entry.js → p-b4ceb308.entry.js} +1 -1
  136. package/www/build/{p-e2d6c4ae.entry.js → p-ba896238.entry.js} +1 -1
  137. package/www/build/{p-c007fb63.entry.js → p-d428fe35.entry.js} +1 -1
  138. package/www/build/p-e34dbabe.js +1 -0
  139. package/www/build/p-e55724ae.css +1 -0
  140. package/www/build/{p-195cfc7e.entry.js → p-e7cd27ec.entry.js} +1 -1
  141. package/www/build/p-fd7a7565.entry.js +1 -0
  142. package/www/build/web-components-library.esm.js +1 -1
  143. package/www/index.html +34 -28
  144. package/www/pages/notification.html +247 -0
  145. package/dist/web-components-library/p-0e91a877.js +0 -1
  146. package/dist/web-components-library/p-4dbf0b2e.entry.js +0 -7
  147. package/dist/web-components-library/p-e51276a9.js +0 -1
  148. package/www/build/p-0e91a877.js +0 -1
  149. package/www/build/p-4dbf0b2e.entry.js +0 -7
  150. package/www/build/p-a28aa39d.css +0 -1
  151. package/www/build/p-e51276a9.js +0 -1
  152. package/www/build/p-f0b45c9d.js +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  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-drawer-trigger-size:calc(var(--space-unit) * 4);display:block;color:var(--text-grey-800)}: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)}.heading-stucked{position:fixed;top:var(--stuck-top, 0);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(--bg-white);box-shadow:var(--shadow-2);background:var(--bg-white);animation:slideStuckedHeadingIn 250ms ease-out}.heading-stucked .heading-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}::slotted(*){margin:0}.heading-title{display:flex;flex-direction:row;align-items:center;max-width:100%}.heading-stucked .heading-title,::slotted([slot='title']){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(--dashboard-font);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;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)}.drawer-container{position:fixed;top:0;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(--bg-grey-900);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(--bg-white);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:0 calc(var(--space-unit) * 2);overflow:auto}.drawer-content::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}.drawer-content::-webkit-scrollbar-thumb{background-color:var(--myz-blue);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;border:0;border-radius:0;appearance:none;cursor:pointer}.drawer-container[data-open] .drawer-overlay{opacity:0.7;pointer-events:all}.drawer-container[data-open] .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(--text-white);fill:var(--text-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([drawer])) .menu-container{display:flex}:host(:not([drawer])) .heading-panel .drawer-trigger{display:none}:host(:not([drawer])) .heading-subtitle{padding-left:0}:host(:not([drawer]):not([data-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([drawer]):not([data-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([drawer]):not([data-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}}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  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}}";
8
8
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
7
 
8
8
  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)}}";
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
 
9
9
  const stylesCss = ":host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"main-header\";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * .5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * .5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * .5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:\" \";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:\"main-header main-header main-header main-header main-header\" \"dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu\";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"dropdown-links\";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * .5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * .5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  const ZHeading = class {
8
8
  constructor(hostRef) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
7
 
8
8
  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)}}";
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
7
 
8
8
  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)}}";
9
9
 
@@ -64,7 +64,7 @@ const zModalLogin = class {
64
64
  return (index.h("z-button", { variant: index$1.ButtonVariantEnum.secondary, onClick: () => this.emitZainoDigitaleClick(), class: "zainoDigitale" }, index.h("div", { class: "zd" }, index.h("svg", { width: "18px", height: "24px", viewBox: "0 0 18 24" }, index.h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, index.h("g", { transform: "translate(-313.000000, -329.000000)", fill: "#E2001A", "fill-rule": "nonzero" }, index.h("g", { transform: "translate(25.000000, 191.000000)" }, index.h("g", null, index.h("g", { transform: "translate(0.000000, 100.000000)" }, index.h("g", null, index.h("g", { transform: "translate(276.000000, 28.000000)" }, index.h("path", { d: "M29.8953704,30.5632326 C29.9143039,30.3327754 29.5356326,30.0447041 29.1380277,29.8142469 C29.2516291,28.7963947 29.4409647,26.9719425 29.2705626,26.3189807 C29.0433598,25.416357 28.3428178,24.8018047 28.380685,23.822362 C28.4185521,22.8429193 28.1913493,16.5437582 27.0364017,15.1802202 C26.1654576,14.162368 25.4649156,12.8372396 23.4390239,12.2418921 C23.4390239,12.0498445 23.4390239,11.8770016 23.4200903,11.7425683 C23.3822232,10.9167637 21.9622056,10.090959 21.6214014,10.0525495 C21.2805972,10.01414 20.371786,9.95652568 20.0309818,10.0525495 C19.6901775,10.1293685 19.0464362,11.128016 18.7434992,11.4352922 C18.5920306,11.5889302 18.5541635,11.9538207 18.5730971,12.3187111 C17.437083,12.6836015 16.1306669,13.4325871 15.4490584,14.9497631 C14.2941108,17.676839 13.4799674,18.9251483 13.6693031,24.1680477 C13.5935688,25.1090809 13.2906318,25.6084046 13.1012961,25.6852237 C12.9119604,25.7620427 12.798359,25.9156808 12.7604919,26.1077284 C12.7226247,26.2805712 12.5522226,28.37389 12.7415583,29.8718612 C12.3818205,30.1023183 12.0788834,30.3519802 12.097817,30.5632326 C12.1546177,31.0625563 11.8516806,31.7731324 12.097817,32.0612038 C12.230352,32.2148419 12.7226247,32.5413228 13.3284989,32.8293942 C13.6125024,33.4631512 14.199443,33.9240655 15.467992,33.9816797 C18.1565586,34.0584988 26.2601254,33.8664512 26.5630625,33.9048607 C26.847066,33.9432702 28.4374857,34.0008845 28.683622,32.8293942 C29.2894962,32.5413228 29.781769,32.2148419 29.9143039,32.0612038 C30.1415067,31.7731324 29.8385697,31.0625563 29.8953704,30.5632326 Z M12.0319858,31.2 C12.1173988,31.1230769 12.3736379,31.0461538 12.743761,31 C12.857645,31.3230769 12.914587,31.6615385 13,32 C12.4021089,31.8153846 11.8611598,31.5692308 12.0319858,31.2 Z M21.1618497,12.8394441 C21.1618497,12.8394441 20.6763006,12.8165075 20,13 L20,12.9770634 C20,12.5642053 20.3121387,11.3256309 20.3988439,11.1192018 C20.4855491,10.9127728 21.265896,11.0274556 21.8554913,11.0733287 C22.6358382,11.0503922 22.4624277,11.2568212 22.8092486,11.9907912 C22.9306358,12.2889666 22.982659,12.6559516 23,13 C22.4797688,12.8623806 21.8728324,12.8165075 21.1618497,12.8394441 Z M28.3324094,30 C28.6648189,30.0833333 28.9085858,30.2222222 28.9750677,30.3888889 C29.1301921,31.1666667 28.5318551,31.6388889 28,32 C28.0221606,31.5 28.0664819,31.1111111 28.0664819,31.1111111 L28.2437669,30.6111111 L28.3324094,30 Z M21.8571429,23 L21.8571429,23.8 L22.7142857,23.8 L22.7142857,24.6 L23.5714286,24.6 L23.5714286,25.4 L24.4285714,25.4 L24.4285714,26.2 L25.2857143,26.2 L25.2857143,27 L26.1428571,27 L26.1428571,27.8 L27,27.8 L27,28.6 L24.4285714,28.6 L24.4285714,29.4 L25.2857143,29.4 L25.2857143,31 L24.4285714,31 L24.4285714,30.2 L23.5714286,30.2 L23.5714286,29.4 L22.7142857,29.4 L22.7142857,30.2 L21.8571429,30.2 L21.8571429,31 L21,31 L21,23 L21.8571429,23 Z" }))))))))), index.h("span", null, "ZAINO DIGITALE"))));
65
65
  }
66
66
  render() {
67
- return (index.h("z-modal", { modaltitle: this.heading }, index.h("div", { class: "wrapper", slot: "modalContent" }, index.h("form", { method: "post" }, index.h("div", { class: "username" }, index.h("slot", { name: "username" }, index.h("z-input", { id: "username", label: "email o numero di cellulare", placeholder: "Inserisci l'email o il cellulare", autocomplete: "username", name: "username", status: this.status, message: this.message, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => (this.status = null) }))), index.h("div", { class: "password" }, index.h("slot", { name: "password" }, index.h("z-input", { id: "password", label: "password", placeholder: "Inserisci la tua password", type: "password", name: "password", autocomplete: "current-password", status: this.status, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => (this.status = null) }))), index.h("z-link", { class: "forget", href: "https://my.zanichelli.it" }, "Password dimenticata?"), index.h("div", { class: "login" }, index.h("slot", { name: "login" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.primary, onClick: () => this.emitLoginSubmit() }, "Accedi")))), index.h("hr", null), index.h("z-body", { class: "signup", level: 4, variant: "semibold" }, "Non hai ancora un account?"), index.h("div", { class: "signup" }, index.h("slot", { name: "signup" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.secondary, onClick: () => this.emitSignupClick() }, "Registrati"))), index.h("div", { class: "providers" }, index.h("z-body", { class: "provider", level: 5, variant: "regular" }, "OPPURE ACCEDI CON:"), !this.externalProviderCheck && (index.h("slot", { name: "provider" }, this.renderZainoDigitaleButton(), index.h("z-link", { icon: "informationsource", href: "https://www.zainodigitale.it/#/landing" }, "Cos'\u00E8 Zaino Digitale?")))))));
67
+ return (index.h("z-modal", { modaltitle: this.heading }, index.h("div", { class: "wrapper", slot: "modalContent" }, index.h("form", { method: "post" }, index.h("div", { class: "username" }, index.h("slot", { name: "username" }, index.h("z-input", { id: "username", label: "email o numero di cellulare", placeholder: "Inserisci l'email o il cellulare", autocomplete: "username", name: "username", status: this.status, message: this.message, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => (this.status = null) }))), index.h("div", { class: "password" }, index.h("slot", { name: "password" }, index.h("z-input", { id: "password", label: "password", placeholder: "Inserisci la tua password", type: "password", name: "password", autocomplete: "current-password", status: this.status, onKeyUp: (e) => this.handleInputKeyUp(e), onInputChange: () => (this.status = null) }))), index.h("z-link", { class: "forget", href: this.forgotPasswordUrl }, "Password dimenticata?"), index.h("div", { class: "login" }, index.h("slot", { name: "login" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.primary, onClick: () => this.emitLoginSubmit() }, "Accedi")))), index.h("hr", null), index.h("z-body", { class: "signup", level: 4, variant: "semibold" }, "Non hai ancora un account?"), index.h("div", { class: "signup" }, index.h("slot", { name: "signup" }, index.h("z-button", { variant: index$1.ButtonVariantEnum.secondary, onClick: () => this.emitSignupClick() }, "Registrati"))), !this.externalProviderCheck && (index.h("div", { class: "providers" }, index.h("z-body", { class: "provider", level: 5, variant: "regular" }, "OPPURE ACCEDI CON:"), index.h("slot", { name: "provider" }, this.renderZainoDigitaleButton(), index.h("z-link", { icon: "informationsource", href: "https://www.zainodigitale.it/#/landing" }, "Cos'\u00E8 Zaino Digitale?")))))));
68
68
  }
69
69
  get hostElement() { return index.getElement(this); }
70
70
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  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}}";
8
8
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
7
 
8
8
  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}";
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  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}";
8
8
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
7
- const utils = require('./utils-2a89d30b.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
+ const utils = require('./utils-2636e75b.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
10
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden:after{background:linear-gradient(\n 180deg,\n rgba(255, 0, 0, 0),\n rgba(255, 0, 0, 0) 60%,\n white\n );content:\"\";position:absolute;pointer-events:none;top:0;left:0;right:0;bottom:0}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-secondary02);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-tooltip{position:absolute;top:0px;left:calc(var(--space-unit) * 4)}";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  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}";
8
8
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
7
 
8
8
  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)}";
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
7
 
8
8
  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)}}";
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  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}}";
8
8
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
7
- const utils = require('./utils-2a89d30b.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
+ const utils = require('./utils-2636e75b.js');
8
8
  const hammer = require('./hammer-6e321f0b.js');
9
9
  require('./breakpoints-88c4fd6c.js');
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
5
+ const index = require('./index-2e494cc2.js');
6
6
 
7
7
  const stylesCss = ".sc-z-registro-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
8
8
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-156c65fe.js');
6
- const index$1 = require('./index-5c40f36c.js');
7
- const utils = require('./utils-2a89d30b.js');
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
+ const utils = require('./utils-2636e75b.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
10
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
+
8
+ 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}}";
9
+
10
+ const ZToastNotificationList = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ /**Set the entry position of new notification in the list */
14
+ this.newestontop = true;
15
+ this.slotChangeHandler = () => {
16
+ const difference = Array.from(this.hostElement.children).filter((elem) => !this.notificationArray.includes(elem));
17
+ if (difference) {
18
+ difference.forEach((elem) => {
19
+ this.notificationArray.push(elem);
20
+ const newElem = elem;
21
+ elem.remove();
22
+ this.hostElement.prepend(newElem);
23
+ });
24
+ }
25
+ };
26
+ }
27
+ watchPropNewestontop(newValue) {
28
+ this.hostElement.append(...this.notificationArray.reverse());
29
+ if (newValue) {
30
+ this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
31
+ }
32
+ else {
33
+ this.hostElement.shadowRoot.removeEventListener("slotchange", this.slotChangeHandler);
34
+ }
35
+ }
36
+ componentWillLoad() {
37
+ this.newestontop && this.handleNewestOnTop();
38
+ }
39
+ handleNewestOnTop() {
40
+ this.notificationArray = Array.from(this.hostElement.children);
41
+ this.hostElement.append(...this.notificationArray.reverse());
42
+ this.hostElement.shadowRoot.addEventListener("slotchange", this.slotChangeHandler);
43
+ }
44
+ render() {
45
+ return (index.h(index.Host, { class: this.position
46
+ ? this.position
47
+ : index$1.ToastNotificationPositionsEnum.topRight }, index.h("slot", { name: "toasts" })));
48
+ }
49
+ get hostElement() { return index.getElement(this); }
50
+ static get watchers() { return {
51
+ "newestontop": ["watchPropNewestontop"]
52
+ }; }
53
+ };
54
+ ZToastNotificationList.style = stylesCss;
55
+
56
+ exports.z_toast_notification_list = ZToastNotificationList;
@@ -0,0 +1,202 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2e494cc2.js');
6
+ const index$1 = require('./index-66eb89b1.js');
7
+ const breakpoints = require('./breakpoints-88c4fd6c.js');
8
+ const hammer = require('./hammer-6e321f0b.js');
9
+
10
+ const stylesCss = ":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
11
+
12
+ const ZToastNotification = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.toastClose = index.createEvent(this, "toastClose", 7);
16
+ /** toast notification autoclose can be paused */
17
+ this.pauseonfocusloss = true;
18
+ /** toast notification can be draggable*/
19
+ this.isdraggable = true;
20
+ /** toast notification draggable percentage*/
21
+ this.draggablepercentage = 80;
22
+ this.isCloseEventCalled = false;
23
+ this.visibilityChangeEventHandler = () => {
24
+ if (document.visibilityState === "hidden") {
25
+ this.timeoutHandle && this.onBlur();
26
+ }
27
+ else {
28
+ this.elapsedTime && this.onFocus();
29
+ }
30
+ };
31
+ }
32
+ watchPropIsdraggable(newValue) {
33
+ if (newValue) {
34
+ this.sliderManager.get('pan').set({ enable: true });
35
+ }
36
+ else {
37
+ this.sliderManager.get('pan').set({ enable: false });
38
+ }
39
+ }
40
+ watchPropAutoclose(newValue) {
41
+ clearTimeout(this.timeoutHandle);
42
+ this.startClosingTimeout(newValue);
43
+ }
44
+ watchPropPauseonfocusloss(newValue) {
45
+ if (this.autoclose) {
46
+ if (newValue) {
47
+ document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
48
+ }
49
+ else {
50
+ document.removeEventListener("visibilitychange", this.visibilityChangeEventHandler);
51
+ }
52
+ }
53
+ }
54
+ emitToastClose(cssClass) {
55
+ this.timeoutHandle = null;
56
+ this.elapsedTime = null;
57
+ this.hostElement.classList.add(cssClass);
58
+ this.toastClose.emit();
59
+ }
60
+ componentWillLoad() {
61
+ this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
62
+ this.validateAutoclose();
63
+ }
64
+ componentDidLoad() {
65
+ this.isTextLong = this.detectWrap() || this.toastText.offsetHeight > 20;
66
+ this.startTime = Date.now();
67
+ if (this.autoclose && this.pauseonfocusloss) {
68
+ document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
69
+ }
70
+ this.isdraggable && this.handleSlideOutDragAnimation();
71
+ this.percentage = 0;
72
+ }
73
+ validateAutoclose() {
74
+ if (!this.autoclose && !this.closebutton)
75
+ console.error("At least one between autoclose and closebutton must be present");
76
+ }
77
+ mapSlideOutClass() {
78
+ switch (this.transition) {
79
+ case index$1.ToastNotificationTransitionsEnum.slideInDown:
80
+ return index$1.ToastNotificationTransitionsEnum.slideOutUp;
81
+ case index$1.ToastNotificationTransitionsEnum.slideInUp:
82
+ return index$1.ToastNotificationTransitionsEnum.slideOutDown;
83
+ case index$1.ToastNotificationTransitionsEnum.slideInLeft:
84
+ return index$1.ToastNotificationTransitionsEnum.slideOutRight;
85
+ case index$1.ToastNotificationTransitionsEnum.slideInRight:
86
+ return index$1.ToastNotificationTransitionsEnum.slideOutLeft;
87
+ }
88
+ }
89
+ calculateDraggedPercentage(e) {
90
+ const bounding = this.hostElement.getBoundingClientRect();
91
+ return Math.round((100 * e.deltaX) / bounding.width);
92
+ }
93
+ handleSlideOutDragAnimation() {
94
+ this.sliderManager = new hammer.hammer(this.hostElement);
95
+ this.sliderManager.get("pan").set({
96
+ direction: hammer.hammer.DIRECTION_HORIZONTAL,
97
+ });
98
+ this.sliderManager.on("pan", (e) => {
99
+ this.percentage = this.calculateDraggedPercentage(e);
100
+ this.hostElement.style.transition = "none";
101
+ this.hostElement.classList.remove(this.transition);
102
+ const translateObj = {
103
+ translate: "translateX( " + this.percentage + "% )",
104
+ translateBack: "translateX(0)",
105
+ };
106
+ this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
107
+ if (e.eventType === hammer.hammer.DIRECTION_LEFT ||
108
+ e.eventType === hammer.hammer.DIRECTION_RIGHT) {
109
+ this.hostElement.style.transform = translateObj.translate;
110
+ if (Math.abs(this.percentage) > this.draggablepercentage &&
111
+ !this.isCloseEventCalled) {
112
+ this.isCloseEventCalled = true;
113
+ this.emitToastClose(e.direction === hammer.hammer.DIRECTION_LEFT
114
+ ? "slide-out-left"
115
+ : "slide-out-right");
116
+ }
117
+ }
118
+ if (e.isFinal && Math.abs(this.percentage) < this.draggablepercentage) {
119
+ this.hostElement.style.transform = translateObj.translateBack;
120
+ this.hostElement.style.transition = "all 1s";
121
+ this.hostElement.style.opacity = `100%`;
122
+ this.percentage = 0;
123
+ }
124
+ });
125
+ }
126
+ onFocus() {
127
+ let time;
128
+ time = this.autoclose;
129
+ if (this.elapsedTime) {
130
+ time = this.autoclose - this.elapsedTime;
131
+ }
132
+ if (time > 0) {
133
+ this.startClosingTimeout(time);
134
+ }
135
+ }
136
+ onBlur() {
137
+ this.elapsedTime = Date.now() - this.startTime;
138
+ clearTimeout(this.timeoutHandle);
139
+ }
140
+ startClosingTimeout(time) {
141
+ this.timeoutHandle = setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
142
+ }
143
+ detectWrap() {
144
+ const parentWidth = this.container.offsetWidth;
145
+ const children = this.container.children;
146
+ let totalWidth = 0;
147
+ for (let i = 0; i < children.length; i++) {
148
+ totalWidth += children[i].offsetWidth;
149
+ }
150
+ return totalWidth > parentWidth;
151
+ }
152
+ renderText() {
153
+ return (index.h("div", { id: "text", ref: (el) => (this.toastText = el) }, index.h("span", { class: "title" }, this.heading), index.h("span", { class: "message" }, this.message)));
154
+ }
155
+ renderButton() {
156
+ return (index.h("div", { id: "button" }, index.h("slot", { name: "button" })));
157
+ }
158
+ renderCloseIcon() {
159
+ return (this.closebutton && (index.h("div", { id: "icon" }, index.h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
160
+ if (e.keyCode == 32 || e.keyCode == 13) {
161
+ e.preventDefault();
162
+ this.emitToastClose(this.mapSlideOutClass());
163
+ }
164
+ } }))));
165
+ }
166
+ renderContainer() {
167
+ return (index.h("div", { tabIndex: 0, id: "external-container", class: {
168
+ [this.type]: !!this.type,
169
+ "several-lines-padding": this.isTextLong,
170
+ }, ref: (el) => (this.container = el) }, this.renderText(), this.renderButton(), this.renderCloseIcon()));
171
+ }
172
+ renderMobileContainer() {
173
+ return (index.h("div", { id: "external-container", class: {
174
+ [this.type]: !!this.type,
175
+ "several-lines-padding": this.isTextLong,
176
+ "mobile-wrapped": this.isTextLong,
177
+ } }, index.h("div", { id: "flex-container", ref: (el) => (this.container = el) }, this.renderText(), this.renderButton()), this.renderCloseIcon()));
178
+ }
179
+ render() {
180
+ return (index.h(index.Host, { style: {
181
+ ["--percentuale"]: `${this.percentage}%`,
182
+ }, class: this.transition
183
+ ? this.transition
184
+ : index$1.ToastNotificationTransitionsEnum.slideInDown, onAnimationEnd: (e) => {
185
+ if (this.autoclose && e.animationName.includes("slidein")) {
186
+ this.startClosingTimeout(this.autoclose);
187
+ }
188
+ if (e.animationName.includes("slideout")) {
189
+ this.hostElement.parentNode.removeChild(this.hostElement);
190
+ }
191
+ } }, this.isMobile ? this.renderMobileContainer() : this.renderContainer()));
192
+ }
193
+ get hostElement() { return index.getElement(this); }
194
+ static get watchers() { return {
195
+ "isdraggable": ["watchPropIsdraggable"],
196
+ "autoclose": ["watchPropAutoclose"],
197
+ "pauseonfocusloss": ["watchPropPauseonfocusloss"]
198
+ }; }
199
+ };
200
+ ZToastNotification.style = stylesCss;
201
+
202
+ exports.z_toast_notification = ZToastNotification;