@zanichelli/albe-web-components 6.0.0 → 6.0.1-rc1

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 (421) hide show
  1. package/dist/cjs/{index-0b49c192.js → index-e3299e0a.js} +225 -207
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/web-components-library.cjs.js +2 -2
  4. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/z-app-header.cjs.entry.js +1 -1
  6. package/dist/cjs/z-app-switcher_9.cjs.entry.js +1 -1
  7. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  9. package/dist/cjs/z-body_2.cjs.entry.js +1 -1
  10. package/dist/cjs/z-button-deprecated.cjs.entry.js +1 -1
  11. package/dist/cjs/z-button-filter.cjs.entry.js +1 -1
  12. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  13. package/dist/cjs/z-button.cjs.entry.js +1 -1
  14. package/dist/cjs/z-candybar.cjs.entry.js +1 -1
  15. package/dist/cjs/z-card.cjs.entry.js +1 -1
  16. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  17. package/dist/cjs/z-chip-deprecated.cjs.entry.js +1 -1
  18. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  19. package/dist/cjs/z-combobox.cjs.entry.js +1 -1
  20. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  21. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  22. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  23. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  25. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  26. package/dist/cjs/z-file.cjs.entry.js +1 -1
  27. package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
  28. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  29. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  30. package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
  31. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  32. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  33. package/dist/cjs/z-input-deprecated.cjs.entry.js +1 -1
  34. package/dist/cjs/z-input-label_2.cjs.entry.js +1 -1
  35. package/dist/cjs/z-list-group.cjs.entry.js +1 -1
  36. package/dist/cjs/z-list_2.cjs.entry.js +1 -1
  37. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +1 -1
  38. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  39. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  40. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  41. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  42. package/dist/cjs/z-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  44. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  45. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  46. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  48. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  49. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  50. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  51. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  52. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  53. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  54. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  55. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  56. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  57. package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
  58. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  59. package/dist/cjs/z-pagination-bar.cjs.entry.js +1 -1
  60. package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
  61. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  62. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  63. package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
  64. package/dist/cjs/z-pocket_3.cjs.entry.js +1 -1
  65. package/dist/cjs/z-popover-deprecated.cjs.entry.js +1 -1
  66. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  67. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  68. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  69. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  70. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  71. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  72. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  73. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  74. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  75. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  76. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  77. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  78. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  79. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  80. package/dist/cjs/z-table-header.cjs.entry.js +1 -1
  81. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  82. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  83. package/dist/cjs/z-table.cjs.entry.js +1 -1
  84. package/dist/cjs/z-tag.cjs.entry.js +1 -1
  85. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  86. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  87. package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
  88. package/dist/cjs/z-toggle-switch.cjs.entry.js +1 -1
  89. package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +1 -1
  90. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  91. package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
  92. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  93. package/dist/collection/collection-manifest.json +1 -1
  94. package/dist/collection/components/inputs/z-input/index.js +6 -1
  95. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +12 -2
  96. package/dist/esm/{index-3517583d.js → index-a2ca4b97.js} +225 -207
  97. package/dist/esm/loader.js +2 -2
  98. package/dist/esm/polyfills/css-shim.js +1 -1
  99. package/dist/esm/web-components-library.js +2 -2
  100. package/dist/esm/z-alert.entry.js +1 -1
  101. package/dist/esm/z-app-header.entry.js +1 -1
  102. package/dist/esm/z-app-switcher_9.entry.js +1 -1
  103. package/dist/esm/z-aria-alert.entry.js +1 -1
  104. package/dist/esm/z-avatar.entry.js +1 -1
  105. package/dist/esm/z-body_2.entry.js +1 -1
  106. package/dist/esm/z-button-deprecated.entry.js +1 -1
  107. package/dist/esm/z-button-filter.entry.js +1 -1
  108. package/dist/esm/z-button-sort.entry.js +1 -1
  109. package/dist/esm/z-button.entry.js +1 -1
  110. package/dist/esm/z-candybar.entry.js +1 -1
  111. package/dist/esm/z-card.entry.js +1 -1
  112. package/dist/esm/z-carousel.entry.js +1 -1
  113. package/dist/esm/z-chip-deprecated.entry.js +1 -1
  114. package/dist/esm/z-chip.entry.js +1 -1
  115. package/dist/esm/z-combobox.entry.js +1 -1
  116. package/dist/esm/z-contextual-menu.entry.js +1 -1
  117. package/dist/esm/z-cookiebar.entry.js +1 -1
  118. package/dist/esm/z-cover-hero.entry.js +1 -1
  119. package/dist/esm/z-date-picker.entry.js +1 -1
  120. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  121. package/dist/esm/z-file-upload.entry.js +1 -1
  122. package/dist/esm/z-file.entry.js +1 -1
  123. package/dist/esm/z-footer-link_3.entry.js +1 -1
  124. package/dist/esm/z-footer.entry.js +1 -1
  125. package/dist/esm/z-ghost-loading.entry.js +1 -1
  126. package/dist/esm/z-icon-package.entry.js +1 -1
  127. package/dist/esm/z-info-box.entry.js +1 -1
  128. package/dist/esm/z-info-reveal.entry.js +1 -1
  129. package/dist/esm/z-input-deprecated.entry.js +1 -1
  130. package/dist/esm/z-input-label_2.entry.js +1 -1
  131. package/dist/esm/z-list-group.entry.js +1 -1
  132. package/dist/esm/z-list_2.entry.js +1 -1
  133. package/dist/esm/z-menu-dropdown_2.entry.js +1 -1
  134. package/dist/esm/z-menu-section.entry.js +1 -1
  135. package/dist/esm/z-menu.entry.js +1 -1
  136. package/dist/esm/z-messages-pocket.entry.js +1 -1
  137. package/dist/esm/z-modal-login.entry.js +1 -1
  138. package/dist/esm/z-modal.entry.js +1 -1
  139. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  140. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  141. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  142. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  143. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  144. package/dist/esm/z-myz-card-info.entry.js +1 -1
  145. package/dist/esm/z-myz-card-list.entry.js +1 -1
  146. package/dist/esm/z-myz-card_4.entry.js +1 -1
  147. package/dist/esm/z-myz-list-item.entry.js +1 -1
  148. package/dist/esm/z-myz-topbar.entry.js +1 -1
  149. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  150. package/dist/esm/z-navigation-tab.entry.js +1 -1
  151. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  152. package/dist/esm/z-notification.entry.js +1 -1
  153. package/dist/esm/z-offcanvas.entry.js +1 -1
  154. package/dist/esm/z-otp.entry.js +1 -1
  155. package/dist/esm/z-pagination-bar.entry.js +1 -1
  156. package/dist/esm/z-pagination-page.entry.js +1 -1
  157. package/dist/esm/z-pagination.entry.js +1 -1
  158. package/dist/esm/z-panel-elem.entry.js +1 -1
  159. package/dist/esm/z-pocket-message.entry.js +1 -1
  160. package/dist/esm/z-pocket_3.entry.js +1 -1
  161. package/dist/esm/z-popover-deprecated.entry.js +1 -1
  162. package/dist/esm/z-popover.entry.js +1 -1
  163. package/dist/esm/z-section-title.entry.js +1 -1
  164. package/dist/esm/z-skip-to-content.entry.js +1 -1
  165. package/dist/esm/z-slideshow.entry.js +1 -1
  166. package/dist/esm/z-status-tag.entry.js +1 -1
  167. package/dist/esm/z-stepper-item.entry.js +1 -1
  168. package/dist/esm/z-stepper.entry.js +1 -1
  169. package/dist/esm/z-table-body.entry.js +1 -1
  170. package/dist/esm/z-table-cell.entry.js +1 -1
  171. package/dist/esm/z-table-empty-box.entry.js +1 -1
  172. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  173. package/dist/esm/z-table-footer.entry.js +1 -1
  174. package/dist/esm/z-table-head.entry.js +1 -1
  175. package/dist/esm/z-table-header-row.entry.js +1 -1
  176. package/dist/esm/z-table-header.entry.js +1 -1
  177. package/dist/esm/z-table-row.entry.js +1 -1
  178. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  179. package/dist/esm/z-table.entry.js +1 -1
  180. package/dist/esm/z-tag.entry.js +1 -1
  181. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  182. package/dist/esm/z-toast-notification.entry.js +1 -1
  183. package/dist/esm/z-toggle-button.entry.js +1 -1
  184. package/dist/esm/z-toggle-switch.entry.js +1 -1
  185. package/dist/esm/z-tooltip-deprecated.entry.js +1 -1
  186. package/dist/esm/z-tooltip.entry.js +1 -1
  187. package/dist/esm/z-user-dropdown.entry.js +1 -1
  188. package/dist/esm/z-visually-hidden.entry.js +1 -1
  189. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +1 -2
  190. package/dist/types/components/file-upload/z-file/index.d.ts +1 -2
  191. package/dist/types/components/file-upload/z-file-upload/index.d.ts +1 -2
  192. package/dist/types/components/inputs/z-input-message/index.d.ts +1 -2
  193. package/dist/types/components/list/z-list/index.d.ts +1 -2
  194. package/dist/types/components/list/z-list-element/index.d.ts +1 -2
  195. package/dist/types/components/list/z-list-group/index.d.ts +1 -2
  196. package/dist/types/components/logo/z-logo/index.d.ts +1 -2
  197. package/dist/types/components/modal/z-modal/index.d.ts +1 -2
  198. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +1 -2
  199. package/dist/types/components/navigation/z-app-header/index.d.ts +1 -2
  200. package/dist/types/components/navigation/z-app-topbar/index.d.ts +1 -2
  201. package/dist/types/components/navigation/z-menu/index.d.ts +1 -2
  202. package/dist/types/components/navigation/z-menu-section/index.d.ts +1 -2
  203. package/dist/types/components/navigation/z-user-dropdown/index.d.ts +1 -2
  204. package/dist/types/components/notification/z-notification/index.d.ts +1 -2
  205. package/dist/types/components/notification/z-toast-notification/index.d.ts +1 -2
  206. package/dist/types/components/typography/z-typography/index.d.ts +1 -2
  207. package/dist/types/components/z-aria-alert/index.d.ts +1 -2
  208. package/dist/types/components/z-avatar/index.d.ts +1 -2
  209. package/dist/types/components/z-card/index.d.ts +1 -2
  210. package/dist/types/components/z-contextual-menu/index.d.ts +1 -2
  211. package/dist/types/components/z-cover-hero/index.d.ts +1 -2
  212. package/dist/types/components/z-divider/index.d.ts +1 -2
  213. package/dist/types/components/z-ghost-loading/index.d.ts +1 -2
  214. package/dist/types/components/z-info-reveal/index.d.ts +1 -2
  215. package/dist/types/components/z-offcanvas/index.d.ts +1 -2
  216. package/dist/types/components/z-pagination/index.d.ts +1 -2
  217. package/dist/types/components/z-section-title/index.d.ts +1 -2
  218. package/dist/types/components/z-skip-to-content/index.d.ts +1 -2
  219. package/dist/types/components/z-table/z-table/index.d.ts +1 -2
  220. package/dist/types/components/z-table/z-table-cell/index.d.ts +1 -2
  221. package/dist/types/components/z-table/z-table-empty-box/index.d.ts +1 -2
  222. package/dist/types/components/z-table/z-table-header/index.d.ts +1 -2
  223. package/dist/types/components/z-table/z-table-header-row/index.d.ts +1 -2
  224. package/dist/types/components/z-table/z-table-row/index.d.ts +1 -2
  225. package/dist/types/components/z-tag/index.d.ts +1 -2
  226. package/dist/types/components.d.ts +1 -1
  227. package/dist/types/deprecated/z-popover-deprecated/index.d.ts +1 -2
  228. package/dist/types/deprecated/z-status-tag/index.d.ts +1 -2
  229. package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +1 -2
  230. package/dist/types/stencil-public-runtime.d.ts +15 -4
  231. package/dist/web-components-library/{p-348c5ada.entry.js → p-074ea569.entry.js} +1 -1
  232. package/dist/web-components-library/{p-f2136861.entry.js → p-10b46635.entry.js} +1 -1
  233. package/dist/web-components-library/{p-7960c409.entry.js → p-1106ead2.entry.js} +1 -1
  234. package/dist/web-components-library/{p-d056538a.entry.js → p-15b8a920.entry.js} +1 -1
  235. package/dist/web-components-library/{p-594c9326.entry.js → p-15fe7b71.entry.js} +1 -1
  236. package/dist/web-components-library/{p-31a4c8d5.entry.js → p-1bd6592f.entry.js} +1 -1
  237. package/dist/web-components-library/{p-182368ea.entry.js → p-1e6a2a56.entry.js} +1 -1
  238. package/dist/web-components-library/{p-b1ea0074.entry.js → p-23781e2b.entry.js} +1 -1
  239. package/dist/web-components-library/{p-7e3bb3e0.entry.js → p-28ff9383.entry.js} +1 -1
  240. package/dist/web-components-library/{p-efdca379.entry.js → p-2ae73112.entry.js} +1 -1
  241. package/dist/web-components-library/{p-eb612914.entry.js → p-2efedcf4.entry.js} +1 -1
  242. package/dist/web-components-library/{p-f0a63044.entry.js → p-344e7ae7.entry.js} +1 -1
  243. package/dist/web-components-library/{p-7a9d3944.entry.js → p-35739670.entry.js} +1 -1
  244. package/{www/build/p-cd1593fa.entry.js → dist/web-components-library/p-35ceae27.entry.js} +1 -1
  245. package/dist/web-components-library/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
  246. package/{www/build/p-c9ebec8d.entry.js → dist/web-components-library/p-3913bff2.entry.js} +1 -1
  247. package/{www/build/p-64102759.entry.js → dist/web-components-library/p-3a431f04.entry.js} +1 -1
  248. package/dist/web-components-library/{p-ff000765.entry.js → p-3be171d0.entry.js} +1 -1
  249. package/dist/web-components-library/{p-0617465e.entry.js → p-3c2d438b.entry.js} +1 -1
  250. package/dist/web-components-library/{p-4fe96235.entry.js → p-3f55dce6.entry.js} +1 -1
  251. package/dist/web-components-library/{p-9d9c0d4b.entry.js → p-40729225.entry.js} +1 -1
  252. package/dist/web-components-library/{p-31604337.entry.js → p-442b8b35.entry.js} +1 -1
  253. package/dist/web-components-library/{p-9c0df331.entry.js → p-4cd6c6f4.entry.js} +1 -1
  254. package/dist/web-components-library/{p-ff93eb04.entry.js → p-4d42f224.entry.js} +1 -1
  255. package/dist/web-components-library/{p-6fa0cef6.entry.js → p-4df05ebe.entry.js} +1 -1
  256. package/dist/web-components-library/{p-43a7d01c.entry.js → p-4e733fbd.entry.js} +1 -1
  257. package/dist/web-components-library/{p-4aa83df7.entry.js → p-4ec9ab53.entry.js} +1 -1
  258. package/dist/web-components-library/{p-5f111f4c.entry.js → p-53a03f2a.entry.js} +1 -1
  259. package/dist/web-components-library/{p-79940e8f.entry.js → p-540c7d73.entry.js} +1 -1
  260. package/dist/web-components-library/{p-1d6cbf2f.entry.js → p-562ad563.entry.js} +1 -1
  261. package/dist/web-components-library/{p-41a412f7.entry.js → p-58650e22.entry.js} +1 -1
  262. package/dist/web-components-library/{p-14f11a64.entry.js → p-5b6d2bcf.entry.js} +1 -1
  263. package/dist/web-components-library/{p-7403d200.entry.js → p-5bec950e.entry.js} +1 -1
  264. package/dist/web-components-library/{p-b0400e7d.entry.js → p-5c9556e3.entry.js} +1 -1
  265. package/dist/web-components-library/{p-2ed61157.entry.js → p-5cf4a412.entry.js} +1 -1
  266. package/dist/web-components-library/{p-42e2e594.entry.js → p-5d4a6659.entry.js} +1 -1
  267. package/dist/web-components-library/{p-c4b70baa.entry.js → p-61424b8a.entry.js} +1 -1
  268. package/dist/web-components-library/{p-6c08910a.entry.js → p-681e1f5a.entry.js} +1 -1
  269. package/{www/build/p-01cbf6d4.entry.js → dist/web-components-library/p-686545fa.entry.js} +1 -1
  270. package/dist/web-components-library/{p-9adedc68.entry.js → p-6f64e8a8.entry.js} +1 -1
  271. package/dist/web-components-library/{p-b5861f58.entry.js → p-70d16b2c.entry.js} +1 -1
  272. package/dist/web-components-library/{p-ffacff3f.entry.js → p-735bdfa3.entry.js} +1 -1
  273. package/dist/web-components-library/{p-71ff9b83.entry.js → p-73c91de3.entry.js} +1 -1
  274. package/dist/web-components-library/{p-c9c51bd9.entry.js → p-75b7e931.entry.js} +1 -1
  275. package/dist/web-components-library/{p-3dbe166d.entry.js → p-7688f8ca.entry.js} +1 -1
  276. package/dist/web-components-library/{p-7847cab3.entry.js → p-77e4774d.entry.js} +1 -1
  277. package/dist/web-components-library/{p-7b8149ca.entry.js → p-7d696941.entry.js} +1 -1
  278. package/dist/web-components-library/{p-bbc113ce.entry.js → p-7d792297.entry.js} +1 -1
  279. package/dist/web-components-library/{p-6a53a0d8.entry.js → p-810bd730.entry.js} +1 -1
  280. package/dist/web-components-library/{p-af6789f2.entry.js → p-93da92c0.entry.js} +1 -1
  281. package/dist/web-components-library/{p-4dc88c3f.entry.js → p-982254e5.entry.js} +1 -1
  282. package/dist/web-components-library/{p-2177384f.entry.js → p-99f0b6cc.entry.js} +1 -1
  283. package/dist/web-components-library/{p-c1c6988e.entry.js → p-9d03a7d6.entry.js} +1 -1
  284. package/dist/web-components-library/{p-ae2dd723.entry.js → p-9d57a84c.entry.js} +1 -1
  285. package/dist/web-components-library/{p-daeb784d.entry.js → p-9ecc5eba.entry.js} +1 -1
  286. package/dist/web-components-library/{p-bb413e2a.entry.js → p-9fe267fc.entry.js} +1 -1
  287. package/dist/web-components-library/{p-4eeb77dc.entry.js → p-a6d6178a.entry.js} +1 -1
  288. package/dist/web-components-library/{p-7c80da52.entry.js → p-a79cc147.entry.js} +1 -1
  289. package/dist/web-components-library/{p-88b9d5b4.entry.js → p-a79d1412.entry.js} +1 -1
  290. package/dist/web-components-library/{p-1e1bc565.entry.js → p-a8d1d96f.entry.js} +1 -1
  291. package/dist/web-components-library/{p-fb2d27b5.entry.js → p-aded8a43.entry.js} +1 -1
  292. package/dist/web-components-library/{p-c5ecf36a.entry.js → p-af4d1987.entry.js} +1 -1
  293. package/dist/web-components-library/{p-5bba90cc.entry.js → p-b4fbb6e4.entry.js} +1 -1
  294. package/dist/web-components-library/{p-aed38e5d.entry.js → p-b5086d6d.entry.js} +1 -1
  295. package/{www/build/p-60ed0e4e.entry.js → dist/web-components-library/p-b780dfc8.entry.js} +1 -1
  296. package/dist/web-components-library/{p-c0d382bc.entry.js → p-bb0fe7bc.entry.js} +1 -1
  297. package/dist/web-components-library/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
  298. package/dist/web-components-library/{p-0f21bfa5.entry.js → p-c6a662e6.entry.js} +1 -1
  299. package/dist/web-components-library/p-c6aad085.entry.js +1 -0
  300. package/dist/web-components-library/{p-e420edcc.entry.js → p-cb5d8a84.entry.js} +1 -1
  301. package/dist/web-components-library/{p-eb0f18a9.entry.js → p-cbb3ea13.entry.js} +1 -1
  302. package/dist/web-components-library/{p-099ea215.entry.js → p-ccf67abf.entry.js} +1 -1
  303. package/dist/web-components-library/{p-48134f75.entry.js → p-ce83ce18.entry.js} +1 -1
  304. package/dist/web-components-library/p-d17ebc2f.js +2 -0
  305. package/{www/build/p-afc41eed.entry.js → dist/web-components-library/p-d199b781.entry.js} +1 -1
  306. package/dist/web-components-library/{p-cb453344.entry.js → p-d3645ced.entry.js} +1 -1
  307. package/dist/web-components-library/{p-5bce77ba.entry.js → p-d531d1d2.entry.js} +1 -1
  308. package/{www/build/p-bffc00d2.entry.js → dist/web-components-library/p-e68c18e5.entry.js} +1 -1
  309. package/dist/web-components-library/{p-fd2a947c.entry.js → p-e71132fc.entry.js} +1 -1
  310. package/dist/web-components-library/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
  311. package/dist/web-components-library/{p-e2b1cb25.entry.js → p-ecc4afa1.entry.js} +1 -1
  312. package/dist/web-components-library/{p-a55ef7b5.entry.js → p-ede9fbf5.entry.js} +1 -1
  313. package/dist/web-components-library/{p-25769717.entry.js → p-f158d205.entry.js} +1 -1
  314. package/{www/build/p-3492096c.entry.js → dist/web-components-library/p-f24997a0.entry.js} +1 -1
  315. package/dist/web-components-library/{p-5b8ac754.entry.js → p-f2f9a1bc.entry.js} +1 -1
  316. package/{www/build/p-01b7c613.entry.js → dist/web-components-library/p-f2fd1e20.entry.js} +1 -1
  317. package/dist/web-components-library/p-f54f63e1.entry.js +1 -0
  318. package/dist/web-components-library/{p-3124aed0.entry.js → p-f95cc914.entry.js} +1 -1
  319. package/dist/web-components-library/{p-bb684454.entry.js → p-fb7d33f2.entry.js} +1 -1
  320. package/dist/web-components-library/{p-64309df9.entry.js → p-ffe15448.entry.js} +1 -1
  321. package/dist/web-components-library/web-components-library.esm.js +1 -1
  322. package/package.json +1 -1
  323. package/www/build/{p-348c5ada.entry.js → p-074ea569.entry.js} +1 -1
  324. package/www/build/{p-f2136861.entry.js → p-10b46635.entry.js} +1 -1
  325. package/www/build/{p-7960c409.entry.js → p-1106ead2.entry.js} +1 -1
  326. package/www/build/{p-46a0f894.js → p-129f6af9.js} +1 -1
  327. package/www/build/{p-d056538a.entry.js → p-15b8a920.entry.js} +1 -1
  328. package/www/build/{p-594c9326.entry.js → p-15fe7b71.entry.js} +1 -1
  329. package/www/build/{p-31a4c8d5.entry.js → p-1bd6592f.entry.js} +1 -1
  330. package/www/build/{p-182368ea.entry.js → p-1e6a2a56.entry.js} +1 -1
  331. package/www/build/{p-b1ea0074.entry.js → p-23781e2b.entry.js} +1 -1
  332. package/www/build/{p-7e3bb3e0.entry.js → p-28ff9383.entry.js} +1 -1
  333. package/www/build/{p-efdca379.entry.js → p-2ae73112.entry.js} +1 -1
  334. package/www/build/{p-eb612914.entry.js → p-2efedcf4.entry.js} +1 -1
  335. package/www/build/{p-f0a63044.entry.js → p-344e7ae7.entry.js} +1 -1
  336. package/www/build/{p-7a9d3944.entry.js → p-35739670.entry.js} +1 -1
  337. package/{dist/web-components-library/p-cd1593fa.entry.js → www/build/p-35ceae27.entry.js} +1 -1
  338. package/www/build/{p-3b974737.entry.js → p-37e050bd.entry.js} +1 -1
  339. package/{dist/web-components-library/p-c9ebec8d.entry.js → www/build/p-3913bff2.entry.js} +1 -1
  340. package/{dist/web-components-library/p-64102759.entry.js → www/build/p-3a431f04.entry.js} +1 -1
  341. package/www/build/{p-ff000765.entry.js → p-3be171d0.entry.js} +1 -1
  342. package/www/build/{p-0617465e.entry.js → p-3c2d438b.entry.js} +1 -1
  343. package/www/build/{p-4fe96235.entry.js → p-3f55dce6.entry.js} +1 -1
  344. package/www/build/{p-9d9c0d4b.entry.js → p-40729225.entry.js} +1 -1
  345. package/www/build/{p-31604337.entry.js → p-442b8b35.entry.js} +1 -1
  346. package/www/build/{p-9c0df331.entry.js → p-4cd6c6f4.entry.js} +1 -1
  347. package/www/build/{p-ff93eb04.entry.js → p-4d42f224.entry.js} +1 -1
  348. package/www/build/{p-6fa0cef6.entry.js → p-4df05ebe.entry.js} +1 -1
  349. package/www/build/{p-43a7d01c.entry.js → p-4e733fbd.entry.js} +1 -1
  350. package/www/build/{p-4aa83df7.entry.js → p-4ec9ab53.entry.js} +1 -1
  351. package/www/build/{p-5f111f4c.entry.js → p-53a03f2a.entry.js} +1 -1
  352. package/www/build/{p-79940e8f.entry.js → p-540c7d73.entry.js} +1 -1
  353. package/www/build/{p-1d6cbf2f.entry.js → p-562ad563.entry.js} +1 -1
  354. package/www/build/{p-41a412f7.entry.js → p-58650e22.entry.js} +1 -1
  355. package/www/build/{p-14f11a64.entry.js → p-5b6d2bcf.entry.js} +1 -1
  356. package/www/build/{p-7403d200.entry.js → p-5bec950e.entry.js} +1 -1
  357. package/www/build/{p-b0400e7d.entry.js → p-5c9556e3.entry.js} +1 -1
  358. package/www/build/{p-2ed61157.entry.js → p-5cf4a412.entry.js} +1 -1
  359. package/www/build/{p-42e2e594.entry.js → p-5d4a6659.entry.js} +1 -1
  360. package/www/build/{p-c4b70baa.entry.js → p-61424b8a.entry.js} +1 -1
  361. package/www/build/{p-6c08910a.entry.js → p-681e1f5a.entry.js} +1 -1
  362. package/{dist/web-components-library/p-01cbf6d4.entry.js → www/build/p-686545fa.entry.js} +1 -1
  363. package/www/build/{p-9adedc68.entry.js → p-6f64e8a8.entry.js} +1 -1
  364. package/www/build/{p-b5861f58.entry.js → p-70d16b2c.entry.js} +1 -1
  365. package/www/build/{p-ffacff3f.entry.js → p-735bdfa3.entry.js} +1 -1
  366. package/www/build/{p-71ff9b83.entry.js → p-73c91de3.entry.js} +1 -1
  367. package/www/build/{p-c9c51bd9.entry.js → p-75b7e931.entry.js} +1 -1
  368. package/www/build/{p-3dbe166d.entry.js → p-7688f8ca.entry.js} +1 -1
  369. package/www/build/{p-7847cab3.entry.js → p-77e4774d.entry.js} +1 -1
  370. package/www/build/{p-7b8149ca.entry.js → p-7d696941.entry.js} +1 -1
  371. package/www/build/{p-bbc113ce.entry.js → p-7d792297.entry.js} +1 -1
  372. package/www/build/{p-6a53a0d8.entry.js → p-810bd730.entry.js} +1 -1
  373. package/www/build/{p-af6789f2.entry.js → p-93da92c0.entry.js} +1 -1
  374. package/www/build/{p-4dc88c3f.entry.js → p-982254e5.entry.js} +1 -1
  375. package/www/build/{p-2177384f.entry.js → p-99f0b6cc.entry.js} +1 -1
  376. package/www/build/{p-c1c6988e.entry.js → p-9d03a7d6.entry.js} +1 -1
  377. package/www/build/{p-ae2dd723.entry.js → p-9d57a84c.entry.js} +1 -1
  378. package/www/build/{p-daeb784d.entry.js → p-9ecc5eba.entry.js} +1 -1
  379. package/www/build/{p-bb413e2a.entry.js → p-9fe267fc.entry.js} +1 -1
  380. package/www/build/{p-4eeb77dc.entry.js → p-a6d6178a.entry.js} +1 -1
  381. package/www/build/{p-7c80da52.entry.js → p-a79cc147.entry.js} +1 -1
  382. package/www/build/{p-88b9d5b4.entry.js → p-a79d1412.entry.js} +1 -1
  383. package/www/build/{p-1e1bc565.entry.js → p-a8d1d96f.entry.js} +1 -1
  384. package/www/build/{p-fb2d27b5.entry.js → p-aded8a43.entry.js} +1 -1
  385. package/www/build/{p-c5ecf36a.entry.js → p-af4d1987.entry.js} +1 -1
  386. package/www/build/{p-5bba90cc.entry.js → p-b4fbb6e4.entry.js} +1 -1
  387. package/www/build/{p-aed38e5d.entry.js → p-b5086d6d.entry.js} +1 -1
  388. package/{dist/web-components-library/p-60ed0e4e.entry.js → www/build/p-b780dfc8.entry.js} +1 -1
  389. package/www/build/{p-c0d382bc.entry.js → p-bb0fe7bc.entry.js} +1 -1
  390. package/www/build/{p-363c7e45.entry.js → p-c4417a91.entry.js} +1 -1
  391. package/www/build/{p-0f21bfa5.entry.js → p-c6a662e6.entry.js} +1 -1
  392. package/www/build/p-c6aad085.entry.js +1 -0
  393. package/www/build/{p-e420edcc.entry.js → p-cb5d8a84.entry.js} +1 -1
  394. package/www/build/{p-eb0f18a9.entry.js → p-cbb3ea13.entry.js} +1 -1
  395. package/www/build/{p-099ea215.entry.js → p-ccf67abf.entry.js} +1 -1
  396. package/www/build/{p-48134f75.entry.js → p-ce83ce18.entry.js} +1 -1
  397. package/www/build/p-d17ebc2f.js +2 -0
  398. package/{dist/web-components-library/p-afc41eed.entry.js → www/build/p-d199b781.entry.js} +1 -1
  399. package/www/build/{p-cb453344.entry.js → p-d3645ced.entry.js} +1 -1
  400. package/www/build/{p-5bce77ba.entry.js → p-d531d1d2.entry.js} +1 -1
  401. package/{dist/web-components-library/p-bffc00d2.entry.js → www/build/p-e68c18e5.entry.js} +1 -1
  402. package/www/build/{p-fd2a947c.entry.js → p-e71132fc.entry.js} +1 -1
  403. package/www/build/{p-2acf124c.entry.js → p-eaa4eba8.entry.js} +1 -1
  404. package/www/build/{p-e2b1cb25.entry.js → p-ecc4afa1.entry.js} +1 -1
  405. package/www/build/{p-a55ef7b5.entry.js → p-ede9fbf5.entry.js} +1 -1
  406. package/www/build/{p-25769717.entry.js → p-f158d205.entry.js} +1 -1
  407. package/{dist/web-components-library/p-3492096c.entry.js → www/build/p-f24997a0.entry.js} +1 -1
  408. package/www/build/{p-5b8ac754.entry.js → p-f2f9a1bc.entry.js} +1 -1
  409. package/{dist/web-components-library/p-01b7c613.entry.js → www/build/p-f2fd1e20.entry.js} +1 -1
  410. package/www/build/p-f54f63e1.entry.js +1 -0
  411. package/www/build/{p-3124aed0.entry.js → p-f95cc914.entry.js} +1 -1
  412. package/www/build/{p-bb684454.entry.js → p-fb7d33f2.entry.js} +1 -1
  413. package/www/build/{p-64309df9.entry.js → p-ffe15448.entry.js} +1 -1
  414. package/www/build/web-components-library.esm.js +1 -1
  415. package/www/index.html +1 -1
  416. package/dist/web-components-library/p-87942fb9.entry.js +0 -1
  417. package/dist/web-components-library/p-b366ef8e.js +0 -2
  418. package/dist/web-components-library/p-e137a17f.entry.js +0 -1
  419. package/www/build/p-87942fb9.entry.js +0 -1
  420. package/www/build/p-b366ef8e.js +0 -2
  421. package/www/build/p-e137a17f.entry.js +0 -1
@@ -1,4 +1,3 @@
1
- import { HostElement } from "../../../stencil-public-runtime";
2
1
  export declare class ZTableEmptyBox {
3
2
  hostElement: HTMLZTableEmptyBoxElement;
4
3
  /** Sets main title message*/
@@ -9,5 +8,5 @@ export declare class ZTableEmptyBox {
9
8
  private hasCta1Slot;
10
9
  private hasCta2Slot;
11
10
  componentWillLoad(): void;
12
- render(): HostElement;
11
+ render(): HTMLZTableEmptyBoxElement;
13
12
  }
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from "../../../stencil-public-runtime";
2
- import { HostElement } from "../../../stencil-public-runtime";
3
2
  import { Size, SortDirection } from "../../../beans";
4
3
  export declare class ZTableHeader {
5
4
  host: HTMLZTableHeaderElement;
@@ -26,5 +25,5 @@ export declare class ZTableHeader {
26
25
  handleOutsideClick(e: MouseEvent): void;
27
26
  handleClickHeaders(e: MouseEvent): void;
28
27
  componentWillRender(): void;
29
- render(): HostElement;
28
+ render(): HTMLZTableHeaderElement;
30
29
  }
@@ -1,7 +1,6 @@
1
- import { HostElement } from "../../../stencil-public-runtime";
2
1
  export declare class ZTableHeaderRow {
3
2
  /** Row expandable flag */
4
3
  expandable?: boolean;
5
4
  private renderExpandHeader;
6
- render(): HostElement;
5
+ render(): HTMLZTableHeaderRowElement;
7
6
  }
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from "../../../stencil-public-runtime";
2
- import { HostElement } from "../../../stencil-public-runtime";
3
2
  import { ZTableRowExpandedType } from "../../../beans";
4
3
  export declare class ZTableRow {
5
4
  /** Table row expanded type */
@@ -10,5 +9,5 @@ export declare class ZTableRow {
10
9
  private emitOnExpand;
11
10
  private handleExpand;
12
11
  private renderExpandButton;
13
- render(): HostElement;
12
+ render(): HTMLZTableRowElement;
14
13
  }
@@ -1,4 +1,3 @@
1
- import { HostElement } from "../../stencil-public-runtime";
2
1
  /**
3
2
  * Ztag component.
4
3
  * @slot - The text of the z-tag.
@@ -10,5 +9,5 @@ export declare class ZTag {
10
9
  icon?: string;
11
10
  /** [optional] Hide the text and show it on hover*/
12
11
  expandable?: boolean;
13
- render(): HostElement;
12
+ render(): HTMLZTagElement;
14
13
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { AlertType, LicenseType, MenuItem as MenuItem1, PopoverPositions as PopoverPositions1 } from "./beans/index";
9
- import { AvatarSize, ButtonSize, ButtonType, ButtonVariant, CardVariant, CarouselArrowsPosition, CarouselProgressMode, ComboItem, CoverHeroContentPosition, CoverHeroVariant, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InfoRevealPosition, InputStatus, InputType, ListDividerType, ListSize, MenuItem, NotificationType, OffCanvasVariant, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverPositions, PopoverShadow, SelectItem, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ToastNotification, ToastNotificationPosition, ToastNotificationTransition, TransitionDirection, ZAriaAlertMode, ZChipType, ZDatePickerMode, ZFileUploadType, ZRangePickerMode, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
9
+ import { AvatarSize, ButtonSize, ButtonType, ButtonVariant, CardVariant, CarouselArrowsPosition, CarouselProgressMode, ComboItem, CoverHeroContentPosition, CoverHeroVariant, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InfoRevealPosition, InputStatus, InputType, LabelPosition, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariant, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverPositions, PopoverShadow, SelectItem, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ToastNotification, ToastNotificationPosition, ToastNotificationTransition, TransitionDirection, ZAriaAlertMode, ZChipType, ZDatePickerMode, ZFileUploadType, ZRangePickerMode, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
10
10
  import { ListItem } from "./beans/index.js";
11
11
  import { ZTypographyLevels } from "./components/typography/z-typography/index";
12
12
  export namespace Components {
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
- import { HostElement } from "../../stencil-public-runtime";
3
2
  import { PopoverPosition, PopoverBorderRadius, PopoverShadow } from "../../beans";
4
3
  export declare class ZPopoverDeprecated {
5
4
  /** [optional] Popover position */
@@ -30,5 +29,5 @@ export declare class ZPopoverDeprecated {
30
29
  private handleClick;
31
30
  private handleKeyDown;
32
31
  handleOutsideClick(e: MouseEvent): void;
33
- render(): HostElement;
32
+ render(): HTMLZPopoverDeprecatedElement;
34
33
  }
@@ -1,5 +1,4 @@
1
1
  import { StatusTagStatus, ThemeVariant } from "../../beans";
2
- import { HostElement } from "../../stencil-public-runtime";
3
2
  export declare class ZStatusTag {
4
3
  /** [optional] Status tag icon */
5
4
  icon?: string;
@@ -12,5 +11,5 @@ export declare class ZStatusTag {
12
11
  /** [optional] Status tag style */
13
12
  variant?: ThemeVariant;
14
13
  constructor();
15
- render(): HostElement;
14
+ render(): HTMLZStatusTagElement;
16
15
  }
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
- import { HostElement } from "../../stencil-public-runtime";
3
2
  import { PopoverPositions } from "../../beans/index";
4
3
  export declare class ZTooltipDeprecated {
5
4
  /** Content text.
@@ -38,5 +37,5 @@ export declare class ZTooltipDeprecated {
38
37
  */
39
38
  private setPosition;
40
39
  componentWillLoad(): void;
41
- render(): HostElement;
40
+ render(): HTMLZTooltipDeprecatedElement;
42
41
  }
@@ -221,7 +221,8 @@ export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
221
221
  */
222
222
  export declare const setMode: (handler: ResolutionHandler) => void;
223
223
  /**
224
- * getMode
224
+ * `getMode()` is used for libraries which provide multiple "modes" for styles.
225
+ * @param ref a reference to the node to get styles for
225
226
  */
226
227
  export declare function getMode<T = string | undefined>(ref: any): T;
227
228
  export declare function setPlatformHelpers(helpers: {
@@ -234,6 +235,8 @@ export declare function setPlatformHelpers(helpers: {
234
235
  /**
235
236
  * Get the base path to where the assets can be found. Use `setAssetPath(path)`
236
237
  * if the path needs to be customized.
238
+ * @param path the path to use in calculating the asset path. this value will be
239
+ * used in conjunction with the base asset path
237
240
  */
238
241
  export declare function getAssetPath(path: string): string;
239
242
  /**
@@ -246,18 +249,22 @@ export declare function getAssetPath(path: string): string;
246
249
  * `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
247
250
  * dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
248
251
  * But do note that this configuration depends on how your script is bundled, or lack of
249
- * bunding, and where your assets can be loaded from. Additionally custom bundling
252
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
250
253
  * will have to ensure the static assets are copied to its build directory.
254
+ * @param path the asset path to set
251
255
  */
252
256
  export declare function setAssetPath(path: string): string;
253
257
  /**
254
- * getElement
258
+ * Retrieve a Stencil element for a given reference
259
+ * @param ref the ref to get the Stencil element for
255
260
  */
256
261
  export declare function getElement(ref: any): HTMLStencilElement;
257
262
  /**
258
263
  * Schedules a new render of the given instance or element even if no state changed.
259
264
  *
260
- * Notice `forceUpdate()` is not syncronous and might perform the DOM render in the next frame.
265
+ * Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
266
+ *
267
+ * @param ref the node/element to force the re-render of
261
268
  */
262
269
  export declare function forceUpdate(ref: any): void;
263
270
  /**
@@ -272,6 +279,8 @@ export interface HTMLStencilElement extends HTMLElement {
272
279
  * in the best moment to perform DOM mutation without causing layout thrashing.
273
280
  *
274
281
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
282
+ *
283
+ * @param task the DOM-write to schedule
275
284
  */
276
285
  export declare function writeTask(task: RafCallback): void;
277
286
  /**
@@ -279,6 +288,8 @@ export declare function writeTask(task: RafCallback): void;
279
288
  * in the best moment to perform DOM reads without causing layout thrashing.
280
289
  *
281
290
  * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
291
+ *
292
+ * @param task the DOM-read to schedule
282
293
  */
283
294
  export declare function readTask(task: RafCallback): void;
284
295
  /**
@@ -1 +1 @@
1
- import{r,h as o}from"./p-b366ef8e.js";const s=class{constructor(o){r(this,o)}render(){return o("div",{class:this.type},o("slot",null))}};s.style=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-success-inverse);fill:var(--color-success01)}:host>.warning{background:var(--color-warning-inverse);fill:var(--color-warning01)}:host>.error{background:var(--color-error-inverse);fill:var(--color-error01)}";export{s as z_alert}
1
+ import{r,h as o}from"./p-d17ebc2f.js";const s=class{constructor(o){r(this,o)}render(){return o("div",{class:this.type},o("slot",null))}};s.style=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-success-inverse);fill:var(--color-success01)}:host>.warning{background:var(--color-warning-inverse);fill:var(--color-warning01)}:host>.error{background:var(--color-error-inverse);fill:var(--color-error01)}";export{s as z_alert}
@@ -1 +1 @@
1
- import{r as e,h as t,H as n,g as i,c as o}from"./p-b366ef8e.js";import{j as a,l as s,n as c,D as l,E as r,h}from"./p-9f80c0b8.js";const u=class{constructor(t){e(this,t),this.size=a.MEDIUM}setChildrenSizeType(){const e=this.host.children;for(let t=0;t<e.length-1;t++)e[t].setAttribute("size",this.size)}componentDidLoad(){this.setChildrenSizeType()}render(){return t(n,{role:"list"},t("slot",null))}get host(){return i(this)}};u.style=":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";const d=class{constructor(t){e(this,t),this.accessibleFocus=o(this,"accessibleFocus",7),this.clickItem=o(this,"clickItem",7),this.alignButton=s.LEFT,this.clickable=!1,this.dividerColor="color-surface03",this.dividerType=c.NONE,this.dividerSize=l.SMALL,this.expandable=!1,this.expandableStyle=r.ACCORDION,this.size=a.MEDIUM,this.color="none",this.disabled=!1,this.isContextualMenu=!1,this.showInnerContent=!1,this.openElementConfig={accordion:{open:"minus-circled",close:"plus-circled"},menu:{open:"chevron-up",close:"chevron-down"}},this.handleClick=this.handleClick.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}accessibleFocusHandler(e){this.listElementId===e.detail&&this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`).focus()}handleClick(){this.clickItem.emit(this.listElementId),this.expandable&&(this.showInnerContent=!this.showInnerContent)}calculateClass(){return this.isContextualMenu?"container-contextual-menu":"container"}handleKeyDown(e){const t=e.code===h.ENTER;switch(e.code){case h.ARROW_DOWN:e.preventDefault(),this.accessibleFocus.emit(this.listElementId+1);break;case h.ARROW_UP:e.preventDefault(),this.accessibleFocus.emit(this.listElementId-1);break;case h.ENTER:e.preventDefault(),this.clickItem.emit(this.listElementId)}this.expandable&&t&&(this.showInnerContent=!this.showInnerContent)}renderExpandableButton(){return this.expandable?t("z-icon",{name:this.showInnerContent?this.openElementConfig[this.expandableStyle].open:this.openElementConfig[this.expandableStyle].close}):null}renderExpandedContent(){return this.expandable?t("div",{class:{"z-list-element-inner-container":!0,expanded:this.showInnerContent}},t("slot",{name:"inner-content"})):null}render(){return t(n,{role:"listitem","aria-expanded":this.expandable?this.showInnerContent:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,clickable:this.clickable&&!this.disabled,tabIndex:this.isContextualMenu?null:"0"},t("div",{class:`${this.calculateClass()}`,style:{color:`var(--${this.color})`},tabindex:this.isContextualMenu?"0":"-1",id:`z-list-element-id-${this.listElementId}`},t("div",{class:"z-list-element-container"},this.renderExpandableButton(),t("slot",null)),this.renderExpandedContent()),this.dividerType===c.ELEMENT&&t("z-divider",{color:this.dividerColor,size:this.dividerSize}))}get host(){return i(this)}};d.style=':host{outline:none}:host>.container,:host>.container-contextual-menu{--background-color-list-element:var(--bg-white);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02);display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size="small"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size="medium"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size="large"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size="x-large"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([expandable])>.container-contextual-menu,:host([clickable])>.container,:host([clickable])>.container-contextual-menu{cursor:pointer}:host([expandable]:hover)>.container,:host([expandable]:hover)>.container-contextual-menu,:host([clickable]:hover)>.container,:host([clickable]:hover)>.container-contextual-menu{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([expandable]:focus:focus-visible)>.container-contextual-menu,:host([clickable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container-contextual-menu{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([expandable]:active)>.container-contextual-menu,:host([clickable]:active)>.container,:host([clickable]:active)>.container-contextual-menu{background-color:var(--background-active-color-list-element)}:host([align-button="left"][expandable])>.container>.z-list-element-container,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex}:host([align-button="right"][expandable])>.container>.z-list-element-container,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button="left"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button="right"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container,:host>.container-contextual-menu>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded,:host>.container-contextual-menu>.z-list-element-inner-container.expanded{display:block}:host([clickable]:hover)>.container-contextual-menu{background-color:var(--color-surface03)}.container-contextual-menu:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}';export{u as z_list,d as z_list_element}
1
+ import{r as e,h as t,H as n,g as i,c as o}from"./p-d17ebc2f.js";import{j as a,l as s,n as c,D as l,E as r,h}from"./p-9f80c0b8.js";const u=class{constructor(t){e(this,t),this.size=a.MEDIUM}setChildrenSizeType(){const e=this.host.children;for(let t=0;t<e.length-1;t++)e[t].setAttribute("size",this.size)}componentDidLoad(){this.setChildrenSizeType()}render(){return t(n,{role:"list"},t("slot",null))}get host(){return i(this)}};u.style=":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";const d=class{constructor(t){e(this,t),this.accessibleFocus=o(this,"accessibleFocus",7),this.clickItem=o(this,"clickItem",7),this.alignButton=s.LEFT,this.clickable=!1,this.dividerColor="color-surface03",this.dividerType=c.NONE,this.dividerSize=l.SMALL,this.expandable=!1,this.expandableStyle=r.ACCORDION,this.size=a.MEDIUM,this.color="none",this.disabled=!1,this.isContextualMenu=!1,this.showInnerContent=!1,this.openElementConfig={accordion:{open:"minus-circled",close:"plus-circled"},menu:{open:"chevron-up",close:"chevron-down"}},this.handleClick=this.handleClick.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}accessibleFocusHandler(e){this.listElementId===e.detail&&this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`).focus()}handleClick(){this.clickItem.emit(this.listElementId),this.expandable&&(this.showInnerContent=!this.showInnerContent)}calculateClass(){return this.isContextualMenu?"container-contextual-menu":"container"}handleKeyDown(e){const t=e.code===h.ENTER;switch(e.code){case h.ARROW_DOWN:e.preventDefault(),this.accessibleFocus.emit(this.listElementId+1);break;case h.ARROW_UP:e.preventDefault(),this.accessibleFocus.emit(this.listElementId-1);break;case h.ENTER:e.preventDefault(),this.clickItem.emit(this.listElementId)}this.expandable&&t&&(this.showInnerContent=!this.showInnerContent)}renderExpandableButton(){return this.expandable?t("z-icon",{name:this.showInnerContent?this.openElementConfig[this.expandableStyle].open:this.openElementConfig[this.expandableStyle].close}):null}renderExpandedContent(){return this.expandable?t("div",{class:{"z-list-element-inner-container":!0,expanded:this.showInnerContent}},t("slot",{name:"inner-content"})):null}render(){return t(n,{role:"listitem","aria-expanded":this.expandable?this.showInnerContent:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,clickable:this.clickable&&!this.disabled,tabIndex:this.isContextualMenu?null:"0"},t("div",{class:`${this.calculateClass()}`,style:{color:`var(--${this.color})`},tabindex:this.isContextualMenu?"0":"-1",id:`z-list-element-id-${this.listElementId}`},t("div",{class:"z-list-element-container"},this.renderExpandableButton(),t("slot",null)),this.renderExpandedContent()),this.dividerType===c.ELEMENT&&t("z-divider",{color:this.dividerColor,size:this.dividerSize}))}get host(){return i(this)}};d.style=':host{outline:none}:host>.container,:host>.container-contextual-menu{--background-color-list-element:var(--bg-white);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02);display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size="small"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size="medium"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size="large"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size="x-large"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([expandable])>.container-contextual-menu,:host([clickable])>.container,:host([clickable])>.container-contextual-menu{cursor:pointer}:host([expandable]:hover)>.container,:host([expandable]:hover)>.container-contextual-menu,:host([clickable]:hover)>.container,:host([clickable]:hover)>.container-contextual-menu{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([expandable]:focus:focus-visible)>.container-contextual-menu,:host([clickable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container-contextual-menu{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([expandable]:active)>.container-contextual-menu,:host([clickable]:active)>.container,:host([clickable]:active)>.container-contextual-menu{background-color:var(--background-active-color-list-element)}:host([align-button="left"][expandable])>.container>.z-list-element-container,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex}:host([align-button="right"][expandable])>.container>.z-list-element-container,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button="left"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button="right"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container,:host>.container-contextual-menu>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded,:host>.container-contextual-menu>.z-list-element-inner-container.expanded{display:block}:host([clickable]:hover)>.container-contextual-menu{background-color:var(--color-surface03)}.container-contextual-menu:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}';export{u as z_list,d as z_list_element}
@@ -1 +1 @@
1
- import{r as t,c as i,h as r}from"./p-b366ef8e.js";import{d as n}from"./p-9f80c0b8.js";const s=class{constructor(r){t(this,r),this.otpChange=i(this,"otpChange",7),this.inputNum=6}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)],this.otpRef=[...Array(this.inputNum)]}render(){return r("div",{class:"otp-container"},r("div",{class:"digits-container"},this.otp.map(((t,i)=>r("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{t.keyCode>47&&(this.otpRef[i].value="")},onKeyUp:t=>{t.keyCode>47&&i<this.inputNum-1&&this.otpRef[i+1].focus()},onInput:t=>{this.otp[i]=t.target.value,this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),r("z-input-message",{message:this.message,status:this.status}))}};s.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}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)}}";export{s as z_otp}
1
+ import{r as t,c as i,h as r}from"./p-d17ebc2f.js";import{d as n}from"./p-9f80c0b8.js";const s=class{constructor(r){t(this,r),this.otpChange=i(this,"otpChange",7),this.inputNum=6}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=[...Array(this.inputNum)],this.otpRef=[...Array(this.inputNum)]}render(){return r("div",{class:"otp-container"},r("div",{class:"digits-container"},this.otp.map(((t,i)=>r("input",{class:this.status==n.ERROR?"error":null,onKeyDown:t=>{t.keyCode>47&&(this.otpRef[i].value="")},onKeyUp:t=>{t.keyCode>47&&i<this.inputNum-1&&this.otpRef[i+1].focus()},onInput:t=>{this.otp[i]=t.target.value,this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[i]=t})))),r("z-input-message",{message:this.message,status:this.status}))}};s.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}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)}}";export{s as z_otp}
@@ -1 +1 @@
1
- import{r as o,h as r,g as t}from"./p-b366ef8e.js";import{b as a,B as e,c as s}from"./p-9f80c0b8.js";const i=class{constructor(r){o(this,r),this.disabled=!1,this.type=a.BUTTON,this.variant=e.PRIMARY,this.size=s.BIG,this.issmall=!1,this.square=!1}render(){return this.hostElement.style.pointerEvents=this.disabled?"none":"auto",r("slot",{name:"element"},r("button",{id:this.htmlid,name:this.name,type:this.type,disabled:this.disabled,class:{[this.variant]:!0,[this.size]:!0,issmall:this.issmall,square:this.square}},this.icon&&r("z-icon",{name:this.icon,width:16,height:16}),r("slot",null)))}get hostElement(){return t(this)}};i.style=':host{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:var(--space-unit);--rgb-white:240, 240, 240}button:disabled,::slotted(button:disabled){pointer-events:none}button,::slotted(button),::slotted(a){display:inline-flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;vertical-align:middle;white-space:nowrap}button.big,:host([size="big"]) ::slotted(button),:host([size="big"]) ::slotted(a){min-width:44px;height:44px}button.small,:host([size="small"]) ::slotted(button),:host([size="small"]) ::slotted(a){min-width:36px;height:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){min-width:36px;height:36px}button.x-small,:host([size="x-small"]) ::slotted(button),:host([size="x-small"]) ::slotted(a){min-width:32px;height:32px}button:not(.square),:host(:not([square])) ::slotted(button),:host(:not([square])) ::slotted(a){min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}button.square,:host([square]){--z-icon-right-margin:0}button.primary,:host([variant="primary"]) ::slotted(button),:host([variant="primary"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){button.primary:hover,:host([variant="primary"]) ::slotted(button:hover),:host([variant="primary"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}button:focus:focus-visible,::slotted(button:focus:focus-visible),::slotted(a:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}button.primary:active,:host([variant="primary"]) ::slotted(button:active),:host([variant="primary"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}button.primary:disabled,:host([variant="primary"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}button.secondary,:host([variant="secondary"]) ::slotted(button),:host([variant="secondary"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){button.secondary:hover,:host([variant="secondary"]) ::slotted(button:hover),:host([variant="secondary"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}button.secondary:active,:host([variant="secondary"]) ::slotted(button:active),:host([variant="secondary"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}button.secondary:disabled,:host([variant="secondary"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}button.tertiary,:host([variant="tertiary"]) ::slotted(button),:host([variant="tertiary"]) ::slotted(a){border-color:transparent;background-color:transparent;color:var(--color-primary01)}button.tertiary.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant="tertiary"]) ::slotted(button:hover),:host([variant="tertiary"]) ::slotted(a:hover){border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}button.tertiary:focus:focus-visible,:host([variant="tertiary"]) ::slotted(button:focus:focus-visible),:host([variant="tertiary"]) ::slotted(a:focus:focus-visible){border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}button.tertiary:active,:host([variant="tertiary"]) ::slotted(button:active),:host([variant="tertiary"]) ::slotted(a:active){border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}button.tertiary:disabled,:host([variant="tertiary"]) ::slotted(button:disabled){border-color:transparent;background-color:transparent;color:var(--color-disabled02)}button.dark-bg,:host([variant="dark-bg"]) ::slotted(button),:host([variant="dark-bg"]) ::slotted(a){border-color:transparent;background-color:rgb(var(--rgb-white) 0.2);color:var(--color-text04)}button.dark-bg.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.dark-bg:hover,:host([variant="dark-bg"]) ::slotted(button:hover),:host([variant="dark-bg"]) ::slotted(a:hover){background-color:rgb(var(--rgb-white) 0.1)}}button.dark-bg:active,:host([variant="dark-bg"]) ::slotted(button:active),:host([variant="dark-bg"]) ::slotted(a:active){background-color:rgb(var(--rgb-white) 0.3)}button.dark-bg:disabled,:host([variant="dark-bg"]) ::slotted(button:disabled){background-color:rgb(var(--rgb-white) 0.05);color:var(--color-disabled03)}';export{i as z_button_deprecated}
1
+ import{r as o,h as r,g as t}from"./p-d17ebc2f.js";import{b as a,B as e,c as s}from"./p-9f80c0b8.js";const i=class{constructor(r){o(this,r),this.disabled=!1,this.type=a.BUTTON,this.variant=e.PRIMARY,this.size=s.BIG,this.issmall=!1,this.square=!1}render(){return this.hostElement.style.pointerEvents=this.disabled?"none":"auto",r("slot",{name:"element"},r("button",{id:this.htmlid,name:this.name,type:this.type,disabled:this.disabled,class:{[this.variant]:!0,[this.size]:!0,issmall:this.issmall,square:this.square}},this.icon&&r("z-icon",{name:this.icon,width:16,height:16}),r("slot",null)))}get hostElement(){return t(this)}};i.style=':host{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:var(--space-unit);--rgb-white:240, 240, 240}button:disabled,::slotted(button:disabled){pointer-events:none}button,::slotted(button),::slotted(a){display:inline-flex;width:100%;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;vertical-align:middle;white-space:nowrap}button.big,:host([size="big"]) ::slotted(button),:host([size="big"]) ::slotted(a){min-width:44px;height:44px}button.small,:host([size="small"]) ::slotted(button),:host([size="small"]) ::slotted(a){min-width:36px;height:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){min-width:36px;height:36px}button.x-small,:host([size="x-small"]) ::slotted(button),:host([size="x-small"]) ::slotted(a){min-width:32px;height:32px}button:not(.square),:host(:not([square])) ::slotted(button),:host(:not([square])) ::slotted(a){min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}button.square,:host([square]){--z-icon-right-margin:0}button.primary,:host([variant="primary"]) ::slotted(button),:host([variant="primary"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){button.primary:hover,:host([variant="primary"]) ::slotted(button:hover),:host([variant="primary"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}button:focus:focus-visible,::slotted(button:focus:focus-visible),::slotted(a:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}button.primary:active,:host([variant="primary"]) ::slotted(button:active),:host([variant="primary"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}button.primary:disabled,:host([variant="primary"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}button.secondary,:host([variant="secondary"]) ::slotted(button),:host([variant="secondary"]) ::slotted(a){border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){button.secondary:hover,:host([variant="secondary"]) ::slotted(button:hover),:host([variant="secondary"]) ::slotted(a:hover){border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}button.secondary:active,:host([variant="secondary"]) ::slotted(button:active),:host([variant="secondary"]) ::slotted(a:active){border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}button.secondary:disabled,:host([variant="secondary"]) ::slotted(button:disabled){border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}button.tertiary,:host([variant="tertiary"]) ::slotted(button),:host([variant="tertiary"]) ::slotted(a){border-color:transparent;background-color:transparent;color:var(--color-primary01)}button.tertiary.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant="tertiary"]) ::slotted(button:hover),:host([variant="tertiary"]) ::slotted(a:hover){border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}button.tertiary:focus:focus-visible,:host([variant="tertiary"]) ::slotted(button:focus:focus-visible),:host([variant="tertiary"]) ::slotted(a:focus:focus-visible){border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}button.tertiary:active,:host([variant="tertiary"]) ::slotted(button:active),:host([variant="tertiary"]) ::slotted(a:active){border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}button.tertiary:disabled,:host([variant="tertiary"]) ::slotted(button:disabled){border-color:transparent;background-color:transparent;color:var(--color-disabled02)}button.dark-bg,:host([variant="dark-bg"]) ::slotted(button),:host([variant="dark-bg"]) ::slotted(a){border-color:transparent;background-color:rgb(var(--rgb-white) 0.2);color:var(--color-text04)}button.dark-bg.has-content{padding:0 var(--space-unit)}@media (hover: hover){button.dark-bg:hover,:host([variant="dark-bg"]) ::slotted(button:hover),:host([variant="dark-bg"]) ::slotted(a:hover){background-color:rgb(var(--rgb-white) 0.1)}}button.dark-bg:active,:host([variant="dark-bg"]) ::slotted(button:active),:host([variant="dark-bg"]) ::slotted(a:active){background-color:rgb(var(--rgb-white) 0.3)}button.dark-bg:disabled,:host([variant="dark-bg"]) ::slotted(button:disabled){background-color:rgb(var(--rgb-white) 0.05);color:var(--color-disabled03)}';export{i as z_button_deprecated}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,g as o}from"./p-b366ef8e.js";import{z as s,D as r}from"./p-9f80c0b8.js";const l=class{constructor(e){t(this,e),this.dividerPosition=s.BEFORE,this.uppercase=!0}componentWillRender(){this.hasSecondaryTitle=!!this.host.querySelector("[slot=secondary-title]")}render(){return e(i,null,e("slot",{name:"secondary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.BEFORE&&e("z-divider",{size:r.LARGE,color:"z-section-title--divider-color"}),e("slot",{name:"primary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.AFTER&&e("z-divider",{size:r.LARGE,color:"z-section-title--divider-color"}))}get host(){return o(this)}};l.style=':host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot="secondary-title"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);line-height:1.5rem;text-transform:uppercase}::slotted([slot="primary-title"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]:not([uppercase="false"])) ::slotted([slot="primary-title"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot="primary-title"]){font-size:var(--font-size-7);line-height:2.25rem}}';export{l as z_section_title}
1
+ import{r as t,h as e,H as i,g as o}from"./p-d17ebc2f.js";import{z as s,D as r}from"./p-9f80c0b8.js";const l=class{constructor(e){t(this,e),this.dividerPosition=s.BEFORE,this.uppercase=!0}componentWillRender(){this.hasSecondaryTitle=!!this.host.querySelector("[slot=secondary-title]")}render(){return e(i,null,e("slot",{name:"secondary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.BEFORE&&e("z-divider",{size:r.LARGE,color:"z-section-title--divider-color"}),e("slot",{name:"primary-title"}),!this.hasSecondaryTitle&&this.dividerPosition===s.AFTER&&e("z-divider",{size:r.LARGE,color:"z-section-title--divider-color"}))}get host(){return o(this)}};l.style=':host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot="secondary-title"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);line-height:1.5rem;text-transform:uppercase}::slotted([slot="primary-title"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]:not([uppercase="false"])) ::slotted([slot="primary-title"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot="primary-title"]){font-size:var(--font-size-7);line-height:2.25rem}}';export{l as z_section_title}
@@ -1 +1 @@
1
- import{r as o,c as e,h as r,H as t}from"./p-b366ef8e.js";import{e as p,f as a,g as c,h as n}from"./p-9f80c0b8.js";import{a as s}from"./p-87fdd14f.js";import"./p-d69e14fb.js";const d=class{constructor(r){o(this,r),this.triggerClick=e(this,"triggerClick",7),this.position=p.AFTER_UP,this.backgroundColor="color-white",this.borderRadius=a.SMALL,this.boxShadow=c.SHADOW_1,this.showArrow=!1,this.padding="8px",this.isVisible=!1,this.popoverPosition=this.position,this.handleKeyDown=this.handleKeyDown.bind(this)}emitTriggerClick(){this.triggerClick.emit({isVisible:this.isVisible})}openPopover(){const o=document.body.clientWidth,e=window.innerHeight,r=this.popoverElem.getBoundingClientRect(),t=r.left,a=r.right,c=r.top,n=r.bottom;let s=this.position.split("-")[0],d=this.position.split("-")[1];c<0&&(this.position.startsWith("above")?s="below":d="down"),n>e&&(this.position.startsWith("below")?s="above":d="up"),a>o&&(this.position.startsWith("above")||this.position.startsWith("below")?d="left":s="before"),t<0&&(this.position.startsWith("above")||this.position.startsWith("below")?d="right":s="after"),this.popoverPosition=p[`${s}-${d}`],this.isVisible=!0}closePopover(){this.popoverPosition=this.position,this.isVisible=!1}closePopoverWithKeyboard(o){o.key===n.ESC&&this.closePopover()}handleClick(o){this.isVisible?this.closePopover():this.openPopover(),this.emitTriggerClick(),o.stopPropagation()}handleKeyDown(o){o.code===n.ENTER&&(this.isVisible?this.closePopover():this.openPopover())}handleOutsideClick(o){s(o.target).find((o=>"z-popover-deprecated"===o.nodeName.toLowerCase()))||this.closePopover()}render(){return r(t,{onKeyDown:this.handleKeyDown},r("div",{tabindex:"0",onClick:o=>this.handleClick(o),onKeyDown:o=>{o.key===n.ENTER&&this.handleClick(o)}},r("slot",{name:"trigger"})),r("div",{ref:o=>this.popoverElem=o,class:{"popover-content-container":!0,[this.popoverPosition]:!0,[`border-radius-${this.borderRadius}`]:!0,[this.boxShadow]:!0,"show-arrow":this.showArrow,visible:this.isVisible},style:{backgroundColor:`var(--${this.backgroundColor})`,padding:this.padding}},r("slot",{name:"popover"})))}};d.style='.sc-z-popover-deprecated-h{position:relative;display:inline-block;font-family:var(--dashboard-font);font-weight:var(--font-rg);--shadow-arrow-color:rgb(66 69 72 / 20%);--shadow-arrow-below-color:rgb(66 69 72 / 10%)}.popover-content-container.sc-z-popover-deprecated{position:absolute;z-index:999;min-width:64px;min-height:32px;box-sizing:border-box;visibility:hidden}.popover-content-container.visible.sc-z-popover-deprecated{visibility:visible}.popover-content-container.border-radius-none.sc-z-popover-deprecated{border-radius:0}.popover-content-container.border-radius-small.sc-z-popover-deprecated{border-radius:var(--border-radius-small)}.popover-content-container.border-radius-medium.sc-z-popover-deprecated{border-radius:var(--border-radius)}.popover-content-container.shadow-1.sc-z-popover-deprecated{box-shadow:var(--shadow-1)}.popover-content-container.shadow-2.sc-z-popover-deprecated{box-shadow:var(--shadow-2)}.popover-content-container.shadow-3.sc-z-popover-deprecated{box-shadow:var(--shadow-3)}.popover-content-container.shadow-4.sc-z-popover-deprecated{box-shadow:var(--shadow-4)}.popover-content-container.shadow-6.sc-z-popover-deprecated{box-shadow:var(--shadow-6)}.popover-content-container.shadow-8.sc-z-popover-deprecated{box-shadow:var(--shadow-8)}.popover-content-container.shadow-12.sc-z-popover-deprecated{box-shadow:var(--shadow-12)}.popover-content-container.shadow-16.sc-z-popover-deprecated{box-shadow:var(--shadow-16)}.popover-content-container.shadow-24.sc-z-popover-deprecated{box-shadow:var(--shadow-24)}.popover-content-container.after-down.sc-z-popover-deprecated{top:0;left:calc(100% + var(--space-unit))}.popover-content-container.after-center.sc-z-popover-deprecated{top:50%;left:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.after-up.sc-z-popover-deprecated{bottom:0;left:calc(100% + var(--space-unit))}.popover-content-container.below-right.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));left:0}.popover-content-container.below-center.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));left:50%;transform:translateX(-50%)}.popover-content-container.below-left.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));right:0}.popover-content-container.before-down.sc-z-popover-deprecated{top:0;right:calc(100% + var(--space-unit))}.popover-content-container.before-center.sc-z-popover-deprecated{top:50%;right:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.before-up.sc-z-popover-deprecated{right:calc(100% + var(--space-unit));bottom:0}.popover-content-container.above-right.sc-z-popover-deprecated{bottom:calc(100% + var(--space-unit));left:0}.popover-content-container.above-center.sc-z-popover-deprecated{bottom:calc(100% + var(--space-unit));left:50%;transform:translateX(-50%)}.popover-content-container.above-left.sc-z-popover-deprecated{right:0;bottom:calc(100% + var(--space-unit))}.popover-content-container.sc-z-popover-deprecated::before{position:absolute;z-index:-1;display:none;width:8px;height:8px;background-color:inherit;content:"";transform:rotate(45deg)}.popover-content-container.after-down.sc-z-popover-deprecated::before{top:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-center.sc-z-popover-deprecated::before{top:calc(50% - 4px);left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-up.sc-z-popover-deprecated::before{bottom:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.below-right.sc-z-popover-deprecated::before{top:-4px;left:12px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-center.sc-z-popover-deprecated::before{top:-4px;left:calc(50% - 4px);box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-left.sc-z-popover-deprecated::before{top:-4px;right:12px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.before-down.sc-z-popover-deprecated::before{top:12px;right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-center.sc-z-popover-deprecated::before{top:calc(50% - 4px);right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-up.sc-z-popover-deprecated::before{right:-4px;bottom:12px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-right.sc-z-popover-deprecated::before{bottom:-4px;left:12px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-center.sc-z-popover-deprecated::before{bottom:-4px;left:calc(50% - 4px);box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-left.sc-z-popover-deprecated::before{right:12px;bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.show-arrow.sc-z-popover-deprecated::before{display:block}';export{d as z_popover_deprecated}
1
+ import{r as o,c as e,h as r,H as t}from"./p-d17ebc2f.js";import{e as p,f as a,g as c,h as n}from"./p-9f80c0b8.js";import{a as s}from"./p-87fdd14f.js";import"./p-d69e14fb.js";const d=class{constructor(r){o(this,r),this.triggerClick=e(this,"triggerClick",7),this.position=p.AFTER_UP,this.backgroundColor="color-white",this.borderRadius=a.SMALL,this.boxShadow=c.SHADOW_1,this.showArrow=!1,this.padding="8px",this.isVisible=!1,this.popoverPosition=this.position,this.handleKeyDown=this.handleKeyDown.bind(this)}emitTriggerClick(){this.triggerClick.emit({isVisible:this.isVisible})}openPopover(){const o=document.body.clientWidth,e=window.innerHeight,r=this.popoverElem.getBoundingClientRect(),t=r.left,a=r.right,c=r.top,n=r.bottom;let s=this.position.split("-")[0],d=this.position.split("-")[1];c<0&&(this.position.startsWith("above")?s="below":d="down"),n>e&&(this.position.startsWith("below")?s="above":d="up"),a>o&&(this.position.startsWith("above")||this.position.startsWith("below")?d="left":s="before"),t<0&&(this.position.startsWith("above")||this.position.startsWith("below")?d="right":s="after"),this.popoverPosition=p[`${s}-${d}`],this.isVisible=!0}closePopover(){this.popoverPosition=this.position,this.isVisible=!1}closePopoverWithKeyboard(o){o.key===n.ESC&&this.closePopover()}handleClick(o){this.isVisible?this.closePopover():this.openPopover(),this.emitTriggerClick(),o.stopPropagation()}handleKeyDown(o){o.code===n.ENTER&&(this.isVisible?this.closePopover():this.openPopover())}handleOutsideClick(o){s(o.target).find((o=>"z-popover-deprecated"===o.nodeName.toLowerCase()))||this.closePopover()}render(){return r(t,{onKeyDown:this.handleKeyDown},r("div",{tabindex:"0",onClick:o=>this.handleClick(o),onKeyDown:o=>{o.key===n.ENTER&&this.handleClick(o)}},r("slot",{name:"trigger"})),r("div",{ref:o=>this.popoverElem=o,class:{"popover-content-container":!0,[this.popoverPosition]:!0,[`border-radius-${this.borderRadius}`]:!0,[this.boxShadow]:!0,"show-arrow":this.showArrow,visible:this.isVisible},style:{backgroundColor:`var(--${this.backgroundColor})`,padding:this.padding}},r("slot",{name:"popover"})))}};d.style='.sc-z-popover-deprecated-h{position:relative;display:inline-block;font-family:var(--dashboard-font);font-weight:var(--font-rg);--shadow-arrow-color:rgb(66 69 72 / 20%);--shadow-arrow-below-color:rgb(66 69 72 / 10%)}.popover-content-container.sc-z-popover-deprecated{position:absolute;z-index:999;min-width:64px;min-height:32px;box-sizing:border-box;visibility:hidden}.popover-content-container.visible.sc-z-popover-deprecated{visibility:visible}.popover-content-container.border-radius-none.sc-z-popover-deprecated{border-radius:0}.popover-content-container.border-radius-small.sc-z-popover-deprecated{border-radius:var(--border-radius-small)}.popover-content-container.border-radius-medium.sc-z-popover-deprecated{border-radius:var(--border-radius)}.popover-content-container.shadow-1.sc-z-popover-deprecated{box-shadow:var(--shadow-1)}.popover-content-container.shadow-2.sc-z-popover-deprecated{box-shadow:var(--shadow-2)}.popover-content-container.shadow-3.sc-z-popover-deprecated{box-shadow:var(--shadow-3)}.popover-content-container.shadow-4.sc-z-popover-deprecated{box-shadow:var(--shadow-4)}.popover-content-container.shadow-6.sc-z-popover-deprecated{box-shadow:var(--shadow-6)}.popover-content-container.shadow-8.sc-z-popover-deprecated{box-shadow:var(--shadow-8)}.popover-content-container.shadow-12.sc-z-popover-deprecated{box-shadow:var(--shadow-12)}.popover-content-container.shadow-16.sc-z-popover-deprecated{box-shadow:var(--shadow-16)}.popover-content-container.shadow-24.sc-z-popover-deprecated{box-shadow:var(--shadow-24)}.popover-content-container.after-down.sc-z-popover-deprecated{top:0;left:calc(100% + var(--space-unit))}.popover-content-container.after-center.sc-z-popover-deprecated{top:50%;left:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.after-up.sc-z-popover-deprecated{bottom:0;left:calc(100% + var(--space-unit))}.popover-content-container.below-right.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));left:0}.popover-content-container.below-center.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));left:50%;transform:translateX(-50%)}.popover-content-container.below-left.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));right:0}.popover-content-container.before-down.sc-z-popover-deprecated{top:0;right:calc(100% + var(--space-unit))}.popover-content-container.before-center.sc-z-popover-deprecated{top:50%;right:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.before-up.sc-z-popover-deprecated{right:calc(100% + var(--space-unit));bottom:0}.popover-content-container.above-right.sc-z-popover-deprecated{bottom:calc(100% + var(--space-unit));left:0}.popover-content-container.above-center.sc-z-popover-deprecated{bottom:calc(100% + var(--space-unit));left:50%;transform:translateX(-50%)}.popover-content-container.above-left.sc-z-popover-deprecated{right:0;bottom:calc(100% + var(--space-unit))}.popover-content-container.sc-z-popover-deprecated::before{position:absolute;z-index:-1;display:none;width:8px;height:8px;background-color:inherit;content:"";transform:rotate(45deg)}.popover-content-container.after-down.sc-z-popover-deprecated::before{top:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-center.sc-z-popover-deprecated::before{top:calc(50% - 4px);left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-up.sc-z-popover-deprecated::before{bottom:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.below-right.sc-z-popover-deprecated::before{top:-4px;left:12px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-center.sc-z-popover-deprecated::before{top:-4px;left:calc(50% - 4px);box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-left.sc-z-popover-deprecated::before{top:-4px;right:12px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.before-down.sc-z-popover-deprecated::before{top:12px;right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-center.sc-z-popover-deprecated::before{top:calc(50% - 4px);right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-up.sc-z-popover-deprecated::before{right:-4px;bottom:12px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-right.sc-z-popover-deprecated::before{bottom:-4px;left:12px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-center.sc-z-popover-deprecated::before{bottom:-4px;left:calc(50% - 4px);box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-left.sc-z-popover-deprecated::before{right:12px;bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.show-arrow.sc-z-popover-deprecated::before{display:block}';export{d as z_popover_deprecated}
@@ -1 +1 @@
1
- import{r as i,c as e,h as t,H as s,g as o}from"./p-b366ef8e.js";import{y as n,P as l}from"./p-9f80c0b8.js";import{t as r}from"./p-d69e14fb.js";const h=class{constructor(t){i(this,t),this.removeFile=e(this,"removeFile",7),this.allowPopover=!1,this.popoverVisible=!1}removeFileHandler(){this.removeFile.emit({fileName:this.fileName}),this.el.remove()}onMouseOver(){this.popoverVisible=!0}onMouseLeave(){this.popoverVisible=!1}onInteractiveIconClick(){this.removeFileHandler()}componentDidLoad(){var i,e;this.elementHasEllipsis()&&window.innerWidth>r&&(this.allowPopover=!0),null===(e=null===(i=this.icon)||void 0===i?void 0:i.focus)||void 0===e||e.call(i)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t(s,null,this.allowPopover&&t("z-popover",{open:this.popoverVisible,position:l.AUTO,bindTo:this.chip},t("span",{class:"body-5 tooltip-content"},this.ellipsis.innerText)),t("z-chip",{ref:i=>this.chip=i,id:`chip-${this.fileNumber}`,interactiveIcon:"multiply-circled",type:n.DEFAULT},t("span",{ref:i=>this.ellipsis=i,tabIndex:-1},this.fileName)))}get el(){return o(this)}};h.style=".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";export{h as z_file}
1
+ import{r as i,c as e,h as t,H as s,g as o}from"./p-d17ebc2f.js";import{y as n,P as l}from"./p-9f80c0b8.js";import{t as r}from"./p-d69e14fb.js";const h=class{constructor(t){i(this,t),this.removeFile=e(this,"removeFile",7),this.allowPopover=!1,this.popoverVisible=!1}removeFileHandler(){this.removeFile.emit({fileName:this.fileName}),this.el.remove()}onMouseOver(){this.popoverVisible=!0}onMouseLeave(){this.popoverVisible=!1}onInteractiveIconClick(){this.removeFileHandler()}componentDidLoad(){var i,e;this.elementHasEllipsis()&&window.innerWidth>r&&(this.allowPopover=!0),null===(e=null===(i=this.icon)||void 0===i?void 0:i.focus)||void 0===e||e.call(i)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t(s,null,this.allowPopover&&t("z-popover",{open:this.popoverVisible,position:l.AUTO,bindTo:this.chip},t("span",{class:"body-5 tooltip-content"},this.ellipsis.innerText)),t("z-chip",{ref:i=>this.chip=i,id:`chip-${this.fileNumber}`,interactiveIcon:"multiply-circled",type:n.DEFAULT},t("span",{ref:i=>this.ellipsis=i,tabIndex:-1},this.fileName)))}get el(){return o(this)}};h.style=".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";export{h as z_file}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s}from"./p-b366ef8e.js";import{h}from"./p-e43e61ac.js";import{h as e}from"./p-87fdd14f.js";import"./p-112455b1.js";import"./p-9f80c0b8.js";import"./p-d69e14fb.js";const a=class{constructor(s){t(this,s),this.goToPage=i(this,"goToPage",7),this.changeStartPage=i(this,"changeStartPage",7),this.addPageToHistory=i(this,"addPageToHistory",7),this.currentpage=1,this.startpage=1,this.listhistoryrow=[],this.currentPages=[],this.velocityConstantMultiplier=2,this.navigateRight=this.navigateRight.bind(this),this.navigateLeft=this.navigateLeft.bind(this),this.emitGoToPage=this.emitGoToPage.bind(this)}componentDidLoad(){this.scrollPage=this.scrollPage.bind(this);const t=new h(this.bar);t.on("swiperight",this.scrollPage),t.on("swipeleft",this.scrollPage)}componentWillRender(){this.initPagination()}componentWillUpdate(){this.initPagination()}initPagination(){this.loadPages(),this.historyraw&&this.parsehistoryraw(this.historyraw)}parsehistoryraw(t){this.listhistoryrow=[...JSON.parse(t)]}scrollPage(t){const i=Math.round(Math.abs(t.velocity))*this.velocityConstantMultiplier,s=Math.max(1,i);switch(t.type){case"swiperight":this.canNavigateLeft()&&this.emitChangeStartPage(Math.max(1,this.startpage-s));break;case"swipeleft":this.canNavigateRight()&&this.emitChangeStartPage(Math.min(this.startpage+s,this.pages-this.visiblepages+1))}}emitGoToPage(t){this.currentpage=t,this.goToPage.emit({page:t}),this.addPageToHistory.emit({page:t})}emitChangeStartPage(t){this.startpage=t,this.changeStartPage.emit({startpage:t})}loadPages(){this.currentPages.splice(0);const t=this.pageWindow();let i;for(i=0;i<t;i++)this.currentPages.push(i+this.startpage)}pageWindow(){return Math.min(this.pages,this.visiblepages)}canNavigateLeft(){return this.startpage>1}canNavigateRight(){return this.startpage+this.visiblepages-1<this.pages}navigateLeft(){this.canNavigateLeft()&&(this.startpage--,this.emitChangeStartPage(this.startpage),this.loadPages())}navigateRight(){this.canNavigateRight()&&(this.startpage++,this.emitChangeStartPage(this.startpage),this.loadPages())}render(){return s("div",{ref:t=>this.bar=t},s("z-icon",{name:"chevron-left",class:!this.canNavigateLeft()&&"disabled",onClick:()=>this.navigateLeft(),onKeyPress:t=>e(t,this.navigateLeft),tabindex:this.canNavigateLeft()?0:-1}),this.currentPages.map((t=>s("z-pagination-page",{value:t,isselected:t===this.currentpage,onClick:()=>this.emitGoToPage(t),onKeyDown:i=>e(i,this.emitGoToPage,t),isvisited:this.listhistoryrow.includes(t)}))),s("z-icon",{name:"chevron-right",class:!this.canNavigateRight()&&"disabled",onClick:()=>this.navigateRight(),onKeyPress:t=>e(t,this.navigateRight),tabindex:this.canNavigateRight()?0:-1}))}};a.style=":host>div{display:flex;height:48px;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:space-around}:host>div>z-icon{margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01)}:host>div>z-icon.disabled{color:var(--color-disabled01);cursor:default;fill:var(--color-disabled01);pointer-events:none}";export{a as z_pagination_bar}
1
+ import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{h}from"./p-e43e61ac.js";import{h as e}from"./p-87fdd14f.js";import"./p-112455b1.js";import"./p-9f80c0b8.js";import"./p-d69e14fb.js";const a=class{constructor(s){t(this,s),this.goToPage=i(this,"goToPage",7),this.changeStartPage=i(this,"changeStartPage",7),this.addPageToHistory=i(this,"addPageToHistory",7),this.currentpage=1,this.startpage=1,this.listhistoryrow=[],this.currentPages=[],this.velocityConstantMultiplier=2,this.navigateRight=this.navigateRight.bind(this),this.navigateLeft=this.navigateLeft.bind(this),this.emitGoToPage=this.emitGoToPage.bind(this)}componentDidLoad(){this.scrollPage=this.scrollPage.bind(this);const t=new h(this.bar);t.on("swiperight",this.scrollPage),t.on("swipeleft",this.scrollPage)}componentWillRender(){this.initPagination()}componentWillUpdate(){this.initPagination()}initPagination(){this.loadPages(),this.historyraw&&this.parsehistoryraw(this.historyraw)}parsehistoryraw(t){this.listhistoryrow=[...JSON.parse(t)]}scrollPage(t){const i=Math.round(Math.abs(t.velocity))*this.velocityConstantMultiplier,s=Math.max(1,i);switch(t.type){case"swiperight":this.canNavigateLeft()&&this.emitChangeStartPage(Math.max(1,this.startpage-s));break;case"swipeleft":this.canNavigateRight()&&this.emitChangeStartPage(Math.min(this.startpage+s,this.pages-this.visiblepages+1))}}emitGoToPage(t){this.currentpage=t,this.goToPage.emit({page:t}),this.addPageToHistory.emit({page:t})}emitChangeStartPage(t){this.startpage=t,this.changeStartPage.emit({startpage:t})}loadPages(){this.currentPages.splice(0);const t=this.pageWindow();let i;for(i=0;i<t;i++)this.currentPages.push(i+this.startpage)}pageWindow(){return Math.min(this.pages,this.visiblepages)}canNavigateLeft(){return this.startpage>1}canNavigateRight(){return this.startpage+this.visiblepages-1<this.pages}navigateLeft(){this.canNavigateLeft()&&(this.startpage--,this.emitChangeStartPage(this.startpage),this.loadPages())}navigateRight(){this.canNavigateRight()&&(this.startpage++,this.emitChangeStartPage(this.startpage),this.loadPages())}render(){return s("div",{ref:t=>this.bar=t},s("z-icon",{name:"chevron-left",class:!this.canNavigateLeft()&&"disabled",onClick:()=>this.navigateLeft(),onKeyPress:t=>e(t,this.navigateLeft),tabindex:this.canNavigateLeft()?0:-1}),this.currentPages.map((t=>s("z-pagination-page",{value:t,isselected:t===this.currentpage,onClick:()=>this.emitGoToPage(t),onKeyDown:i=>e(i,this.emitGoToPage,t),isvisited:this.listhistoryrow.includes(t)}))),s("z-icon",{name:"chevron-right",class:!this.canNavigateRight()&&"disabled",onClick:()=>this.navigateRight(),onKeyPress:t=>e(t,this.navigateRight),tabindex:this.canNavigateRight()?0:-1}))}};a.style=":host>div{display:flex;height:48px;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:space-around}:host>div>z-icon{margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01)}:host>div>z-icon.disabled{color:var(--color-disabled01);cursor:default;fill:var(--color-disabled01);pointer-events:none}";export{a as z_pagination_bar}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,H as l}from"./p-b366ef8e.js";import{Z as d}from"./p-9f80c0b8.js";const r=class{constructor(a){e(this,a),this.expand=t(this,"expand",7),this.expandedType=d.NONE,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return a("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.EXPANDABLE?a("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):a("div",{class:"z-icon-placeholder"}))}render(){return a(l,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.EXPANDABLE&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.NONE&&this.renderExpandButton(),a("slot",null))}};r.style='z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type="expandable"]:hover{cursor:pointer}z-table-row[expanded-type="expandable"]>z-table-cell:first-child,z-table-row[expanded-type="padding"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;box-sizing:border-box;padding-right:0;padding-left:16px;fill:var(--gray800);text-align:center;user-select:none}.z-icon-placeholder{width:24px;padding-right:0}z-table-row[expanded-type="expandable"]>z-table-cell:nth-child(2),z-table-row[expanded-type="padding"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{border-bottom:none;background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}';export{r as z_table_row}
1
+ import{r as e,c as t,h as a,H as l}from"./p-d17ebc2f.js";import{Z as d}from"./p-9f80c0b8.js";const r=class{constructor(a){e(this,a),this.expand=t(this,"expand",7),this.expandedType=d.NONE,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return a("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.EXPANDABLE?a("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):a("div",{class:"z-icon-placeholder"}))}render(){return a(l,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.EXPANDABLE&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.NONE&&this.renderExpandButton(),a("slot",null))}};r.style='z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type="expandable"]:hover{cursor:pointer}z-table-row[expanded-type="expandable"]>z-table-cell:first-child,z-table-row[expanded-type="padding"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;box-sizing:border-box;padding-right:0;padding-left:16px;fill:var(--gray800);text-align:center;user-select:none}.z-icon-placeholder{width:24px;padding-right:0}z-table-row[expanded-type="expandable"]>z-table-cell:nth-child(2),z-table-row[expanded-type="padding"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{border-bottom:none;background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}';export{r as z_table_row}
@@ -1 +1 @@
1
- import{r,c as a,h as e}from"./p-b366ef8e.js";const o=class{constructor(e){r(this,e),this.fileDropped=a(this,"fileDropped",7)}fileDroppedHandler(r){this.fileDropped.emit(r)}renderOnDragOverMessage(){return e("div",{class:"dragover-container"},e("div",{class:"dragover-message"},e("z-body",{variant:"semibold",level:2},"Rilascia i file in questa area per allegarli.")))}render(){return e("div",{tabIndex:0,ref:r=>this.dragDropContainer=r,class:"dragdrop",onDragOver:r=>{r.preventDefault(),this.dragDropContainer.classList.add("dragover")},onDragLeave:()=>{this.dragDropContainer.classList.remove("dragover")},onDrop:r=>{r.preventDefault(),r.dataTransfer.files.length&&(this.dragDropContainer.classList.remove("dragover"),this.fileDroppedHandler(r.dataTransfer.files))}},this.renderOnDragOverMessage(),e("slot",null))}};o.style=".sc-z-dragdrop-area-h{margin-top:calc(var(--space-unit) * 3);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area{position:relative;display:flex;height:228px;flex-direction:column;border-color:var(--color-surface04);background-color:var(--color-surface02);background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e\");border-radius:2px;color:var(--color-text01)}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area *.sc-z-dragdrop-area{pointer-events:none}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{position:absolute;z-index:10;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area .dragover-message.sc-z-dragdrop-area{padding:10px 28px;background-color:var(--color-link-primary);color:var(--color-text04)}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{display:flex;align-items:center;justify-content:center}";const d=class{constructor(a){r(this,a),this.variant="regular"}render(){return e("z-typography",{tabIndex:0,component:this.component||`h${this.level}`,level:`h${this.level}`,variant:this.variant},e("slot",null))}};export{o as z_dragdrop_area,d as z_heading}
1
+ import{r,c as a,h as e}from"./p-d17ebc2f.js";const o=class{constructor(e){r(this,e),this.fileDropped=a(this,"fileDropped",7)}fileDroppedHandler(r){this.fileDropped.emit(r)}renderOnDragOverMessage(){return e("div",{class:"dragover-container"},e("div",{class:"dragover-message"},e("z-body",{variant:"semibold",level:2},"Rilascia i file in questa area per allegarli.")))}render(){return e("div",{tabIndex:0,ref:r=>this.dragDropContainer=r,class:"dragdrop",onDragOver:r=>{r.preventDefault(),this.dragDropContainer.classList.add("dragover")},onDragLeave:()=>{this.dragDropContainer.classList.remove("dragover")},onDrop:r=>{r.preventDefault(),r.dataTransfer.files.length&&(this.dragDropContainer.classList.remove("dragover"),this.fileDroppedHandler(r.dataTransfer.files))}},this.renderOnDragOverMessage(),e("slot",null))}};o.style=".sc-z-dragdrop-area-h{margin-top:calc(var(--space-unit) * 3);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area{position:relative;display:flex;height:228px;flex-direction:column;border-color:var(--color-surface04);background-color:var(--color-surface02);background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e\");border-radius:2px;color:var(--color-text01)}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area *.sc-z-dragdrop-area{pointer-events:none}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{position:absolute;z-index:10;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area .dragover-message.sc-z-dragdrop-area{padding:10px 28px;background-color:var(--color-link-primary);color:var(--color-text04)}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{display:flex;align-items:center;justify-content:center}";const d=class{constructor(a){r(this,a),this.variant="regular"}render(){return e("z-typography",{tabIndex:0,component:this.component||`h${this.level}`,level:`h${this.level}`,variant:this.variant},e("slot",null))}};export{o as z_dragdrop_area,d as z_heading}
@@ -1 +1 @@
1
- import{r as t,c as o,h as n,H as i}from"./p-b366ef8e.js";const s=class{constructor(n){t(this,n),this.notificationAction=o(this,"notificationAction",7),this.notificationClose=o(this,"notificationClose",7),this.showclose=!1,this.showshadow=!1,this.sticky=!1,this.handleActionButtonClick=this.handleActionButtonClick.bind(this),this.handleCloseButtonClick=this.handleCloseButtonClick.bind(this)}handleActionButtonClick(t){t.preventDefault(),this.notificationAction.emit()}handleCloseButtonClick(t){t.preventDefault(),this.notificationClose.emit()}render(){var t;return n(i,null,this.contenticonname&&n("z-icon",{class:"status-icon",name:this.contenticonname,width:16,height:16}),n("div",{class:"content-container"},n("div",{class:"content-text"},n("slot",null)),!!(null===(t=this.actiontext)||void 0===t?void 0:t.trim())&&n("button",{class:"action-button",type:"button",onClick:this.handleActionButtonClick},this.actiontext)),this.showclose&&n("button",{class:"close-button",type:"button",onClick:this.handleCloseButtonClick},n("z-icon",{name:"multiply-circle",width:16,height:16})))}};s.style=':host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type="success"]){background:var(--color-success-inverse)}:host([type="warning"]){background:var(--color-warning-inverse)}:host([type="error"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type="success"]) .status-icon{fill:var(--color-success01)}:host([type="warning"]) .status-icon{fill:var(--color-warning02)}:host([type="error"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}';export{s as z_notification}
1
+ import{r as t,c as o,h as n,H as i}from"./p-d17ebc2f.js";const s=class{constructor(n){t(this,n),this.notificationAction=o(this,"notificationAction",7),this.notificationClose=o(this,"notificationClose",7),this.showclose=!1,this.showshadow=!1,this.sticky=!1,this.handleActionButtonClick=this.handleActionButtonClick.bind(this),this.handleCloseButtonClick=this.handleCloseButtonClick.bind(this)}handleActionButtonClick(t){t.preventDefault(),this.notificationAction.emit()}handleCloseButtonClick(t){t.preventDefault(),this.notificationClose.emit()}render(){var t;return n(i,null,this.contenticonname&&n("z-icon",{class:"status-icon",name:this.contenticonname,width:16,height:16}),n("div",{class:"content-container"},n("div",{class:"content-text"},n("slot",null)),!!(null===(t=this.actiontext)||void 0===t?void 0:t.trim())&&n("button",{class:"action-button",type:"button",onClick:this.handleActionButtonClick},this.actiontext)),this.showclose&&n("button",{class:"close-button",type:"button",onClick:this.handleCloseButtonClick},n("z-icon",{name:"multiply-circle",width:16,height:16})))}};s.style=':host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type="success"]){background:var(--color-success-inverse)}:host([type="warning"]){background:var(--color-warning-inverse)}:host([type="error"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type="success"]) .status-icon{fill:var(--color-success01)}:host([type="warning"]) .status-icon{fill:var(--color-warning02)}:host([type="error"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}';export{s as z_notification}
@@ -1 +1 @@
1
- import{r as a,h as t,H as i}from"./p-b366ef8e.js";const r=class{constructor(t){a(this,t)}render(){return t(i,{class:{"body-5-sb":!0,expandable:this.expandable&&!!this.icon}},this.icon&&t("z-icon",{name:this.icon}),t("div",null,t("slot",null)))}};r.style=".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;--z-tag-text-color:var(--color-primary03);--z-tag-bg:var(--color-hover-primary);display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg);border-radius:var(--border-radius);color:var(--z-tag-text-color);fill:var(--z-tag-text-color);font-family:var(--font-family-sans);line-height:14px;text-transform:uppercase}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag:not(:last-child),.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.expandable.sc-z-tag-h>div.sc-z-tag{overflow:hidden;max-width:0;max-height:0}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";export{r as z_tag}
1
+ import{r as a,h as t,H as i}from"./p-d17ebc2f.js";const r=class{constructor(t){a(this,t)}render(){return t(i,{class:{"body-5-sb":!0,expandable:this.expandable&&!!this.icon}},this.icon&&t("z-icon",{name:this.icon}),t("div",null,t("slot",null)))}};r.style=".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;--z-tag-text-color:var(--color-primary03);--z-tag-bg:var(--color-hover-primary);display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg);border-radius:var(--border-radius);color:var(--z-tag-text-color);fill:var(--z-tag-text-color);font-family:var(--font-family-sans);line-height:14px;text-transform:uppercase}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag:not(:last-child),.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.expandable.sc-z-tag-h>div.sc-z-tag{overflow:hidden;max-width:0;max-height:0}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";export{r as z_tag}
@@ -1 +1 @@
1
- import{r as t,h as o}from"./p-b366ef8e.js";const e=class{constructor(o){t(this,o)}render(){return o("div",null,o("slot",{name:"content"}))}};e.style=":host{display:flex;flex-flow:row nowrap;align-content:center;justify-content:center;font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{position:fixed;z-index:1000;top:30vh;display:flex;overflow:auto;overflow:-moz-scrollbars-none;max-width:297px;height:fit-content;min-height:232px;flex-flow:row wrap;justify-content:center;margin:auto;background:var(--myz-blue-lighter);border-radius:calc(var(--space-unit) * 0.5);box-shadow:0 -2px 4px 0 rgb(66 69 72 / 40%);-ms-overflow-style:none}@media only screen and (min-width: 768px){:host>div{position:initial;position:fixed;top:auto;right:0;bottom:0;left:0;max-width:100%;height:auto;min-height:138px;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin:0 auto;border-radius:0}}@media only screen and (min-width: 1152px){:host>div{min-height:122px}}";export{e as z_candybar}
1
+ import{r as t,h as o}from"./p-d17ebc2f.js";const e=class{constructor(o){t(this,o)}render(){return o("div",null,o("slot",{name:"content"}))}};e.style=":host{display:flex;flex-flow:row nowrap;align-content:center;justify-content:center;font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{position:fixed;z-index:1000;top:30vh;display:flex;overflow:auto;overflow:-moz-scrollbars-none;max-width:297px;height:fit-content;min-height:232px;flex-flow:row wrap;justify-content:center;margin:auto;background:var(--myz-blue-lighter);border-radius:calc(var(--space-unit) * 0.5);box-shadow:0 -2px 4px 0 rgb(66 69 72 / 40%);-ms-overflow-style:none}@media only screen and (min-width: 768px){:host>div{position:initial;position:fixed;top:auto;right:0;bottom:0;left:0;max-width:100%;height:auto;min-height:138px;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin:0 auto;border-radius:0}}@media only screen and (min-width: 1152px){:host>div{min-height:122px}}";export{e as z_candybar}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-b366ef8e.js";import{r as o}from"./p-9f80c0b8.js";import{h as a}from"./p-87fdd14f.js";import{h as r}from"./p-e43e61ac.js";import"./p-d69e14fb.js";import"./p-112455b1.js";const n=class{constructor(e){t(this,e),this.pocketToggle=i(this,"pocketToggle",7),this.status=o.PREVIEW}async open(){this.status=o.OPEN}async close(){this.status=o.CLOSED}emitPocketToggle(t,i){this.pocketToggle.emit({id:t,status:i})}handlePocketHeaderClick(t){if(t.detail.id&&t.detail.id===this.pocketid)switch(this.status){case o.PREVIEW:case o.CLOSED:this.status=o.OPEN;break;case o.OPEN:this.status=o.CLOSED}}handlePocketHeaderPan(t){t.detail.id&&t.detail.id===this.pocketid&&("up"===t.detail.direction?this.status=o.OPEN:"down"===t.detail.direction&&(this.status=o.CLOSED))}watchStatusHandler(t){this.emitPocketToggle(this.pocketid,t)}componentWillLoad(){this.emitPocketToggle(this.pocketid,this.status)}handleBackgroundClick(t){"pocketBackground"==t.target.dataset.action&&this.close()}render(){return e("div",null,e("div",{"data-action":"pocketBackground","data-pocket":this.pocketid,class:`background ${this.status}`,onClick:t=>this.handleBackgroundClick(t)}),e("div",{id:this.pocketid,class:"content-wrapper"},e("div",null,e("slot",null))))}get hostElement(){return s(this)}static get watchers(){return{status:["watchStatusHandler"]}}};n.style=":host{width:inherit;height:100%;margin:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:0;height:0}:host>div>div.background.open{width:100%;height:100%}:host>div>div.content-wrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.content-wrapper>div{margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5);border-radius:var(--space-unit) var(--space-unit) 0 0;box-shadow:0 -2px calc(var(--space-unit) * 0.5) 0 rgb(66 69 72 / 40%)}";const h=class{constructor(i){t(this,i),this.status=o.PREVIEW}handlePocketToggle(t){t.detail.id&&t.detail.id===this.pocketid&&(this.status=t.detail.status)}render(){return e("main",{class:this.status},e("slot",null))}};h.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>main{overflow:auto;border-right:var(--border-size-small) solid var(--color-surface03);border-left:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";const c=class{constructor(e){t(this,e),this.pocketHeaderClick=i(this,"pocketHeaderClick",7),this.pocketHeaderPan=i(this,"pocketHeaderPan",7),this.emitPocketHeaderClick=this.emitPocketHeaderClick.bind(this)}emitPocketHeaderClick(){this.pocketHeaderClick.emit({id:this.pocketid})}emitPocketHeaderPan(t){this.pocketHeaderPan.emit({id:this.pocketid,direction:t})}componentDidLoad(){const t=new r(this.swipeWrap);t.get("pan").set({direction:r.DIRECTION_VERTICAL}),t.on("panup",(()=>this.emitPocketHeaderPan("up"))),t.on("pandown",(()=>this.emitPocketHeaderPan("down")))}render(){return e("header",{role:"button",tabindex:0,onClick:()=>this.emitPocketHeaderClick(),onKeyPress:t=>a(t,this.emitPocketHeaderClick),ref:t=>this.swipeWrap=t},e("slot",null))}};c.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>header{display:flex;height:36px;flex-flow:row nowrap;align-items:center;justify-content:center;border:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);border-radius:var(--space-unit) var(--space-unit) 0 0;cursor:pointer}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";export{n as z_pocket,h as z_pocket_body,c as z_pocket_header}
1
+ import{r as t,c as i,h as s,g as e}from"./p-d17ebc2f.js";import{r as o}from"./p-9f80c0b8.js";import{h as a}from"./p-87fdd14f.js";import{h as r}from"./p-e43e61ac.js";import"./p-d69e14fb.js";import"./p-112455b1.js";const n=class{constructor(s){t(this,s),this.pocketToggle=i(this,"pocketToggle",7),this.status=o.PREVIEW}async open(){this.status=o.OPEN}async close(){this.status=o.CLOSED}emitPocketToggle(t,i){this.pocketToggle.emit({id:t,status:i})}handlePocketHeaderClick(t){if(t.detail.id&&t.detail.id===this.pocketid)switch(this.status){case o.PREVIEW:case o.CLOSED:this.status=o.OPEN;break;case o.OPEN:this.status=o.CLOSED}}handlePocketHeaderPan(t){t.detail.id&&t.detail.id===this.pocketid&&("up"===t.detail.direction?this.status=o.OPEN:"down"===t.detail.direction&&(this.status=o.CLOSED))}watchStatusHandler(t){this.emitPocketToggle(this.pocketid,t)}componentWillLoad(){this.emitPocketToggle(this.pocketid,this.status)}handleBackgroundClick(t){"pocketBackground"==t.target.dataset.action&&this.close()}render(){return s("div",null,s("div",{"data-action":"pocketBackground","data-pocket":this.pocketid,class:`background ${this.status}`,onClick:t=>this.handleBackgroundClick(t)}),s("div",{id:this.pocketid,class:"content-wrapper"},s("div",null,s("slot",null))))}get hostElement(){return e(this)}static get watchers(){return{status:["watchStatusHandler"]}}};n.style=":host{width:inherit;height:100%;margin:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:0;height:0}:host>div>div.background.open{width:100%;height:100%}:host>div>div.content-wrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.content-wrapper>div{margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5);border-radius:var(--space-unit) var(--space-unit) 0 0;box-shadow:0 -2px calc(var(--space-unit) * 0.5) 0 rgb(66 69 72 / 40%)}";const h=class{constructor(i){t(this,i),this.status=o.PREVIEW}handlePocketToggle(t){t.detail.id&&t.detail.id===this.pocketid&&(this.status=t.detail.status)}render(){return s("main",{class:this.status},s("slot",null))}};h.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>main{overflow:auto;border-right:var(--border-size-small) solid var(--color-surface03);border-left:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";const c=class{constructor(s){t(this,s),this.pocketHeaderClick=i(this,"pocketHeaderClick",7),this.pocketHeaderPan=i(this,"pocketHeaderPan",7),this.emitPocketHeaderClick=this.emitPocketHeaderClick.bind(this)}emitPocketHeaderClick(){this.pocketHeaderClick.emit({id:this.pocketid})}emitPocketHeaderPan(t){this.pocketHeaderPan.emit({id:this.pocketid,direction:t})}componentDidLoad(){const t=new r(this.swipeWrap);t.get("pan").set({direction:r.DIRECTION_VERTICAL}),t.on("panup",(()=>this.emitPocketHeaderPan("up"))),t.on("pandown",(()=>this.emitPocketHeaderPan("down")))}render(){return s("header",{role:"button",tabindex:0,onClick:()=>this.emitPocketHeaderClick(),onKeyPress:t=>a(t,this.emitPocketHeaderClick),ref:t=>this.swipeWrap=t},s("slot",null))}};c.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>header{display:flex;height:36px;flex-flow:row nowrap;align-items:center;justify-content:center;border:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);border-radius:var(--space-unit) var(--space-unit) 0 0;cursor:pointer}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";export{n as z_pocket,h as z_pocket_body,c as z_pocket_header}
@@ -1 +1 @@
1
- import{r,h as t,g as e}from"./p-b366ef8e.js";const o=class{constructor(t){r(this,t)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return t("slot",null)}get host(){return e(this)}};o.style=".sc-z-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{o as z_table_head}
1
+ import{r,h as t,g as e}from"./p-d17ebc2f.js";const o=class{constructor(t){r(this,t)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return t("slot",null)}get host(){return e(this)}};o.style=".sc-z-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{o as z_table_head}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e}from"./p-b366ef8e.js";import{I as s,K as r}from"./p-9f80c0b8.js";import{h as o}from"./p-87fdd14f.js";import"./p-d69e14fb.js";const a=class{constructor(e){t(this,e),this.comboboxChange=i(this,"comboboxChange",7),this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.renderItemsList=[],this.itemsList=[],this.inputType=s.TEXT,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}inputCheckListener(t){const i=t.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===i&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(t.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===i&&(e.checked=t.detail.checked),e))),this.resetRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue&&this.filterItems(this.searchValue)}resetRenderItemsList(){const t=[];this.itemsList.forEach((i=>{t.push(Object.assign({},i))})),this.renderItemsList=t}filterItems(t){if(!t)return this.closeFilterItems();this.searchValue=t,this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((i=>{const e=i.name.toUpperCase().indexOf(t.toUpperCase()),s=e+t.length,r=i.name.substring(0,e)+i.name.substring(e,s).bold()+i.name.substring(s,i.name.length);return i.name=r,e>=0}))}checkAll(t=!0){this.itemsList=this.itemsList.map((i=>Object.assign(Object.assign({},i),{checked:t}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:t=>{t.keyCode===r.SPACE&&t.preventDefault()},onKeyUp:t=>o(t,this.toggleComboBox),role:"button",tabindex:0},e("z-body",{level:3,component:"p"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",width:18,height:18}))}renderContent(){if(this.isopen)return e("div",{class:"open-combo-data"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderList(t){if(t)return!t.length&&this.searchValue?this.renderNoSearchResults():e("ul",null,t.map(((i,r)=>e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:r!==t.length-1},e("z-input",{type:s.CHECKBOX,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter})))))}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle"}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:t=>o(t,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,message:!1,onInputChange:t=>{if(27===t.detail.keycode)return this.closeFilterItems();this.filterItems(t.detail.value)}})}renderCheckAll(){if(this.searchValue)return;const t=this.selectedCounter===this.itemsList.length;return e("div",{class:"check-all-wrapper"},e("z-input",{type:s.CHECKBOX,checked:t,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:t?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:{open:this.isopen,fixed:this.isfixed},id:this.inputid},this.renderHeader(),this.renderContent())}static get watchers(){return{items:["watchItems"]}}};a.style=":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(border-radius-small) var(border-radius-small) 0 0}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left}";export{a as z_combobox}
1
+ import{r as t,c as i,h as e}from"./p-d17ebc2f.js";import{I as s,K as r}from"./p-9f80c0b8.js";import{h as o}from"./p-87fdd14f.js";import"./p-d69e14fb.js";const a=class{constructor(e){t(this,e),this.comboboxChange=i(this,"comboboxChange",7),this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.renderItemsList=[],this.itemsList=[],this.inputType=s.TEXT,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}inputCheckListener(t){const i=t.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===i&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(t.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===i&&(e.checked=t.detail.checked),e))),this.resetRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue&&this.filterItems(this.searchValue)}resetRenderItemsList(){const t=[];this.itemsList.forEach((i=>{t.push(Object.assign({},i))})),this.renderItemsList=t}filterItems(t){if(!t)return this.closeFilterItems();this.searchValue=t,this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((i=>{const e=i.name.toUpperCase().indexOf(t.toUpperCase()),s=e+t.length,r=i.name.substring(0,e)+i.name.substring(e,s).bold()+i.name.substring(s,i.name.length);return i.name=r,e>=0}))}checkAll(t=!0){this.itemsList=this.itemsList.map((i=>Object.assign(Object.assign({},i),{checked:t}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:t=>{t.keyCode===r.SPACE&&t.preventDefault()},onKeyUp:t=>o(t,this.toggleComboBox),role:"button",tabindex:0},e("z-body",{level:3,component:"p"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",width:18,height:18}))}renderContent(){if(this.isopen)return e("div",{class:"open-combo-data"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderList(t){if(t)return!t.length&&this.searchValue?this.renderNoSearchResults():e("ul",null,t.map(((i,r)=>e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:r!==t.length-1},e("z-input",{type:s.CHECKBOX,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter})))))}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle"}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:t=>o(t,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,message:!1,onInputChange:t=>{if(27===t.detail.keycode)return this.closeFilterItems();this.filterItems(t.detail.value)}})}renderCheckAll(){if(this.searchValue)return;const t=this.selectedCounter===this.itemsList.length;return e("div",{class:"check-all-wrapper"},e("z-input",{type:s.CHECKBOX,checked:t,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:t?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:{open:this.isopen,fixed:this.isfixed},id:this.inputid},this.renderHeader(),this.renderContent())}static get watchers(){return{items:["watchItems"]}}};a.style=":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(border-radius-small) var(border-radius-small) 0 0}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left}";export{a as z_combobox}
@@ -1 +1 @@
1
- import{r as i,c,h as s,g as h}from"./p-b366ef8e.js";import{y as t,q as r}from"./p-9f80c0b8.js";import{g as o,h as e}from"./p-87fdd14f.js";import"./p-d69e14fb.js";const a=class{constructor(s){i(this,s),this.interactiveIconClick=c(this,"interactiveIconClick",7),this.type=t.DEFAULT,this.disabled=!1}emitinteractiveIconClick(){this.interactiveIconClick.emit()}getIconSize(){return o()!==r.DESKTOP?22:14}render(){return this.interactiveIcon?s("button",{class:this.type,disabled:this.disabled,tabindex:"0",type:"button"},this.icon&&s("z-icon",{class:"icon-sx",name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),s("slot",null),s("z-icon",{tabIndex:this.disabled?-1:0,onClick:()=>this.emitinteractiveIconClick(),onKeyUp:i=>e(i,this.emitinteractiveIconClick.bind(this)),name:this.interactiveIcon,width:this.getIconSize(),height:this.getIconSize()})):s("div",{class:`${this.type}`,tabindex:"0"},this.icon&&s("z-icon",{name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),s("slot",null))}get el(){return h(this)}};a.style=".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:not(:disabled)>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";export{a as z_chip}
1
+ import{r as i,c,h as s,g as h}from"./p-d17ebc2f.js";import{y as t,q as r}from"./p-9f80c0b8.js";import{g as o,h as e}from"./p-87fdd14f.js";import"./p-d69e14fb.js";const a=class{constructor(s){i(this,s),this.interactiveIconClick=c(this,"interactiveIconClick",7),this.type=t.DEFAULT,this.disabled=!1}emitinteractiveIconClick(){this.interactiveIconClick.emit()}getIconSize(){return o()!==r.DESKTOP?22:14}render(){return this.interactiveIcon?s("button",{class:this.type,disabled:this.disabled,tabindex:"0",type:"button"},this.icon&&s("z-icon",{class:"icon-sx",name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),s("slot",null),s("z-icon",{tabIndex:this.disabled?-1:0,onClick:()=>this.emitinteractiveIconClick(),onKeyUp:i=>e(i,this.emitinteractiveIconClick.bind(this)),name:this.interactiveIcon,width:this.getIconSize(),height:this.getIconSize()})):s("div",{class:`${this.type}`,tabindex:"0"},this.icon&&s("z-icon",{name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),s("slot",null))}get el(){return h(this)}};a.style=".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:not(:disabled)>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";export{a as z_chip}
@@ -1 +1 @@
1
- import{r,h as o}from"./p-b366ef8e.js";const t=class{constructor(o){r(this,o)}render(){return o("slot",null)}};t.style=".sc-z-table-sticky-footer-h{position:sticky;left:0;display:block;padding:var(--basex2);border-width:var(--border-size-small) 0 var(--border-base);border-style:solid;border-color:var(--gray200);background-color:var(--bg-white);font-weight:var(--font-rg)}";export{t as z_table_sticky_footer}
1
+ import{r,h as o}from"./p-d17ebc2f.js";const t=class{constructor(o){r(this,o)}render(){return o("slot",null)}};t.style=".sc-z-table-sticky-footer-h{position:sticky;left:0;display:block;padding:var(--basex2);border-width:var(--border-size-small) 0 var(--border-base);border-style:solid;border-color:var(--gray200);background-color:var(--bg-white);font-weight:var(--font-rg)}";export{t as z_table_sticky_footer}
@@ -1 +1 @@
1
- import{r as i,c as t,h as r,H as o}from"./p-b366ef8e.js";import{m as e}from"./p-d69e14fb.js";const n=class{constructor(r){i(this,r),this.userButtonClick=t(this,"userButtonClick",7),this.dropdownMenuLinkClick=t(this,"dropdownMenuLinkClick",7),this.useInverseColors=!1,this.isMenuOpen=!1,this.handleLoggedButtonClick=this.handleLoggedButtonClick.bind(this),this.emitDropdownMenuLinkClick=this.emitDropdownMenuLinkClick.bind(this)}componentDidLoad(){this.setMobileAndDivToResizeWidth()}componentWillUpdate(){this.setMobileAndDivToResizeWidth()}componentWillRender(){this.menuContent&&(this.linkArray="string"==typeof this.menuContent?JSON.parse(this.menuContent):this.menuContent)}setMobileAndDivToResizeWidth(){var i;this.divToResize&&(this.isMobile=window.screen.width<=e||window.innerWidth<=e,this.logged&&!this.isMobile&&this.isMenuOpen?this.divToResize.style.width=`${null===(i=this.userButton)||void 0===i?void 0:i.offsetWidth}px`:this.divToResize.removeAttribute("style"))}emitUserButtonClick(){this.userButtonClick.emit(this.isMenuOpen)}emitDropdownMenuLinkClick(i){this.isMenuOpen=!1,this.dropdownMenuLinkClick.emit({e:i,linkId:i.detail.linkId})}handleResize(){this.isMobile=window.innerWidth<=e}handleOrientationChange(){this.isMobile=screen.width<=e}handleClickOutside(i){"Z-USER-DROPDOWN"!==i.target.nodeName&&(this.isMenuOpen=!1)}handleLoggedButtonClick(){this.isMenuOpen=!this.isMenuOpen,this.emitUserButtonClick()}renderGuestButton(){return r("button",{id:"guestbutton",class:this.useInverseColors?"inverse":"",onClick:()=>this.emitUserButtonClick()},"ENTRA")}renderLoggedButton(){const i=this.isMenuOpen?"up":"down",t=this.useInverseColors?"inverse":"";return r("button",{ref:i=>this.userButton=i,title:this.userFullName,class:`${t} ${this.isMenuOpen?"open":""}`,onClick:this.handleLoggedButtonClick},r("div",null,r("div",{class:"firstline"},r("z-icon",{class:t,name:"user-avatar-filled",height:16,width:16}),!this.isMobile&&r("div",{class:`userfullname ${t}`},this.userFullName),r("z-icon",{class:t,name:`caret-${i}-filled`,height:16,width:16})),!this.isMobile&&this.isMenuOpen&&r("div",{class:`useremail ${t}`},this.userEmail)))}getZLinkTextcolor(){return this.isMobile?this.useInverseColors?"black":"white":this.useInverseColors?"white":"black"}renderDropdownMenu(){const i=this.useInverseColors?"inverse":"";return this.isMenuOpen&&r("ul",{class:i},this.isMobile&&r("li",{class:i},r("div",{class:`userfullname ${i}`},this.userFullName),r("div",{class:`useremail ${i}`},this.userEmail)),this.linkArray&&this.linkArray.map((t=>r("li",{id:t.id,class:i},r("z-link",{textcolor:this.getZLinkTextcolor(),href:t.link,htmlid:t.id,target:t.target,icon:t.icon,onZLinkClick:this.emitDropdownMenuLinkClick},t.label)))))}render(){const i=this.logged&&this.isMenuOpen?"open":"",t=this.useInverseColors?"inverse":"";return r(o,{class:t},r("div",{ref:i=>this.divToResize=i,class:i},r("div",{class:`${t} ${i}`},this.logged?this.renderLoggedButton():this.renderGuestButton(),this.logged&&this.renderDropdownMenu())))}};n.style=":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{display:flex;width:100%;flex-direction:column;padding:0;border:none;margin:0;background-color:var(--gray900);cursor:pointer;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;max-width:200px;align-items:center;justify-content:flex-end}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{position:absolute;left:0;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:20px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;padding:calc(var(--space-unit) * 1.5 - 1px) 0;border-bottom:var(--border-base) solid var(--gray700);margin:0;white-space:nowrap}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{flex-direction:column;align-items:end;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);border-top:none}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{display:inline-flex;width:100%;min-width:32px;height:32px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;padding:0 calc(var(--space-unit) * 2);border-width:var(--border-size-medium);border-style:solid;border-color:var(--color-white);background-color:var(--color-white);border-radius:var(--border-radius);color:var(--gray800);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;vertical-align:middle}#guestbutton.inverse{border-color:var(--gray800);background-color:var(--gray800);color:var(--color-white)}.userfullname{overflow:hidden;width:100%;max-width:250px;padding:0;color:var(--color-white);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-sb);letter-spacing:0;line-height:24px;text-align:right;text-overflow:ellipsis}.userfullname.inverse{color:var(--gray800)}.useremail{overflow:hidden;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:16px;text-align:right;text-overflow:ellipsis}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);margin-top:calc(var(--space-unit) / 2);background-color:var(--color-white);box-shadow:0 2px calc(var(--space-unit) * 0.5) 0 rgb(0 0 0 / 50%);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-flow:row nowrap;align-content:center;align-items:end;justify-content:flex-end}button.open{max-width:initial;padding-right:var(--space-unit);border-top:var(--border-size-small) solid var(--color-white);margin-left:var(--space-unit);background-color:var(--color-white);border-top-left-radius:calc(var(--space-unit) * 0.5);border-top-right-radius:calc(var(--space-unit) * 0.5)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{width:auto;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.16px;line-height:20px}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{max-width:none;color:var(--gray800);text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{box-sizing:border-box;padding-right:calc(var(--space-unit) * 3 - 2px)}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;width:100%;padding:0;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit);color:var(--gray800)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px);border-top:var(--border-base) solid var(--gray400)}}";export{n as z_user_dropdown}
1
+ import{r as i,c as t,h as r,H as o}from"./p-d17ebc2f.js";import{m as e}from"./p-d69e14fb.js";const n=class{constructor(r){i(this,r),this.userButtonClick=t(this,"userButtonClick",7),this.dropdownMenuLinkClick=t(this,"dropdownMenuLinkClick",7),this.useInverseColors=!1,this.isMenuOpen=!1,this.handleLoggedButtonClick=this.handleLoggedButtonClick.bind(this),this.emitDropdownMenuLinkClick=this.emitDropdownMenuLinkClick.bind(this)}componentDidLoad(){this.setMobileAndDivToResizeWidth()}componentWillUpdate(){this.setMobileAndDivToResizeWidth()}componentWillRender(){this.menuContent&&(this.linkArray="string"==typeof this.menuContent?JSON.parse(this.menuContent):this.menuContent)}setMobileAndDivToResizeWidth(){var i;this.divToResize&&(this.isMobile=window.screen.width<=e||window.innerWidth<=e,this.logged&&!this.isMobile&&this.isMenuOpen?this.divToResize.style.width=`${null===(i=this.userButton)||void 0===i?void 0:i.offsetWidth}px`:this.divToResize.removeAttribute("style"))}emitUserButtonClick(){this.userButtonClick.emit(this.isMenuOpen)}emitDropdownMenuLinkClick(i){this.isMenuOpen=!1,this.dropdownMenuLinkClick.emit({e:i,linkId:i.detail.linkId})}handleResize(){this.isMobile=window.innerWidth<=e}handleOrientationChange(){this.isMobile=screen.width<=e}handleClickOutside(i){"Z-USER-DROPDOWN"!==i.target.nodeName&&(this.isMenuOpen=!1)}handleLoggedButtonClick(){this.isMenuOpen=!this.isMenuOpen,this.emitUserButtonClick()}renderGuestButton(){return r("button",{id:"guestbutton",class:this.useInverseColors?"inverse":"",onClick:()=>this.emitUserButtonClick()},"ENTRA")}renderLoggedButton(){const i=this.isMenuOpen?"up":"down",t=this.useInverseColors?"inverse":"";return r("button",{ref:i=>this.userButton=i,title:this.userFullName,class:`${t} ${this.isMenuOpen?"open":""}`,onClick:this.handleLoggedButtonClick},r("div",null,r("div",{class:"firstline"},r("z-icon",{class:t,name:"user-avatar-filled",height:16,width:16}),!this.isMobile&&r("div",{class:`userfullname ${t}`},this.userFullName),r("z-icon",{class:t,name:`caret-${i}-filled`,height:16,width:16})),!this.isMobile&&this.isMenuOpen&&r("div",{class:`useremail ${t}`},this.userEmail)))}getZLinkTextcolor(){return this.isMobile?this.useInverseColors?"black":"white":this.useInverseColors?"white":"black"}renderDropdownMenu(){const i=this.useInverseColors?"inverse":"";return this.isMenuOpen&&r("ul",{class:i},this.isMobile&&r("li",{class:i},r("div",{class:`userfullname ${i}`},this.userFullName),r("div",{class:`useremail ${i}`},this.userEmail)),this.linkArray&&this.linkArray.map((t=>r("li",{id:t.id,class:i},r("z-link",{textcolor:this.getZLinkTextcolor(),href:t.link,htmlid:t.id,target:t.target,icon:t.icon,onZLinkClick:this.emitDropdownMenuLinkClick},t.label)))))}render(){const i=this.logged&&this.isMenuOpen?"open":"",t=this.useInverseColors?"inverse":"";return r(o,{class:t},r("div",{ref:i=>this.divToResize=i,class:i},r("div",{class:`${t} ${i}`},this.logged?this.renderLoggedButton():this.renderGuestButton(),this.logged&&this.renderDropdownMenu())))}};n.style=":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{display:flex;width:100%;flex-direction:column;padding:0;border:none;margin:0;background-color:var(--gray900);cursor:pointer;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;max-width:200px;align-items:center;justify-content:flex-end}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{position:absolute;left:0;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:20px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;padding:calc(var(--space-unit) * 1.5 - 1px) 0;border-bottom:var(--border-base) solid var(--gray700);margin:0;white-space:nowrap}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{flex-direction:column;align-items:end;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);border-top:none}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{display:inline-flex;width:100%;min-width:32px;height:32px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:center;padding:0 calc(var(--space-unit) * 2);border-width:var(--border-size-medium);border-style:solid;border-color:var(--color-white);background-color:var(--color-white);border-radius:var(--border-radius);color:var(--gray800);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;vertical-align:middle}#guestbutton.inverse{border-color:var(--gray800);background-color:var(--gray800);color:var(--color-white)}.userfullname{overflow:hidden;width:100%;max-width:250px;padding:0;color:var(--color-white);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-sb);letter-spacing:0;line-height:24px;text-align:right;text-overflow:ellipsis}.userfullname.inverse{color:var(--gray800)}.useremail{overflow:hidden;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:16px;text-align:right;text-overflow:ellipsis}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);margin-top:calc(var(--space-unit) / 2);background-color:var(--color-white);box-shadow:0 2px calc(var(--space-unit) * 0.5) 0 rgb(0 0 0 / 50%);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-flow:row nowrap;align-content:center;align-items:end;justify-content:flex-end}button.open{max-width:initial;padding-right:var(--space-unit);border-top:var(--border-size-small) solid var(--color-white);margin-left:var(--space-unit);background-color:var(--color-white);border-top-left-radius:calc(var(--space-unit) * 0.5);border-top-right-radius:calc(var(--space-unit) * 0.5)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{width:auto;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.16px;line-height:20px}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{max-width:none;color:var(--gray800);text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{box-sizing:border-box;padding-right:calc(var(--space-unit) * 3 - 2px)}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;width:100%;padding:0;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit);color:var(--gray800)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px);border-top:var(--border-base) solid var(--gray400)}}";export{n as z_user_dropdown}
@@ -1 +1 @@
1
- import{r as e,h as r,H as a}from"./p-b366ef8e.js";const t=class{constructor(r){e(this,r)}renderExpandHeader(){return r("z-table-header",null)}render(){return r(a,{role:"row"},this.expandable&&this.renderExpandHeader(),r("slot",null))}};t.style="z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;box-sizing:border-box;user-select:none}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";export{t as z_table_header_row}
1
+ import{r as e,h as r,H as a}from"./p-d17ebc2f.js";const t=class{constructor(r){e(this,r)}renderExpandHeader(){return r("z-table-header",null)}render(){return r(a,{role:"row"},this.expandable&&this.renderExpandHeader(),r("slot",null))}};t.style="z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;box-sizing:border-box;user-select:none}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";export{t as z_table_header_row}