@zanichelli/albe-web-components 19.3.0-RC5 → 19.3.0-RC6

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 (770) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-Cz-UsfoU.js} +19 -7
  3. package/dist/cjs/{index-2H1EJ2Tl.js → index-DnscebL4.js} +9 -9
  4. package/dist/cjs/index.cjs.js +2 -2
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{utils-Ctc6JP2n.js → utils-BY7xrW7W.js} +6 -0
  7. package/dist/cjs/web-components-library.cjs.js +2 -2
  8. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  9. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  10. package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
  11. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  12. package/dist/cjs/z-app-header_12.cjs.entry.js +192 -229
  13. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  14. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  15. package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
  16. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
  17. package/dist/cjs/z-book-card.cjs.entry.js +2 -2
  18. package/dist/cjs/z-book-cover.cjs.entry.js +2 -2
  19. package/dist/cjs/z-breadcrumb.cjs.entry.js +7 -7
  20. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  21. package/dist/cjs/z-card.cjs.entry.js +1 -1
  22. package/dist/cjs/z-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  24. package/dist/cjs/z-color-picker.cjs.entry.js +3 -3
  25. package/dist/cjs/z-combobox.cjs.entry.js +21 -16
  26. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  27. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  28. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
  29. package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
  30. package/dist/cjs/z-file.cjs.entry.js +2 -2
  31. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  32. package/dist/cjs/z-info-box.cjs.entry.js +2 -2
  33. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  34. package/dist/cjs/z-logo.cjs.entry.js +3 -3
  35. package/dist/cjs/z-menu-deprecated.cjs.entry.js +3 -3
  36. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +2 -2
  37. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  38. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  39. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  40. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  41. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  42. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  43. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  44. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  45. package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
  46. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  47. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  48. package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
  49. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
  50. package/dist/cjs/z-notification.cjs.entry.js +3 -3
  51. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  52. package/dist/cjs/z-pagination.cjs.entry.js +3 -3
  53. package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
  54. package/dist/cjs/z-popover.cjs.entry.js +3 -3
  55. package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
  56. package/dist/cjs/z-result-card.cjs.entry.js +2 -2
  57. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  58. package/dist/cjs/z-select.cjs.entry.js +5 -9
  59. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  60. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  61. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  62. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  63. package/dist/cjs/z-table.cjs.entry.js +7 -5
  64. package/dist/cjs/z-tbody.cjs.entry.js +6 -4
  65. package/dist/cjs/z-td.cjs.entry.js +6 -4
  66. package/dist/cjs/z-tfoot.cjs.entry.js +6 -4
  67. package/dist/cjs/z-th.cjs.entry.js +8 -4
  68. package/dist/cjs/z-thead.cjs.entry.js +6 -4
  69. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  70. package/dist/cjs/z-toast-notification.cjs.entry.js +96 -35
  71. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  72. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  73. package/dist/cjs/z-tool.cjs.entry.js +4 -4
  74. package/dist/cjs/z-toolbar.cjs.entry.js +2 -2
  75. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  76. package/dist/cjs/z-tr.cjs.entry.js +7 -5
  77. package/dist/cjs/z-tree-list.cjs.entry.js +2 -2
  78. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
  79. package/dist/collection/collection-manifest.json +11 -11
  80. package/dist/collection/components/book-card/z-book-card/index.js +1 -8
  81. package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
  82. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -3
  83. package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
  84. package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
  85. package/dist/collection/components/css-components/z-table/styles.css +61 -0
  86. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  87. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  88. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -54
  89. package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
  90. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -5
  91. package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
  92. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -2
  93. package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
  94. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  95. package/dist/collection/components/deprecated/z-section-title/index.js +1 -2
  96. package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
  97. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  98. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  99. package/dist/collection/components/file-upload/z-file-upload/index.js +2 -2
  100. package/dist/collection/components/list/z-list/index.js +1 -1
  101. package/dist/collection/components/list/z-list-element/index.js +1 -1
  102. package/dist/collection/components/list/z-list-group/index.js +2 -2
  103. package/dist/collection/components/list/z-tree-list/index.js +1 -1
  104. package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -2
  105. package/dist/collection/components/table/cells/z-td/index.js +3 -3
  106. package/dist/collection/components/table/cells/z-th/index.js +3 -3
  107. package/dist/collection/components/table/cells/z-th/styles.css +2 -74
  108. package/dist/collection/components/table/z-table/index.js +3 -4
  109. package/dist/collection/components/table/z-table/styles.css +3 -6
  110. package/dist/collection/components/table/z-tbody/index.js +3 -3
  111. package/dist/collection/components/table/z-tfoot/index.js +3 -3
  112. package/dist/collection/components/table/z-tfoot/styles.css +1 -2
  113. package/dist/collection/components/table/z-thead/index.js +3 -3
  114. package/dist/collection/components/table/z-thead/styles.css +0 -4
  115. package/dist/collection/components/table/z-tr/index.js +3 -3
  116. package/dist/collection/components/table/z-tr/styles.css +5 -11
  117. package/dist/collection/components/z-accordion/index.js +3 -11
  118. package/dist/collection/components/z-accordion/styles.css +12 -0
  119. package/dist/collection/components/z-anchor-navigation/index.js +3 -3
  120. package/dist/collection/components/z-app-header/index.js +40 -8
  121. package/dist/collection/components/z-app-header/styles.css +12 -12
  122. package/dist/collection/components/z-aria-alert/index.js +1 -1
  123. package/dist/collection/components/z-avatar/index.js +2 -2
  124. package/dist/collection/components/z-book-cover/index.js +1 -5
  125. package/dist/collection/components/z-book-cover/styles.css +6 -0
  126. package/dist/collection/components/z-breadcrumb/index.js +5 -5
  127. package/dist/collection/components/z-button/index.js +7 -4
  128. package/dist/collection/components/z-button-sort/index.js +1 -1
  129. package/dist/collection/components/z-card/index.js +1 -8
  130. package/dist/collection/components/z-card/styles.css +9 -0
  131. package/dist/collection/components/z-carousel/index.js +0 -2
  132. package/dist/collection/components/z-carousel/styles.css +7 -3
  133. package/dist/collection/components/z-chip/index.js +2 -2
  134. package/dist/collection/components/z-color-picker/index.js +1 -1
  135. package/dist/collection/components/z-combobox/index.js +18 -15
  136. package/dist/collection/components/z-combobox/styles.css +0 -12
  137. package/dist/collection/components/z-cover-hero/index.js +2 -5
  138. package/dist/collection/components/z-cover-hero/styles.css +5 -0
  139. package/dist/collection/components/z-divider/index.js +1 -1
  140. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  141. package/dist/collection/components/z-icon/index.js +31 -2
  142. package/dist/collection/components/z-info-box/index.js +1 -1
  143. package/dist/collection/components/z-info-reveal/index.js +1 -5
  144. package/dist/collection/components/z-info-reveal/styles.css +7 -1
  145. package/dist/collection/components/z-input/index.js +52 -32
  146. package/dist/collection/components/z-input/styles-checkbox-radio.css +132 -0
  147. package/dist/collection/components/z-input/styles-general.css +166 -0
  148. package/dist/collection/components/z-input/styles-text.css +92 -0
  149. package/dist/collection/components/z-input/styles-textarea.css +19 -0
  150. package/dist/collection/components/z-input-message/index.js +1 -1
  151. package/dist/collection/components/z-logo/index.js +1 -1
  152. package/dist/collection/components/z-logo/styles.css +5 -0
  153. package/dist/collection/components/z-menu/index.js +0 -1
  154. package/dist/collection/components/z-menu/styles.css +3 -0
  155. package/dist/collection/components/z-menu-section/index.js +1 -1
  156. package/dist/collection/components/z-modal/index.js +4 -5
  157. package/dist/collection/components/z-modal/styles.css +5 -2
  158. package/dist/collection/components/z-navigation-tabs/index.js +2 -4
  159. package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
  160. package/dist/collection/components/z-notification/index.js +1 -3
  161. package/dist/collection/components/z-notification/styles.css +13 -6
  162. package/dist/collection/components/z-offcanvas/index.js +2 -5
  163. package/dist/collection/components/z-offcanvas/styles.css +5 -0
  164. package/dist/collection/components/z-pagination/index.js +2 -4
  165. package/dist/collection/components/z-pagination/styles.css +6 -0
  166. package/dist/collection/components/z-panel-elem/index.js +2 -2
  167. package/dist/collection/components/z-popover/index.js +1 -6
  168. package/dist/collection/components/z-popover/styles.css +6 -0
  169. package/dist/collection/components/z-result-card/styles.css +8 -5
  170. package/dist/collection/components/z-searchbar/index.js +133 -198
  171. package/dist/collection/components/z-searchbar/styles.css +92 -201
  172. package/dist/collection/components/z-select/index.js +4 -8
  173. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  174. package/dist/collection/components/z-stepper/index.js +1 -1
  175. package/dist/collection/components/z-stepper-item/index.js +1 -1
  176. package/dist/collection/components/z-tag/index.js +2 -4
  177. package/dist/collection/components/z-tag/styles.css +5 -0
  178. package/dist/collection/components/z-toast-notification/index.js +3 -3
  179. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  180. package/dist/collection/components/z-toggle-button/index.js +2 -2
  181. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  182. package/dist/collection/components/z-tool/index.js +3 -3
  183. package/dist/collection/components/z-toolbar/index.js +1 -2
  184. package/dist/collection/components/z-toolbar/styles.css +4 -0
  185. package/dist/collection/components/z-tooltip/index.js +1 -5
  186. package/dist/collection/components/z-tooltip/styles.css +6 -0
  187. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  188. package/dist/collection/constants/iconset.js +19 -7
  189. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
  190. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  191. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  192. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  193. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  194. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  195. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  196. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  197. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  198. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -2
  199. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  200. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  201. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  202. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  203. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  204. package/dist/collection/utils/storybook-utils.js +7 -0
  205. package/dist/collection/utils/utils.js +5 -0
  206. package/dist/components/iconset.js +1 -1
  207. package/dist/components/index10.js +1 -1
  208. package/dist/components/index11.js +1 -1
  209. package/dist/components/index12.js +1 -1
  210. package/dist/components/index13.js +1 -1
  211. package/dist/components/index14.js +1 -1
  212. package/dist/components/index15.js +1 -1
  213. package/dist/components/index16.js +1 -1
  214. package/dist/components/index17.js +1 -1
  215. package/dist/components/index18.js +1 -1
  216. package/dist/components/index19.js +1 -1
  217. package/dist/components/index20.js +1 -1
  218. package/dist/components/index21.js +1 -1
  219. package/dist/components/index22.js +1 -1
  220. package/dist/components/index23.js +1 -1
  221. package/dist/components/index24.js +1 -1
  222. package/dist/components/index25.js +1 -1
  223. package/dist/components/index26.js +1 -1
  224. package/dist/components/index27.js +1 -1
  225. package/dist/components/index3.js +1 -1
  226. package/dist/components/index4.js +1 -1
  227. package/dist/components/index5.js +1 -1
  228. package/dist/components/index6.js +1 -1
  229. package/dist/components/index7.js +1 -1
  230. package/dist/components/index8.js +1 -1
  231. package/dist/components/index9.js +1 -1
  232. package/dist/components/utils.js +1 -1
  233. package/dist/components/z-accordion.js +1 -1
  234. package/dist/components/z-anchor-navigation.js +1 -1
  235. package/dist/components/z-app-header-deprecated.js +1 -1
  236. package/dist/components/z-app-header.js +1 -1
  237. package/dist/components/z-aria-alert.js +1 -1
  238. package/dist/components/z-avatar.js +1 -1
  239. package/dist/components/z-book-card-app.js +1 -1
  240. package/dist/components/z-book-card-deprecated.js +1 -1
  241. package/dist/components/z-book-card.js +1 -1
  242. package/dist/components/z-breadcrumb.js +1 -1
  243. package/dist/components/z-button-sort.js +1 -1
  244. package/dist/components/z-carousel.js +1 -1
  245. package/dist/components/z-color-picker.js +1 -1
  246. package/dist/components/z-combobox.js +1 -1
  247. package/dist/components/z-cover-hero.js +1 -1
  248. package/dist/components/z-date-picker.js +1 -1
  249. package/dist/components/z-file-upload.js +1 -1
  250. package/dist/components/z-file.js +1 -1
  251. package/dist/components/z-info-box.js +1 -1
  252. package/dist/components/z-logo.js +1 -1
  253. package/dist/components/z-menu-deprecated.js +1 -1
  254. package/dist/components/z-menu-section-deprecated.js +1 -1
  255. package/dist/components/z-menu-section.js +1 -1
  256. package/dist/components/z-myz-card-alert.js +1 -1
  257. package/dist/components/z-myz-card-dictionary.js +1 -1
  258. package/dist/components/z-myz-card-footer-sections.js +1 -1
  259. package/dist/components/z-myz-card-footer.js +1 -1
  260. package/dist/components/z-myz-card-icon.js +1 -1
  261. package/dist/components/z-myz-card-info.js +1 -1
  262. package/dist/components/z-myz-card-list.js +1 -1
  263. package/dist/components/z-myz-list.js +1 -1
  264. package/dist/components/z-navigation-tabs.js +1 -1
  265. package/dist/components/z-notification.js +1 -1
  266. package/dist/components/z-otp.js +1 -1
  267. package/dist/components/z-pagination.js +1 -1
  268. package/dist/components/z-panel-elem.js +1 -1
  269. package/dist/components/z-range-picker.js +1 -1
  270. package/dist/components/z-result-card.js +1 -1
  271. package/dist/components/z-section-title.js +1 -1
  272. package/dist/components/z-select.js +1 -1
  273. package/dist/components/z-skip-to-content.js +1 -1
  274. package/dist/components/z-slideshow.js +1 -1
  275. package/dist/components/z-stepper-item.js +1 -1
  276. package/dist/components/z-stepper.js +1 -1
  277. package/dist/components/z-table.js +1 -1
  278. package/dist/components/z-tbody.js +1 -1
  279. package/dist/components/z-td.js +1 -1
  280. package/dist/components/z-tfoot.js +1 -1
  281. package/dist/components/z-th.js +1 -1
  282. package/dist/components/z-thead.js +1 -1
  283. package/dist/components/z-toast-notification-list.js +1 -1
  284. package/dist/components/z-toast-notification.js +1 -1
  285. package/dist/components/z-toggle-button.js +1 -1
  286. package/dist/components/z-toggle-switch.js +1 -1
  287. package/dist/components/z-tool.js +1 -1
  288. package/dist/components/z-toolbar.js +1 -1
  289. package/dist/components/z-tr.js +1 -1
  290. package/dist/components/z-tree-list.js +1 -1
  291. package/dist/components/z-visually-hidden.js +1 -1
  292. package/dist/esm/{iconset-BanpkIXZ.js → iconset-AwzX9V8L.js} +19 -7
  293. package/dist/esm/{index-ByN2sYu6.js → index-fIt9Ytc6.js} +9 -9
  294. package/dist/esm/index.js +2 -2
  295. package/dist/esm/loader.js +3 -3
  296. package/dist/esm/{utils-0PByxJyN.js → utils-BEzZQwOB.js} +7 -2
  297. package/dist/esm/web-components-library.js +3 -3
  298. package/dist/esm/z-accordion.entry.js +2 -2
  299. package/dist/esm/z-alert.entry.js +2 -2
  300. package/dist/esm/z-anchor-navigation.entry.js +3 -3
  301. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  302. package/dist/esm/z-app-header_12.entry.js +193 -230
  303. package/dist/esm/z-aria-alert.entry.js +2 -2
  304. package/dist/esm/z-avatar.entry.js +3 -3
  305. package/dist/esm/z-book-card-app.entry.js +2 -2
  306. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  307. package/dist/esm/z-book-card.entry.js +2 -2
  308. package/dist/esm/z-book-cover.entry.js +2 -2
  309. package/dist/esm/z-breadcrumb.entry.js +7 -7
  310. package/dist/esm/z-button-sort.entry.js +2 -2
  311. package/dist/esm/z-card.entry.js +1 -1
  312. package/dist/esm/z-carousel.entry.js +2 -2
  313. package/dist/esm/z-chip.entry.js +3 -3
  314. package/dist/esm/z-color-picker.entry.js +3 -3
  315. package/dist/esm/z-combobox.entry.js +21 -16
  316. package/dist/esm/z-cover-hero.entry.js +3 -3
  317. package/dist/esm/z-date-picker.entry.js +2 -2
  318. package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
  319. package/dist/esm/z-file-upload.entry.js +3 -3
  320. package/dist/esm/z-file.entry.js +2 -2
  321. package/dist/esm/z-ghost-loading.entry.js +2 -2
  322. package/dist/esm/z-info-box.entry.js +2 -2
  323. package/dist/esm/z-info-reveal.entry.js +2 -2
  324. package/dist/esm/z-logo.entry.js +3 -3
  325. package/dist/esm/z-menu-deprecated.entry.js +3 -3
  326. package/dist/esm/z-menu-section-deprecated.entry.js +2 -2
  327. package/dist/esm/z-menu-section.entry.js +2 -2
  328. package/dist/esm/z-menu.entry.js +2 -2
  329. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  330. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  331. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  332. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  333. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  334. package/dist/esm/z-myz-card-info.entry.js +3 -3
  335. package/dist/esm/z-myz-card-list.entry.js +2 -2
  336. package/dist/esm/z-myz-card_4.entry.js +5 -5
  337. package/dist/esm/z-myz-list-item.entry.js +3 -3
  338. package/dist/esm/z-myz-list.entry.js +2 -2
  339. package/dist/esm/z-navigation-tabs.entry.js +3 -3
  340. package/dist/esm/z-notification.entry.js +3 -3
  341. package/dist/esm/z-otp.entry.js +3 -3
  342. package/dist/esm/z-pagination.entry.js +3 -3
  343. package/dist/esm/z-panel-elem.entry.js +3 -3
  344. package/dist/esm/z-popover.entry.js +3 -3
  345. package/dist/esm/z-range-picker.entry.js +4 -4
  346. package/dist/esm/z-result-card.entry.js +2 -2
  347. package/dist/esm/z-section-title.entry.js +2 -2
  348. package/dist/esm/z-select.entry.js +5 -9
  349. package/dist/esm/z-skip-to-content.entry.js +3 -3
  350. package/dist/esm/z-slideshow.entry.js +2 -2
  351. package/dist/esm/z-stepper-item.entry.js +2 -2
  352. package/dist/esm/z-stepper.entry.js +2 -2
  353. package/dist/esm/z-table.entry.js +7 -5
  354. package/dist/esm/z-tbody.entry.js +6 -4
  355. package/dist/esm/z-td.entry.js +6 -4
  356. package/dist/esm/z-tfoot.entry.js +6 -4
  357. package/dist/esm/z-th.entry.js +8 -4
  358. package/dist/esm/z-thead.entry.js +6 -4
  359. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  360. package/dist/esm/z-toast-notification.entry.js +96 -35
  361. package/dist/esm/z-toggle-button.entry.js +3 -3
  362. package/dist/esm/z-toggle-switch.entry.js +5 -5
  363. package/dist/esm/z-tool.entry.js +4 -4
  364. package/dist/esm/z-toolbar.entry.js +2 -2
  365. package/dist/esm/z-tooltip.entry.js +2 -2
  366. package/dist/esm/z-tr.entry.js +7 -5
  367. package/dist/esm/z-tree-list.entry.js +2 -2
  368. package/dist/esm/z-visually-hidden.entry.js +2 -2
  369. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
  370. package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
  371. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
  372. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
  373. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
  374. package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
  375. package/dist/types/components/table/z-table/index.d.ts +0 -1
  376. package/dist/types/components/z-accordion/index.d.ts +2 -10
  377. package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
  378. package/dist/types/components/z-app-header/index.d.ts +8 -6
  379. package/dist/types/components/z-book-cover/index.d.ts +0 -4
  380. package/dist/types/components/z-button/index.d.ts +1 -1
  381. package/dist/types/components/z-card/index.d.ts +1 -8
  382. package/dist/types/components/z-carousel/index.d.ts +0 -2
  383. package/dist/types/components/z-combobox/index.d.ts +1 -0
  384. package/dist/types/components/z-cover-hero/index.d.ts +0 -3
  385. package/dist/types/components/z-icon/index.d.ts +13 -0
  386. package/dist/types/components/z-info-reveal/index.d.ts +0 -4
  387. package/dist/types/components/z-input/index.d.ts +6 -4
  388. package/dist/types/components/z-menu/index.d.ts +0 -1
  389. package/dist/types/components/z-modal/index.d.ts +0 -1
  390. package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
  391. package/dist/types/components/z-notification/index.d.ts +0 -2
  392. package/dist/types/components/z-offcanvas/index.d.ts +0 -3
  393. package/dist/types/components/z-pagination/index.d.ts +0 -2
  394. package/dist/types/components/z-popover/index.d.ts +0 -5
  395. package/dist/types/components/z-searchbar/index.d.ts +26 -33
  396. package/dist/types/components/z-select/index.d.ts +0 -1
  397. package/dist/types/components/z-tag/index.d.ts +0 -2
  398. package/dist/types/components/z-toolbar/index.d.ts +0 -1
  399. package/dist/types/components/z-tooltip/index.d.ts +0 -4
  400. package/dist/types/components.d.ts +60 -610
  401. package/dist/types/constants/iconset.d.ts +30 -6
  402. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
  403. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
  404. package/dist/types/utils/storybook-utils.d.ts +7 -2
  405. package/dist/types/utils/utils.d.ts +2 -0
  406. package/dist/web-components-library/index.esm.js +1 -1
  407. package/dist/web-components-library/{p-1210c90f.entry.js → p-053470ec.entry.js} +1 -1
  408. package/dist/web-components-library/p-071d2a57.entry.js +1 -0
  409. package/dist/web-components-library/p-0e9e73ed.entry.js +1 -0
  410. package/dist/web-components-library/{p-ebdbd84c.entry.js → p-1397ebb2.entry.js} +1 -1
  411. package/dist/web-components-library/{p-30c86858.entry.js → p-13d3c53c.entry.js} +1 -1
  412. package/dist/web-components-library/p-1418f4d2.entry.js +1 -0
  413. package/dist/web-components-library/{p-abfdc045.entry.js → p-1432864e.entry.js} +1 -1
  414. package/dist/web-components-library/p-150171da.entry.js +1 -0
  415. package/dist/web-components-library/{p-794c613e.entry.js → p-16d99a59.entry.js} +1 -1
  416. package/dist/web-components-library/p-17276ae7.entry.js +1 -0
  417. package/dist/web-components-library/{p-ed74f357.entry.js → p-1afc3227.entry.js} +1 -1
  418. package/dist/web-components-library/{p-4b0a730e.entry.js → p-1d00c30e.entry.js} +1 -1
  419. package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-2621b31f.entry.js} +1 -1
  420. package/{www/build/p-a3a7c406.entry.js → dist/web-components-library/p-263b4960.entry.js} +1 -1
  421. package/dist/web-components-library/p-2f79d3fd.entry.js +1 -0
  422. package/dist/web-components-library/p-3aa12417.entry.js +1 -0
  423. package/dist/web-components-library/p-4170d86b.entry.js +1 -0
  424. package/dist/web-components-library/p-41edfbd3.entry.js +1 -0
  425. package/dist/web-components-library/{p-294f7b4e.entry.js → p-420b547f.entry.js} +1 -1
  426. package/dist/web-components-library/p-473594e3.entry.js +1 -0
  427. package/dist/web-components-library/{p-896470e8.entry.js → p-48ef2fb1.entry.js} +1 -1
  428. package/{www/build/p-ad2ed505.entry.js → dist/web-components-library/p-50a15c76.entry.js} +2 -2
  429. package/dist/web-components-library/{p-2f99634d.entry.js → p-5c3bc8a1.entry.js} +1 -1
  430. package/{www/build/p-1b851174.entry.js → dist/web-components-library/p-733ddcca.entry.js} +1 -1
  431. package/dist/web-components-library/{p-c8f40472.entry.js → p-7648a0b0.entry.js} +1 -1
  432. package/dist/web-components-library/{p-0727e9aa.entry.js → p-7a58bb24.entry.js} +1 -1
  433. package/dist/web-components-library/p-7b4ca721.entry.js +1 -0
  434. package/dist/web-components-library/p-7fa3211f.entry.js +2 -0
  435. package/{www/build/p-8745878e.entry.js → dist/web-components-library/p-80eb4ada.entry.js} +1 -1
  436. package/dist/web-components-library/{p-59d4ac9e.entry.js → p-8237255f.entry.js} +1 -1
  437. package/dist/web-components-library/{p-9d3bde23.entry.js → p-8711674f.entry.js} +1 -1
  438. package/dist/web-components-library/p-90a25f58.entry.js +1 -0
  439. package/dist/web-components-library/{p-8f945346.entry.js → p-93e2f49e.entry.js} +1 -1
  440. package/dist/web-components-library/{p-acf23ad8.entry.js → p-94bc612d.entry.js} +1 -1
  441. package/dist/web-components-library/{p-a975b91d.entry.js → p-98165529.entry.js} +1 -1
  442. package/{www/build/p-366d2553.entry.js → dist/web-components-library/p-99d355d6.entry.js} +1 -1
  443. package/dist/web-components-library/p-9b2589a6.entry.js +1 -0
  444. package/{www/build/p-631f111d.entry.js → dist/web-components-library/p-9f9b9b8e.entry.js} +1 -1
  445. package/dist/web-components-library/p-AwzX9V8L.js +1 -0
  446. package/dist/web-components-library/p-B0bOjMSb.js +1 -0
  447. package/dist/web-components-library/p-a0675e97.entry.js +1 -0
  448. package/dist/web-components-library/{p-5bb77af2.entry.js → p-a26011c7.entry.js} +1 -1
  449. package/dist/web-components-library/{p-c23bfec2.entry.js → p-a336b496.entry.js} +1 -1
  450. package/dist/web-components-library/{p-fade8c19.entry.js → p-a9282ee9.entry.js} +1 -1
  451. package/dist/web-components-library/p-acd32089.entry.js +1 -0
  452. package/{www/build/p-6ece59b5.entry.js → dist/web-components-library/p-addac0e0.entry.js} +1 -1
  453. package/{www/build/p-1e984688.entry.js → dist/web-components-library/p-b127d150.entry.js} +1 -1
  454. package/dist/web-components-library/p-b64dd64c.entry.js +1 -0
  455. package/dist/web-components-library/{p-241eaed0.entry.js → p-b757d2dc.entry.js} +1 -1
  456. package/dist/web-components-library/{p-19536f5e.entry.js → p-b76f39fa.entry.js} +1 -1
  457. package/dist/web-components-library/p-b7907578.entry.js +1 -0
  458. package/dist/web-components-library/p-bb319405.entry.js +1 -0
  459. package/dist/web-components-library/p-c3a6159b.entry.js +1 -0
  460. package/{www/build/p-0ca6e928.entry.js → dist/web-components-library/p-ca89f8e8.entry.js} +1 -1
  461. package/dist/web-components-library/{p-00f09ae2.entry.js → p-cb6af60f.entry.js} +1 -1
  462. package/dist/web-components-library/p-d0c0e9f1.entry.js +1 -0
  463. package/dist/web-components-library/{p-17429bce.entry.js → p-d6ff2160.entry.js} +1 -1
  464. package/dist/web-components-library/p-d756e131.entry.js +1 -0
  465. package/{www/build/p-41b55222.entry.js → dist/web-components-library/p-d79a7787.entry.js} +1 -1
  466. package/dist/web-components-library/p-d7fc390f.entry.js +1 -0
  467. package/{www/build/p-f5e7fa96.entry.js → dist/web-components-library/p-d9998674.entry.js} +1 -1
  468. package/dist/web-components-library/{p-5797bf38.entry.js → p-d9a20a51.entry.js} +1 -1
  469. package/dist/web-components-library/p-da977942.entry.js +1 -0
  470. package/dist/web-components-library/{p-6d53942a.entry.js → p-e03fc01d.entry.js} +1 -1
  471. package/{www/build/p-1afd69ba.entry.js → dist/web-components-library/p-eb093728.entry.js} +1 -1
  472. package/{www/build/p-d57c5efc.entry.js → dist/web-components-library/p-ebd8c113.entry.js} +1 -1
  473. package/dist/web-components-library/{p-d304ce44.entry.js → p-ecf55fe6.entry.js} +1 -1
  474. package/dist/web-components-library/{p-b5c180bc.entry.js → p-f2ebf81b.entry.js} +1 -1
  475. package/dist/web-components-library/{p-081b1648.entry.js → p-f33d8f8d.entry.js} +1 -1
  476. package/dist/web-components-library/p-f4082ec2.entry.js +1 -0
  477. package/dist/web-components-library/{p-ByN2sYu6.js → p-fIt9Ytc6.js} +1 -1
  478. package/dist/web-components-library/{p-48d72b52.entry.js → p-fad8e9b8.entry.js} +1 -1
  479. package/dist/web-components-library/{p-9b181c2c.entry.js → p-fb7edb66.entry.js} +1 -1
  480. package/{www/build/p-0a819ab4.entry.js → dist/web-components-library/p-fea76ac6.entry.js} +1 -1
  481. package/dist/web-components-library/web-components-library.css +63 -1
  482. package/dist/web-components-library/web-components-library.esm.js +1 -1
  483. package/package.json +15 -15
  484. package/readme.md +8 -19
  485. package/www/build/index.esm.js +1 -1
  486. package/www/build/{p-1210c90f.entry.js → p-053470ec.entry.js} +1 -1
  487. package/www/build/p-071d2a57.entry.js +1 -0
  488. package/www/build/p-0e9e73ed.entry.js +1 -0
  489. package/www/build/{p-ebdbd84c.entry.js → p-1397ebb2.entry.js} +1 -1
  490. package/www/build/{p-30c86858.entry.js → p-13d3c53c.entry.js} +1 -1
  491. package/www/build/p-1418f4d2.entry.js +1 -0
  492. package/www/build/{p-abfdc045.entry.js → p-1432864e.entry.js} +1 -1
  493. package/www/build/p-150171da.entry.js +1 -0
  494. package/www/build/{p-794c613e.entry.js → p-16d99a59.entry.js} +1 -1
  495. package/www/build/p-17276ae7.entry.js +1 -0
  496. package/www/build/{p-ed74f357.entry.js → p-1afc3227.entry.js} +1 -1
  497. package/www/build/{p-4b0a730e.entry.js → p-1d00c30e.entry.js} +1 -1
  498. package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-2621b31f.entry.js} +1 -1
  499. package/{dist/web-components-library/p-a3a7c406.entry.js → www/build/p-263b4960.entry.js} +1 -1
  500. package/www/build/p-2f79d3fd.entry.js +1 -0
  501. package/www/build/p-3aa12417.entry.js +1 -0
  502. package/www/build/{p-ea2cbe37.js → p-40eed148.js} +1 -1
  503. package/www/build/p-4170d86b.entry.js +1 -0
  504. package/www/build/p-41edfbd3.entry.js +1 -0
  505. package/www/build/{p-294f7b4e.entry.js → p-420b547f.entry.js} +1 -1
  506. package/www/build/p-473594e3.entry.js +1 -0
  507. package/www/build/{p-896470e8.entry.js → p-48ef2fb1.entry.js} +1 -1
  508. package/{dist/web-components-library/p-ad2ed505.entry.js → www/build/p-50a15c76.entry.js} +2 -2
  509. package/www/build/{p-2f99634d.entry.js → p-5c3bc8a1.entry.js} +1 -1
  510. package/{dist/web-components-library/p-1b851174.entry.js → www/build/p-733ddcca.entry.js} +1 -1
  511. package/www/build/{p-c8f40472.entry.js → p-7648a0b0.entry.js} +1 -1
  512. package/www/build/{p-0727e9aa.entry.js → p-7a58bb24.entry.js} +1 -1
  513. package/www/build/p-7b4ca721.entry.js +1 -0
  514. package/www/build/p-7fa3211f.entry.js +2 -0
  515. package/{dist/web-components-library/p-8745878e.entry.js → www/build/p-80eb4ada.entry.js} +1 -1
  516. package/www/build/{p-59d4ac9e.entry.js → p-8237255f.entry.js} +1 -1
  517. package/www/build/{p-9d3bde23.entry.js → p-8711674f.entry.js} +1 -1
  518. package/www/build/p-90a25f58.entry.js +1 -0
  519. package/www/build/{p-8f945346.entry.js → p-93e2f49e.entry.js} +1 -1
  520. package/www/build/{p-acf23ad8.entry.js → p-94bc612d.entry.js} +1 -1
  521. package/www/build/{p-a975b91d.entry.js → p-98165529.entry.js} +1 -1
  522. package/{dist/web-components-library/p-366d2553.entry.js → www/build/p-99d355d6.entry.js} +1 -1
  523. package/www/build/p-9b2589a6.entry.js +1 -0
  524. package/{dist/web-components-library/p-631f111d.entry.js → www/build/p-9f9b9b8e.entry.js} +1 -1
  525. package/www/build/p-AwzX9V8L.js +1 -0
  526. package/www/build/p-B0bOjMSb.js +1 -0
  527. package/www/build/p-a0675e97.entry.js +1 -0
  528. package/www/build/{p-5bb77af2.entry.js → p-a26011c7.entry.js} +1 -1
  529. package/www/build/{p-c23bfec2.entry.js → p-a336b496.entry.js} +1 -1
  530. package/www/build/{p-fade8c19.entry.js → p-a9282ee9.entry.js} +1 -1
  531. package/www/build/p-acd32089.entry.js +1 -0
  532. package/{dist/web-components-library/p-6ece59b5.entry.js → www/build/p-addac0e0.entry.js} +1 -1
  533. package/{dist/web-components-library/p-1e984688.entry.js → www/build/p-b127d150.entry.js} +1 -1
  534. package/www/build/p-b64dd64c.entry.js +1 -0
  535. package/www/build/{p-241eaed0.entry.js → p-b757d2dc.entry.js} +1 -1
  536. package/www/build/{p-19536f5e.entry.js → p-b76f39fa.entry.js} +1 -1
  537. package/www/build/p-b7907578.entry.js +1 -0
  538. package/www/build/p-bb319405.entry.js +1 -0
  539. package/www/build/p-c3a6159b.entry.js +1 -0
  540. package/www/build/{p-813bd63b.css → p-c9523ede.css} +63 -1
  541. package/{dist/web-components-library/p-0ca6e928.entry.js → www/build/p-ca89f8e8.entry.js} +1 -1
  542. package/www/build/{p-00f09ae2.entry.js → p-cb6af60f.entry.js} +1 -1
  543. package/www/build/p-d0c0e9f1.entry.js +1 -0
  544. package/www/build/{p-17429bce.entry.js → p-d6ff2160.entry.js} +1 -1
  545. package/www/build/p-d756e131.entry.js +1 -0
  546. package/{dist/web-components-library/p-41b55222.entry.js → www/build/p-d79a7787.entry.js} +1 -1
  547. package/www/build/p-d7fc390f.entry.js +1 -0
  548. package/{dist/web-components-library/p-f5e7fa96.entry.js → www/build/p-d9998674.entry.js} +1 -1
  549. package/www/build/{p-5797bf38.entry.js → p-d9a20a51.entry.js} +1 -1
  550. package/www/build/p-da977942.entry.js +1 -0
  551. package/www/build/{p-6d53942a.entry.js → p-e03fc01d.entry.js} +1 -1
  552. package/{dist/web-components-library/p-1afd69ba.entry.js → www/build/p-eb093728.entry.js} +1 -1
  553. package/{dist/web-components-library/p-d57c5efc.entry.js → www/build/p-ebd8c113.entry.js} +1 -1
  554. package/www/build/{p-d304ce44.entry.js → p-ecf55fe6.entry.js} +1 -1
  555. package/www/build/{p-b5c180bc.entry.js → p-f2ebf81b.entry.js} +1 -1
  556. package/www/build/{p-081b1648.entry.js → p-f33d8f8d.entry.js} +1 -1
  557. package/www/build/p-f4082ec2.entry.js +1 -0
  558. package/www/build/{p-ByN2sYu6.js → p-fIt9Ytc6.js} +1 -1
  559. package/www/build/{p-48d72b52.entry.js → p-fad8e9b8.entry.js} +1 -1
  560. package/www/build/{p-9b181c2c.entry.js → p-fb7edb66.entry.js} +1 -1
  561. package/{dist/web-components-library/p-0a819ab4.entry.js → www/build/p-fea76ac6.entry.js} +1 -1
  562. package/www/build/web-components-library.css +63 -1
  563. package/www/build/web-components-library.esm.js +1 -1
  564. package/www/index.html +1 -1
  565. package/dist/collection/__mocks__/fileMock.js +0 -1
  566. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
  567. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
  568. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
  569. package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
  570. package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
  571. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
  572. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
  573. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
  574. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
  575. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
  576. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
  577. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
  578. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
  579. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
  580. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
  581. package/dist/collection/components/list/z-list/index.stories.js +0 -184
  582. package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
  583. package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
  584. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
  585. package/dist/collection/components/table/z-table/index.stories.js +0 -282
  586. package/dist/collection/components/z-accordion/index.stories.js +0 -164
  587. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
  588. package/dist/collection/components/z-app-header/index.stories.js +0 -302
  589. package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
  590. package/dist/collection/components/z-avatar/index.stories.js +0 -50
  591. package/dist/collection/components/z-book-cover/index.stories.js +0 -30
  592. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
  593. package/dist/collection/components/z-button/index.stories.js +0 -103
  594. package/dist/collection/components/z-button-sort/index.stories.js +0 -30
  595. package/dist/collection/components/z-card/index.stories.js +0 -302
  596. package/dist/collection/components/z-carousel/index.stories.js +0 -128
  597. package/dist/collection/components/z-chip/index.stories.js +0 -69
  598. package/dist/collection/components/z-color-picker/index.stories.js +0 -33
  599. package/dist/collection/components/z-combobox/index.stories.js +0 -77
  600. package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
  601. package/dist/collection/components/z-divider/index.stories.js +0 -44
  602. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
  603. package/dist/collection/components/z-icon/index.stories.js +0 -70
  604. package/dist/collection/components/z-info-box/index.stories.js +0 -19
  605. package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
  606. package/dist/collection/components/z-input/index.stories.js +0 -293
  607. package/dist/collection/components/z-input/styles.css +0 -406
  608. package/dist/collection/components/z-input-message/index.stories.js +0 -36
  609. package/dist/collection/components/z-logo/index.stories.js +0 -25
  610. package/dist/collection/components/z-menu/index.stories.js +0 -122
  611. package/dist/collection/components/z-menu-section/index.stories.js +0 -40
  612. package/dist/collection/components/z-modal/index.stories.js +0 -201
  613. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
  614. package/dist/collection/components/z-notification/index.stories.js +0 -172
  615. package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
  616. package/dist/collection/components/z-pagination/index.stories.js +0 -117
  617. package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
  618. package/dist/collection/components/z-popover/index.stories.js +0 -282
  619. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
  620. package/dist/collection/components/z-searchbar/index.stories.js +0 -336
  621. package/dist/collection/components/z-select/index.stories.js +0 -359
  622. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
  623. package/dist/collection/components/z-stepper/index.stories.js +0 -108
  624. package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
  625. package/dist/collection/components/z-tag/index.stories.js +0 -63
  626. package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
  627. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
  628. package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
  629. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
  630. package/dist/collection/components/z-tool/index.stories.js +0 -146
  631. package/dist/collection/components/z-toolbar/index.stories.js +0 -317
  632. package/dist/collection/components/z-tooltip/index.stories.js +0 -122
  633. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
  634. package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
  635. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
  636. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
  637. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
  638. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
  639. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
  640. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
  641. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
  642. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
  643. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
  644. package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
  645. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
  646. package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
  647. package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
  648. package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
  649. package/dist/types/__mocks__/fileMock.d.ts +0 -2
  650. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
  651. package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
  652. package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
  653. package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
  654. package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
  655. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
  656. package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
  657. package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
  658. package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
  659. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
  660. package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
  661. package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
  662. package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
  663. package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
  664. package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
  665. package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
  666. package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
  667. package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
  668. package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
  669. package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
  670. package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
  671. package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
  672. package/dist/types/components/z-app-header/index.stories.d.ts +0 -121
  673. package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
  674. package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
  675. package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
  676. package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
  677. package/dist/types/components/z-button/index.stories.d.ts +0 -79
  678. package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
  679. package/dist/types/components/z-card/index.stories.d.ts +0 -75
  680. package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
  681. package/dist/types/components/z-chip/index.stories.d.ts +0 -46
  682. package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
  683. package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
  684. package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
  685. package/dist/types/components/z-divider/index.stories.d.ts +0 -37
  686. package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
  687. package/dist/types/components/z-icon/index.stories.d.ts +0 -56
  688. package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
  689. package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
  690. package/dist/types/components/z-input/index.stories.d.ts +0 -126
  691. package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
  692. package/dist/types/components/z-logo/index.stories.d.ts +0 -18
  693. package/dist/types/components/z-menu/index.stories.d.ts +0 -26
  694. package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
  695. package/dist/types/components/z-modal/index.stories.d.ts +0 -37
  696. package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
  697. package/dist/types/components/z-notification/index.stories.d.ts +0 -72
  698. package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
  699. package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
  700. package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
  701. package/dist/types/components/z-popover/index.stories.d.ts +0 -82
  702. package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
  703. package/dist/types/components/z-searchbar/index.stories.d.ts +0 -159
  704. package/dist/types/components/z-select/index.stories.d.ts +0 -84
  705. package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
  706. package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
  707. package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
  708. package/dist/types/components/z-tag/index.stories.d.ts +0 -39
  709. package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
  710. package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
  711. package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
  712. package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
  713. package/dist/types/components/z-tool/index.stories.d.ts +0 -70
  714. package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
  715. package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
  716. package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
  717. package/dist/web-components-library/p-02e588b4.entry.js +0 -1
  718. package/dist/web-components-library/p-040fbd28.entry.js +0 -1
  719. package/dist/web-components-library/p-062ba668.entry.js +0 -1
  720. package/dist/web-components-library/p-0eb7baa4.entry.js +0 -1
  721. package/dist/web-components-library/p-1c5bbea1.entry.js +0 -1
  722. package/dist/web-components-library/p-2294f1b0.entry.js +0 -1
  723. package/dist/web-components-library/p-27f93251.entry.js +0 -1
  724. package/dist/web-components-library/p-314302ce.entry.js +0 -1
  725. package/dist/web-components-library/p-3c861d49.entry.js +0 -1
  726. package/dist/web-components-library/p-50b59012.entry.js +0 -1
  727. package/dist/web-components-library/p-5883dbc1.entry.js +0 -1
  728. package/dist/web-components-library/p-58933ba5.entry.js +0 -1
  729. package/dist/web-components-library/p-5fc4048b.entry.js +0 -1
  730. package/dist/web-components-library/p-7a55d688.entry.js +0 -2
  731. package/dist/web-components-library/p-8042aaf7.entry.js +0 -1
  732. package/dist/web-components-library/p-BanpkIXZ.js +0 -1
  733. package/dist/web-components-library/p-D4yqZKyM.js +0 -1
  734. package/dist/web-components-library/p-a1127213.entry.js +0 -1
  735. package/dist/web-components-library/p-a336c241.entry.js +0 -1
  736. package/dist/web-components-library/p-a9534450.entry.js +0 -1
  737. package/dist/web-components-library/p-aabb5aea.entry.js +0 -1
  738. package/dist/web-components-library/p-afab22fc.entry.js +0 -1
  739. package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
  740. package/dist/web-components-library/p-b38d52e5.entry.js +0 -1
  741. package/dist/web-components-library/p-db0a60fc.entry.js +0 -1
  742. package/dist/web-components-library/p-eb722234.entry.js +0 -1
  743. package/dist/web-components-library/p-ecea3d09.entry.js +0 -1
  744. package/www/build/p-02e588b4.entry.js +0 -1
  745. package/www/build/p-040fbd28.entry.js +0 -1
  746. package/www/build/p-062ba668.entry.js +0 -1
  747. package/www/build/p-0eb7baa4.entry.js +0 -1
  748. package/www/build/p-1c5bbea1.entry.js +0 -1
  749. package/www/build/p-2294f1b0.entry.js +0 -1
  750. package/www/build/p-27f93251.entry.js +0 -1
  751. package/www/build/p-314302ce.entry.js +0 -1
  752. package/www/build/p-3c861d49.entry.js +0 -1
  753. package/www/build/p-50b59012.entry.js +0 -1
  754. package/www/build/p-5883dbc1.entry.js +0 -1
  755. package/www/build/p-58933ba5.entry.js +0 -1
  756. package/www/build/p-5fc4048b.entry.js +0 -1
  757. package/www/build/p-7a55d688.entry.js +0 -2
  758. package/www/build/p-8042aaf7.entry.js +0 -1
  759. package/www/build/p-BanpkIXZ.js +0 -1
  760. package/www/build/p-D4yqZKyM.js +0 -1
  761. package/www/build/p-a1127213.entry.js +0 -1
  762. package/www/build/p-a336c241.entry.js +0 -1
  763. package/www/build/p-a9534450.entry.js +0 -1
  764. package/www/build/p-aabb5aea.entry.js +0 -1
  765. package/www/build/p-afab22fc.entry.js +0 -1
  766. package/www/build/p-afcabf3b.entry.js +0 -1
  767. package/www/build/p-b38d52e5.entry.js +0 -1
  768. package/www/build/p-db0a60fc.entry.js +0 -1
  769. package/www/build/p-eb722234.entry.js +0 -1
  770. package/www/build/p-ecea3d09.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,c as a,h as t,H as i,d as r}from"./p-ByN2sYu6.js";import{e as n,B as h,u as o,O as p}from"./p-BKCj6NR2.js";const s="undefined"!=typeof IntersectionObserver,d=class{constructor(t){e(this,t),this.sticking=a(this,"sticking",7),this.stuck=!1,this.overlay=!1,this.flow="auto",this.drawerOpen=!1,this.enableSearch=!1,this.searchPlaceholder="Cerca",this.searchString="",this._stuck=!1,this.currentViewport="mobile",this.observer=s&&new IntersectionObserver((([e])=>{this._stuck=!e.isIntersecting}),{threshold:.5}),this.openDrawer=this.openDrawer.bind(this),this.closeDrawer=this.closeDrawer.bind(this),this.collectMenuElements=this.collectMenuElements.bind(this)}evaluateViewport(){this.currentViewport=window.innerWidth<768?"mobile":window.innerWidth>=768&&window.innerWidth<1152?"tablet":"desktop"}onStuck(){this.scrollParent&&this.sticking.emit(this._stuck)}setMenuFloatingMode(){0!==this.menuElements.length&&this.menuElements.forEach((e=>{e.open=!1,e.floating=!this.drawerOpen,e.verticalContext=this.drawerOpen}))}get title(){const e=this.hostElement.querySelector('[slot="title"]');return null===e?"":e.textContent.trim()}get scrollParent(){const e=this.hostElement.offsetParent;return e===document.body||e===document.documentElement?window:e}get canShowMenu(){return"offcanvas"!==this.flow&&"mobile"!==this.currentViewport&&!this.drawerOpen}get canShowSearchbar(){return!(!this.enableSearch||this.searchPageUrl&&"desktop"!==this.currentViewport)}get hasHero(){return!!this.hero||null!==this.hostElement.querySelector("[slot=hero]")}openDrawer(){this.drawerOpen=!0}closeDrawer(){this.drawerOpen=!1}collectMenuElements(){const e=this.menuElements=this.hostElement.querySelectorAll('[slot="menu"]');this.menuLength=e.length,this.setMenuFloatingMode()}enableStuckObserver(){this.observer&&this.observer.observe(this.container)}disableStuckMode(){this._stuck=!1,this.observer&&this.observer.unobserve(this.container)}onStuckMode(){this.stuck?this.enableStuckObserver():this.disableStuckMode()}renderSearchLinkButton(){return this.enableSearch&&this.searchPageUrl&&"desktop"!==this.currentViewport?t("z-button",{class:"search-page-button",variant:h.SECONDARY,href:this.searchPageUrl,icon:"search",size:n.X_SMALL}):null}renderSeachbar(e){return t("z-searchbar",{value:this.searchString,placeholder:this.searchPlaceholder,showSearchButton:!0,searchButtonIconOnly:e,size:n.X_SMALL,variant:h.SECONDARY,preventSubmit:this.searchString.length<3,onSearchTyping:e=>this.searchString=e.detail})}componentDidLoad(){this.collectMenuElements(),this.onStuckMode(),this.evaluateViewport()}render(){return t(i,{key:"4d98fcae5ac33ba947f6ff5a040dd532b743faab","menu-length":this.menuLength},this.hasHero&&t("div",{key:"f2105ccf7087e83d54c47ca0722b1099f81a8179",class:"hero-container"},t("slot",{key:"451530f8e43a4f3ca714b4c59b995bd761ee9dc1",name:"hero"},this.hero&&t("img",{key:"7eceb9dab857740287d51b5fecb4c817ead691dc",alt:"",src:this.hero}))),t("div",{key:"b271e53c52c519a09eee6cec9465b9d7aa97a197",class:"heading-panel",ref:e=>this.container=e},t("div",{key:"8637be0cbfa33887f1cac0599fa9a2752856c9b8",class:"heading-container"},t("div",{key:"556ad49f4dbe98e0a59c712fa7bb8a30d9b7cf7c",class:"heading-subtitle"},t("slot",{key:"1cc116d852ae01c0fd35003c92eac5a5b5ff91e7",name:"top-subtitle"})),t("div",{key:"3ced62279a854043978ad6829db41e830525880f",class:"heading-title"},this.menuLength>0&&t("button",{key:"27ee765d26aaf4450cdc9048f88f8f3868776fc0",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"77b4538acce08037e2d7ff2807e3da877cea06b4",name:"burger-menu"})),t("slot",{key:"ff3cc40db1155d7417842f1b573688117fa38f1a",name:"title"}),this.renderSearchLinkButton()),t("div",{key:"60b46172cdbdf15dfd163368b6dc0c9ff442f725",class:"heading-subtitle"},t("slot",{key:"b8f08a0ac6e2446736a27a3e211454db739792b8",name:"subtitle"}))),(this.canShowMenu||this.canShowSearchbar)&&t("div",{key:"21ea0742122e3c2eb2fd49ebf872cb287dd61ed9",class:"menu-container"},this.canShowMenu&&t("slot",{key:"f65701606bf787a0eefdb1305ccb897d7a21f026",name:"menu",onSlotchange:this.collectMenuElements}),this.canShowSearchbar&&this.renderSeachbar("desktop"!==this.currentViewport))),t("z-offcanvas",{key:"a6c999a01c8a956567c992bc4dbe9912c7b98f3b",variant:p.OVERLAY,transitiondirection:o.RIGHT,open:this.drawerOpen,onCanvasOpenStatusChanged:e=>this.drawerOpen=e.detail},t("button",{key:"9f03560a04d34dc7b888f8fef1e392f3c0052720",class:"drawer-close","aria-label":"Chiudi menu",onClick:this.closeDrawer,slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`,disabled:!this.drawerOpen},t("z-icon",{key:"e1f467a7ea2810158883c6e58d03628a120d7eee",name:"close"})),t("div",{key:"581886a5fabd793dafc6b5bbb243a3e9241756e0",class:"drawer-content",slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`},t("slot",{key:"6d581a70fdc08610851c45ec3b01da89461d09c5",name:"menu",onSlotchange:this.collectMenuElements}))),this._stuck&&t("div",{key:"459d01a5337718248440da883f4d1cd5065d8671",class:"heading-stuck"},t("div",{key:"2c66f4a2b70a564d04ae70aa6f57bf5d8166b088",class:"heading-stuck-content"},this.menuLength>0&&t("button",{key:"d778fb87bc2fbff3ef63a59eb0bd246832cd56cb",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"d57c58aefe3511290576dc9edfbfbd45f694795d",name:"burger-menu"})),t("div",{key:"22feee81b662e325b8de3fbdb90e19c959bd1bd8",class:"heading-title"},t("slot",{key:"2a856a72f2bbdd5653b9fb4f718ab518cca37462",name:"stucked-title"},this.title)),this.renderSearchLinkButton(),this.canShowSearchbar&&"desktop"===this.currentViewport&&this.renderSeachbar(!1))))}get hostElement(){return r(this)}static get watchers(){return{_stuck:[{onStuck:0}],drawerOpen:[{setMenuFloatingMode:0}],stuck:[{onStuckMode:0}]}}};d.style=':host{--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-content-max-width:100%;--app-header-height:auto;--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-surface01);--app-header-stucked-bg:var(--color-surface01);--app-header-text-color:var(--color-default-text);--app-header-title-font-size:var(--app-header-typography-3-size);--app-header-title-lineheight:var(--app-header-typography-3-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-3-tracking);--app-header-stucked-text-color:var(--color-default-text);position:relative;display:block;height:var(--app-header-height);color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5)}.hero-container+.heading-panel{background:transparent}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:flex-start;column-gap:calc(var(--space-unit) * 2)}::slotted([slot="title"]),.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){margin:0;font-family:"IBM Plex Serif", serif;font-weight:var(--font-bd)}::slotted([slot="title"]){font-size:var(--app-header-title-font-size);letter-spacing:var(--app-header-title-letter-spacing);line-height:var(--app-header-title-lineheight)}.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking);line-height:var(--app-header-typography-3-lineheight)}:host(:not([menu-length="0"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2))}::slotted([slot="top-subtitle"]),::slotted([slot="subtitle"]){margin:0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;line-height:26px}::slotted([slot="subtitle"]){font-weight:500}::slotted([slot="top-subtitle"]){font-weight:400}.menu-container{display:flex;width:100%;flex:1 auto;flex-flow:row wrap}:host([menu-length="0"]:not([enable-search])) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}z-searchbar{z-index:0;display:flex;width:auto;min-width:calc(var(--space-unit) * 32);flex:1 auto;align-items:center;margin-left:auto}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto;column-gap:calc(var(--space-unit) * 2)}.heading-stuck .heading-title{overflow:hidden}.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot="stucked-title"]){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading-stuck-content z-button{margin-left:auto}.drawer-trigger{padding:0;border:0;margin:0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.heading-container :is(.drawer-trigger,z-button.search-page-button){display:flex;height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));align-items:center}.heading-container z-button.search-page-button{margin-left:auto}.drawer-content{display:none}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column;row-gap:calc(var(--space-unit) * 2.5)}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu){--z-menu-label-color:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:"";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media (min-width: 768px){:host{--app-header-title-font-size:var(--app-header-typography-6-size);--app-header-title-lineheight:var(--app-header-typography-6-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-6-tracking)}.heading-panel{flex-flow:row wrap;align-items:center;padding-bottom:calc(var(--space-unit) * 2)}.heading-container{margin-right:auto}:host(:is([flow="offcanvas"],[menu-length="0"])) :is(.heading-container,.menu-container){width:auto}:host(:not([flow="offcanvas"])) .heading-subtitle{padding-left:0}.menu-container{flex:initial;align-items:center}:host([menu-length="0"]) .menu-container:not(:empty){height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight))}:host(:not([flow="offcanvas"])) .menu-container{gap:var(--space-unit) calc(var(--space-unit) * 5)}:host(:not([flow="offcanvas"])) .heading-container .drawer-trigger{display:none}}@media (min-width: 1152px){:host{--app-header-title-font-size:var(--app-header-typography-7-size);--app-header-title-lineheight:var(--app-header-typography-7-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-7-tracking)}.heading-panel{justify-content:flex-start;padding-bottom:calc(var(--space-unit) * 3)}.heading-container,.menu-container{width:auto}:host([flow="stack"]) .heading-panel{flex-flow:column;align-items:flex-start}:host([flow="stack"]) .menu-container{width:100%}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-panel{row-gap:calc(var(--space-unit) * 3)}z-searchbar{min-width:calc(var(--space-unit) * 45);flex:initial}}@media (min-width: 1366px){:host{--app-header-title-font-size:var(--app-header-typography-9-size);--app-header-title-lineheight:var(--app-header-typography-9-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-9-tracking)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}';export{d as z_app_header_deprecated}
1
+ import{r as e,c as a,h as t,H as i,d as r}from"./p-fIt9Ytc6.js";import{e as n,B as h,u as o,O as p}from"./p-BKCj6NR2.js";const s="undefined"!=typeof IntersectionObserver,d=class{constructor(t){e(this,t),this.sticking=a(this,"sticking",7),this.stuck=!1,this.overlay=!1,this.flow="auto",this.drawerOpen=!1,this.enableSearch=!1,this.searchPlaceholder="Cerca",this.searchString="",this._stuck=!1,this.currentViewport="mobile",this.observer=s&&new IntersectionObserver((([e])=>{this._stuck=!e.isIntersecting}),{threshold:.5}),this.openDrawer=this.openDrawer.bind(this),this.closeDrawer=this.closeDrawer.bind(this),this.collectMenuElements=this.collectMenuElements.bind(this)}evaluateViewport(){this.currentViewport=window.innerWidth<768?"mobile":window.innerWidth>=768&&window.innerWidth<1152?"tablet":"desktop"}onStuck(){this.scrollParent&&this.sticking.emit(this._stuck)}setMenuFloatingMode(){0!==this.menuElements.length&&this.menuElements.forEach((e=>{e.open=!1,e.floating=!this.drawerOpen,e.verticalContext=this.drawerOpen}))}get title(){const e=this.hostElement.querySelector('[slot="title"]');return null===e?"":e.textContent.trim()}get scrollParent(){const e=this.hostElement.offsetParent;return e===document.body||e===document.documentElement?window:e}get canShowMenu(){return"offcanvas"!==this.flow&&"mobile"!==this.currentViewport&&!this.drawerOpen}get canShowSearchbar(){return!(!this.enableSearch||this.searchPageUrl&&"desktop"!==this.currentViewport)}get hasHero(){return!!this.hero||null!==this.hostElement.querySelector("[slot=hero]")}openDrawer(){this.drawerOpen=!0}closeDrawer(){this.drawerOpen=!1}collectMenuElements(){const e=this.menuElements=this.hostElement.querySelectorAll('[slot="menu"]');this.menuLength=e.length,this.setMenuFloatingMode()}enableStuckObserver(){this.observer&&this.observer.observe(this.container)}disableStuckMode(){this._stuck=!1,this.observer&&this.observer.unobserve(this.container)}onStuckMode(){this.stuck?this.enableStuckObserver():this.disableStuckMode()}renderSearchLinkButton(){return this.enableSearch&&this.searchPageUrl&&"desktop"!==this.currentViewport?t("z-button",{class:"search-page-button",variant:h.SECONDARY,href:this.searchPageUrl,icon:"search",size:n.X_SMALL}):null}renderSeachbar(e){return t("z-searchbar",{value:this.searchString,placeholder:this.searchPlaceholder,showSearchButton:!0,searchButtonIconOnly:e,size:n.X_SMALL,variant:h.SECONDARY,preventSubmit:this.searchString.length<3,onSearchTyping:e=>this.searchString=e.detail})}componentDidLoad(){this.collectMenuElements(),this.onStuckMode(),this.evaluateViewport()}render(){return t(i,{key:"aded309a3cb1033c51f95d94de1cd796f643fea0","menu-length":this.menuLength},this.hasHero&&t("div",{key:"78458badadf63a3366eaba9481ed709f7cb455c5",class:"hero-container"},t("slot",{key:"1296c2091f4dd8b2f5215f07ea096772fc700abb",name:"hero"},this.hero&&t("img",{key:"ed06c899fb3e2b7316161555b307033a6821f64a",alt:"",src:this.hero}))),t("div",{key:"d8e275bde97fe5d694a50c33b5b32db7aee7699e",class:"heading-panel",ref:e=>this.container=e},t("div",{key:"ce6fe29fd508558b3d75dba200006dfa31ba5ad9",class:"heading-container"},t("div",{key:"5464ae272a15fcd6a975b62f5d2d6206d6f3f060",class:"heading-subtitle"},t("slot",{key:"53c143c49c40cd3cef1475af920122ca5abd5329",name:"top-subtitle"})),t("div",{key:"0c4c147537d3ece12fd35e4a5ca553aeff2a8f1c",class:"heading-title"},this.menuLength>0&&t("button",{key:"68e24b4435b6ee099f288cb4cb28794834ab1f72",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"220a3096e3275ec8e6bee6b715926f891ed09045",name:"burger-menu"})),t("slot",{key:"52e89fe9902914e6daafe61f47de9ea4f02bf93e",name:"title"}),this.renderSearchLinkButton()),t("div",{key:"c1f90edc6ecb0063d53f3ed68ee718fc86397751",class:"heading-subtitle"},t("slot",{key:"84398e5cd8bf522e13b9f29118ba20d46510fbb1",name:"subtitle"}))),(this.canShowMenu||this.canShowSearchbar)&&t("div",{key:"e6d6d1fa5040a7c6d54869fac4c92a19407145fb",class:"menu-container"},this.canShowMenu&&t("slot",{key:"3c442f00807b6a4ff33349709a24b6096bce3b3c",name:"menu",onSlotchange:this.collectMenuElements}),this.canShowSearchbar&&this.renderSeachbar("desktop"!==this.currentViewport))),t("z-offcanvas",{key:"268fa9a09f449e5e277ed56134cd1a5be9e9713e",variant:p.OVERLAY,transitiondirection:o.RIGHT,open:this.drawerOpen,onCanvasOpenStatusChanged:e=>this.drawerOpen=e.detail},t("button",{key:"be0350100f473da07ac89c22b950c0ff5f2dc14a",class:"drawer-close","aria-label":"Chiudi menu",onClick:this.closeDrawer,slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`,disabled:!this.drawerOpen},t("z-icon",{key:"ebe1a2dd92cb3d010741e8745c5359a852e46253",name:"close"})),t("div",{key:"cb6b380cfddc334c84fae9a045d4b886ff8d3f26",class:"drawer-content",slot:"canvasContent","aria-hidden":`${!this.drawerOpen}`},t("slot",{key:"e120aa846065db5a7c0d9827e7b74a98f7b41f25",name:"menu",onSlotchange:this.collectMenuElements}))),this._stuck&&t("div",{key:"7d0460155469d822b7f608804dc1465f08e28b02",class:"heading-stuck"},t("div",{key:"b570cf1d407aad9a9c2a10af56835f3a3d5f1379",class:"heading-stuck-content"},this.menuLength>0&&t("button",{key:"06929d598cab5b080e0f3b23606ca6e4ee50a113",class:"drawer-trigger","aria-label":"Apri menu",onClick:this.openDrawer},t("z-icon",{key:"807ee08ed6a4db7ca124114007e1a2d52dca75e0",name:"burger-menu"})),t("div",{key:"dfbb47685f209528aa6a70f29b5cb5ca83a4a2e6",class:"heading-title"},t("slot",{key:"aff80bd515be456bc15b5fa91dbc85ce33fe6562",name:"stucked-title"},this.title)),this.renderSearchLinkButton(),this.canShowSearchbar&&"desktop"===this.currentViewport&&this.renderSeachbar(!1))))}get hostElement(){return r(this)}static get watchers(){return{_stuck:[{onStuck:0}],drawerOpen:[{setMenuFloatingMode:0}],stuck:[{onStuckMode:0}]}}};d.style=':host{--app-header-typography-1-size:24px;--app-header-typography-2-size:28px;--app-header-typography-3-size:32px;--app-header-typography-4-size:36px;--app-header-typography-5-size:42px;--app-header-typography-6-size:48px;--app-header-typography-7-size:54px;--app-header-typography-8-size:60px;--app-header-typography-9-size:68px;--app-header-typography-10-size:76px;--app-header-typography-11-size:84px;--app-header-typography-12-size:92px;--app-header-typography-1-lineheight:1.33;--app-header-typography-2-lineheight:1.29;--app-header-typography-3-lineheight:1.25;--app-header-typography-4-lineheight:1.24;--app-header-typography-5-lineheight:1.24;--app-header-typography-6-lineheight:1.25;--app-header-typography-7-lineheight:1.2;--app-header-typography-8-lineheight:1.26;--app-header-typography-9-lineheight:1.24;--app-header-typography-10-lineheight:1.26;--app-header-typography-11-lineheight:1.2;--app-header-typography-12-lineheight:1.2;--app-header-typography-1-tracking:calc(-0.2 / 1em);--app-header-typography-2-tracking:calc(-0.4 / 1em);--app-header-typography-3-tracking:calc(-0.6 / 1em);--app-header-typography-4-tracking:calc(-0.8 / 1em);--app-header-typography-5-tracking:calc(-1 / 1em);--app-header-typography-6-tracking:calc(-1.2 / 1em);--app-header-typography-7-tracking:calc(-1.4 / 1em);--app-header-typography-8-tracking:calc(-1.6 / 1em);--app-header-typography-9-tracking:calc(-1.8 / 1em);--app-header-typography-10-tracking:calc(-2 / 1em);--app-header-typography-11-tracking:calc(-2.2 / 1em);--app-header-typography-12-tracking:calc(-2.4 / 1em);--app-header-content-max-width:100%;--app-header-height:auto;--app-header-top-offset:48px;--app-header-drawer-trigger-size:calc(var(--space-unit) * 4);--app-header-bg:var(--color-surface01);--app-header-stucked-bg:var(--color-surface01);--app-header-text-color:var(--color-default-text);--app-header-title-font-size:var(--app-header-typography-3-size);--app-header-title-lineheight:var(--app-header-typography-3-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-3-tracking);--app-header-stucked-text-color:var(--color-default-text);position:relative;display:block;height:var(--app-header-height);color:var(--app-header-text-color)}:host,*{box-sizing:border-box}.heading-panel{position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:var(--grid-margin);margin:0 auto;background:var(--app-header-bg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5)}.hero-container+.heading-panel{background:transparent}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-title{display:flex;max-width:100%;flex-direction:row;align-items:flex-start;column-gap:calc(var(--space-unit) * 2)}::slotted([slot="title"]),.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){margin:0;font-family:"IBM Plex Serif", serif;font-weight:var(--font-bd)}::slotted([slot="title"]){font-size:var(--app-header-title-font-size);letter-spacing:var(--app-header-title-letter-spacing);line-height:var(--app-header-title-lineheight)}.heading-stuck .heading-title>*,::slotted([slot="stucked-title"]){font-size:var(--app-header-typography-3-size);letter-spacing:var(--app-header-typography-3-tracking);line-height:var(--app-header-typography-3-lineheight)}:host(:not([menu-length="0"])) .heading-subtitle{padding-left:calc(var(--app-header-drawer-trigger-size) + (var(--space-unit) * 2))}::slotted([slot="top-subtitle"]),::slotted([slot="subtitle"]){margin:0;font-family:var(--font-family-sans);font-size:20px;font-style:italic;line-height:26px}::slotted([slot="subtitle"]){font-weight:500}::slotted([slot="top-subtitle"]){font-weight:400}.menu-container{display:flex;width:100%;flex:1 auto;flex-flow:row wrap}:host([menu-length="0"]:not([enable-search])) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}z-searchbar{z-index:0;display:flex;width:auto;min-width:calc(var(--space-unit) * 32);flex:1 auto;align-items:center;margin-left:auto}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg);box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color)}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto;column-gap:calc(var(--space-unit) * 2)}.heading-stuck .heading-title{overflow:hidden}.heading-stuck .heading-title>*,.heading-stuck .heading-title ::slotted([slot="stucked-title"]){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.heading-stuck-content z-button{margin-left:auto}.drawer-trigger{padding:0;border:0;margin:0;appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer}.drawer-trigger z-icon{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);fill:currentcolor}.heading-container :is(.drawer-trigger,z-button.search-page-button){display:flex;height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight));align-items:center}.heading-container z-button.search-page-button{margin-left:auto}.drawer-content{display:none}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column;row-gap:calc(var(--space-unit) * 2.5)}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:var(--app-header-drawer-trigger-size);--z-icon-height:var(--app-header-drawer-trigger-size);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-size:inherit;outline:none}.drawer-close:focus-visible{box-shadow:var(--shadow-focus-primary)}.hero-container{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}:host([overlay]) .heading-panel .drawer-trigger z-icon,:host([overlay]) .heading-panel .heading-container,:host([overlay]) .heading-panel .menu-container{color:var(--color-white);fill:var(--color-white)}:host([overlay]) .heading-panel .menu-container ::slotted(z-menu){--z-menu-label-color:var(--color-white)}:host([overlay]) .hero-container::after{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:var(--color-black);content:"";opacity:0.5}.hero-container img,.hero-container ::slotted(*){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center;-webkit-user-drag:none}@media (min-width: 768px){:host{--app-header-title-font-size:var(--app-header-typography-6-size);--app-header-title-lineheight:var(--app-header-typography-6-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-6-tracking)}.heading-panel{flex-flow:row wrap;align-items:center;padding-bottom:calc(var(--space-unit) * 2)}.heading-container{margin-right:auto}:host(:is([flow="offcanvas"],[menu-length="0"])) :is(.heading-container,.menu-container){width:auto}:host(:not([flow="offcanvas"])) .heading-subtitle{padding-left:0}.menu-container{flex:initial;align-items:center}:host([menu-length="0"]) .menu-container:not(:empty){height:calc(var(--app-header-title-font-size) * var(--app-header-title-lineheight))}:host(:not([flow="offcanvas"])) .menu-container{gap:var(--space-unit) calc(var(--space-unit) * 5)}:host(:not([flow="offcanvas"])) .heading-container .drawer-trigger{display:none}}@media (min-width: 1152px){:host{--app-header-title-font-size:var(--app-header-typography-7-size);--app-header-title-lineheight:var(--app-header-typography-7-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-7-tracking)}.heading-panel{justify-content:flex-start;padding-bottom:calc(var(--space-unit) * 3)}.heading-container,.menu-container{width:auto}:host([flow="stack"]) .heading-panel{flex-flow:column;align-items:flex-start}:host([flow="stack"]) .menu-container{width:100%}:host(:not([flow="offcanvas"],[menu-length="0"])) .heading-panel{row-gap:calc(var(--space-unit) * 3)}z-searchbar{min-width:calc(var(--space-unit) * 45);flex:initial}}@media (min-width: 1366px){:host{--app-header-title-font-size:var(--app-header-typography-9-size);--app-header-title-lineheight:var(--app-header-typography-9-lineheight);--app-header-title-letter-spacing:var(--app-header-typography-9-tracking)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}';export{d as z_app_header_deprecated}
@@ -1 +1 @@
1
- import{r as i,c as t,h as e}from"./p-ByN2sYu6.js";import{P as n}from"./p-BKCj6NR2.js";import{h as s}from"./p-D4yqZKyM.js";import"./p-Q-tWjk7P.js";const o=class{emitFlipCard(i=!1){this.flipCard.emit(i)}constructor(e){i(this,e),this.flipCard=t(this,"flipCard",7),this.htmltabindex=0,this.hiddenContent=!1,this.tooltip=!1,this.emitFlipCard=this.emitFlipCard.bind(this)}componentWillLoad(){this.setStringOrArray()}componentWillUpdate(){this.setStringOrArray()}componentDidRender(){this.handleContentHeight()}handleContentHeight(){if(this.contentWrapper||this.infoWrapper){if(this.contentWrapper.scrollHeight>this.contentWrapper.offsetHeight||this.infoWrapper.scrollHeight>this.infoWrapper.offsetHeight)return this.infoWrapper.style.height=this.contentWrapper.offsetHeight-this.onlineLicenseWrapper.offsetHeight-this.offlineLicenseWrapper.offsetHeight+"px",void(this.hiddenContent=!0);this.hiddenContent=!1}else this.hiddenContent=!1}setStringOrArray(){this.cardData="string"==typeof this.data?JSON.parse(this.data):this.data}renderCloseIcon(){return e("z-icon",{name:"multiply-circled-filled",height:18,width:18,onClick:()=>this.emitFlipCard(!1),tabindex:this.htmltabindex,onKeyUp:i=>{s(i,this.emitFlipCard,!1)}})}renderGeneralSection(){var i,t;const n=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.title,s=null===(t=null==this?void 0:this.cardData)||void 0===t?void 0:t.description;return e("section",{class:"info-wrapper "+(this.hiddenContent?"hidden":""),onClick:()=>{this.hiddenContent&&(this.tooltip=!this.tooltip)},ref:i=>this.infoWrapper=i},this.renderAuthor(),this.renderYear(),n,e("br",null),s)}renderAuthor(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.author;return t?e("span",null,"Autore: ",e("b",null,t),e("br",null)):null}renderYear(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.year;return t?e("span",null,"Anno: ",e("b",null,t),e("br",null)):null}renderTooltip(){if(!this.tooltip)return;if(!this.cardData)return;const{title:i,year:t,author:s,description:o}=this.cardData;return e("z-popover",{position:n.RIGHT,onClick:()=>this.tooltip=!1},`${i} ${t} ${s} ${o}`)}setExpirationLicenseMessage(i){return"online"===i&&this.cardData.onlineLicense.expired||"offline"===i&&this.cardData.offlineLicense.expired?e("span",{class:"expired"},"SCADUTA"):"online"===i&&this.cardData.onlineLicense.expiring||"offline"===i&&this.cardData.offlineLicense.expiring?e("span",{class:"expiring"},"IN SCADENZA"):void 0}renderOnlineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.onlineLicense)return e("section",{ref:i=>this.onlineLicenseWrapper=i},e("span",{class:"license-heading"},e("span",null,"Licenza online"),this.setExpirationLicenseMessage("online")),"Scadenza il ",e("b",null,this.cardData.onlineLicense.expiration),e("br",null))}renderOfflineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.offlineLicense)return e("section",{ref:i=>this.offlineLicenseWrapper=i},e("span",{class:"license-heading"},e("span",null,"Licenza offline"),this.setExpirationLicenseMessage("offline")),"Scadenza il ",e("b",null,this.cardData.offlineLicense.expiration),e("br",null),"Installazioni disponibili: ",e("b",null,this.cardData.offlineLicense.installations))}render(){return e("div",{key:"9e928e3e0a584e4d23a842600d235796a8c2e119"},this.renderCloseIcon(),e("div",{key:"12f4545ef0de9f4b33f6c76db7c42c7cdf556cd9",class:"content-wrapper",ref:i=>this.contentWrapper=i},this.renderGeneralSection(),this.renderTooltip(),this.renderOnlineLicenseSection(),this.renderOfflineLicenseSection()),e("div",{key:"2e9b588a180a9b7e84ecd1e7dab687926320d264",class:"cta-wrapper"},e("slot",{key:"2ecbe734dd3dca95daa8599d6ff9d81a4d1c0cf0"})))}};o.style=':host{width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;display:grid;width:calc(100% + calc(var(--space-unit) * 2));height:402px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--color-primary01);margin-left:calc(-1 * var(--space-unit));background:var(--color-surface01);border-radius:0;box-shadow:0 2px 4px 0 rgb(66 69 72 / 35%)}:host>div>z-icon{position:absolute;top:var(--space-unit);right:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-self:end;justify-content:space-between}:host>div>div.content-wrapper{position:relative;overflow:hidden;align-self:stretch}:host>div>div.content-wrapper>section{box-sizing:border-box;padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);font-size:14px;line-height:20px}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden::after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg, rgb(255 0 0 / 0%), rgb(255 0 0 / 0%) 60%, white);content:"";pointer-events:none}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-primary01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-hover-warning);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-popover{position:absolute;top:0;left:calc(var(--space-unit) * 4)}';export{o as z_myz_card_info}
1
+ import{r as i,c as t,h as e}from"./p-fIt9Ytc6.js";import{P as n}from"./p-BKCj6NR2.js";import{h as s}from"./p-B0bOjMSb.js";import"./p-Q-tWjk7P.js";const o=class{emitFlipCard(i=!1){this.flipCard.emit(i)}constructor(e){i(this,e),this.flipCard=t(this,"flipCard",7),this.htmltabindex=0,this.hiddenContent=!1,this.tooltip=!1,this.emitFlipCard=this.emitFlipCard.bind(this)}componentWillLoad(){this.setStringOrArray()}componentWillUpdate(){this.setStringOrArray()}componentDidRender(){this.handleContentHeight()}handleContentHeight(){if(this.contentWrapper||this.infoWrapper){if(this.contentWrapper.scrollHeight>this.contentWrapper.offsetHeight||this.infoWrapper.scrollHeight>this.infoWrapper.offsetHeight)return this.infoWrapper.style.height=this.contentWrapper.offsetHeight-this.onlineLicenseWrapper.offsetHeight-this.offlineLicenseWrapper.offsetHeight+"px",void(this.hiddenContent=!0);this.hiddenContent=!1}else this.hiddenContent=!1}setStringOrArray(){this.cardData="string"==typeof this.data?JSON.parse(this.data):this.data}renderCloseIcon(){return e("z-icon",{name:"multiply-circled-filled",height:18,width:18,onClick:()=>this.emitFlipCard(!1),tabindex:this.htmltabindex,onKeyUp:i=>{s(i,this.emitFlipCard,!1)}})}renderGeneralSection(){var i,t;const n=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.title,s=null===(t=null==this?void 0:this.cardData)||void 0===t?void 0:t.description;return e("section",{class:"info-wrapper "+(this.hiddenContent?"hidden":""),onClick:()=>{this.hiddenContent&&(this.tooltip=!this.tooltip)},ref:i=>this.infoWrapper=i},this.renderAuthor(),this.renderYear(),n,e("br",null),s)}renderAuthor(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.author;return t?e("span",null,"Autore: ",e("b",null,t),e("br",null)):null}renderYear(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.year;return t?e("span",null,"Anno: ",e("b",null,t),e("br",null)):null}renderTooltip(){if(!this.tooltip)return;if(!this.cardData)return;const{title:i,year:t,author:s,description:o}=this.cardData;return e("z-popover",{position:n.RIGHT,onClick:()=>this.tooltip=!1},`${i} ${t} ${s} ${o}`)}setExpirationLicenseMessage(i){return"online"===i&&this.cardData.onlineLicense.expired||"offline"===i&&this.cardData.offlineLicense.expired?e("span",{class:"expired"},"SCADUTA"):"online"===i&&this.cardData.onlineLicense.expiring||"offline"===i&&this.cardData.offlineLicense.expiring?e("span",{class:"expiring"},"IN SCADENZA"):void 0}renderOnlineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.onlineLicense)return e("section",{ref:i=>this.onlineLicenseWrapper=i},e("span",{class:"license-heading"},e("span",null,"Licenza online"),this.setExpirationLicenseMessage("online")),"Scadenza il ",e("b",null,this.cardData.onlineLicense.expiration),e("br",null))}renderOfflineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.offlineLicense)return e("section",{ref:i=>this.offlineLicenseWrapper=i},e("span",{class:"license-heading"},e("span",null,"Licenza offline"),this.setExpirationLicenseMessage("offline")),"Scadenza il ",e("b",null,this.cardData.offlineLicense.expiration),e("br",null),"Installazioni disponibili: ",e("b",null,this.cardData.offlineLicense.installations))}render(){return e("div",{key:"3607109f95aff2febdb6e28e5aa1db8f6a53ba6e"},this.renderCloseIcon(),e("div",{key:"0f2530af1ddc200434346f5206207a095b778860",class:"content-wrapper",ref:i=>this.contentWrapper=i},this.renderGeneralSection(),this.renderTooltip(),this.renderOnlineLicenseSection(),this.renderOfflineLicenseSection()),e("div",{key:"6526087216d027750bc9946c5f9396f49aa392e3",class:"cta-wrapper"},e("slot",{key:"984995bd7a2f93a57223f074ca9adb2fabcd66a9"})))}};o.style=':host{width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;display:grid;width:calc(100% + calc(var(--space-unit) * 2));height:402px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--color-primary01);margin-left:calc(-1 * var(--space-unit));background:var(--color-surface01);border-radius:0;box-shadow:0 2px 4px 0 rgb(66 69 72 / 35%)}:host>div>z-icon{position:absolute;top:var(--space-unit);right:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-self:end;justify-content:space-between}:host>div>div.content-wrapper{position:relative;overflow:hidden;align-self:stretch}:host>div>div.content-wrapper>section{box-sizing:border-box;padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);font-size:14px;line-height:20px}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden::after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg, rgb(255 0 0 / 0%), rgb(255 0 0 / 0%) 60%, white);content:"";pointer-events:none}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-primary01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-hover-warning);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-popover{position:absolute;top:0;left:calc(var(--space-unit) * 4)}';export{o as z_myz_card_info}
@@ -1 +1 @@
1
- import{r as e,h as t,d as o}from"./p-ByN2sYu6.js";import{L as i}from"./p-BKCj6NR2.js";const a=class{constructor(t){e(this,t),this.opened=!1,this.customContent=!1,this.isOpen=!1,this.allowTooltipAuthors=!1}handleToggle(){if(this.isOpen=!this.isOpen,this.isOpen){const e=this.getFirstListItem();e&&requestAnimationFrame((()=>{e.focus()}))}}getTitleAuthors(){return this.allowTooltipAuthors?this.autori:""}componentWillLoad(){this.opened&&(this.isOpen=!0)}elementsEllipsis(){this.allowTooltipAuthors=!!this.elementAuthorsHasEllipsis()}elementAuthorsHasEllipsis(){return this.ellipsisAuthors.offsetWidth<this.ellipsisAuthors.scrollWidth}retrieveClass(){return{isopen:this.isOpen,real:this.cardtype===i.REAL,trial:this.cardtype===i.TRIAL,temp:this.cardtype===i.TEMP,"custom-content":this.customContent}}footerTransitionHandler(e){["visibility","height"].includes(e.propertyName)&&this.elementsEllipsis()}getFirstListItem(){return this.host.querySelector("[slot=list] > li a")}render(){return t("div",{key:"d489e447e3e1d590098c6356f79afa453d829b14",class:Object.assign(Object.assign({},this.retrieveClass()),{wrapper:!0})},t("footer",{key:"736f759004879e45aaa87b4a37d94d335e5fdf38",class:this.retrieveClass(),onTransitionEnd:e=>this.footerTransitionHandler(e)},t("span",{key:"819e6055158bfa1f3e2a8d923c81e5e1430eee5f",class:"toggle"},t("slot",{key:"d0789e330d61dc5d0cf84fda39f360dc2e1846fe",name:"toggle"})),this.titolo&&t("p",{key:"5047d003377297bbbe1bca0ab61405ecc0cb1c3b",class:{"custom-content":this.customContent}},this.titolo),t("div",{key:"ba5dca645b5b47564fc893773375a7588cf8e1fa",class:{content:!0,"custom-content":this.customContent}},t("div",{key:"a461c381f6eee4cd10eb2768932d392a15c37c63"},t("p",{key:"7ab6b9d45859070b33f16c00f8c0bf13ab28796a",class:"authors",ref:e=>this.ellipsisAuthors=e},t("span",{key:"039c7702d8d0cafaca6a680e1afc8e93835fc575",title:this.getTitleAuthors()},t("span",{key:"9273775ede820fff9b15252e815830223ccdaa9b","aria-description":"Autori",class:"bold"},this.autori))),t("p",{key:"8f096c9282fb5c8a8d22c033876d2881992dafd4",class:"year-isbn"},t("span",{key:"83ca26272ff2094e0461b0b4c16e7de47496270e",class:"isbn"},t("span",{key:"f988641ac031ade7be9e8c8531dab173da0d2fa9"},t("span",{key:"d777fd577873a0a4095ba99506826f64320f2f6f","aria-description":"ISBN edizione cartacea",class:"bold"},this.isbn)," ","(ed. cartacea)")))),t("div",{key:"3092066602cd6433d10b10c3aa8eef0b783545b4",class:"slot-handler "+(this.isOpen?"visible":"hidden")},t("slot",{key:"5fe266d544afca2b736cfeb4e5c38e611483cdc2",name:"list"})))),this.customContent&&t("slot",{key:"cd156338758dd3467dfc3232783494c703f15288",name:"content"}))}get host(){return o(this)}};a.style='footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--blue100)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--gray200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--blue100)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot="content"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot="content"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--blue100)}';export{a as z_myz_card_footer}
1
+ import{r as e,h as t,d as o}from"./p-fIt9Ytc6.js";import{L as i}from"./p-BKCj6NR2.js";const a=class{constructor(t){e(this,t),this.opened=!1,this.customContent=!1,this.isOpen=!1,this.allowTooltipAuthors=!1}handleToggle(){if(this.isOpen=!this.isOpen,this.isOpen){const e=this.getFirstListItem();e&&requestAnimationFrame((()=>{e.focus()}))}}getTitleAuthors(){return this.allowTooltipAuthors?this.autori:""}componentWillLoad(){this.opened&&(this.isOpen=!0)}elementsEllipsis(){this.allowTooltipAuthors=!!this.elementAuthorsHasEllipsis()}elementAuthorsHasEllipsis(){return this.ellipsisAuthors.offsetWidth<this.ellipsisAuthors.scrollWidth}retrieveClass(){return{isopen:this.isOpen,real:this.cardtype===i.REAL,trial:this.cardtype===i.TRIAL,temp:this.cardtype===i.TEMP,"custom-content":this.customContent}}footerTransitionHandler(e){["visibility","height"].includes(e.propertyName)&&this.elementsEllipsis()}getFirstListItem(){return this.host.querySelector("[slot=list] > li a")}render(){return t("div",{key:"0836e7e0d6c360721019bc7674466345e3eaab74",class:Object.assign(Object.assign({},this.retrieveClass()),{wrapper:!0})},t("footer",{key:"0771eca0b6c8267a612f95800fc807096efd19eb",class:this.retrieveClass(),onTransitionEnd:e=>this.footerTransitionHandler(e)},t("span",{key:"e9ca8f43d386ae14914d192a428698ecd9ee1082",class:"toggle"},t("slot",{key:"4ffe0ee9635d343821a20d572217fd7f971a781f",name:"toggle"})),this.titolo&&t("p",{key:"352cff28af1654d0676dcf0c184f42a5158bbbbe",class:{"custom-content":this.customContent}},this.titolo),t("div",{key:"a76925042afd579c30fc82faf96146718dd497c9",class:{content:!0,"custom-content":this.customContent}},t("div",{key:"a3f2391f91e996b06d00a725a1b010f0df352551"},t("p",{key:"4dfcf2de83492dd502eb69cc2525769c04430744",class:"authors",ref:e=>this.ellipsisAuthors=e},t("span",{key:"b0f06c214c88f38e477a0aacc824441160bf38fb",title:this.getTitleAuthors()},t("span",{key:"6343877f00355d614d4a263d3615b5d6222ba795","aria-description":"Autori",class:"bold"},this.autori))),t("p",{key:"b1f88556f9e2493e9070e71c72cc760f2f52738d",class:"year-isbn"},t("span",{key:"a934207b2ae734db3deca9d5a2544d86cb011117",class:"isbn"},t("span",{key:"4a2d0fa9a603e63aa3443934d58f5df9350fbdf3"},t("span",{key:"2668d24fe56de6eb660fc56a540347070ade4d92","aria-description":"ISBN edizione cartacea",class:"bold"},this.isbn)," ","(ed. cartacea)")))),t("div",{key:"6310cdec45297752f3035d975c3073acce3e2076",class:"slot-handler "+(this.isOpen?"visible":"hidden")},t("slot",{key:"f949fe923fa112d79c6cf4fa7490dd03e7f9c772",name:"list"})))),this.customContent&&t("slot",{key:"b0479a7f0e890c03dfbdced57aa6162d38981eb9",name:"content"}))}get host(){return o(this)}};a.style='footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--blue100)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--gray200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--blue100)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot="content"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot="content"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--blue100)}';export{a as z_myz_card_footer}
@@ -0,0 +1 @@
1
+ import{r as o,c as t,h as i}from"./p-fIt9Ytc6.js";const a=class{constructor(i){o(this,i),this.infoBoxClose=t(this,"infoBoxClose",7),this.isclosable=!0}emitInfoBoxClose(){this.infoBoxClose.emit({boxid:this.boxid})}render(){return i("div",{key:"c3062d082fff5558ebcc44b6c15feaa9d4fdf9f9",id:this.boxid},i("slot",{key:"d4d4b0bdb644a777c22489afa52c990748bf1da7",name:"content"}),this.isclosable&&i("z-icon",{key:"4b02226c9a11e800ad1ac956471683f4546d39c3",name:"multiply","data-action":"infoBoxClose",onClick:()=>this.emitInfoBoxClose()}))}};a.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;padding:calc(var(--space-unit) * 2);background:var(--color-primary03);border-radius:var(--border-radius)}:host>div>slot{color:var(--color-default-text);font-size:14px}:host>div>z-icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--color-primary01)}";export{a as z_info_box}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i}from"./p-ByN2sYu6.js";import{f as r}from"./p-BKCj6NR2.js";const a=class{constructor(i){t(this,i),this.otpChange=e(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 i("div",{key:"7657d7d869942c3d132010db3926eded138e551c",class:"otp-container"},i("div",{key:"ebf909e834636481b6b19058ee5ccb76a1b26783",class:"digits-container"},this.otp.map(((t,e)=>i("input",{class:this.status==r.ERROR?"error":null,onKeyDown:t=>{t.keyCode>47&&(this.otpRef[e].value="")},onKeyUp:t=>{t.keyCode>47&&e<this.inputNum-1&&this.otpRef[e+1].focus()},onInput:t=>{this.otp[e]=t.target.value,this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[e]=t})))),i("z-input-message",{key:"102bca7cae4f618feef7bb26461a9a0ddb9ee8b3",message:this.message,status:this.status}))}};a.style="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}: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-default-error);background-color:var(--color-inverse-error);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{a as z_otp}
1
+ import{r as t,c as i,h as r}from"./p-fIt9Ytc6.js";import{f as a}from"./p-BKCj6NR2.js";const o=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",{key:"25929eacee727c90dbf664fa11638bb5cdb5823a",class:"otp-container"},r("div",{key:"16d6b64ba2649781fcb359ddefd08d0553c9fcb5",class:"digits-container"},this.otp.map(((t,i)=>r("input",{class:this.status==a.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",{key:"201125a3e3f5b0a3b53b170d4f0153188715c7db",message:this.message,status:this.status}))}};o.style="input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}: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-default-error);background-color:var(--color-inverse-error);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{o as z_otp}
@@ -1 +1 @@
1
- import{r as o,c as t,h as e}from"./p-ByN2sYu6.js";import{P as r}from"./p-BKCj6NR2.js";const s=class{constructor(e){o(this,e),this.openChange=t(this,"openChange",7),this.position=r.AUTO,this.dark=!1,this.open=!1,this.closable=!0}onPopoverOpenChange(){this.open=this.popoverEl.open}render(){return e("z-popover",{key:"21236ca0162a4ce1c7d1c6adfd052332e8a566b8",ref:o=>this.popoverEl=o,bindTo:this.bindTo,open:this.open,position:this.position,closable:this.closable,center:!0,showArrow:!0,onOpenChange:o=>this.openChange.emit(o.detail)},e("slot",{key:"fb78016230d9246043c60bd22e1ed7c6baa4d78d"}))}};s.style=":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-default-text);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--z-tooltip-padding:var(--space-unit)}z-popover{--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-padding:var(--z-tooltip-padding);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}";export{s as z_tooltip}
1
+ import{r as o,c as t,h as e}from"./p-fIt9Ytc6.js";import{P as r}from"./p-BKCj6NR2.js";const p=class{constructor(e){o(this,e),this.openChange=t(this,"openChange",7),this.position=r.AUTO,this.dark=!1,this.open=!1,this.closable=!0}onPopoverOpenChange(){this.open=this.popoverEl.open}render(){return e("z-popover",{key:"33f8d0a6de0f95f3218736b57451d80cd3cc9506",ref:o=>this.popoverEl=o,bindTo:this.bindTo,open:this.open,position:this.position,closable:this.closable,center:!0,showArrow:!0,onOpenChange:o=>this.openChange.emit(o.detail)},e("slot",{key:"3608136c1675f0f8823a216ab622af272685e8dc"}))}};p.style=":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-default-text);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));--z-tooltip-padding:var(--space-unit)}z-popover{--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-padding:var(--z-tooltip-padding);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}";export{p as z_tooltip}
@@ -1 +1 @@
1
- import{r as t,h as a}from"./p-ByN2sYu6.js";const n=class{constructor(a){t(this,a),this.renderList=this.renderList.bind(this)}handleSpaceKeyPress(t,a){32!=t.keyCode&&13!=t.keyCode||(t.preventDefault(),window.open(a,"_blank"))}formatListContent(t){const{value:n,isLink:e,url:r}=t;return e?a("a",{role:"button",onKeyPress:t=>this.handleSpaceKeyPress(t,r),href:r,target:"_blank"},n):a("span",null,n)}renderList(t){return t.map((t=>a("li",null,this.formatListContent(t))))}render(){return a("ul",{key:"1a13de08540dfc2b52eb0e68131d466573865791"},this.renderList(JSON.parse(this.listdata)))}};n.style='*:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}ul{overflow:hidden;width:auto;height:auto;padding:0;margin:0 calc(var(--space-unit) * 2);color:var(--color-primary01);font-family:var(--font-family-sans);list-style:none}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;padding-top:calc(var(--space-unit) * 0.5);color:var(--color-primary01);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);text-decoration:none}ul>li>a::before{padding-right:5px;content:"•"}ul>li>span{padding:0 calc(var(--space-unit) * 2);color:var(--color-surface04);font-size:14px;font-weight:var(--font-rg);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);text-decoration:none}';export{n as z_myz_card_list}
1
+ import{r as t,h as a}from"./p-fIt9Ytc6.js";const n=class{constructor(a){t(this,a),this.renderList=this.renderList.bind(this)}handleSpaceKeyPress(t,a){32!=t.keyCode&&13!=t.keyCode||(t.preventDefault(),window.open(a,"_blank"))}formatListContent(t){const{value:n,isLink:e,url:r}=t;return e?a("a",{role:"button",onKeyPress:t=>this.handleSpaceKeyPress(t,r),href:r,target:"_blank"},n):a("span",null,n)}renderList(t){return t.map((t=>a("li",null,this.formatListContent(t))))}render(){return a("ul",{key:"7ed6a040b79c3ea63fc94c941dcf31b8d220aea5"},this.renderList(JSON.parse(this.listdata)))}};n.style='*:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}ul{overflow:hidden;width:auto;height:auto;padding:0;margin:0 calc(var(--space-unit) * 2);color:var(--color-primary01);font-family:var(--font-family-sans);list-style:none}ul>li{padding-left:10px;text-indent:-10px}ul>li>a{display:block;padding-top:calc(var(--space-unit) * 0.5);color:var(--color-primary01);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);text-decoration:none}ul>li>a::before{padding-right:5px;content:"•"}ul>li>span{padding:0 calc(var(--space-unit) * 2);color:var(--color-surface04);font-size:14px;font-weight:var(--font-rg);letter-spacing:0.16px;line-height:calc(var(--space-unit) * 2.5);text-decoration:none}';export{n as z_myz_card_list}
@@ -1 +1 @@
1
- import{r as t,h as e,d as i}from"./p-ByN2sYu6.js";import{p as r}from"./p-BKCj6NR2.js";import{i as s,g as o,h as n}from"./p-D4yqZKyM.js";import"./p-Q-tWjk7P.js";const a=class{constructor(e){t(this,e),this.currentSlide=0}watchData(){this.parseLinks()}componentWillLoad(){this.parseLinks(),this.setDevice(),window.addEventListener("resize",this.handleResize.bind(this))}componentDidRender(){this.setStyle()}handleResize(){this.setDevice(),this.setStyle()}parseLinks(){var t,e;switch(typeof this.data){case"string":{const i=null!==(t=s(this.data))&&void 0!==t?t:[];if(e=i,!Array.isArray(e)||!e.every((t=>"string"==typeof t)))throw new Error("Passed data is invalid");this.links=i;break}default:this.links=this.data}}setStyle(){const t=this.el.shadowRoot.querySelector("#slides");if(!t)return;const e=this.el.shadowRoot.querySelectorAll(".slide"),i=this.el.offsetWidth;t.style.width=i*this.links.length+"px",t.style.transform=`translate(-${i*this.currentSlide}px)`,e.forEach((t=>{t.querySelector("img").style.width=`${i}px`}))}setDevice(){this.device=o()}setCurrentSlide(t){this.currentSlide=t}getBulletDimension(){switch(this.device){case r.MOBILE:return 24;case r.TABLET:return 32;default:return 40}}renderSlides(t){return e("div",{id:"slides"},t.map(((t,i)=>e("div",{id:"slide"+i,class:`slide ${this.currentSlide!==i&&"hide"}`},e("img",{src:t})))))}renderScroll(t){let i=!1,r=this.currentSlide;return"left"===t?(i=0===this.currentSlide,r--):"right"===t&&(i=this.currentSlide===this.links.length-1,r++),e("z-icon",{class:`scroll ${t} ${i&&"disabled"}`,width:this.getBulletDimension(),height:this.getBulletDimension(),name:`chevron-${t}-circle`,onClick:()=>{i||this.setCurrentSlide(r)},onKeyUp:t=>!i&&n(t,(()=>{this.setCurrentSlide(r)})),tabindex:0,role:"button"})}renderSlideshowMain(){return e("main",null,this.renderScroll("left"),this.renderSlides(this.links),this.renderScroll("right"))}renderBullet(t){return e("a",{class:`bullet ${this.currentSlide===t&&"selected"}`,onClick:()=>this.setCurrentSlide(t),onKeyUp:e=>n(e,(()=>this.setCurrentSlide(t))),tabindex:0,role:"button"})}renderSlideshowFooter(){return e("footer",null,e("div",{class:"footer-left"},e("slot",{name:"footer-left"})),e("div",{class:"footer-center"},e("div",{class:"bullet-container"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footer-right"},e("slot",{name:"footer-right"})))}render(){return this.links&&this.links.length?e("div",{id:this.slideshowid},this.renderSlideshowMain(),this.renderSlideshowFooter()):e("div",null)}get el(){return i(this)}static get watchers(){return{data:[{watchData:0}]}}};a.style=':host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-size-medium) solid var(--color-background);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--gray200);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--gray400)}main z-icon:focus,footer .bullet-container .bullet:focus{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-size-medium) solid var(--color-background);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}';export{a as z_slideshow}
1
+ import{r as t,h as e,d as i}from"./p-fIt9Ytc6.js";import{p as r}from"./p-BKCj6NR2.js";import{j as s,g as o,h as n}from"./p-B0bOjMSb.js";import"./p-Q-tWjk7P.js";const a=class{constructor(e){t(this,e),this.currentSlide=0}watchData(){this.parseLinks()}componentWillLoad(){this.parseLinks(),this.setDevice(),window.addEventListener("resize",this.handleResize.bind(this))}componentDidRender(){this.setStyle()}handleResize(){this.setDevice(),this.setStyle()}parseLinks(){var t,e;switch(typeof this.data){case"string":{const i=null!==(t=s(this.data))&&void 0!==t?t:[];if(e=i,!Array.isArray(e)||!e.every((t=>"string"==typeof t)))throw new Error("Passed data is invalid");this.links=i;break}default:this.links=this.data}}setStyle(){const t=this.el.shadowRoot.querySelector("#slides");if(!t)return;const e=this.el.shadowRoot.querySelectorAll(".slide"),i=this.el.offsetWidth;t.style.width=i*this.links.length+"px",t.style.transform=`translate(-${i*this.currentSlide}px)`,e.forEach((t=>{t.querySelector("img").style.width=`${i}px`}))}setDevice(){this.device=o()}setCurrentSlide(t){this.currentSlide=t}getBulletDimension(){switch(this.device){case r.MOBILE:return 24;case r.TABLET:return 32;default:return 40}}renderSlides(t){return e("div",{id:"slides"},t.map(((t,i)=>e("div",{id:"slide"+i,class:`slide ${this.currentSlide!==i&&"hide"}`},e("img",{src:t})))))}renderScroll(t){let i=!1,r=this.currentSlide;return"left"===t?(i=0===this.currentSlide,r--):"right"===t&&(i=this.currentSlide===this.links.length-1,r++),e("z-icon",{class:`scroll ${t} ${i&&"disabled"}`,width:this.getBulletDimension(),height:this.getBulletDimension(),name:`chevron-${t}-circle`,onClick:()=>{i||this.setCurrentSlide(r)},onKeyUp:t=>!i&&n(t,(()=>{this.setCurrentSlide(r)})),tabindex:0,role:"button"})}renderSlideshowMain(){return e("main",null,this.renderScroll("left"),this.renderSlides(this.links),this.renderScroll("right"))}renderBullet(t){return e("a",{class:`bullet ${this.currentSlide===t&&"selected"}`,onClick:()=>this.setCurrentSlide(t),onKeyUp:e=>n(e,(()=>this.setCurrentSlide(t))),tabindex:0,role:"button"})}renderSlideshowFooter(){return e("footer",null,e("div",{class:"footer-left"},e("slot",{name:"footer-left"})),e("div",{class:"footer-center"},e("div",{class:"bullet-container"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footer-right"},e("slot",{name:"footer-right"})))}render(){return this.links&&this.links.length?e("div",{id:this.slideshowid},this.renderSlideshowMain(),this.renderSlideshowFooter()):e("div",null)}get el(){return i(this)}static get watchers(){return{data:[{watchData:0}]}}};a.style=':host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-size-medium) solid var(--color-background);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--gray200);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--gray400)}main z-icon:focus,footer .bullet-container .bullet:focus{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-size-medium) solid var(--color-background);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}';export{a as z_slideshow}
@@ -0,0 +1 @@
1
+ import{r as a,c as o,h as r,d as i}from"./p-fIt9Ytc6.js";import{e as s,_ as e}from"./p-BKCj6NR2.js";const t=class{constructor(r){a(this,r),this.toggled=o(this,"toggled",7),this.size=s.BIG,this.isDisabled=!1,this.open=!1,this.highlight=!1,this.variant=e.DEFAULT,this.shadow=!0,this.hasSlottedTags=!1}onDisabledChange(){this.isDisabled&&(this.open=!1)}checkSlottedTags(){this.hasSlottedTags=!!this.host.querySelector('[slot="tag"]')}onDetailsToggle(){if(this.isDisabled)return this.open=!1,void(this.detailsElm.open=!1);this.open=this.detailsElm.open,this.toggled.emit(this.open)}componentWillLoad(){this.checkSlottedTags()}render(){return r("details",{key:"677f29eb9a981a8444c6de2966101caa04063bdc",ref:a=>this.detailsElm=a,onToggle:this.onDetailsToggle.bind(this),open:this.open},r("summary",{key:"498a94e2aec123598bcf6b4cd7d755b72726d9e9",tabIndex:this.isDisabled?-1:null,part:"summary"},this.icon&&r("z-icon",{key:"09eec9beaa82d2a2f81de5c0ea2d5ebee856b190",class:"z-accordion-label-icon",name:this.icon}),r("span",{key:"dbf0026bd5a832300e17ec30da2cfaf7946d1c5e",class:"z-accordion-label"},this.label),this.hasSlottedTags&&r("span",{key:"21b3f6c772537d97100d593d5415f7d73bdaeab6",class:"z-accordion-tags"},r("slot",{key:"676b85cf03540aad8a2797073e0376d23816635a",name:"tag",onSlotchange:()=>this.checkSlottedTags()})),r("z-icon",{key:"45341fe9e93b6ceafb938b4345d065d684c40246",class:"z-accordion-chevron",name:this.open?"chevron-up":"chevron-down"})),!this.isDisabled&&r("div",{key:"dea671e91b2ddd6e2666304452cc2b60b7b8fda4",class:"z-accordion-content",part:"content"},r("slot",{key:"382274fc573c359786db1a5cc986b1cc400e2960"})))}get host(){return i(this)}static get watchers(){return{isDisabled:[{onDisabledChange:0}]}}};t.style=':host,:host *,:host ::slotted(*){box-sizing:border-box}:host{--z-accordion-highlight-color:transparent;--z-accordion-bg:var(--color-surface01);--z-accordion-label-color:var(--color-default-text);--z-accordion-disabled-label-color:var(--color-text03);--z-accordion-content-bg:var(--color-surface01);--z-accordion-content-fg:var(--color-default-text);--z-accordion-hover-color:var(--color-surface02);--z-accordion-left-padding:calc(var(--space-unit) * 2);--z-accordion-right-padding:var(--space-unit);--z-accordion-label-font-weight:var(--font-sb);display:block;border-top:var(--border-size-small) solid var(--color-surface03);border-bottom:var(--border-size-small) solid var(--color-surface03);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([variant="background"]){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}:host([variant="background"][shadow]){box-shadow:var(--shadow-2)}details{background-color:transparent}summary{--summary-x-small-height:32px;--summary-small-height:36px;--summary-big-height:44px;--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit);position:relative;display:flex;min-height:var(--summary-height);align-items:center;padding:var(--summary-y-padding) var(--z-accordion-right-padding) var(--summary-y-padding) var(--z-accordion-left-padding);background-color:var(--z-accordion-bg);column-gap:var(--space-unit);cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}:host([size="x-small"]) summary{--summary-height:var(--summary-x-small-height)}:host([size="small"]) summary{--summary-height:var(--summary-small-height)}:host(:is([size="x-small"],[size="small"])) summary{--summary-y-padding:calc(var(--space-unit) / 2)}:host([variant="background"]) summary{padding-right:calc(var(--space-unit) * 2);border-radius:calc(var(--border-radius) - var(--border-size-small))}:host([variant="background"][open]) summary{border-bottom-left-radius:0;border-bottom-right-radius:0}:host([is-disabled]) summary{cursor:default}summary:focus:focus-visible{background-color:var(--z-accordion-hover-color);box-shadow:var(--shadow-focus-primary);outline:none}summary::before,:host([highlight][variant="background"]) .z-accordion-content::before{position:absolute;top:0;left:0;display:block;width:var(--space-unit);height:100%;content:""}:host([highlight][variant="background"]) summary::before{border-top-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight][variant="background"]:not([open])) summary::before,:host([highlight][variant="background"][open]) .z-accordion-content::before{border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small))}:host([highlight]) summary::before,:host([highlight][variant="background"]) .z-accordion-content::before{background-color:var(--z-accordion-highlight-color, transparent)}:host([is-disabled][highlight]) summary::before,:host([is-disabled][highlight][variant="background"]) .z-accordion-content::before{background-color:var(--z-accordion-disabled-label-color)}summary>z-icon{fill:var(--z-accordion-label-color)}:host([is-disabled]) summary>z-icon{fill:var(--z-accordion-disabled-label-color)}.z-accordion-label{color:var(--z-accordion-label-color);font-size:var(--font-size-3);font-weight:var(--z-accordion-label-font-weight)}:host([size="x-small"]) .z-accordion-label{font-size:var(--font-size-2)}:host([size="x-small"]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:16px;--z-icon-height:16px}.z-accordion-tags{display:flex;align-items:center;column-gap:calc(var(--space-unit) / 2)}summary z-icon.z-accordion-chevron{margin-left:auto}.z-accordion-content{position:relative;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);background-color:var(--z-accordion-content-bg);color:var(--z-accordion-content-fg);font-size:var(--font-size-2);}:host(:is([size="x-small"],[size="small"])) .z-accordion-content{padding-bottom:var(--space-unit)}:host([size="x-small"]) .z-accordion-content{font-size:var(--font-size-1)}:host([variant="background"]) .z-accordion-content{padding-right:calc(var(--space-unit) * 2);border-bottom-left-radius:calc(var(--border-radius) - var(--border-size-small));border-bottom-right-radius:calc(var(--border-radius) - var(--border-size-small))}:host([is-disabled]) .z-accordion-label{color:var(--z-accordion-disabled-label-color)}:host([is-disabled]) .z-accordion-tags ::slotted(z-tag[slot="tag"]){--z-tag-bg:var(--z-accordion-disabled-label-color) !important;--z-tag-text-color:var(--color-text-inverse) !important}@media (hover: hover){summary:focus:focus-visible{position:relative;z-index:1}:host(:not([is-disabled])) summary:hover{background-color:var(--z-accordion-hover-color)}:host(:not([is-disabled])) summary:hover .z-accordion-label{text-decoration:underline}}@media (hover: none){:host([size]) summary{--summary-height:var(--summary-big-height);--summary-y-padding:var(--space-unit)}:host([size]) .z-accordion-label{font-size:var(--font-size-3)}:host([size]) .z-accordion-content{font-size:var(--font-size-2)}:host([size]) :is(.z-accordion-label-icon,.z-accordion-chevron){--z-icon-width:18px;--z-icon-height:18px}}';export{t as z_accordion}
@@ -1 +1 @@
1
- import{r as t,c as o,h as e,H as i,d as n}from"./p-ByN2sYu6.js";import{g as a}from"./p-BKCj6NR2.js";const r=class{constructor(e){t(this,e),this.fileDropped=o(this,"fileDropped",7),this.dragging=!1}onDrop(t){t.preventDefault(),this.dragging=!1,t.dataTransfer.files.length&&this.fileDropped.emit(t.dataTransfer.files)}render(){return e(i,{key:"042a22ebd47c1bee49ca08121fa3ef23c99daa97",class:{dragover:this.dragging},onDragOver:t=>{t.preventDefault(),this.dragging=!0},onDragLeave:()=>{this.dragging=!1},onDrop:this.onDrop.bind(this)},e("div",{key:"9f4cb47d47b9976a86f5eedba956aa3cf0939f81",class:"dragover-container"},e("z-button",{key:"fc12e55894affd3273bffa56f1508b0d1d23e92d"},this.dragAndDropLabel)),e("slot",{key:"0f99ee53ef49d5792772b9993bade7d5b46e6c58"}))}};r.style=":host{position:relative;display:flex;width:100%;height:232px;flex-direction:column;align-items:center;padding:calc(var(--space-unit) * 3);background-color:var(--color-surface02);background-image:repeating-linear-gradient( 0deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px ), repeating-linear-gradient( 90deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px ), repeating-linear-gradient( 180deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px ), repeating-linear-gradient( 270deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px );background-position:0 0, 0 0, 100% 0, 0 100%;background-repeat:no-repeat;background-size:2px 100%, 100% 2px, 2px 100%, 100% 2px;border-radius:var(--border-radius-small);color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*{box-sizing:border-box}:host(.dragover) *{pointer-events:none}.dragover-container{position:absolute;z-index:1;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}:host(.dragover) .dragover-container{display:flex;align-items:center;justify-content:center}";var s=window.CustomEvent;function d(t,o){var e="on"+o.type.toLowerCase();return"function"==typeof t[e]&&t[e](o),t.dispatchEvent(o)}function l(t){for(;t;){if("dialog"===t.localName)return t;t=t.parentElement?t.parentElement:t.parentNode?t.parentNode.host:null}return null}function c(t){for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;t&&t.blur&&t!==document.body&&t.blur()}function h(t,o){for(var e=0;e<t.length;++e)if(t[e]===o)return!0;return!1}function u(t){return!(!t||!t.hasAttribute("method"))&&"dialog"===t.getAttribute("method").toLowerCase()}function m(t){var o=["button","input","keygen","select","textarea"].map((function(t){return t+":not([disabled])"}));o.push('[tabindex]:not([disabled]):not([tabindex=""])');var e=t.querySelector(o.join(", "));if(!e&&"attachShadow"in Element.prototype)for(var i=t.querySelectorAll("*"),n=0;n<i.length&&!(i[n].tagName&&i[n].shadowRoot&&(e=m(i[n].shadowRoot)));n++);return e}function f(t){return t.isConnected||document.body.contains(t)}function p(t){if(t.submitter)return t.submitter;var o=t.target;if(!(o instanceof HTMLFormElement))return null;var e=g.formSubmitter;if(!e){var i=t.target;e=("getRootNode"in i&&i.getRootNode()||document).activeElement}return e&&e.form===o?e:null}function b(t){if(!t.defaultPrevented){var o=t.target,e=g.imagemapUseValue,i=p(t);null===e&&i&&(e=i.value);var n=l(o);n&&"dialog"===(i&&i.getAttribute("formmethod")||o.getAttribute("method"))&&(t.preventDefault(),null!=e?n.close(e):n.close())}}function v(t){if(this.dialog_=t,this.replacedStyleTop_=!1,this.openAsModal_=!1,t.hasAttribute("role")||t.setAttribute("role","dialog"),t.show=this.show.bind(this),t.showModal=this.showModal.bind(this),t.close=this.close.bind(this),t.addEventListener("submit",b,!1),"returnValue"in t||(t.returnValue=""),"MutationObserver"in window)new MutationObserver(this.maybeHideModal.bind(this)).observe(t,{attributes:!0,attributeFilter:["open"]});else{var o,e=!1,i=function(){e?this.downgradeModal():this.maybeHideModal(),e=!1}.bind(this),n=function(n){if(n.target===t){e|="DOMNodeRemoved"===n.type.substr(0,14),window.clearTimeout(o),o=window.setTimeout(i,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach((function(o){t.addEventListener(o,n)}))}Object.defineProperty(t,"open",{set:this.setOpen.bind(this),get:t.hasAttribute.bind(t,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}s&&"object"!=typeof s||((s=function(t,o){o=o||{};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!!o.bubbles,!!o.cancelable,o.detail||null),e}).prototype=window.Event.prototype),v.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&f(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),g.dm.removeDialog(this))},setOpen:function(t){t?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(t){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var o=document.createElement("div");this.dialog_.insertBefore(o,this.dialog_.firstChild),o.tabIndex=-1,o.focus(),this.dialog_.removeChild(o)}var e=document.createEvent("MouseEvents");e.initMouseEvent(t.type,t.bubbles,t.cancelable,window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),this.dialog_.dispatchEvent(e),t.stopPropagation()},focus_:function(){var t=this.dialog_.querySelector("[autofocus]:not([disabled])");!t&&this.dialog_.tabIndex>=0&&(t=this.dialog_),t||(t=m(this.dialog_)),c(document.activeElement),t&&t.focus()},updateZIndex:function(t,o){if(t<o)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=t,this.backdrop_.style.zIndex=o},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!f(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!g.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");(function(t){for(;t&&t!==document.body;){var o=window.getComputedStyle(t),e=function(t,e){return!(void 0===o[t]||o[t]===e)};if(o.opacity<1||e("zIndex","auto")||e("transform","none")||e("mixBlendMode","normal")||e("filter","none")||e("perspective","none")||"isolate"===o.isolation||"fixed"===o.position||"touch"===o.webkitOverflowScrolling)return!0;t=t.parentElement}return!1})(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,g.needsCentering(this.dialog_)?(g.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(t){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),void 0!==t&&(this.dialog_.returnValue=t);var o=new s("close",{bubbles:!1,cancelable:!1});d(this.dialog_,o)}};var g={reposition:function(t){var o=document.body.scrollTop||document.documentElement.scrollTop,e=o+(window.innerHeight-t.offsetHeight)/2;t.style.top=Math.max(o,e)+"px"},isInlinePositionSetByStylesheet:function(t){for(var o=0;o<document.styleSheets.length;++o){var e=document.styleSheets[o],i=null;try{i=e.cssRules}catch(t){}if(i)for(var n=0;n<i.length;++n){var a=i[n],r=null;try{r=document.querySelectorAll(a.selectorText)}catch(t){}if(r&&h(r,t)){var s=a.style.getPropertyValue("top"),d=a.style.getPropertyValue("bottom");if(s&&"auto"!==s||d&&"auto"!==d)return!0}}}return!1},needsCentering:function(t){return!("absolute"!==window.getComputedStyle(t).position||"auto"!==t.style.top&&""!==t.style.top||"auto"!==t.style.bottom&&""!==t.style.bottom||g.isInlinePositionSetByStylesheet(t))},forceRegisterDialog:function(t){if((window.HTMLDialogElement||t.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",t),"dialog"!==t.localName)throw new Error("Failed to register dialog: The element is not a dialog.");new v(t)},registerDialog:function(t){t.showModal||g.forceRegisterDialog(t)},DialogManager:function(){this.pendingDialogStack=[];var t=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",function(o){this.forwardTab_=void 0,o.stopPropagation(),t([])}.bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver((function(o){var e=[];o.forEach((function(t){for(var o,i=0;o=t.removedNodes[i];++i)o instanceof Element&&("dialog"===o.localName&&e.push(o),e=e.concat(o.querySelectorAll("dialog")))})),e.length&&t(e)})))}};if(g.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},g.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},g.DialogManager.prototype.updateStacking=function(){for(var t,o=this.zIndexHigh_,e=0;t=this.pendingDialogStack[e];++e)t.updateZIndex(--o,--o),0===e&&(this.overlay.style.zIndex=--o);var i=this.pendingDialogStack[0];i?(i.dialog.parentNode||document.body).appendChild(this.overlay):this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},g.DialogManager.prototype.containedByTopDialog_=function(t){for(;t=l(t);){for(var o,e=0;o=this.pendingDialogStack[e];++e)if(o.dialog===t)return 0===e;t=t.parentElement}return!1},g.DialogManager.prototype.handleFocus_=function(t){var o=t.composedPath?t.composedPath()[0]:t.target;if(!this.containedByTopDialog_(o)&&document.activeElement!==document.documentElement&&(t.preventDefault(),t.stopPropagation(),c(o),void 0!==this.forwardTab_)){var e=this.pendingDialogStack[0];return e.dialog.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?e.focus_():o!==document.documentElement&&document.documentElement.focus()),!1}},g.DialogManager.prototype.handleKey_=function(t){if(this.forwardTab_=void 0,27===t.keyCode){t.preventDefault(),t.stopPropagation();var o=new s("cancel",{bubbles:!1,cancelable:!0}),e=this.pendingDialogStack[0];e&&d(e.dialog,o)&&e.dialog.close()}else 9===t.keyCode&&(this.forwardTab_=!t.shiftKey)},g.DialogManager.prototype.checkDOM_=function(t){this.pendingDialogStack.slice().forEach((function(o){-1!==t.indexOf(o.dialog)?o.downgradeModal():o.maybeHideModal()}))},g.DialogManager.prototype.pushDialog=function(t){return!(this.pendingDialogStack.length>=(this.zIndexHigh_-this.zIndexLow_)/2-1||(1===this.pendingDialogStack.unshift(t)&&this.blockDocument(),this.updateStacking(),0))},g.DialogManager.prototype.removeDialog=function(t){var o=this.pendingDialogStack.indexOf(t);-1!==o&&(this.pendingDialogStack.splice(o,1),0===this.pendingDialogStack.length&&this.unblockDocument(),this.updateStacking())},g.dm=new g.DialogManager,g.formSubmitter=null,g.imagemapUseValue=null,void 0===window.HTMLDialogElement){var w=document.createElement("form");if(w.setAttribute("method","dialog"),"dialog"!==w.method){var y=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(y){var k=y.get;y.get=function(){return u(this)?"dialog":k.call(this)};var x=y.set;y.set=function(t){return"string"==typeof t&&"dialog"===t.toLowerCase()?this.setAttribute("method",t):x.call(this,t)},Object.defineProperty(HTMLFormElement.prototype,"method",y)}}document.addEventListener("click",(function(t){if(g.formSubmitter=null,g.imagemapUseValue=null,!t.defaultPrevented){var o=t.target;if("composedPath"in t&&(o=t.composedPath().shift()||o),o&&u(o.form)){if(!("submit"===o.type&&["button","input"].indexOf(o.localName)>-1)){if("input"!==o.localName||"image"!==o.type)return;g.imagemapUseValue=t.offsetX+","+t.offsetY}l(o)&&(g.formSubmitter=o)}}}),!1),document.addEventListener("submit",(function(t){var o=t.target;if(!l(o)){var e=p(t);"dialog"===(e&&e.getAttribute("formmethod")||o.getAttribute("method"))&&t.preventDefault()}}));var M=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){if(!u(this))return M.call(this);var t=l(this);t&&t.close()}}const z=':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])',C=class{constructor(e){t(this,e),this.modalClose=o(this,"modalClose",7),this.modalHeaderActive=o(this,"modalHeaderActive",7),this.modalBackgroundClick=o(this,"modalBackgroundClick",7),this.closeButtonLabel="chiudi modale",this.alertdialog=!1,this.closable=!0,this.scrollInside=!0,this.lockPageScroll=!0}emitModalClose(){this.closable&&(this.modalClose.emit({modalid:this.modalid}),this.resetPageScroll())}emitModalHeaderActive(){this.modalHeaderActive.emit({modalid:this.modalid})}emitBackgroundClick(){this.closable&&(this.modalBackgroundClick.emit({modalid:this.modalid}),this.resetPageScroll())}resetPageScroll(){this.lockPageScroll&&"hidden"===document.body.style.overflowY&&(document.body.style.overflowY="")}componentDidLoad(){"function"!=typeof window.HTMLDialogElement?(this.dialog.localName||Object.defineProperty(this.dialog,"localName",{value:"dialog"}),g.registerDialog(this.dialog),this.dialog.setAttribute("open","true")):this.open(),this.lockPageScroll&&requestAnimationFrame((()=>document.body.style.overflowY="hidden"))}disconnectedCallback(){this.resetPageScroll()}async open(){var t;null===(t=this.dialog)||void 0===t||t.showModal(),this.lockPageScroll&&(document.body.style.overflowY="hidden")}async close(){var t;this.closable&&(null===(t=this.dialog)||void 0===t||t.close(),this.resetPageScroll())}get focusableElements(){return[...Array.from(this.host.shadowRoot.querySelectorAll(z)),...Array.from(this.host.querySelectorAll(z))].filter((t=>"none"!==getComputedStyle(t).display))}handleKeyDown(t){if(t.code!==a.ESC||this.closable||t.preventDefault(),t.code!==a.TAB)return;const o=this.focusableElements,e=this.host.shadowRoot.activeElement,i=this.host.ownerDocument.activeElement,n=o[0],r=o[o.length-1];!t.shiftKey||e!=n&&i!=n?t.shiftKey||e!=r&&i!=r||(t.preventDefault(),n.focus()):(t.preventDefault(),r.focus())}closeButtonSlot(){if(this.closable)return e("slot",{name:"modalCloseButton"},e("button",{"aria-label":this.closeButtonLabel,onClick:()=>this.close()},e("z-icon",{name:"multiply-circle-filled"})))}handleEscape(t){this.closable||t.preventDefault()}render(){return e("dialog",{key:"d958597dcd030d9d837aa27e3d951e58c76d1872",class:{"modal-dialog":!this.scrollInside},"aria-labelledby":"modal-title","aria-describedby":"modal-content",role:this.alertdialog?"alertdialog":void 0,ref:t=>this.dialog=t,onClose:()=>this.emitModalClose(),onCancel:t=>this.handleEscape(t)},e("div",{key:"f2d88dcae992749e9b26053f58b133ea11f42345",class:{"modal-container":!0,"modal-container-scroll-inside":this.scrollInside,"modal-container-scroll-outside":!this.scrollInside},id:this.modalid},e("header",{key:"aee9e10e48814e98b334234742b8d9fddc8bd5b4",onClick:this.emitModalHeaderActive.bind(this)},e("div",{key:"8f8cb63de53e06aba8c24aa775e7462d5c982cab"},this.modaltitle&&e("h1",{key:"7665e53dbf1c7ba2eb9bedc0df36e3b959407f36",id:"modal-title"},this.modaltitle),this.closeButtonSlot()),this.modalsubtitle&&e("div",{key:"d069b4cd21e388262db4734e5f19b27b14381d98",class:"subtitle",id:"modal-subtitle"},this.modalsubtitle)),e("div",{key:"b7e149a290a5261aaecd47ddc1d53498c182c5dd",class:{"modal-content-scroll-inside":this.scrollInside,"modal-content-scroll-outside":!this.scrollInside},id:"modal-content"},e("slot",{key:"3b5126b69ec95efe151a424edc24111978a22a5d",name:"modalContent"}))),e("div",{key:"cd760b0fdb273c8b2166c05834127955c12c6556",class:{"modal-background":!0,"modal-background-scroll-outside":!this.scrollInside},"data-action":"modalBackground","data-modal":this.modalid,onClick:()=>{this.emitBackgroundClick(),this.close()}}))}get host(){return n(this)}};C.style=':host{font-family:var(--font-family-sans);font-weight:var(--font-rg);}:host>dialog{padding:0;border:none;margin:0;background-color:transparent}:host>dialog:modal{width:100%;max-width:100%;max-height:100%}:host>dialog::backdrop{display:none}:host>dialog+.backdrop{display:none}:host>dialog:not([open]){display:none}:host>dialog[open]{display:block}::slotted([slot="modalContent"]){padding:var(--z-modal-content-padding, calc(var(--space-unit) * 2))}.modal-container{z-index:1010;display:flex;overflow:-moz-scrollbars-none;width:100%;height:100vh;flex-direction:column}.modal-container>.modal-content-scroll-outside{overflow:auto;background:var(--color-surface01)}.modal-container>header{padding:calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 2);background:var(--color-background)}.modal-container>header button{padding:0;border:none;margin:0;margin-left:auto;background:transparent;cursor:pointer}.modal-container>header button:focus-visible{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}.modal-container>header button::after{position:absolute;top:6px;right:4px;display:block;width:40px;height:40px;background-color:transparent;content:""}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.25);--z-icon-height:calc(var(--space-unit) * 2.25);display:flex;fill:var(--color-primary01-icon)}.modal-container>header>div{display:flex;width:100%;align-items:baseline;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header .subtitle{padding:0;margin:0;color:var(--color-default-text);font-weight:var(--font-sb)}.modal-container>header h1{font-size:var(--font-size-5);letter-spacing:0;line-height:1.4}.modal-container>header .subtitle{font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}.modal-container>header>div>h1 *:empty{display:none}.modal-container>header h1+.subtitle{margin-top:calc(var(--space-unit) * 0.5)}.modal-container-scroll-inside>.modal-content-scroll-inside{overflow:hidden auto;flex:1 auto;background:var(--color-surface01)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar{width:6px;background:linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar-thumb,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar-thumb{background-color:var(--color-primary01)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar-thumb:hover,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}@supports not selector(::-webkit-scrollbar-track){.modal-container-scroll-inside .modal-content-scroll-inside,.modal-container-scroll-outside .modal-content-scroll-outside{scrollbar-color:var(--color-primary01) transparent}}@media only screen and (min-width: 768px){.modal-background{position:fixed;top:0;left:0;overflow:hidden;width:100vw;height:100vh;background-color:var(--gray900);opacity:0.7}.modal-background.modal-background-scroll-outside{position:sticky}.modal-container-scroll-inside{position:fixed;top:calc(var(--space-unit) * 6);left:50%;overflow:hidden;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius);transform:translateX(-50%)}.modal-container-scroll-outside{position:absolute;top:calc(var(--space-unit) * 6);left:50%;display:block;overflow:initial;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));transform:translateX(-50%)}.modal-container>.modal-content-scroll-outside{overflow:initial}.modal-container-scroll-outside>header,.modal-container-scroll-inside>header{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.modal-container-scroll-outside::after{display:block;height:calc(var(--space-unit) * 6);content:" "}.modal-dialog{position:fixed;top:0;left:0;height:auto;overflow-x:hidden;overflow-y:auto}.modal-content-scroll-outside{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.modal-dialog::-webkit-scrollbar{display:none}}@media (min-width: 1152px){.modal-container>header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:calc(var(--space-unit) * 1.5)}.modal-container>header h1{font-size:var(--font-size-6);font-weight:var(--font-sb);letter-spacing:0;line-height:1.333}.modal-container>header .subtitle{font-size:var(--font-size-4);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}.modal-container>header h1+.subtitle{margin-top:0}}';export{r as z_dragdrop_area,C as z_modal}
1
+ import{r as t,c as o,h as e,H as i,d as n}from"./p-fIt9Ytc6.js";import{g as a}from"./p-BKCj6NR2.js";const r=class{constructor(e){t(this,e),this.fileDropped=o(this,"fileDropped",7),this.dragging=!1}onDrop(t){t.preventDefault(),this.dragging=!1,t.dataTransfer.files.length&&this.fileDropped.emit(t.dataTransfer.files)}render(){return e(i,{key:"ec92afc8d6998ac3595b4c84121cc80204367bbb",class:{dragover:this.dragging},onDragOver:t=>{t.preventDefault(),this.dragging=!0},onDragLeave:()=>{this.dragging=!1},onDrop:this.onDrop.bind(this)},e("div",{key:"6008c32e681b7c8f9f1063bba50c6106e12599de",class:"dragover-container"},e("z-button",{key:"ea4bfd5b7ee6d05241f5efb18844cd8beb10dde2"},this.dragAndDropLabel)),e("slot",{key:"95aa7512bbbd0efcea3c3dbafecc4b33a1d24f87"}))}};r.style=":host{position:relative;display:flex;width:100%;height:232px;flex-direction:column;align-items:center;padding:calc(var(--space-unit) * 3);background-color:var(--color-surface02);background-image:repeating-linear-gradient( 0deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px ), repeating-linear-gradient( 90deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px ), repeating-linear-gradient( 180deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px ), repeating-linear-gradient( 270deg, var(--color-surface03), var(--color-surface03) 12px, transparent 12px, transparent 20px );background-position:0 0, 0 0, 100% 0, 0 100%;background-repeat:no-repeat;background-size:2px 100%, 100% 2px, 2px 100%, 100% 2px;border-radius:var(--border-radius-small);color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*{box-sizing:border-box}:host(.dragover) *{pointer-events:none}.dragover-container{position:absolute;z-index:1;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}:host(.dragover) .dragover-container{display:flex;align-items:center;justify-content:center}";var s=window.CustomEvent;function d(t,o){var e="on"+o.type.toLowerCase();return"function"==typeof t[e]&&t[e](o),t.dispatchEvent(o)}function l(t){for(;t;){if("dialog"===t.localName)return t;t=t.parentElement?t.parentElement:t.parentNode?t.parentNode.host:null}return null}function c(t){for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;t&&t.blur&&t!==document.body&&t.blur()}function h(t,o){for(var e=0;e<t.length;++e)if(t[e]===o)return!0;return!1}function u(t){return!(!t||!t.hasAttribute("method"))&&"dialog"===t.getAttribute("method").toLowerCase()}function f(t){var o=["button","input","keygen","select","textarea"].map((function(t){return t+":not([disabled])"}));o.push('[tabindex]:not([disabled]):not([tabindex=""])');var e=t.querySelector(o.join(", "));if(!e&&"attachShadow"in Element.prototype)for(var i=t.querySelectorAll("*"),n=0;n<i.length&&!(i[n].tagName&&i[n].shadowRoot&&(e=f(i[n].shadowRoot)));n++);return e}function m(t){return t.isConnected||document.body.contains(t)}function p(t){if(t.submitter)return t.submitter;var o=t.target;if(!(o instanceof HTMLFormElement))return null;var e=g.formSubmitter;if(!e){var i=t.target;e=("getRootNode"in i&&i.getRootNode()||document).activeElement}return e&&e.form===o?e:null}function b(t){if(!t.defaultPrevented){var o=t.target,e=g.imagemapUseValue,i=p(t);null===e&&i&&(e=i.value);var n=l(o);n&&"dialog"===(i&&i.getAttribute("formmethod")||o.getAttribute("method"))&&(t.preventDefault(),null!=e?n.close(e):n.close())}}function v(t){if(this.dialog_=t,this.replacedStyleTop_=!1,this.openAsModal_=!1,t.hasAttribute("role")||t.setAttribute("role","dialog"),t.show=this.show.bind(this),t.showModal=this.showModal.bind(this),t.close=this.close.bind(this),t.addEventListener("submit",b,!1),"returnValue"in t||(t.returnValue=""),"MutationObserver"in window)new MutationObserver(this.maybeHideModal.bind(this)).observe(t,{attributes:!0,attributeFilter:["open"]});else{var o,e=!1,i=function(){e?this.downgradeModal():this.maybeHideModal(),e=!1}.bind(this),n=function(n){if(n.target===t){e|="DOMNodeRemoved"===n.type.substr(0,14),window.clearTimeout(o),o=window.setTimeout(i,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach((function(o){t.addEventListener(o,n)}))}Object.defineProperty(t,"open",{set:this.setOpen.bind(this),get:t.hasAttribute.bind(t,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}s&&"object"!=typeof s||((s=function(t,o){o=o||{};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!!o.bubbles,!!o.cancelable,o.detail||null),e}).prototype=window.Event.prototype),v.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&m(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),g.dm.removeDialog(this))},setOpen:function(t){t?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(t){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var o=document.createElement("div");this.dialog_.insertBefore(o,this.dialog_.firstChild),o.tabIndex=-1,o.focus(),this.dialog_.removeChild(o)}var e=document.createEvent("MouseEvents");e.initMouseEvent(t.type,t.bubbles,t.cancelable,window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),this.dialog_.dispatchEvent(e),t.stopPropagation()},focus_:function(){var t=this.dialog_.querySelector("[autofocus]:not([disabled])");!t&&this.dialog_.tabIndex>=0&&(t=this.dialog_),t||(t=f(this.dialog_)),c(document.activeElement),t&&t.focus()},updateZIndex:function(t,o){if(t<o)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=t,this.backdrop_.style.zIndex=o},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!m(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!g.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");(function(t){for(;t&&t!==document.body;){var o=window.getComputedStyle(t),e=function(t,e){return!(void 0===o[t]||o[t]===e)};if(o.opacity<1||e("zIndex","auto")||e("transform","none")||e("mixBlendMode","normal")||e("filter","none")||e("perspective","none")||"isolate"===o.isolation||"fixed"===o.position||"touch"===o.webkitOverflowScrolling)return!0;t=t.parentElement}return!1})(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,g.needsCentering(this.dialog_)?(g.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(t){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),void 0!==t&&(this.dialog_.returnValue=t);var o=new s("close",{bubbles:!1,cancelable:!1});d(this.dialog_,o)}};var g={reposition:function(t){var o=document.body.scrollTop||document.documentElement.scrollTop,e=o+(window.innerHeight-t.offsetHeight)/2;t.style.top=Math.max(o,e)+"px"},isInlinePositionSetByStylesheet:function(t){for(var o=0;o<document.styleSheets.length;++o){var e=document.styleSheets[o],i=null;try{i=e.cssRules}catch(t){}if(i)for(var n=0;n<i.length;++n){var a=i[n],r=null;try{r=document.querySelectorAll(a.selectorText)}catch(t){}if(r&&h(r,t)){var s=a.style.getPropertyValue("top"),d=a.style.getPropertyValue("bottom");if(s&&"auto"!==s||d&&"auto"!==d)return!0}}}return!1},needsCentering:function(t){return!("absolute"!==window.getComputedStyle(t).position||"auto"!==t.style.top&&""!==t.style.top||"auto"!==t.style.bottom&&""!==t.style.bottom||g.isInlinePositionSetByStylesheet(t))},forceRegisterDialog:function(t){if((window.HTMLDialogElement||t.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",t),"dialog"!==t.localName)throw new Error("Failed to register dialog: The element is not a dialog.");new v(t)},registerDialog:function(t){t.showModal||g.forceRegisterDialog(t)},DialogManager:function(){this.pendingDialogStack=[];var t=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",function(o){this.forwardTab_=void 0,o.stopPropagation(),t([])}.bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver((function(o){var e=[];o.forEach((function(t){for(var o,i=0;o=t.removedNodes[i];++i)o instanceof Element&&("dialog"===o.localName&&e.push(o),e=e.concat(o.querySelectorAll("dialog")))})),e.length&&t(e)})))}};if(g.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},g.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},g.DialogManager.prototype.updateStacking=function(){for(var t,o=this.zIndexHigh_,e=0;t=this.pendingDialogStack[e];++e)t.updateZIndex(--o,--o),0===e&&(this.overlay.style.zIndex=--o);var i=this.pendingDialogStack[0];i?(i.dialog.parentNode||document.body).appendChild(this.overlay):this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},g.DialogManager.prototype.containedByTopDialog_=function(t){for(;t=l(t);){for(var o,e=0;o=this.pendingDialogStack[e];++e)if(o.dialog===t)return 0===e;t=t.parentElement}return!1},g.DialogManager.prototype.handleFocus_=function(t){var o=t.composedPath?t.composedPath()[0]:t.target;if(!this.containedByTopDialog_(o)&&document.activeElement!==document.documentElement&&(t.preventDefault(),t.stopPropagation(),c(o),void 0!==this.forwardTab_)){var e=this.pendingDialogStack[0];return e.dialog.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?e.focus_():o!==document.documentElement&&document.documentElement.focus()),!1}},g.DialogManager.prototype.handleKey_=function(t){if(this.forwardTab_=void 0,27===t.keyCode){t.preventDefault(),t.stopPropagation();var o=new s("cancel",{bubbles:!1,cancelable:!0}),e=this.pendingDialogStack[0];e&&d(e.dialog,o)&&e.dialog.close()}else 9===t.keyCode&&(this.forwardTab_=!t.shiftKey)},g.DialogManager.prototype.checkDOM_=function(t){this.pendingDialogStack.slice().forEach((function(o){-1!==t.indexOf(o.dialog)?o.downgradeModal():o.maybeHideModal()}))},g.DialogManager.prototype.pushDialog=function(t){return!(this.pendingDialogStack.length>=(this.zIndexHigh_-this.zIndexLow_)/2-1||(1===this.pendingDialogStack.unshift(t)&&this.blockDocument(),this.updateStacking(),0))},g.DialogManager.prototype.removeDialog=function(t){var o=this.pendingDialogStack.indexOf(t);-1!==o&&(this.pendingDialogStack.splice(o,1),0===this.pendingDialogStack.length&&this.unblockDocument(),this.updateStacking())},g.dm=new g.DialogManager,g.formSubmitter=null,g.imagemapUseValue=null,void 0===window.HTMLDialogElement){var w=document.createElement("form");if(w.setAttribute("method","dialog"),"dialog"!==w.method){var y=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(y){var k=y.get;y.get=function(){return u(this)?"dialog":k.call(this)};var x=y.set;y.set=function(t){return"string"==typeof t&&"dialog"===t.toLowerCase()?this.setAttribute("method",t):x.call(this,t)},Object.defineProperty(HTMLFormElement.prototype,"method",y)}}document.addEventListener("click",(function(t){if(g.formSubmitter=null,g.imagemapUseValue=null,!t.defaultPrevented){var o=t.target;if("composedPath"in t&&(o=t.composedPath().shift()||o),o&&u(o.form)){if(!("submit"===o.type&&["button","input"].indexOf(o.localName)>-1)){if("input"!==o.localName||"image"!==o.type)return;g.imagemapUseValue=t.offsetX+","+t.offsetY}l(o)&&(g.formSubmitter=o)}}}),!1),document.addEventListener("submit",(function(t){var o=t.target;if(!l(o)){var e=p(t);"dialog"===(e&&e.getAttribute("formmethod")||o.getAttribute("method"))&&t.preventDefault()}}));var M=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){if(!u(this))return M.call(this);var t=l(this);t&&t.close()}}const z=':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])',C=class{constructor(e){t(this,e),this.modalClose=o(this,"modalClose",7),this.modalHeaderActive=o(this,"modalHeaderActive",7),this.modalBackgroundClick=o(this,"modalBackgroundClick",7),this.closeButtonLabel="chiudi modale",this.alertdialog=!1,this.closable=!0,this.scrollInside=!0,this.lockPageScroll=!0}emitModalClose(){this.closable&&(this.modalClose.emit({modalid:this.modalid}),this.resetPageScroll())}emitModalHeaderActive(){this.modalHeaderActive.emit({modalid:this.modalid})}emitBackgroundClick(){this.closable&&(this.modalBackgroundClick.emit({modalid:this.modalid}),this.resetPageScroll())}resetPageScroll(){this.lockPageScroll&&"hidden"===document.body.style.overflowY&&(document.body.style.overflowY="")}componentDidLoad(){"function"!=typeof window.HTMLDialogElement?(this.dialog.localName||Object.defineProperty(this.dialog,"localName",{value:"dialog"}),g.registerDialog(this.dialog),this.dialog.setAttribute("open","true")):this.open(),this.lockPageScroll&&requestAnimationFrame((()=>document.body.style.overflowY="hidden"))}disconnectedCallback(){this.resetPageScroll()}async open(){var t;null===(t=this.dialog)||void 0===t||t.showModal(),this.lockPageScroll&&(document.body.style.overflowY="hidden")}async close(){var t;this.closable&&(null===(t=this.dialog)||void 0===t||t.close(),this.resetPageScroll())}get focusableElements(){return[...Array.from(this.host.shadowRoot.querySelectorAll(z)),...Array.from(this.host.querySelectorAll(z))].filter((t=>"none"!==getComputedStyle(t).display))}handleKeyDown(t){if(t.code!==a.ESC||this.closable||t.preventDefault(),t.code!==a.TAB)return;const o=this.focusableElements,e=this.host.shadowRoot.activeElement,i=this.host.ownerDocument.activeElement,n=o[0],r=o[o.length-1];!t.shiftKey||e!=n&&i!=n?t.shiftKey||e!=r&&i!=r||(t.preventDefault(),n.focus()):(t.preventDefault(),r.focus())}closeButtonSlot(){if(this.closable)return e("slot",{name:"modalCloseButton"},e("button",{"aria-label":this.closeButtonLabel,onClick:()=>this.close()},e("z-icon",{name:"multiply-circle-filled"})))}handleEscape(t){this.closable||t.preventDefault()}render(){return e("dialog",{key:"c8938b5d9ecc14fb3ae700a3bef42a04b59895ea",class:{"modal-dialog":!this.scrollInside},"aria-labelledby":"modal-title","aria-describedby":"modal-content",role:this.alertdialog?"alertdialog":void 0,ref:t=>this.dialog=t,onClose:()=>this.emitModalClose(),onCancel:t=>this.handleEscape(t)},e("div",{key:"c03a7d75c3c59acae41e773c4fac21e2260c96bf",class:{"modal-container":!0,"modal-container-scroll-inside":this.scrollInside,"modal-container-scroll-outside":!this.scrollInside},id:this.modalid},e("header",{key:"88b3d6d4e6c42c1a130d1f261708a4d8c406f864",onClick:this.emitModalHeaderActive.bind(this)},e("div",{key:"5ada26490c0add2ab35ec21c3735b09f936fa8f3"},this.modaltitle&&e("h1",{key:"dbcd5e67d7e607331cf3c894ee39716557e1dc49",id:"modal-title"},this.modaltitle),this.closeButtonSlot()),this.modalsubtitle&&e("div",{key:"a4f5a11637ad4a69d330e76756e8ffb23977fc06",class:"subtitle",id:"modal-subtitle"},this.modalsubtitle)),e("div",{key:"6745960e3305396d9fbf56388fa667f313d28e2e",class:{"modal-content-scroll-inside":this.scrollInside,"modal-content-scroll-outside":!this.scrollInside},id:"modal-content"},e("slot",{key:"1ac1b1a9bbe9f4d20b7fd56a4c91e64985d5cdce",name:"modalContent"}))),e("div",{key:"2b39f911393227c6e92c49e70ebd9710fb39084d",class:{"modal-background":!0,"modal-background-scroll-outside":!this.scrollInside},"data-action":"modalBackground","data-modal":this.modalid,onClick:()=>{this.emitBackgroundClick(),this.close()}}))}get host(){return n(this)}};C.style=':host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>dialog{padding:0;border:none;margin:0;background-color:transparent}:host>dialog:modal{width:100%;max-width:100%;max-height:100%}:host>dialog::backdrop{display:none}:host>dialog+.backdrop{display:none}:host>dialog:not([open]){display:none}:host>dialog[open]{display:block}::slotted([slot="modalContent"]){padding:var(--z-modal-content-padding, calc(var(--space-unit) * 2))}.modal-container{z-index:1010;display:flex;overflow:-moz-scrollbars-none;width:100%;height:100vh;flex-direction:column}.modal-container>.modal-content-scroll-outside{overflow:auto;background:var(--color-surface01)}.modal-container>header{padding:calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 2);background:var(--color-background)}.modal-container>header button{padding:0;border:none;margin:0;margin-left:auto;background:transparent;cursor:pointer}.modal-container>header button:focus-visible{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none !important}.modal-container>header button::after{position:absolute;top:6px;right:4px;display:block;width:40px;height:40px;background-color:transparent;content:""}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.25);--z-icon-height:calc(var(--space-unit) * 2.25);display:flex;fill:var(--color-primary01-icon)}.modal-container>header>div{display:flex;width:100%;align-items:baseline;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header .subtitle{padding:0;margin:0;color:var(--color-default-text);font-weight:var(--font-sb)}.modal-container>header h1{font-size:var(--font-size-5);letter-spacing:0;line-height:1.4}.modal-container>header .subtitle{font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}.modal-container>header>div>h1 *:empty{display:none}.modal-container>header h1+.subtitle{margin-top:calc(var(--space-unit) * 0.5)}.modal-container-scroll-inside>.modal-content-scroll-inside{overflow:hidden auto;flex:1 auto;background:var(--color-surface01)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar{width:6px;background:linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar-thumb,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar-thumb{background-color:var(--color-primary01)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar-thumb:hover,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}@supports not selector(::-webkit-scrollbar-track){.modal-container-scroll-inside .modal-content-scroll-inside,.modal-container-scroll-outside .modal-content-scroll-outside{scrollbar-color:var(--color-primary01) transparent}}@media only screen and (min-width: 768px){.modal-background{position:fixed;top:0;left:0;overflow:hidden;width:100vw;height:100vh;background-color:var(--gray900);opacity:0.7}.modal-background.modal-background-scroll-outside{position:sticky}.modal-container-scroll-inside{position:fixed;top:calc(var(--space-unit) * 6);left:50%;overflow:hidden;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius);transform:translateX(-50%)}.modal-container-scroll-outside{position:absolute;top:calc(var(--space-unit) * 6);left:50%;display:block;overflow:initial;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));transform:translateX(-50%)}.modal-container>.modal-content-scroll-outside{overflow:initial}.modal-container-scroll-outside>header,.modal-container-scroll-inside>header{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.modal-container-scroll-outside::after{display:block;height:calc(var(--space-unit) * 6);content:" "}.modal-dialog{position:fixed;top:0;left:0;height:auto;overflow-x:hidden;overflow-y:auto}.modal-content-scroll-outside{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.modal-dialog::-webkit-scrollbar{display:none}}@media (min-width: 1152px){.modal-container>header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:calc(var(--space-unit) * 1.5)}.modal-container>header h1{font-size:var(--font-size-6);font-weight:var(--font-sb);letter-spacing:0;line-height:1.333}.modal-container>header .subtitle{font-size:var(--font-size-4);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}.modal-container>header h1+.subtitle{margin-top:0}}';export{r as z_dragdrop_area,C as z_modal}