@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
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,H as n,d as o}from"./p-fIt9Ytc6.js";import{Q as s,R as a,B as r}from"./p-BKCj6NR2.js";const l=class{constructor(i){t(this,i),this.indexChange=e(this,"indexChange",7),this.single=!1,this.fixedArrows=!0,this.ghostLoadingHeight=100,this.infinite=!1,this.current=0,this.scrollingTo=null}onIndexChange(){this.indexChange.emit({currentItem:this.current})}onSingleModeChange(){this.single&&!this.intersectionObserver&&this.setIntersectionObserver()}onInfiniteModeChange(){this.checkNavigationValidity()}onLoadingChange(){this.isLoading||this.setupObserversAndListeners()}setupObserversAndListeners(){var t;this.setupItems(),null===(t=this.itemsContainer)||void 0===t||t.addEventListener("scroll",this.checkNavigationValidity.bind(this),{passive:!0}),this.resizeObserver=new ResizeObserver(this.checkNavigationValidity.bind(this)),this.resizeObserver.observe(this.itemsContainer),this.single&&this.setIntersectionObserver(),this.checkNavigationValidity()}setIntersectionObserver(){this.intersectionObserver=new IntersectionObserver((t=>{const e=t.find((({isIntersecting:t})=>t));if(!e)return;const i=this.items.findIndex((t=>t===e.target));this.highlightedIndicator=i,null!==this.scrollingTo&&i!==this.scrollingTo||(this.scrollingTo=null,this.current=i)}),{root:this.itemsContainer,threshold:.5}),this.items.forEach((t=>this.intersectionObserver.observe(t)))}onSlotChange(){this.items=Array.from(this.host.children),this.checkNavigationValidity(),this.setIntersectionObserver(),this.goTo(this.current)}onPrev(){this.single?this.goTo(this.infinite&&this.current-1<0?this.items.length-1:Math.max(0,this.current-1)):this.itemsContainer.scrollBy({left:this.infinite&&0==this.itemsContainer.scrollLeft?this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth:-this.itemsContainer.clientWidth/2,behavior:"smooth"})}onNext(){if(this.single){const t=this.infinite&&this.current+1>this.items.length-1?0:Math.min(this.current+1,this.items.length-1);return this.goTo(t)}this.itemsContainer.scrollBy({left:this.infinite&&this.itemsContainer.scrollLeft==this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth?-this.itemsContainer.scrollWidth:this.itemsContainer.clientWidth/2,behavior:"smooth"})}checkNavigationValidity(){if(this.single)return this.canNavigatePrev=this.current>0,void(this.canNavigateNext=this.current<this.items.length-1);this.canNavigatePrev=this.itemsContainer.scrollLeft>0,this.canNavigateNext=this.itemsContainer.scrollLeft<this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth}canShowFooter(){return!(!this.canNavigatePrev&&!this.canNavigateNext||this.arrowsPosition!==s.BOTTOM&&this.progressMode!==a.DOTS&&this.progressMode!==a.NUMBERS)}goTo(t){if(this.current===t)return;this.scrollingTo=t;const e=this.items.slice(0,t).reduce(((t,e)=>t+e.clientWidth),0);this.itemsContainer.scroll({left:e,behavior:"smooth"})}get canNavigate(){return this.canNavigatePrev||this.canNavigateNext}setupItems(){this.items=Array.from(this.host.children),this.items.forEach((t=>{t.setAttribute("aria-roledescription","slide")}))}componentDidLoad(){this.isLoading||this.setupObserversAndListeners()}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){return this.isLoading?i("div",{class:"z-carousel-container"},this.label&&i("div",{class:"heading-3-sb z-carousel-title"},this.label),i("div",{style:{height:`${this.ghostLoadingHeight}px`}},i("z-ghost-loading",null))):i(n,null,i("div",{class:"z-carousel-container","aria-roledescription":"carousel","aria-label":this.label||"Carousel"},this.label&&i("div",{class:"z-carousel-title heading-3-sb"},this.label),i("div",{class:"z-carousel-wrapper"},i("z-button",{class:"z-carousel-navigation-arrow",variant:r.SECONDARY,"data-direction":"prev",icon:"arrow-left",onClick:this.onPrev.bind(this),disabled:!this.infinite&&!this.canNavigatePrev,hidden:this.arrowsPosition!==s.OVER||!this.canNavigate,ariaLabel:this.single?"Mostra l'elemento precedente":"Mostra gli elementi precedenti"}),i("ul",{class:"z-carousel-items-container","aria-atomic":"false","aria-live":"polite",ref:t=>this.itemsContainer=t},i("slot",{onSlotchange:this.onSlotChange.bind(this)})),i("z-button",{class:"z-carousel-navigation-arrow",variant:r.SECONDARY,"data-direction":"next",icon:"arrow-right",onClick:this.onNext.bind(this),disabled:!this.infinite&&!this.canNavigateNext,hidden:this.arrowsPosition!==s.OVER||!this.canNavigate,ariaLabel:this.single?"Mostra l'elemento successivo":"Mostra gli elementi successivi"}))),this.canShowFooter()&&i("div",{class:"z-carousel-footer"},this.arrowsPosition===s.BOTTOM&&i("z-button",{class:"z-carousel-navigation-arrow",variant:r.TERTIARY,icon:"arrow-left",onClick:this.onPrev.bind(this),disabled:!this.infinite&&!this.canNavigatePrev,ariaLabel:this.single?"Mostra l'elemento precedente":"Mostra gli elementi precedenti"}),this.progressMode===a.DOTS&&this.single&&this.items&&i("div",{class:"dots-progress"},this.items.map(((t,e)=>i("button",{type:"button",class:{current:this.highlightedIndicator===e},"aria-label":this.highlightedIndicator===e?"Elemento corrente":`Spostati all'elemento ${e+1}`,onClick:()=>this.goTo(e)})))),this.progressMode===a.NUMBERS&&this.single&&this.items&&i("div",{class:"numbers-progress interactive-1"},i("span",{class:"current"},this.current+1),i("span",null,"di"),i("span",null,this.items.length)),this.arrowsPosition===s.BOTTOM&&i("z-button",{class:"z-carousel-navigation-arrow",variant:r.TERTIARY,icon:"arrow-right",onClick:this.onNext.bind(this),disabled:!this.infinite&&!this.canNavigateNext,ariaLabel:this.single?"Mostra l'elemento successivo":"Mostra gli elementi successivi"})))}get host(){return o(this)}static get watchers(){return{current:[{onIndexChange:0}],single:[{onSingleModeChange:0}],infinite:[{onInfiniteModeChange:0}],isLoading:[{onLoadingChange:0}]}}};l.style=':host{--z-carousel-gutter:0;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host([single]){display:flex;flex-direction:column;align-items:center;justify-content:center}:host([single]) .z-carousel-container{width:fit-content;max-width:100%}.z-carousel-container{display:flex;flex-direction:column}.z-carousel-title{margin-bottom:calc(var(--space-unit) * 2)}.z-carousel-wrapper{position:relative}.z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;box-shadow:var(--z-carousel-items-shadow, none);column-gap:var(--z-carousel-gutter);list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container ::slotted(*){scroll-snap-align:center}.z-carousel-navigation-arrow[hidden]{display:none}.z-carousel-navigation-arrow[data-direction]{position:absolute;z-index:1;bottom:50%;transform:translateY(50%)}.z-carousel-navigation-arrow[data-direction="next"]{right:0}:host(:not([fixed-arrows])) .z-carousel-wrapper .z-carousel-navigation-arrow{display:none}.z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;column-gap:calc(var(--space-unit) * 3)}:host([arrows-position="bottom"]) .z-carousel-footer{margin-top:calc(var(--space-unit) * 0.75)}.z-carousel-footer .numbers-progress,.z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}.z-carousel-footer .dots-progress{column-gap:calc(var(--space-unit) * 3)}:host(:not([arrows-position="bottom"])) .z-carousel-footer .dots-progress{margin-top:calc(var(--space-unit) * 2)}.z-carousel-footer .dots-progress button{display:flex;width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);align-items:center;padding:0;border:none;margin:0;background-color:var(--color-surface03);border-radius:calc(var(--space-unit) * 3)}.z-carousel-footer .dots-progress button.current{background-color:var(--color-primary01)}.z-carousel-footer .dots-progress button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-carousel-footer .dots-progress button:not(.current){cursor:pointer}.z-carousel-footer .numbers-progress{column-gap:calc(var(--space-unit) / 2)}:host(:not([arrows-position="bottom"])) .z-carousel-footer .numbers-progress{margin-top:var(--space-unit)}.z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}@media (min-width: 768px){:host(:not([fixed-arrows])) .z-carousel-wrapper:hover .z-carousel-navigation-arrow:not([hidden]){display:flex}}:root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}';export{l as z_carousel}
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,H as r,d as i}from"./p-ByN2sYu6.js";import{P as s,g as n,p as a}from"./p-BKCj6NR2.js";import{a as h,j as c,k as p,g as f,l as u}from"./p-D4yqZKyM.js";import"./p-Q-tWjk7P.js";const l=class{constructor(o){t(this,o),this.positionChange=e(this,"positionChange",7),this.openChange=e(this,"openChange",7),this.position=s.TOP,this.open=!1,this.showArrow=!1,this.center=!1,this.closable=!0,this.spaceTolerance=3}closePopoverWithKeyboard(t){this.closable&&t.key===n.ESC&&(t.stopPropagation(),this.open=!1)}handleOutsideClick(t){const e=t.target;this.closable&&this.open&&!h(this.host,e)&&(h(this.boundElement,e)&&t.stopPropagation(),this.open=!1)}validatePosition(t){Object.values(s).includes(t)&&t!==s.AUTO||(this.position=t=s.TOP),this.currentPosition=t,this.open&&this.setPosition()}onOpen(){if(cancelAnimationFrame(this.animationFrameRequestId),this.openChange.emit({open:this.open}),!this.open)return Object.assign(this.host.style,{top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"",maxHeight:"",visibility:"hidden"}),void(this.currentPosition=void 0);const t=()=>{this.open&&(this.setPosition(),this.animationFrameRequestId=requestAnimationFrame(t))};setTimeout((()=>{t()}),0)}onBindingChange(){this.findBoundElement()}get offsetModifier(){return this.center?.5:0}findBoundElement(){"string"==typeof this.bindTo?this.boundElement=this.host.ownerDocument.querySelector(this.bindTo):this.bindTo?this.boundElement=this.bindTo:(this.boundElement=c(this.host),"z-tooltip"===this.boundElement.tagName.toLowerCase()&&(this.boundElement=c(this.boundElement)))}hasCenteredHorizontalSpace(t,e,o,r){const i=(o-r)*(1-this.offsetModifier);return this.center?e>=i-this.spaceTolerance&&t>=i-this.spaceTolerance:e>=i-this.spaceTolerance}hasCenteredVerticalSpace(t,e,o,r){const i=(o-r)*(1-this.offsetModifier);return this.center?t>=i-this.spaceTolerance&&e>=i-this.spaceTolerance:e>=i-this.spaceTolerance}hasEnoughSideSpace(t,e,o,r){return t>=e-o*(1-r)-this.spaceTolerance}getOptimalPopoverPosition(t,e){const o=this.host.offsetWidth,r=this.host.offsetHeight,i=this.boundElement.getBoundingClientRect().width,n=this.boundElement.getBoundingClientRect().height,a=this.offsetModifier,h=t=>{switch(t){case s.TOP:return e.top>=r-this.spaceTolerance&&this.hasCenteredHorizontalSpace(e.left,e.right,o,i);case s.TOP_RIGHT:return e.top>=r&&this.hasEnoughSideSpace(e.right,o,i,a);case s.TOP_LEFT:return e.top>=r&&this.hasEnoughSideSpace(e.left,o,i,a);case s.RIGHT:return e.right>=o&&this.hasCenteredVerticalSpace(e.top,e.bottom,r,n);case s.RIGHT_BOTTOM:return e.right>=o&&this.hasEnoughSideSpace(e.bottom,r,n,a);case s.RIGHT_TOP:return e.right>=o&&this.hasEnoughSideSpace(e.top,r,n,a);case s.BOTTOM:return e.bottom>=r&&this.hasCenteredHorizontalSpace(e.left,e.right,o,i);case s.BOTTOM_LEFT:return e.bottom>=r&&this.hasEnoughSideSpace(e.left,o,i,a);case s.BOTTOM_RIGHT:return e.bottom>=r&&this.hasEnoughSideSpace(e.right,o,i,a);case s.LEFT:return e.left>=o&&this.hasCenteredVerticalSpace(e.top,e.bottom,r,n);case s.LEFT_TOP:return e.left>=o&&this.hasEnoughSideSpace(e.top,r,n,a);case s.LEFT_BOTTOM:return e.left>=o&&this.hasEnoughSideSpace(e.bottom,r,n,a);default:return!1}};if(h(t))return t;const c=l.positionOrder,p=c.indexOf(t);if(-1===p)return t;for(let t=1;t<c.length;t++){const e=c[(p+t)%c.length];if(h(e))return e}return this.findBestFallbackPosition(e)}findBestFallbackPosition(t){const e=t.right>=t.left?s.RIGHT:s.LEFT,o=t.bottom>=t.top?s.BOTTOM:s.TOP,r=Math.max(t.right,t.left),i=Math.max(t.bottom,t.top),n=i>=r?o:e;let a=!1;return a=n===o?r>=2*Math.min(t.right,t.left):i>=2*Math.min(t.bottom,t.top),a?`${n}_${n===o?e:o}`:n}findScrollableAncestor(t){let e=c(t);for(;e;){if(e===t.ownerDocument.documentElement)return e;const o=getComputedStyle(e),{overflow:r,overflowX:i,overflowY:s}=o;if("hidden"!==r&&"hidden"!==s&&"hidden"!==i&&(e.scrollHeight>e.clientHeight&&"visible"!==r&&"visible"!==s||e.scrollWidth>e.clientWidth&&"visible"!==r&&"visible"!==i))return e;e=c(e)}return t.ownerDocument.documentElement}calculateAvailableSpace(){const t=this.boundElement.getBoundingClientRect();if(this.lastBoundRect&&this.lastBoundRect.x===t.x&&this.lastBoundRect.y===t.y&&this.lastBoundRect.width===t.width&&this.lastBoundRect.height===t.height&&this.cachedAvailableSpace)return this.cachedAvailableSpace;this.lastBoundRect=t;const e=this.findScrollableAncestor(this.boundElement),o=e.getBoundingClientRect(),r=e!==this.boundElement.ownerDocument.documentElement,i=this.boundElement.ownerDocument.documentElement.clientWidth,s=this.boundElement.ownerDocument.documentElement.clientHeight;return this.cachedAvailableSpace={top:t.top-(r?o.top:0)-8,right:i-t.right-(r?i-o.right:0)-8,bottom:s-t.bottom-(r?s-o.bottom:0)-8,left:t.left-(r?o.left:0)-8},this.cachedAvailableSpace}getBoundElementOffsets(){const t=this.boundElement.getBoundingClientRect();return{top:t.top,right:this.boundElement.ownerDocument.documentElement.clientWidth-t.right,bottom:this.boundElement.ownerDocument.documentElement.clientHeight-t.bottom,left:t.left}}computePositionOffsets(){const t=this.getBoundElementOffsets(),e=p(this.host);if(e===this.host.ownerDocument.documentElement)return t;const o=e.getBoundingClientRect(),r=getComputedStyle(e),i=o.top+parseFloat(r.borderTopWidth),s=o.right-parseFloat(r.borderRightWidth),n=o.bottom-parseFloat(r.borderBottomWidth),a=o.left+parseFloat(r.borderLeftWidth),h=this.boundElement.getBoundingClientRect();return{top:h.top-i+e.scrollTop,right:s-h.right-e.scrollLeft,bottom:n-h.bottom-e.scrollTop,left:h.left-a+e.scrollLeft}}applyPositionStyles(t,e){const o=this.boundElement.offsetWidth,r=this.boundElement.offsetHeight,i=this.offsetModifier,n=this.showArrow&&this.center?8:0,h=this.host.style,c=parseFloat(getComputedStyle(this.host).marginTop.replace("px",""))||0,p=this.computePositionOffsets(),u=p.left+o*i,l=p.right+o*i,d=p.top+r,b=p.bottom+r,g=p.top+r*i,m=p.bottom+r*i;let v,w;switch(t){case s.TOP:case s.TOP_RIGHT:h.bottom=`${b}px`,h.left=u-(t===s.TOP_RIGHT?n:0)+"px",w=e.top-c,t===s.TOP_RIGHT&&(v=e.right+o*i);break;case s.TOP_LEFT:h.right=l-n+"px",h.bottom=`${b}px`,v=e.left+o*i,w=e.top-c;break;case s.BOTTOM:case s.BOTTOM_RIGHT:h.top=`${d}px`,h.left=u-(t===s.BOTTOM_RIGHT?n:0)+"px",w=e.bottom-c,t===s.BOTTOM_RIGHT&&(v=e.right+o*i);break;case s.BOTTOM_LEFT:h.top=`${d}px`,h.right=l-n+"px",v=e.left+o*i,w=e.bottom-c;break;case s.RIGHT:case s.RIGHT_BOTTOM:h.top=g-(t===s.RIGHT_BOTTOM?n:0)+"px",h.left=`${p.left+o}px`,v=e.right-c,w=t===s.RIGHT?e.top+e.bottom+r:e.bottom+r*i;break;case s.RIGHT_TOP:h.bottom=m-n+"px",h.left=`${p.left+o}px`,v=e.right-c,w=e.top+r*i;break;case s.LEFT:case s.LEFT_BOTTOM:h.top=g-(t===s.LEFT_BOTTOM?n:0)+"px",h.right=`${p.right+o}px`,v=e.left-c,t===s.LEFT_BOTTOM&&(w=e.bottom+r*i);break;case s.LEFT_TOP:h.right=`${p.right+o}px`,h.bottom=m-n+"px",v=e.left-c,w=e.top+r*i}f()!==a.MOBILE&&Object.assign(h,{maxWidth:v?`${v}px`:"",maxHeight:w?`${w}px`:""})}setPosition(){if(!this.boundElement)return;if(!u(this.boundElement,this.findScrollableAncestor(this.boundElement)))return void(this.open=!1);Object.assign(this.host.style,{top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"",maxHeight:"",visibility:"hidden"});const t=this.calculateAvailableSpace(),e=this.getOptimalPopoverPosition(this.position,t);this.applyPositionStyles(e,t),this.currentPosition=e,this.positionChange.emit({position:this.currentPosition}),this.host.style.visibility="visible"}componentWillLoad(){this.validatePosition(this.position)}componentDidLoad(){this.findBoundElement(),this.open&&this.onOpen()}disconnectedCallback(){cancelAnimationFrame(this.animationFrameRequestId)}render(){return o(r,{key:"11ab6b060fdc4a10752881c38d3a369f2ae267a6","current-position":this.currentPosition},o("slot",{key:"40ae4b9e51638e5d92d916937ccfac5f85c0d36f"}))}get host(){return i(this)}static get watchers(){return{position:[{validatePosition:0}],open:[{onOpen:0}],bindTo:[{onBindingChange:0}]}}};l.positionOrder=[s.TOP,s.TOP_RIGHT,s.TOP_LEFT,s.RIGHT,s.RIGHT_BOTTOM,s.RIGHT_TOP,s.BOTTOM,s.BOTTOM_LEFT,s.BOTTOM_RIGHT,s.LEFT,s.LEFT_TOP,s.LEFT_BOTTOM],l.style=':host{position:fixed;display:none;max-width:calc(100dvw - var(--grid-margin) * 2);max-height:calc(100dvh - var(--grid-margin) * 2);padding:var(--z-popover-padding, 0);background:var(--z-popover-theme--surface, var(--color-surface01));border-radius:var(--border-radius-small);color:var(--z-popover-theme--text, var(--color-default-text));fill:currentcolor;filter:var(--z-popover-shadow-filter, drop-shadow(0 1px 2px var(--shadow-color-base)));text-align:center;visibility:hidden;}:host([open]:not([open="false"])[current-position]){display:block}:host([center][current-position="top"]),:host([center][current-position="bottom"]){transform:translateX(-50%)}:host([center][current-position="right"]),:host([center][current-position="left"]){transform:translateY(-50%)}:host([current-position^="top"]){margin:0 0 var(--space-unit)}:host([current-position^="bottom"]){margin:var(--space-unit) 0 0}:host([current-position^="left"]){margin:0 var(--space-unit) 0 0}:host([current-position^="right"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface, var(--color-surface01));content:"";transform:rotate(45deg)}:host([show-arrow="false"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^="top"])::before{top:var(--arrow-center-y-offset)}:host([current-position^="bottom"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position="top"])::before,:host([current-position="bottom"])::before{right:var(--arrow-edge-offset)}:host([current-position="right"])::before,:host([current-position="left"])::before{bottom:var(--arrow-edge-offset)}:host([current-position="right"])::before{right:var(--arrow-center-y-offset)}:host([current-position="left"])::before{left:var(--arrow-center-y-offset)}:host([current-position="top_right"])::before,:host([current-position="bottom_right"])::before{right:var(--arrow-edge-offset)}:host([current-position="top_left"])::before,:host([current-position="bottom_left"])::before{left:var(--arrow-edge-offset)}:host([current-position="right_top"])::before,:host([current-position="left_top"])::before{top:var(--arrow-edge-offset)}:host([current-position="right_top"])::before,:host([current-position="right_bottom"])::before{right:var(--arrow-center-y-offset)}:host([current-position="left_top"])::before,:host([current-position="left_bottom"])::before{left:var(--arrow-center-y-offset)}:host([current-position="right_bottom"])::before,:host([current-position="left_bottom"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position="top"])::before,:host([center][current-position="bottom"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position="right"])::before,:host([center][current-position="left"])::before{top:var(--arrow-center-x-offset);bottom:auto}';export{l as z_popover}
1
+ import{r as t,c as e,h as o,H as r,d as i}from"./p-fIt9Ytc6.js";import{P as s,g as n,p as a}from"./p-BKCj6NR2.js";import{a as h,k as c,l as p,g as f,m as u}from"./p-B0bOjMSb.js";import"./p-Q-tWjk7P.js";const l=class{constructor(o){t(this,o),this.positionChange=e(this,"positionChange",7),this.openChange=e(this,"openChange",7),this.position=s.TOP,this.open=!1,this.showArrow=!1,this.center=!1,this.closable=!0,this.spaceTolerance=3}closePopoverWithKeyboard(t){this.closable&&t.key===n.ESC&&(t.stopPropagation(),this.open=!1)}handleOutsideClick(t){const e=t.target;this.closable&&this.open&&!h(this.host,e)&&(h(this.boundElement,e)&&t.stopPropagation(),this.open=!1)}validatePosition(t){Object.values(s).includes(t)&&t!==s.AUTO||(this.position=t=s.TOP),this.currentPosition=t,this.open&&this.setPosition()}onOpen(){if(cancelAnimationFrame(this.animationFrameRequestId),this.openChange.emit({open:this.open}),!this.open)return Object.assign(this.host.style,{top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"",maxHeight:"",visibility:"hidden"}),void(this.currentPosition=void 0);const t=()=>{this.open&&(this.setPosition(),this.animationFrameRequestId=requestAnimationFrame(t))};setTimeout((()=>{t()}),0)}onBindingChange(){this.findBoundElement()}get offsetModifier(){return this.center?.5:0}findBoundElement(){"string"==typeof this.bindTo?this.boundElement=this.host.ownerDocument.querySelector(this.bindTo):this.bindTo?this.boundElement=this.bindTo:(this.boundElement=c(this.host),"z-tooltip"===this.boundElement.tagName.toLowerCase()&&(this.boundElement=c(this.boundElement)))}hasCenteredHorizontalSpace(t,e,o,r){const i=(o-r)*(1-this.offsetModifier);return this.center?e>=i-this.spaceTolerance&&t>=i-this.spaceTolerance:e>=i-this.spaceTolerance}hasCenteredVerticalSpace(t,e,o,r){const i=(o-r)*(1-this.offsetModifier);return this.center?t>=i-this.spaceTolerance&&e>=i-this.spaceTolerance:e>=i-this.spaceTolerance}hasEnoughSideSpace(t,e,o,r){return t>=e-o*(1-r)-this.spaceTolerance}getOptimalPopoverPosition(t,e){const o=this.host.offsetWidth,r=this.host.offsetHeight,i=this.boundElement.getBoundingClientRect().width,n=this.boundElement.getBoundingClientRect().height,a=this.offsetModifier,h=t=>{switch(t){case s.TOP:return e.top>=r-this.spaceTolerance&&this.hasCenteredHorizontalSpace(e.left,e.right,o,i);case s.TOP_RIGHT:return e.top>=r&&this.hasEnoughSideSpace(e.right,o,i,a);case s.TOP_LEFT:return e.top>=r&&this.hasEnoughSideSpace(e.left,o,i,a);case s.RIGHT:return e.right>=o&&this.hasCenteredVerticalSpace(e.top,e.bottom,r,n);case s.RIGHT_BOTTOM:return e.right>=o&&this.hasEnoughSideSpace(e.bottom,r,n,a);case s.RIGHT_TOP:return e.right>=o&&this.hasEnoughSideSpace(e.top,r,n,a);case s.BOTTOM:return e.bottom>=r&&this.hasCenteredHorizontalSpace(e.left,e.right,o,i);case s.BOTTOM_LEFT:return e.bottom>=r&&this.hasEnoughSideSpace(e.left,o,i,a);case s.BOTTOM_RIGHT:return e.bottom>=r&&this.hasEnoughSideSpace(e.right,o,i,a);case s.LEFT:return e.left>=o&&this.hasCenteredVerticalSpace(e.top,e.bottom,r,n);case s.LEFT_TOP:return e.left>=o&&this.hasEnoughSideSpace(e.top,r,n,a);case s.LEFT_BOTTOM:return e.left>=o&&this.hasEnoughSideSpace(e.bottom,r,n,a);default:return!1}};if(h(t))return t;const c=l.positionOrder,p=c.indexOf(t);if(-1===p)return t;for(let t=1;t<c.length;t++){const e=c[(p+t)%c.length];if(h(e))return e}return this.findBestFallbackPosition(e)}findBestFallbackPosition(t){const e=t.right>=t.left?s.RIGHT:s.LEFT,o=t.bottom>=t.top?s.BOTTOM:s.TOP,r=Math.max(t.right,t.left),i=Math.max(t.bottom,t.top),n=i>=r?o:e;let a=!1;return a=n===o?r>=2*Math.min(t.right,t.left):i>=2*Math.min(t.bottom,t.top),a?`${n}_${n===o?e:o}`:n}findScrollableAncestor(t){let e=c(t);for(;e;){if(e===t.ownerDocument.documentElement)return e;const o=getComputedStyle(e),{overflow:r,overflowX:i,overflowY:s}=o;if("hidden"!==r&&"hidden"!==s&&"hidden"!==i&&(e.scrollHeight>e.clientHeight&&"visible"!==r&&"visible"!==s||e.scrollWidth>e.clientWidth&&"visible"!==r&&"visible"!==i))return e;e=c(e)}return t.ownerDocument.documentElement}calculateAvailableSpace(){const t=this.boundElement.getBoundingClientRect();if(this.lastBoundRect&&this.lastBoundRect.x===t.x&&this.lastBoundRect.y===t.y&&this.lastBoundRect.width===t.width&&this.lastBoundRect.height===t.height&&this.cachedAvailableSpace)return this.cachedAvailableSpace;this.lastBoundRect=t;const e=this.findScrollableAncestor(this.boundElement),o=e.getBoundingClientRect(),r=e!==this.boundElement.ownerDocument.documentElement,i=this.boundElement.ownerDocument.documentElement.clientWidth,s=this.boundElement.ownerDocument.documentElement.clientHeight;return this.cachedAvailableSpace={top:t.top-(r?o.top:0)-8,right:i-t.right-(r?i-o.right:0)-8,bottom:s-t.bottom-(r?s-o.bottom:0)-8,left:t.left-(r?o.left:0)-8},this.cachedAvailableSpace}getBoundElementOffsets(){const t=this.boundElement.getBoundingClientRect();return{top:t.top,right:this.boundElement.ownerDocument.documentElement.clientWidth-t.right,bottom:this.boundElement.ownerDocument.documentElement.clientHeight-t.bottom,left:t.left}}computePositionOffsets(){const t=this.getBoundElementOffsets(),e=p(this.host);if(e===this.host.ownerDocument.documentElement)return t;const o=e.getBoundingClientRect(),r=getComputedStyle(e),i=o.top+parseFloat(r.borderTopWidth),s=o.right-parseFloat(r.borderRightWidth),n=o.bottom-parseFloat(r.borderBottomWidth),a=o.left+parseFloat(r.borderLeftWidth),h=this.boundElement.getBoundingClientRect();return{top:h.top-i+e.scrollTop,right:s-h.right-e.scrollLeft,bottom:n-h.bottom-e.scrollTop,left:h.left-a+e.scrollLeft}}applyPositionStyles(t,e){const o=this.boundElement.offsetWidth,r=this.boundElement.offsetHeight,i=this.offsetModifier,n=this.showArrow&&this.center?8:0,h=this.host.style,c=parseFloat(getComputedStyle(this.host).marginTop.replace("px",""))||0,p=this.computePositionOffsets(),u=p.left+o*i,l=p.right+o*i,b=p.top+r,d=p.bottom+r,g=p.top+r*i,m=p.bottom+r*i;let v,w;switch(t){case s.TOP:case s.TOP_RIGHT:h.bottom=`${d}px`,h.left=u-(t===s.TOP_RIGHT?n:0)+"px",w=e.top-c,t===s.TOP_RIGHT&&(v=e.right+o*i);break;case s.TOP_LEFT:h.right=l-n+"px",h.bottom=`${d}px`,v=e.left+o*i,w=e.top-c;break;case s.BOTTOM:case s.BOTTOM_RIGHT:h.top=`${b}px`,h.left=u-(t===s.BOTTOM_RIGHT?n:0)+"px",w=e.bottom-c,t===s.BOTTOM_RIGHT&&(v=e.right+o*i);break;case s.BOTTOM_LEFT:h.top=`${b}px`,h.right=l-n+"px",v=e.left+o*i,w=e.bottom-c;break;case s.RIGHT:case s.RIGHT_BOTTOM:h.top=g-(t===s.RIGHT_BOTTOM?n:0)+"px",h.left=`${p.left+o}px`,v=e.right-c,w=t===s.RIGHT?e.top+e.bottom+r:e.bottom+r*i;break;case s.RIGHT_TOP:h.bottom=m-n+"px",h.left=`${p.left+o}px`,v=e.right-c,w=e.top+r*i;break;case s.LEFT:case s.LEFT_BOTTOM:h.top=g-(t===s.LEFT_BOTTOM?n:0)+"px",h.right=`${p.right+o}px`,v=e.left-c,t===s.LEFT_BOTTOM&&(w=e.bottom+r*i);break;case s.LEFT_TOP:h.right=`${p.right+o}px`,h.bottom=m-n+"px",v=e.left-c,w=e.top+r*i}f()!==a.MOBILE&&Object.assign(h,{maxWidth:v?`${v}px`:"",maxHeight:w?`${w}px`:""})}setPosition(){if(!this.boundElement)return;if(!u(this.boundElement,this.findScrollableAncestor(this.boundElement)))return void(this.open=!1);Object.assign(this.host.style,{top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"",maxHeight:"",visibility:"hidden"});const t=this.calculateAvailableSpace(),e=this.getOptimalPopoverPosition(this.position,t);this.applyPositionStyles(e,t),this.currentPosition=e,this.positionChange.emit({position:this.currentPosition}),this.host.style.visibility="visible"}componentWillLoad(){this.validatePosition(this.position)}componentDidLoad(){this.findBoundElement(),this.open&&this.onOpen()}disconnectedCallback(){cancelAnimationFrame(this.animationFrameRequestId)}render(){return o(r,{key:"52bff483a21ec4b2911ef16ae19fe4a860896b4a","current-position":this.currentPosition},o("slot",{key:"88e89856e0083f540df0fd0d7155c55c16c1932b"}))}get host(){return i(this)}static get watchers(){return{position:[{validatePosition:0}],open:[{onOpen:0}],bindTo:[{onBindingChange:0}]}}};l.positionOrder=[s.TOP,s.TOP_RIGHT,s.TOP_LEFT,s.RIGHT,s.RIGHT_BOTTOM,s.RIGHT_TOP,s.BOTTOM,s.BOTTOM_LEFT,s.BOTTOM_RIGHT,s.LEFT,s.LEFT_TOP,s.LEFT_BOTTOM],l.style=':host{position:fixed;display:none;max-width:calc(100dvw - var(--grid-margin) * 2);max-height:calc(100dvh - var(--grid-margin) * 2);padding:var(--z-popover-padding, 0);background:var(--z-popover-theme--surface, var(--color-surface01));border-radius:var(--border-radius-small);color:var(--z-popover-theme--text, var(--color-default-text));fill:currentcolor;filter:var(--z-popover-shadow-filter, drop-shadow(0 1px 2px var(--shadow-color-base)));text-align:center;visibility:hidden;}:host([open]:not([open="false"])[current-position]){display:block}:host([center][current-position="top"]),:host([center][current-position="bottom"]){transform:translateX(-50%)}:host([center][current-position="right"]),:host([center][current-position="left"]){transform:translateY(-50%)}:host([current-position^="top"]){margin:0 0 var(--space-unit)}:host([current-position^="bottom"]){margin:var(--space-unit) 0 0}:host([current-position^="left"]){margin:0 var(--space-unit) 0 0}:host([current-position^="right"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface, var(--color-surface01));content:"";transform:rotate(45deg)}:host([show-arrow="false"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^="top"])::before{top:var(--arrow-center-y-offset)}:host([current-position^="bottom"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position="top"])::before,:host([current-position="bottom"])::before{right:var(--arrow-edge-offset)}:host([current-position="right"])::before,:host([current-position="left"])::before{bottom:var(--arrow-edge-offset)}:host([current-position="right"])::before{right:var(--arrow-center-y-offset)}:host([current-position="left"])::before{left:var(--arrow-center-y-offset)}:host([current-position="top_right"])::before,:host([current-position="bottom_right"])::before{right:var(--arrow-edge-offset)}:host([current-position="top_left"])::before,:host([current-position="bottom_left"])::before{left:var(--arrow-edge-offset)}:host([current-position="right_top"])::before,:host([current-position="left_top"])::before{top:var(--arrow-edge-offset)}:host([current-position="right_top"])::before,:host([current-position="right_bottom"])::before{right:var(--arrow-center-y-offset)}:host([current-position="left_top"])::before,:host([current-position="left_bottom"])::before{left:var(--arrow-center-y-offset)}:host([current-position="right_bottom"])::before,:host([current-position="left_bottom"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position="top"])::before,:host([center][current-position="bottom"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position="right"])::before,:host([center][current-position="left"])::before{top:var(--arrow-center-x-offset);bottom:auto}';export{l as z_popover}
@@ -1 +1 @@
1
- import{r as e,c as i,h as s,H as t,d as o}from"./p-ByN2sYu6.js";import{w as a,P as c}from"./p-BKCj6NR2.js";import{B as n}from"./p-Q-tWjk7P.js";const l=class{constructor(s){e(this,s),this.removeFile=i(this,"removeFile",7),this.allowPopover=!1,this.popoverVisible=!1}removeFileHandler(){this.removeFile.emit({fileName:this.fileName}),this.el.remove()}onMouseOver(){this.popoverVisible=!0}onMouseLeave(){this.popoverVisible=!1}onInteractiveIconClick(){this.removeFileHandler()}componentDidLoad(){var e,i;this.elementHasEllipsis()&&window.innerWidth>n.TABLET&&(this.allowPopover=!0),null===(i=null===(e=this.icon)||void 0===e?void 0:e.focus)||void 0===i||i.call(e)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return s(t,{key:"b14de221b558a20b6a73755f4a299743fa5a7d23"},this.allowPopover&&s("z-popover",{key:"fc3a7c327d89a7a9ea6b9660d17d78de1922729c",open:this.popoverVisible,position:c.AUTO,bindTo:this.chip},s("span",{key:"7f33d40074ba639bd8da65132dad5b2fa1cf349e",class:"body-5 tooltip-content"},this.ellipsis.innerText)),s("z-chip",{key:"ae8746950f0ee745c77a1b5602c4f6ecb0278afd",ref:e=>this.chip=e,id:`chip-${this.fileNumber}`,interactiveIcon:"multiply-circled",type:a.DEFAULT},s("span",{key:"6ef36d2bebe82fbcb9919cce4c2a4c8d657ba255",ref:e=>this.ellipsis=e,tabIndex:-1},this.fileName)))}get el(){return o(this)}};l.style=".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";export{l as z_file}
1
+ import{r as e,c as i,h as t,H as s,d as o}from"./p-fIt9Ytc6.js";import{w as c,P as a}from"./p-BKCj6NR2.js";import{B as n}from"./p-Q-tWjk7P.js";const l=class{constructor(t){e(this,t),this.removeFile=i(this,"removeFile",7),this.allowPopover=!1,this.popoverVisible=!1}removeFileHandler(){this.removeFile.emit({fileName:this.fileName}),this.el.remove()}onMouseOver(){this.popoverVisible=!0}onMouseLeave(){this.popoverVisible=!1}onInteractiveIconClick(){this.removeFileHandler()}componentDidLoad(){var e,i;this.elementHasEllipsis()&&window.innerWidth>n.TABLET&&(this.allowPopover=!0),null===(i=null===(e=this.icon)||void 0===e?void 0:e.focus)||void 0===i||i.call(e)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t(s,{key:"12ffcf9cd4e06418f8ef0c0fe6f901519ea81578"},this.allowPopover&&t("z-popover",{key:"b77adda2c9f80584b3e74ab82d5c8b5198b50d88",open:this.popoverVisible,position:a.AUTO,bindTo:this.chip},t("span",{key:"9d0bb9bbdb210ce143a129ca4f46a6409b85b393",class:"body-5 tooltip-content"},this.ellipsis.innerText)),t("z-chip",{key:"9d9c8f64f63c4723c2f6540be7d6c534650a847d",ref:e=>this.chip=e,id:`chip-${this.fileNumber}`,interactiveIcon:"multiply-circled",type:c.DEFAULT},t("span",{key:"959647e217388cad43c3bb3536a44ce22b548067",ref:e=>this.ellipsis=e,tabIndex:-1},this.fileName)))}get el(){return o(this)}};l.style=".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";export{l as z_file}
@@ -0,0 +1 @@
1
+ import{r as i,c as e,h as s,H as a,d as t}from"./p-fIt9Ytc6.js";import{v as l}from"./p-BKCj6NR2.js";const o=class{constructor(s){i(this,s),this.fileInput=e(this,"fileInput",7),this.fileError=e(this,"fileError",7),this.type=l.DEFAULT,this.uploadBtnLabel="allega",this.dragAndDropLabel="Rilascia i file in questa area per allegarli.",this.uploadClickableMessage="Carica",this.uploadMessage="o trascina dal tuo computer",this.errorModalTitle="Errore di caricamento",this.uploadedFilesLabel="File appena caricati",this.hasFileSection=!0,this.inputName="z-file-upload",this.showErrors=!0,this._type=this.type,this.files=[],this.invalidFiles=new Map}onFileRemoved(i){this.removeFile(i.detail.fileName)}fileDroppedListener(i){this.input.files=i.detail,this.checkFilesValidity(this.input.files)}async getFiles(){return this.files}async removeFile(i){const e=this.files,s=e.findIndex((e=>e.name===i));s>=0&&(e.splice(s,1),this.files=[...e])}checkFilesValidity(i){i.length&&Array.from(i).forEach((i=>{const e=i.size/1024/1024,s=this.acceptedFormat.split(",").some((e=>i.name.toLowerCase().endsWith(e.trim()))),a=e<=this.fileMaxSize;if(a&&s&&!this.files.find((e=>e.name===i.name)))return this.files=[...this.files,i],this.fileInput.emit(i),void(this.input.value="");const t=[!a&&{cause:"size",message:`Il file ${i.name} supera il limite di ${this.fileMaxSize}MB`},!s&&{cause:"format",message:`Il file ${i.name} ha un formato non supportato`}].filter(Boolean);this.invalidFiles.set(i.name,t),this.invalidFiles=new Map(this.invalidFiles),this.fileError.emit({file:i.name,errors:t})}))}resetErrors(){this.invalidFiles=new Map}onFilesChange(i){this.checkFilesValidity(i.target.files)}componentWillLoad(){const i=window.matchMedia("(max-width: 1151px)");this._type=i.matches?l.DEFAULT:this.type,i.addEventListener("change",(i=>{this._type=i.matches?l.DEFAULT:this.type}))}componentDidUpdate(){this.showErrors&&this.invalidFiles.size&&this.errorModal.open()}renderDescription(i){if(this.description)return s("span",{id:"description",class:i},this.description)}renderAllowedFilesMessage(){let i="",e="";this.acceptedFormat&&(i=` nei formati ${this.acceptedFormat.split(", ").map((i=>i.substring(1).toUpperCase())).join(", ")}`),this.fileMaxSize&&(e=` per un massimo di ${this.fileMaxSize}MB di peso`);const a=i||e?`Puoi allegare file${i}${e}.`:void 0;if(this.allowedFilesMessage||a)return s("span",{class:"allowed-files-message body-3"},this.allowedFilesMessage||a)}renderFileSection(){if(this.hasFileSection)return s("section",{class:{"files-container":!0,hidden:!this.files.length}},s("div",{class:"uploaded-files-label heading-3-sb"},this.uploadedFilesLabel),s("div",{class:"files-wrapper"},s("slot",{name:"files"})))}renderInput(){return s("input",{type:"file",name:this.inputName,multiple:!0,onChange:i=>this.onFilesChange(i),accept:this.acceptedFormat,"aria-labelledby":this.description?"description":void 0,ref:i=>this.input=i})}renderUploadButton(){return[s("z-button",{onClick:()=>this.input.click(),onKeyPress:i=>{"Space"!=i.code&&"Enter"!=i.code||(i.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"upload"},this.uploadBtnLabel),this.renderInput()]}renderUploadLink(){return[this.renderInput(),s("span",{class:"body-1 upload-link-text"},s("span",{tabIndex:0,class:"body-1-sb upload-link",onClick:()=>this.input.click(),onKeyPress:i=>{"Space"!=i.code&&"Enter"!=i.code||(i.preventDefault(),this.input.click())}},this.uploadClickableMessage)," ",this.uploadMessage)]}renderDefaultMode(){return[this.renderDescription("body-3-sb"),this.renderAllowedFilesMessage(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),s("z-dragdrop-area",{"drag-and-drop-label":this.dragAndDropLabel},s("div",{class:"text-container"},this.renderDescription("body-1"),this.renderUploadLink(),this.renderAllowedFilesMessage()))]}renderFileErrors(){return Array.from(this.invalidFiles).map((([i,e])=>{const a=`Il file ${i}`;return s("span",{class:"error-message"},"Il file ",s("span",{class:"body-3-sb"},i),e.map((({message:i})=>i.replace(a,""))).join(" e "),".")}))}render(){return s(a,{key:"26a1a04ff6d1a9c9cf0e16311bb747b349c7ca67"},this.mainTitle&&s("div",{key:"cbce95e36bb7a1fe81c8c41e0723169e6b47442d",id:"title",class:"heading-3-sb"},this.mainTitle),this._type==l.DEFAULT?this.renderDefaultMode():this.renderDragDropMode(),!!this.invalidFiles.size&&this.showErrors&&s("z-modal",{key:"6a000d85f1f9b46a2872b4fa40b978a97427018c",modalid:`file-upload-${this.type}-error-modal`,ref:i=>this.errorModal=i,modaltitle:this.errorModalTitle,onModalClose:()=>this.resetErrors(),onModalBackgroundClick:()=>this.resetErrors()},s("div",{key:"caa8f6424a54d279ed2eca6c7514390324b40c59",slot:"modalContent"},s("div",{key:"b069c1fff610bcf4adbff57b0c5a9fa3e70e32ea",class:"modal-wrapper body-3"},this.errorModalMessage?this.errorModalMessage:this.renderFileErrors()))))}get host(){return t(this)}};o.style='.sc-z-file-upload-h{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{display:flex;flex-direction:column;justify-content:center;padding:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto;text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-text-link-blue);cursor:pointer;text-decoration:underline}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none !important}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}.sc-z-file-upload-h input[type="file"].sc-z-file-upload{display:none}.sc-z-file-upload-h #title.sc-z-file-upload+#description.sc-z-file-upload{margin-top:var(--space-unit)}.sc-z-file-upload-h>*.sc-z-file-upload+z-button.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload+*.sc-z-file-upload,.sc-z-file-upload-h>.files-container.sc-z-file-upload:not(:first-child){margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.files-container.hidden.sc-z-file-upload{display:none}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.uploaded-files-label.sc-z-file-upload{margin-bottom:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.files-container.sc-z-file-upload>.files-wrapper.sc-z-file-upload{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}@media (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button.sc-z-file-upload{align-self:flex-start}.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 3)}}@media (min-width: 1152px){.sc-z-file-upload-h .modal-wrapper.sc-z-file-upload{padding:calc(var(--space-unit) * 4)}}';export{o as z_file_upload}
@@ -1 +1 @@
1
- import{r as t,h as e,H as o,d as r}from"./p-ByN2sYu6.js";import{J as a,M as i}from"./p-BKCj6NR2.js";const n=class{constructor(e){t(this,e),this.variant=a.OVERLAY,this.contentPosition=i.TOP,this.preserveAspectRatio=!0}onImgLoad({target:t}){t instanceof Image&&t.closest("[slot=cover]")&&this.host.style.setProperty("--image-aspect-ratio",(t.naturalWidth/t.naturalHeight).toString())}renderContent(){return e("div",{class:"content-container"},e("slot",{name:"content"}))}render(){return e(o,{key:"0e8ec76a2293bbf7044d2a5d0ec951ac096adcd1"},this.variant===a.STACKED&&this.contentPosition===i.TOP&&this.renderContent(),e("div",{key:"e2dd8963eb05d5a1a602b05d6275d52c01b8dbc9",class:"main-container"},e("div",{key:"3b537c3b07906fd72795b105e4189252bf876b51",class:"cover-container"},e("slot",{key:"f99228a940cfc96ae4ff98a6b79df622d033e00d",name:"cover"})),e("slot",{key:"86b43980717df411f76b098628d83fa80c8dcff6",name:"info-reveal"}),this.variant===a.OVERLAY&&this.renderContent()),this.variant===a.STACKED&&this.contentPosition===i.BOTTOM&&this.renderContent())}get host(){return r(this)}};n.style=':host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot="cover"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container{height:100%}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant="overlay"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]:is([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .content-container{position:absolute;inset:0}:host([variant="overlay"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-default-text)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';export{n as z_cover_hero}
1
+ import{r as e,h as t,H as o,d as r}from"./p-fIt9Ytc6.js";import{J as a,M as i}from"./p-BKCj6NR2.js";const n=class{constructor(t){e(this,t),this.variant=a.OVERLAY,this.contentPosition=i.TOP,this.preserveAspectRatio=!0}onImgLoad({target:e}){e instanceof Image&&e.closest("[slot=cover]")&&this.host.style.setProperty("--image-aspect-ratio",(e.naturalWidth/e.naturalHeight).toString())}renderContent(){return t("div",{class:"content-container"},t("slot",{name:"content"}))}render(){return t(o,{key:"bb147f3b614268218fba165360012031572ec76b"},this.variant===a.STACKED&&this.contentPosition===i.TOP&&this.renderContent(),t("div",{key:"94c697c41b4d98ea9f5be00634a3de1fd214ea72",class:"main-container"},t("div",{key:"e1a181735381dbc2472085c7e1d7082e1564185a",class:"cover-container"},t("slot",{key:"1692cfa7f6a9ee926a262e04e8912a72f5a95cca",name:"cover"})),t("slot",{key:"c13a059c162d85e46d3f116a8b1fd9e3a6e363f7",name:"info-reveal"}),this.variant===a.OVERLAY&&this.renderContent()),this.variant===a.STACKED&&this.contentPosition===i.BOTTOM&&this.renderContent())}get host(){return r(this)}};n.style=':host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot="cover"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container{height:100%}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant="overlay"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]:is([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .content-container{position:absolute;inset:0}:host([variant="overlay"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-default-text)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';export{n as z_cover_hero}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,d as i}from"./p-fIt9Ytc6.js";import{e as l,g as c,i as r,l as n}from"./p-BKCj6NR2.js";import{r as o,e as a,b as h,d,f as z,i as p}from"./p-B0bOjMSb.js";import"./p-Q-tWjk7P.js";const u=class{constructor(s){e(this,s),this.optionSelect=t(this,"optionSelect",7),this.resetSelect=t(this,"resetSelect",7),this.htmlid=`id-${o()}`,this.items=[],this.ariaLabel="",this.disabled=!1,this.readonly=!1,this.message=!0,this.autocomplete=!1,this.noresultslabel="Nessun risultato",this.isfixed=!1,this.size=l.BIG,this.isOpen=!1,this.selectedItem=null,this.itemsList=[],this.toggleSelectUl=this.toggleSelectUl.bind(this),this.handleSelectFocus=this.handleSelectFocus.bind(this)}watchItems(){this.itemsList=this.getInitialItemsArray(),this.selectedItem=this.findSelectedItem(this.itemsList)}async getSelectedItem(){return this.selectedItem}async getValue(){return this.getSelectedValue()}async setValue(e){let t=[];"string"==typeof e?t.push(e):t=e,this.itemsList=this.getInitialItemsArray(),t.length&&this.updateSelection(this.itemsList,t[0]),this.selectedItem=this.findSelectedItem(this.itemsList)}emitOptionSelect(){this.optionSelect.emit({id:this.htmlid,selected:this.getSelectedValue()})}emitResetSelect(){this.resetSelect.emit({id:this.htmlid})}componentWillLoad(){this.watchItems()}componentWillRender(){this.filterItems(this.searchString)}getInitialItemsArray(){return"string"==typeof this.items?JSON.parse(this.items):this.items}mapSelectedItemToItemsArray(){var e;const t=this.getInitialItemsArray();return this.updateSelection(t,null===(e=this.selectedItem)||void 0===e?void 0:e.id),t}getSelectedValue(){var e;return null===(e=this.selectedItem)||void 0===e?void 0:e.id}getOptionId(e){return`${this.htmlid}_key_${a(e.id?`${e.id}`:`${e.name}`)}`}getResetOptionId(){return`${this.htmlid}_key_reset`}getGroupedItems(){return this.itemsList.length?Object.entries(this.itemsList.reduce(((e,t)=>{const s=t.category||"Altra categoria";return e[s]=e[s]||[],e[s].push(t),e}),{})):[]}filterItems(e){let t=this.mapSelectedItemToItemsArray();(null==e?void 0:e.length)?(t=t.map((e=>Object.assign(Object.assign({},e),{name:h(e.name)}))),this.itemsList=this.hasTreeItems?this.filterTree(t,e,!1):t.filter((t=>t.name.toUpperCase().includes(e.toUpperCase()))).map((t=>(t.name=this.getHighlightedText(t.name,e),t)))):this.itemsList=t}filterTree(e,t,s){return e?e.map((e=>{const i=e.name.toUpperCase().includes(t.toUpperCase()),l=Object.assign({},e);return l.children&&l.children.length>0&&(l.children=this.filterTree(l.children.map((e=>Object.assign(Object.assign({},e),{name:h(e.name)}))),t,i)),i&&(l.name=this.getHighlightedText(l.name,t)),i||l.children&&l.children.length>0||this.showChildrenOfMatchingParent&&s?l:null})).filter((e=>null!==e)):[]}getHighlightedText(e,t){const s=e.toUpperCase(),i=t.toUpperCase(),l=s.indexOf(i);if(-1===l)return e;const c=l+t.length;return e.substring(0,l)+`<strong>${e.substring(l,c)}</strong>`+e.substring(c)}hasAutocomplete(){return!0===d(this.autocomplete)}handleInputChange(e){this.searchString=e.detail.value,this.isOpen||this.toggleSelectUl()}updateSelection(e,t){e&&e.forEach((e=>{e.selected=e.id===t,e.children&&e.children.length>0&&this.updateSelection(e.children,t)}))}findSelectedItem(e){if(e)for(const t of e){if(t.selected)return t;if(t.children&&t.children.length>0){const e=this.findSelectedItem(t.children);if(e)return e}}return null}selectItem(e){(null==e?void 0:e.disabled)||(this.itemsList=this.getInitialItemsArray(),e&&this.updateSelection(this.itemsList,e.id),this.selectedItem=this.findSelectedItem(this.itemsList),this.emitOptionSelect(),this.toggleSelectUl(),this.searchString&&(this.searchString=null))}handleResetClick(){this.selectedItem=null,this.searchString=null,this.focusedItemId="",this.emitResetSelect(),this.toggleSelectUl()}handleInputKeyDown(e){switch(e.code){case c.ENTER:case c.SPACE:if(this.focusedItemId)if(this.focusedItemId===this.getResetOptionId())this.handleResetClick();else{const e=this.itemsList.find((e=>this.getOptionId(e)===this.focusedItemId))||null;e&&(this.selectedItem=e,this.emitOptionSelect(),this.toggleSelectUl())}break;case c.ARROW_DOWN:case c.ARROW_UP:this.arrowsSelectNav(e)}}arrowsSelectNav(e){if(![c.ARROW_DOWN,c.ARROW_UP].includes(e.key))return;e.preventDefault(),e.stopPropagation();const t=this.focusedItemId?this.host.querySelector(`#${this.focusedItemId}`):null,s=Array.from(this.host.querySelectorAll('[role="option"]'));if(!s.length)return;const i=t?s.indexOf(t):null,l=s.length-1;if(!this.isOpen&&(this.toggleSelectUl(),this.selectedItem))return void this.focusSelectItem(this.getOptionId(this.selectedItem));let r=null;e.code===c.ARROW_DOWN?r=null===i?s[0]:s[i+1]||s[l]:e.code===c.ARROW_UP&&(r=null===i?s[l]:s[i-1]||s[0]),this.focusSelectItem(r.id)}focusSelectItem(e){this.focusedItemId=e,this.host.querySelector(`#${e}`).scrollIntoView({block:"nearest",container:"nearest"})}toggleSelectUl(e=!1){var t;this.disabled||this.readonly||(this.isOpen?(document.removeEventListener("click",this.handleSelectFocus),document.removeEventListener("keyup",this.handleSelectFocus),e&&(null===(t=this.host.querySelector(`#${this.htmlid}_select_input`))||void 0===t||t.focus()),this.selectedItem&&this.searchString&&(this.searchString=null,this.filterItems(this.searchString))):(document.addEventListener("click",this.handleSelectFocus),document.addEventListener("keyup",this.handleSelectFocus)),this.focusedItemId="",this.isOpen=!this.isOpen)}handleInputClick(e){e.target.closest(".reset-icon")?e.stopPropagation():this.toggleSelectUl()}handleSelectFocus(e){if(e instanceof KeyboardEvent&&e.key===c.ESC)return e.stopPropagation(),this.toggleSelectUl(!0);if(e instanceof KeyboardEvent&&e.key!==c.TAB)return;const t=z();if(!(null==t?void 0:t.hasAttribute("disabled"))&&!p(t).find((e=>"z-input"===e.nodeName.toLowerCase()&&e.id===`${this.htmlid}_input`))){const e=p(t).find((e=>"Z-SELECT"===e.nodeName));this.toggleSelectUl(e===this.host)}}scrollToLetter(e){if(!this.itemsList.length)return;const t=this.itemsList.find((t=>t.name.toLowerCase().charAt(0)===e.toLowerCase()));t&&(this.isOpen||this.toggleSelectUl(),this.focusSelectItem(this.getOptionId(t)))}renderInput(){let e=null;return this.selectedItem&&(e=h(this.selectedItem.name)),this.isOpen&&void 0!==this.searchString&&(e=this.searchString),[s("z-input",{class:{"active-select":this.isOpen,"cursor-select":!this.autocomplete},id:`${this.htmlid}_input`,htmlid:`${this.htmlid}_select_input`,placeholder:this.placeholder,value:e,label:this.label,autocomplete:"off","aria-label":this.ariaLabel,icon:this.isOpen?"caret-up":"caret-down",hasclearicon:!1,message:!1,name:this.name,disabled:this.disabled,readonly:this.readonly||!this.hasAutocomplete()&&this.isOpen,status:this.isOpen?void 0:this.status,size:this.size,role:"combobox","html-aria-expanded":this.isOpen?"true":"false","html-aria-controls":`${this.htmlid}_list`,"html-aria-activedescendant":this.isOpen?this.focusedItemId:"","html-aria-autocomplete":this.hasAutocomplete()?"list":void 0,onClick:e=>this.handleInputClick(e),onKeyDown:e=>this.handleInputKeyDown(e),onInputChange:e=>this.handleInputChange(e),onKeyPress:e=>{this.hasAutocomplete()||(e.preventDefault(),this.scrollToLetter(e.key))}})]}renderSelectUl(){return s("div",{class:this.isOpen?"open":"closed"},s("div",{class:{"ul-scroll-wrapper":!0,fixed:this.isfixed}},s("z-list",{role:"listbox","aria-label":this.ariaLabel||this.label,tabindex:this.disabled||this.readonly||!this.isOpen?-1:0,id:`${this.htmlid}_list`,"aria-multiselectable":!1,size:this.listSizeType(),class:{disabled:this.disabled,readonly:this.readonly,[`input-${this.status}`]:!this.isOpen&&!!this.status,"z-scrollbar":!0}},this.resetItem&&this.renderResetItem(),this.renderSelectUlItems())))}renderResetItem(){const e=!this.selectedItem||!this.resetItem;return s("z-list-element",{class:{hide:e,"reset-item":!0,"reset-item-margin":!this.hasGroupItems},clickable:!0,disabled:!1,dividerType:n.ELEMENT,role:e?"presentation":"option","html-tabindex":0,"aria-selected":"false","aria-label":e?void 0:this.resetItem,id:this.getResetOptionId(),size:this.hasTreeItems?r.MEDIUM:this.listSizeType(),onClickItem:()=>this.handleResetClick()},s("div",{class:{"reset-item-content":!0,"tree-list-reset-item":this.hasTreeItems,active:this.focusedItemId===this.getResetOptionId()},"aria-hidden":"true"},s("z-icon",{name:"multiply-circled"}),s("span",null,this.resetItem)))}renderItem(e,t){return s("z-list-element",{clickable:!e.disabled,disabled:e.disabled,dividerType:t?n.HEADER:n.ELEMENT,role:e.disabled?"presentation":"option","html-tabindex":-1,"aria-selected":e.selected?"true":"false","aria-label":e.disabled?void 0:h(e.name),id:this.getOptionId(e),size:this.listSizeType(),onClickItem:()=>this.selectItem(e)},s("div",{class:{"list-element-container":!0,active:this.focusedItemId===this.getOptionId(e)},"aria-hidden":"true"},s("div",{class:{selected:!!e.selected,"list-element-content":!0},innerHTML:e.name}),e.icon&&s("z-tag",{icon:e.icon})))}listSizeType(){return this.hasTreeItems?r.NONE:this.size===l.SMALL||this.size===l.X_SMALL?r.SMALL:r.MEDIUM}renderSelectUlItems(){return this.itemsList.length?this.hasGroupItems?this.hasTreeItems?this.renderGroupedTree():this.renderSelectGroupItems():this.itemsList.map(((e,t,s)=>{const i=t===s.length-1;return this.hasTreeItems?this.renderTreeItems(e,i,s.length>1,!0,e.disabled):this.renderItem(e,i)})):this.renderNoSearchResults()}renderTreeItems(e,t,i,l,c){var r,o;const a=e.disabled||c,d=this.hasGroupItems?void 0:this.hasGroupItems?t&&!i?n.ELEMENT:void 0:l&&i&&!t?n.ELEMENT:void 0;return s("z-list-element",{clickable:!e.disabled,disabled:a,class:{"grouped-tree-parent-node":this.hasGroupItems&&!!(null===(r=e.children)||void 0===r?void 0:r.length),"tree-search-item":this.hasGroupItems&&l&&!(null===(o=e.children)||void 0===o?void 0:o.length)&&!!this.searchString},size:this.listSizeType(),dividerType:d,hasTreeItems:this.hasTreeItems,"html-tabindex":null,role:"presentation"},s("div",{id:this.getOptionId(e),role:a?"presentation":"option","aria-label":a?void 0:h(e.name),class:{"list-element":!0,active:this.focusedItemId===this.getOptionId(e)},onClick:()=>this.selectItem(e)},s("span",{class:"item ellipsis","aria-hidden":"true"},s("span",{class:{"item-label":!0,selected:!!e.selected},title:e.name,innerHTML:e.name})),e.icon&&s("z-tag",{icon:e.icon})),e.children&&e.children.length>0?s("z-list",{role:"presentation"},s("div",{class:"children-node"},e.children.map(((e,t,s)=>this.renderTreeItems(e,t===s.length-1,s.length>1,!1,a))))):null)}renderGroupedTree(){const e=this.getGroupedItems();return e.map((([t,i],l,c)=>{const r=Object.values(e).some((e=>e.length>1));return s("z-list-group",{"divider-type":l===c.length-1?void 0:n.ELEMENT,hasTreeItems:!0,"aria-labelledby":`${this.htmlid}_tree_${l}`},s("span",{class:"body-3-sb z-list-group-title",slot:"header-title",id:`${this.htmlid}_tree_${l}`,"aria-hidden":"true"},t),s("z-list",{role:"presentation"},i.map(((e,t,i)=>[this.renderTreeItems(e,t===i.length-1,r,!0,e.disabled),t<i.length-1?s("z-divider",{key:`divider-${t}`,style:{zIndex:"100",height:"var(--border-size-small)"}}):null]))),l!==c.length-1&&s("z-divider",{style:{zIndex:"100",height:"var(--border-size-small)"}}))}))}renderSelectGroupItems(){const e=this.getGroupedItems();return e.map((([t,i],l)=>{const c=e.length===l+1;return s("z-list-group",{"divider-type":n.ELEMENT,"aria-labelledby":`${this.htmlid}_group_${l}`},s("span",{class:"body-3-sb z-list-group-title",slot:"header-title",id:`${this.htmlid}_group_${l}`,"aria-hidden":"true"},t),i.map(((e,t)=>this.renderItem(e,c&&i.length===t+1))))}))}renderNoSearchResults(){return s("z-list-element",{class:"no-results",size:this.hasTreeItems?r.MEDIUM:this.listSizeType(),"html-tabindex":null,role:"presentation"},this.noresultslabel)}renderMessage(){if(!1!==d(this.message))return s("z-input-message",{message:!0===d(this.message)?void 0:this.message,status:this.status,class:this.size,disabled:this.disabled})}render(){return s("div",{key:"75718f2b3021a18a07fe3b4119849480b11dca4a",class:"select-wrapper"},this.renderInput(),this.renderSelectUl(),this.renderMessage())}get host(){return i(this)}static get watchers(){return{items:[{watchItems:0}]}}};u.style='.sc-z-select-h{display:inline-block;width:inherit;color:var(--color-form-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg)}[size="small"].sc-z-select-h,[size="x-small"].sc-z-select-h{font-size:var(--font-size-2)}.select-wrapper.sc-z-select>z-input.sc-z-select{width:100%}.select-wrapper.sc-z-select>z-input.sc-z-select .input-icon.sc-z-select{cursor:pointer}.select-wrapper.sc-z-select>div.sc-z-select{position:relative}.select-wrapper.sc-z-select>div.closed.sc-z-select{overflow:hidden;height:0}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select{position:absolute;width:100%;box-sizing:border-box;border-top:none;background:var(--color-form-background);box-shadow:var(--shadow-2);outline:none}.select-wrapper.sc-z-select .closed.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:10}.select-wrapper.sc-z-select .open.sc-z-select .ul-scroll-wrapper.sc-z-select{z-index:20}.select-wrapper.sc-z-select .ul-scroll-wrapper.fixed.sc-z-select{position:static}.select-wrapper.sc-z-select z-list.sc-z-select{--background-color-list-element:var(--color-form-background);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select>z-list.sc-z-select{position:relative;overflow:auto;max-height:240px;padding:var(--space-unit) calc(var(--space-unit) * 1.5);margin:0;outline:none}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element[disabled].sc-z-select{color:var(--color-form-disabled03)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select{display:flex;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);column-gap:var(--space-unit)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.active.sc-z-select{box-shadow:var(--shadow-focus-primary)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select .list-element-content.sc-z-select{margin-right:auto}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select+.list-element-content.sc-z-select{padding:calc(var(--space-unit) * 0.5) var(--space-unit)}[size="x-small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select .list-element-content.sc-z-select{padding:0}[size="small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select{--z-icon-width:16px;--z-icon-height:16px}[size="x-small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-select-h .select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select>z-icon.sc-z-select+.list-element-content.sc-z-select{padding:0 var(--space-unit)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select .list-element-container.sc-z-select .list-element-content.selected.sc-z-select{font-weight:var(--font-sb)}.select-wrapper.sc-z-select .ul-scroll-wrapper.sc-z-select .no-results.sc-z-select z-icon.sc-z-select{margin-right:var(--space-unit)}.z-list-group-title.sc-z-select{color:var(--color-form-default-text)}.reset-item.sc-z-select{color:var(--color-form-active-primary);fill:var(--color-form-active-primary)}.reset-item-content.sc-z-select{display:flex;align-items:center}.reset-item.sc-z-select .reset-item-content.active.sc-z-select{box-shadow:var(--shadow-focus-primary)}.reset-item.reset-item-margin.sc-z-select .reset-item-content.sc-z-select{margin-left:var(--space-unit)}.reset-item.sc-z-select .reset-item-content.sc-z-select>z-icon.sc-z-select{margin-right:var(--space-unit)}.reset-item.hide.sc-z-select{display:none}.tree-list-reset-item.sc-z-select{padding:var(--space-unit) 0}z-list-element.sc-z-select{position:relative;display:block}z-list.sc-z-select z-list-element.sc-z-select::before{position:absolute;z-index:100;top:3px;left:-8px;width:8px;height:1em;border-bottom:1px solid var(--color-form-disabled01-icon);border-left:1px solid var(--color-form-disabled01-icon);content:"";cursor:pointer}z-list.sc-z-select z-list-element.sc-z-select::after{position:absolute;z-index:100;top:5px;left:-8px;width:8px;height:100%;border-left:1px solid var(--color-form-disabled01-icon);content:"";cursor:pointer}z-list.sc-z-select z-list-element.sc-z-select:last-child::after{display:none}z-list.sc-z-select>z-list-element.sc-z-select::before,z-list.sc-z-select>z-list-element.sc-z-select::after,z-list.sc-z-select>z-list-group.sc-z-select>z-list-element.sc-z-select::before,z-list.sc-z-select>z-list-group.sc-z-select>z-list-element.sc-z-select::after{display:none}z-list.sc-z-select>div.children-node.sc-z-select{padding-left:calc(var(--space-unit) * 2)}z-list-element.sc-z-select>.list-element.sc-z-select{display:flex;justify-content:space-between;padding:calc(var(--space-unit) * 1.5) var(--space-unit);cursor:pointer}z-list-element.sc-z-select>.list-element.active.sc-z-select{box-shadow:var(--shadow-focus-primary)}z-list-element.sc-z-select:not([disabled])>.list-element.sc-z-select:hover,z-list-element.sc-z-select:not([disabled])>.list-element.sc-z-select:hover::after{background-color:var(--background-hover-color-list-element, var(--color-background))}z-list-element.sc-z-select>.list-element.sc-z-select .item.ellipsis.sc-z-select{overflow:hidden}z-list-element.sc-z-select .list-element.sc-z-select::after{position:absolute;top:0;right:-1px;display:block;width:100%;height:45px;content:"";transform:translateX(-100%)}z-list-element.tree-search-item.sc-z-select{padding-top:0}z-list-element.tree-search-item.sc-z-select .list-element.sc-z-select::after{position:absolute;right:-25px;display:block;width:100%;height:45px;content:"";transform:translateX(-100%)}z-list-element.grouped-tree-parent-node.sc-z-select .list-element.sc-z-select::after{position:absolute;right:-25px;display:block;width:100%;height:45px;content:"";transform:translateX(-100%)}.item-label.selected.sc-z-select{font-weight:bold}.item.ellipsis.sc-z-select{display:inline-block;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}z-list.sc-z-select>z-list-element.grouped-tree-parent-node.sc-z-select>.list-element.sc-z-select:hover::after,z-list-element.tree-search-item.sc-z-select .list-element.sc-z-select:hover::after,z-list.sc-z-select>z-list-group.sc-z-select>z-list-element.grouped-tree-parent-node.sc-z-select>.list-element.sc-z-select:hover::after{position:absolute;z-index:-1;right:-18px;display:block;width:100%;height:45px;content:"";transform:translateX(-100%)}z-list-element.sc-z-select>.list-element.sc-z-select:hover::after{position:absolute;z-index:-1;top:0;right:0;display:block;width:100%;height:45px;content:"";transform:translateX(-100%)}.children-node.sc-z-select z-list-element.sc-z-select::before,.children-node.sc-z-select z-list-element.sc-z-select::after{left:-8px}.children-node.sc-z-select .children-node.sc-z-select z-list-element.sc-z-select::before,.children-node.sc-z-select .children-node.sc-z-select z-list-element.sc-z-select::after{left:-8px}.children-node.sc-z-select>z-list-element.sc-z-select{padding:0}';export{u as z_select}
@@ -1 +1 @@
1
- import{r as L,h as i,H as t}from"./p-ByN2sYu6.js";const o=class{constructor(i){L(this,i)}render(){const L={};return this.width&&(L.width=L["max-width"]=`${this.width}px`),this.height&&(L.height=L["max-height"]=`${this.height}px`),i(t,{key:"649a64cb6a489dd102212f138c42446b3b1dbd79",style:L,class:{mobile:!!this.mobileLogo}},this.link?i("a",{href:this.link,target:this.targetBlank?"_blank":"_self"},i("img",{alt:this.imageAlt})):i("img",{alt:this.imageAlt}))}};o.style=":host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";export{o as z_logo}
1
+ import{r as L,h as i,H as o}from"./p-fIt9Ytc6.js";const t=class{constructor(i){L(this,i)}render(){const L={};return this.width&&(L.width=L["max-width"]=`${this.width}px`),this.height&&(L.height=L["max-height"]=`${this.height}px`),i(o,{key:"9401038e196d731be0ca5b2727f58b68fb47442c",style:L,class:{mobile:!!this.mobileLogo}},this.link?i("a",{href:this.link,target:this.targetBlank?"_blank":"_self"},i("img",{alt:this.imageAlt})):i("img",{alt:this.imageAlt}))}};t.style=":host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}a:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";export{t as z_logo}
@@ -0,0 +1 @@
1
+ import{r as e,h as o}from"./p-fIt9Ytc6.js";const a=class{constructor(o){e(this,o)}render(){return o("div",{key:"e03532734334f374789a31da73f15e32ee8c1679"},o("footer",{key:"36bbfc8363d00503545aa9a1dd4de0e8b036c0e2"},o("div",{key:"159b35a78ec38d541d6016fa4724effa00a66dd6",class:"top"},o("slot",{key:"25c311436a817abf5d0d961a6e2f699fcea6f331",name:"top"})),o("div",{key:"248485fc69ef0c7c76ca086a86a5971ae3e3876f",class:"bottom"},o("slot",{key:"fe1b0f89936780d822328e13ce94564838f3c0d7",name:"bottom"}))))}};a.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{height:128px;box-sizing:border-box;padding:var(--space-unit) calc(var(--space-unit) * 2) 0;border-top:var(--border-size-medium) solid var(--color-surface03);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";export{a as z_myz_card_footer_sections}
@@ -1 +1 @@
1
- import{r as t,h as i,H as n,d as o}from"./p-ByN2sYu6.js";import{T as s}from"./p-BKCj6NR2.js";import{f as c,h as e}from"./p-D4yqZKyM.js";import"./p-Q-tWjk7P.js";const r=class{constructor(i){t(this,i),this.links=[],this.visible=!1,this.visibleLink=""}handleFocusOutSkipToContent(t){this.isInSkipToContent(t.target)&&(this.visible=!1)}handleFocusSkipToContent(t){this.isInSkipToContent(t.target)&&(this.visible=!0)}componentDidLoad(){this.showFirstChild()}componentWillRender(){this.links&&(this.links="string"==typeof this.links?JSON.parse(this.links):this.links)}isInSkipToContent(t){const i=c(t).find((t=>"z-skip-to-content"===t.nodeName.toLowerCase()));return!!i}showFirstChild(){var t;const i=null===(t=this.hostElement.children)||void 0===t?void 0:t[0];i&&(this.visibleLink=i.id)}handleLinkClick(){this.visible=!1}render(){return i(n,{key:"453b88d07dba674089b87d0e203154d57967ae20",class:{[this.variant]:!0,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("div",{class:"link-container"},i("a",{id:o,class:{"body-1-sb":!0,"z-link":!0,"z-link-underline":!0,"z-link-inverse":this.variant===s.DARK,"link-visible":o==this.visibleLink,"link-invisible":o!=this.visibleLink},"aria-label":t.ariaLabel||t.label,href:t.href,onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>e(t,this.handleLinkClick.bind(this))},t.label))})))}get hostElement(){return o(this)}};r.style=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-default-text)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";export{r as z_skip_to_content}
1
+ import{r as t,h as i,H as n,d as o}from"./p-fIt9Ytc6.js";import{T as s}from"./p-BKCj6NR2.js";import{i as c,h as e}from"./p-B0bOjMSb.js";import"./p-Q-tWjk7P.js";const r=class{constructor(i){t(this,i),this.links=[],this.visible=!1,this.visibleLink=""}handleFocusOutSkipToContent(t){this.isInSkipToContent(t.target)&&(this.visible=!1)}handleFocusSkipToContent(t){this.isInSkipToContent(t.target)&&(this.visible=!0)}componentDidLoad(){this.showFirstChild()}componentWillRender(){this.links&&(this.links="string"==typeof this.links?JSON.parse(this.links):this.links)}isInSkipToContent(t){const i=c(t).find((t=>"z-skip-to-content"===t.nodeName.toLowerCase()));return!!i}showFirstChild(){var t;const i=null===(t=this.hostElement.children)||void 0===t?void 0:t[0];i&&(this.visibleLink=i.id)}handleLinkClick(){this.visible=!1}render(){return i(n,{key:"f59a9eb487f7e07167a2760cff9d317e43866b8b",class:{[this.variant]:!0,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("div",{class:"link-container"},i("a",{id:o,class:{"body-1-sb":!0,"z-link":!0,"z-link-underline":!0,"z-link-inverse":this.variant===s.DARK,"link-visible":o==this.visibleLink,"link-invisible":o!=this.visibleLink},"aria-label":t.ariaLabel||t.label,href:t.href,onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>e(t,this.handleLinkClick.bind(this))},t.label))})))}get hostElement(){return o(this)}};r.style=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-default-text)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";export{r as z_skip_to_content}
@@ -1 +1 @@
1
- import{r as e,h as a}from"./p-ByN2sYu6.js";const i=class{constructor(a){e(this,a),this.target="_blank",this.isdisabled=!1}render(){const e=this.elemid?this.elemid:"";return a("div",{key:"6a782a3e364918d674cd75e87ee3d4c45051c01a",class:"panel-elem-container"},(this.imgurl||this.imgalt)&&a("div",{key:"5f1b5804796364f571c07595199f206bf07fc348","aria-hidden":"true",class:"panel-elem-icon"},a("img",{key:"b3180aff50d92de37b4c0e2b42a08aa690f70eab",src:this.imgurl,alt:this.imgalt})),a("div",{key:"9e461e124c92188bfb882b038d7bf72e2dc833a6",class:"panel-elem-link"},a("a",{key:"c9585b59f9fda70d371ac569ca3a69e6959a850a",class:{"z-link":!0,"z-link-disabled":this.isdisabled,"z-link-icon":!0,"z-link-blue":!0},id:e+"link_id",href:this.url,target:this.target},a("z-icon",{key:"78acdd240f6f8bba67e30fb0027ca0e9c7bd96c2",height:14,width:14,name:this.linkicon}),this.linklabel)),this.descrSlotName&&a("div",{key:"4fc3ffb45cc05b62e1350b82be87ea4558b42c03",class:"panel-elem-desc"},a("slot",{key:"11e64776988c032c870ac9389d559a679dbd9588",name:this.descrSlotName})))}};i.style=".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";export{i as z_panel_elem}
1
+ import{r as e,h as a}from"./p-fIt9Ytc6.js";const i=class{constructor(a){e(this,a),this.target="_blank",this.isdisabled=!1}render(){const e=this.elemid?this.elemid:"";return a("div",{key:"5ec6258c1b03272d134bfd051fccfa2f922d9d18",class:"panel-elem-container"},(this.imgurl||this.imgalt)&&a("div",{key:"0e2510843c7f3d4a6a51d4e3397972e9f8ff9278","aria-hidden":"true",class:"panel-elem-icon"},a("img",{key:"a147b33a20b2432bca9577c724bcb90ee4ec0796",src:this.imgurl,alt:this.imgalt})),a("div",{key:"7eb80ce42df88d0f6f20cd8489b0052588539602",class:"panel-elem-link"},a("a",{key:"40622a092e1b7c111932edcf8e3f083a7e589148",class:{"z-link":!0,"z-link-disabled":this.isdisabled,"z-link-icon":!0,"z-link-blue":!0},id:e+"link_id",href:this.url,target:this.target},a("z-icon",{key:"c5febcd1de48afe90a33cba4c3e4cc90fe08444d",height:14,width:14,name:this.linkicon}),this.linklabel)),this.descrSlotName&&a("div",{key:"4f131023ff6a577c535670c9762ae8458825c94f",class:"panel-elem-desc"},a("slot",{key:"82e06bd4163c9e72c7f0614c314a001d158db9ce",name:this.descrSlotName})))}};i.style=".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";export{i as z_panel_elem}
@@ -0,0 +1 @@
1
+ import{r as t,c,h as e,H as s}from"./p-fIt9Ytc6.js";import{k as i}from"./p-BKCj6NR2.js";import{r as a}from"./p-B0bOjMSb.js";import"./p-Q-tWjk7P.js";const l=class{constructor(e){t(this,e),this.toggleClick=c(this,"toggleClick",7),this.disabled=!1,this.labelPosition=i.LEFT,this.checked=!1,this.htmlid=`toggle-switch-id-${a()}`}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(t){this.disabled||(this.checked=t.target.checked,this.emitToggleClick())}render(){return e(s,{key:"56f9d8ff6eb13dfa9c113cbf6c0938e141d55c67"},e("input",{key:"3417b90e089286fad9bccb61a5f4b39ae4168f91",id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),e("label",{key:"ddd2fe347095d9551d8881c83a9a88f2a76baa75",htmlFor:this.htmlid,class:{[this.labelPosition]:!0,disabled:this.disabled}},e("span",{key:"8532e35c90ac967e7bd5ba19b6cfb427e30a8a9e"},e("slot",{key:"013eb019d7033bdf49fc2ca79ec647dc47aa5516"})),e("span",{key:"4aa4b5abb12d819bb253c68f8315baf89935dd70",class:{container:!0,disabled:this.disabled,checked:this.checked}},e("span",{key:"1379aa626ccb15cc65337fd09063865051078dfb",class:"circle"},this.checked&&e("z-icon",{key:"c69f5f85fd886ae9ab30a559a6db66c1ad4f1db7",width:12,height:12,name:"checkmark"})))))}};l.style='.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}';export{l as z_toggle_switch}
@@ -1 +1 @@
1
- import{r as t,h as s,H as o,d as a}from"./p-ByN2sYu6.js";import{g as i}from"./p-BKCj6NR2.js";const r=class{constructor(s){t(this,s),this.currentFocusIndex=0,this.toolItems=[]}componentDidLoad(){this.collectToolItems(),this.updateTabIndexes();let t=parseInt(getComputedStyle(this.hostElement).getPropertyValue("--z-toolbar-columns")||"6");t=this.toolItems.length<=t?this.toolItems.length:t,this.hostElement.style.setProperty("--z-toolbar-columns",t.toString())}collectToolItems(){this.toolItems=Array.from(this.hostElement.querySelectorAll("z-tool:not(:scope z-tool z-tool)"))}updateTabIndexes(){this.toolItems.forEach(((t,s)=>{t.setTabIndex(s===this.currentFocusIndex?0:-1)}))}focusToolAt(t,s="next"){const o=this.toolItems[t];if(o){if(this.currentFocusIndex=t,!o.disabled)return o.setFocus(),void this.updateTabIndexes();"next"===s?this.focusNextTool():this.focusPreviousTool()}}focusNextTool(){this.focusToolAt((this.currentFocusIndex+1)%this.toolItems.length)}focusPreviousTool(){this.focusToolAt((this.currentFocusIndex-1+this.toolItems.length)%this.toolItems.length,"previous")}closeSiblingSubmenusOnOpen(t){if(!0!==t.detail)return;const s=t.target.closest("z-tool");s&&this.toolItems.includes(s)&&this.toolItems.forEach((t=>{t!==s&&t.open&&(t.open=!1)}))}closeSiblingTooltipsOnOpen(t){if(!0!==t.detail)return;const s=t.target;this.toolItems.includes(s)&&this.toolItems.forEach((t=>{t!==s&&t.closeTooltip()}))}handleKeyDown(t){const s=t.target.closest("z-tool");if(!s||!this.toolItems.includes(s))return;const o=this.toolItems.indexOf(s);switch(-1!==o&&(this.currentFocusIndex=o),t.key){case i.ARROW_RIGHT:t.preventDefault(),this.focusNextTool();break;case i.ARROW_LEFT:t.preventDefault(),this.focusPreviousTool()}}handleFocusIn(t){const s=t.target.closest("z-tool"),o=this.toolItems.indexOf(s);-1!==o&&o!==this.currentFocusIndex&&(this.currentFocusIndex=o,this.updateTabIndexes())}render(){return s(o,{key:"d766b9377953f92994c693221a9ea7c5104cd1c6",role:"toolbar","aria-label":this.htmlAriaLabel},s("slot",{key:"37d3079836475575d0267725589798a39025a517",onSlotchange:()=>{this.collectToolItems(),this.updateTabIndexes()}}))}get hostElement(){return a(this)}};r.style=":host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;background:repeating-linear-gradient( to bottom, transparent 0, transparent calc(var(--space-unit) * 5.5), var(--color-surface03) calc(var(--space-unit) * 5.5), var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px) ) center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}";export{r as z_toolbar}
1
+ import{r as t,h as o,H as s,d as a}from"./p-fIt9Ytc6.js";import{g as i}from"./p-BKCj6NR2.js";const r=class{constructor(o){t(this,o),this.currentFocusIndex=0,this.toolItems=[]}componentDidLoad(){this.collectToolItems(),this.updateTabIndexes();let t=parseInt(getComputedStyle(this.hostElement).getPropertyValue("--z-toolbar-columns")||"6");t=this.toolItems.length<=t?this.toolItems.length:t,this.hostElement.style.setProperty("--z-toolbar-columns",t.toString())}collectToolItems(){this.toolItems=Array.from(this.hostElement.querySelectorAll("z-tool:not(:scope z-tool z-tool)"))}updateTabIndexes(){this.toolItems.forEach(((t,o)=>{t.setTabIndex(o===this.currentFocusIndex?0:-1)}))}focusToolAt(t,o="next"){const s=this.toolItems[t];if(s){if(this.currentFocusIndex=t,!s.disabled)return s.setFocus(),void this.updateTabIndexes();"next"===o?this.focusNextTool():this.focusPreviousTool()}}focusNextTool(){this.focusToolAt((this.currentFocusIndex+1)%this.toolItems.length)}focusPreviousTool(){this.focusToolAt((this.currentFocusIndex-1+this.toolItems.length)%this.toolItems.length,"previous")}closeSiblingSubmenusOnOpen(t){if(!0!==t.detail)return;const o=t.target.closest("z-tool");o&&this.toolItems.includes(o)&&this.toolItems.forEach((t=>{t!==o&&t.open&&(t.open=!1)}))}closeSiblingTooltipsOnOpen(t){if(!0!==t.detail)return;const o=t.target;this.toolItems.includes(o)&&this.toolItems.forEach((t=>{t!==o&&t.closeTooltip()}))}handleKeyDown(t){const o=t.target.closest("z-tool");if(!o||!this.toolItems.includes(o))return;const s=this.toolItems.indexOf(o);switch(-1!==s&&(this.currentFocusIndex=s),t.key){case i.ARROW_RIGHT:t.preventDefault(),this.focusNextTool();break;case i.ARROW_LEFT:t.preventDefault(),this.focusPreviousTool()}}handleFocusIn(t){const o=t.target.closest("z-tool"),s=this.toolItems.indexOf(o);-1!==s&&s!==this.currentFocusIndex&&(this.currentFocusIndex=s,this.updateTabIndexes())}render(){return o(s,{key:"da37a1abe86b6c96aaabdc4f5714716ea3ce7281",role:"toolbar","aria-label":this.htmlAriaLabel},o("slot",{key:"73b950e1efb794a75930915ccb39cf58dc524fb0",onSlotchange:()=>{this.collectToolItems(),this.updateTabIndexes()}}))}get hostElement(){return a(this)}};r.style=":host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;background:repeating-linear-gradient( to bottom, transparent 0, transparent calc(var(--space-unit) * 5.5), var(--color-surface03) calc(var(--space-unit) * 5.5), var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px) ) center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}";export{r as z_toolbar}
@@ -1 +1 @@
1
- import{r as e,h as t,H as r}from"./p-ByN2sYu6.js";const i=class{constructor(t){e(this,t)}getAttributes(){const e=!this.href||this.pressed||this.disabled?void 0:{onClick:()=>location.href=this.href},t=e?{role:"link"}:void 0,r=this.pressed&&!this.disabled?{"aria-current":"step"}:void 0,i=this.pressed||""===this.href?{tabIndex:-1}:void 0;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),r),i)}render(){return t(r,{key:"7aa1de5d716837aadddf7f403322ff3cd296848e",role:"listitem"},t("button",Object.assign({key:"beb11602a3c794d7a745ab82a58d033b6e0752e5",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"892e9dc3c317594f13616a6f3581ad2451721cf1",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"4e91ebaf7ed054394482485c8a67c973a783ed48"},t("slot",{key:"7faef9a6f126d000f742e4e8a58d6b37cdf48504"}))))}};i.style=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';export{i as z_stepper_item}
1
+ import{r as e,h as t,H as r}from"./p-fIt9Ytc6.js";const i=class{constructor(t){e(this,t)}getAttributes(){const e=!this.href||this.pressed||this.disabled?void 0:{onClick:()=>location.href=this.href},t=e?{role:"link"}:void 0,r=this.pressed&&!this.disabled?{"aria-current":"step"}:void 0,i=this.pressed||""===this.href?{tabIndex:-1}:void 0;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),r),i)}render(){return t(r,{key:"bb0ceb975a1380777583fd907c244bb4980fb606",role:"listitem"},t("button",Object.assign({key:"d059cfce75ffd60f0f3d2215aaa639dcdfdbb500",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"ce84b4f682bc3f5a1753f6903493eba8d407bdf0",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"2252ddbf8636b2138f2620a9c1e3ba1eb08aa2b0"},t("slot",{key:"a04ee80011c0b71bcce5488f0d5f3594ecd65da1"}))))}};i.style=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';export{i as z_stepper_item}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as o,d as n}from"./p-ByN2sYu6.js";import{P as s,g as a}from"./p-BKCj6NR2.js";import{a as r}from"./p-D4yqZKyM.js";import"./p-Q-tWjk7P.js";const h=class{constructor(i){t(this,i),this.toggleSubmenu=e(this,"toggleSubmenu",7),this.toggleTooltip=e(this,"toggleTooltip",7),this.tooltipPosition=s.TOP,this.active=!1,this.disabled=!1,this.open=!1,this.tooltipOpen=!1,this.hasSlottedContent=!1,this.isMobile=!1,this.hasNestedOpenTools=!1,this.isNested=!1,this.handleTooltipOpen=t=>{this.tooltip&&!this.open&&this.buttonRef.contains(t.target)&&(clearTimeout(this.hoverDelay),this.hoverDelay=setTimeout((()=>{this.tooltipOpen=!0}),1e3))},this.handleTooltipClose=t=>{var e;this.tooltip&&(null===(e=t.relatedTarget)||void 0===e?void 0:e.closest("z-tooltip"))!==this.tooltipRef&&(clearTimeout(this.hoverDelay),this.tooltipOpen=!1)},this.handleClick=()=>{if(!this.disabled&&this.hasSlottedContent&&(this.open=!this.open,this.open)){const t=this.hostElement.querySelector(":scope > z-color-picker");if(t)return void t.setFocus();const e=this.hostElement.querySelector(":scope > z-toolbar z-tool[active]:not(:disabled)")||this.hostElement.querySelector(":scope > z-toolbar z-tool:not(:disabled)");null==e||e.setFocus()}},this.onTooltipOpenChange=t=>{t.target!==this.tooltipRef&&(this.tooltipOpen=t.detail.open)}}handleOpenChange(){this.toggleSubmenu.emit(this.open)}handleTooltipOpenChange(){this.toggleTooltip.emit(this.tooltipOpen)}handleKeyDown(t){if(this.open&&!this.hasNestedOpenTools)switch(t.key){case a.ESC:t.stopPropagation(),this.open=!1,this.setFocus();break;case a.TAB:t.shiftKey&&t.target.closest("z-tool:not(:scope)")===this.hostElement&&(this.open=!1)}}onOutsideClick(t){const e=t.composedPath()[0];!this.open||r(this.hostElement,e)||this.hasNestedOpenTools||(this.open=!1)}onNestedToolToggle(t){t.target!==this.hostElement&&(this.hasNestedOpenTools=!0===t.detail||Array.from(this.hostElement.querySelectorAll("z-tool")).some((t=>t.open)))}handleColorSelected(t){Array.from(this.hostElement.children).includes(t.target)&&(this.indicatorColor=t.detail,this.open=!1,this.setFocus())}handleExternalFocusin(t){r(this.hostElement,t.target)||(this.open=!1)}async setFocus(){this.disabled||setTimeout((()=>{var t;null===(t=this.buttonRef)||void 0===t||t.focus()}),50)}async setTabIndex(t){this.buttonRef&&(this.buttonRef.tabIndex=this.disabled?-1:t)}async closeTooltip(){clearTimeout(this.hoverDelay),this.tooltipOpen=!1}componentWillLoad(){this.hasSlottedContent=this.hostElement.children.length>0,this.isNested=!!this.hostElement.closest("z-tool:not(:scope)"),this.mainToolbar=this.hostElement.closest("z-toolbar:not(z-toolbar z-toolbar)"),this.hasNestedOpenTools=!!this.hostElement.querySelector("z-tool[open]"),this.mql=matchMedia("(max-width: 767px)"),this.onMobileViewChange=t=>this.isMobile=t.matches,this.mql.addEventListener("change",this.onMobileViewChange),this.isMobile=this.mql.matches}disconnectedCallback(){var t;clearTimeout(this.hoverDelay),null===(t=this.mql)||void 0===t||t.removeEventListener("change",this.onMobileViewChange)}render(){return i(o,{key:"1a87f70e20dca23bc4207f03aa1cd933c5fa668e",class:{"z-tool-tooltip-open":this.tooltipOpen}},i("button",{key:"df7f4ad8a47dee955b9c4c249354fa114410409d",class:"z-tool",type:"button",ref:t=>this.buttonRef=t,"aria-pressed":this.hasSlottedContent?void 0:this.active?"true":"false","aria-expanded":this.hasSlottedContent?this.open?"true":"false":void 0,"aria-haspopup":this.hasSlottedContent?"true":void 0,"aria-label":this.htmlAriaLabel||this.tooltip||void 0,disabled:this.disabled,onClick:this.handleClick,onMouseEnter:this.handleTooltipOpen,onMouseLeave:this.handleTooltipClose,onFocus:this.handleTooltipOpen,onBlur:this.handleTooltipClose},i("z-icon",{key:"43bd668b9d58377caa755e7eeaf68e3381b036f0",ref:t=>this.iconRef=t,name:this.icon,indicatorColor:this.indicatorColor})),this.tooltip&&i("z-tooltip",{key:"a86766b86ee4cf878f5a48f48e135b8cd3092f3a",class:"z-tool-tooltip",ref:t=>this.tooltipRef=t,bindTo:this.iconRef,open:this.tooltipOpen&&!this.open,position:this.isNested?s.BOTTOM:this.tooltipPosition,dark:!0,onMouseLeave:this.handleTooltipClose,onBlur:this.handleTooltipClose,onOpenChange:this.onTooltipOpenChange},i("span",{key:"91ddd32599a6a6a3b4fbf34fb69fdabff0dbbda9",class:"body-4"},this.tooltip)),this.hasSlottedContent&&i("z-popover",{key:"ec7b937f451db4a1b206b386d6f199b5cf71117d",class:"z-tool-submenu",open:this.open,bindTo:this.isMobile&&this.mainToolbar?this.mainToolbar:this.hostElement,center:!0,closable:!1,position:this.isMobile?s.TOP:s.BOTTOM},i("slot",{key:"85e016cb92ce6c7356afa7f93bbdd278ab3ff88e"})))}get hostElement(){return n(this)}static get watchers(){return{open:[{handleOpenChange:0}],tooltipOpen:[{handleTooltipOpenChange:0}]}}};h.style=':host,*{box-sizing:border-box}.z-tool{--z-tool-size:calc(var(--space-unit) * 5.5);--z-tool-icon-size:calc(var(--space-unit) * 2.5);position:relative;display:inline-flex;width:var(--z-tool-size);height:var(--z-tool-size);align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--color-surface01);border-radius:var(--border-radius);cursor:pointer}:host(:is([active],[open])) .z-tool{box-shadow:inset 0 0 0 2px var(--color-primary01)}:host([open]) .z-tool{background:var(--color-primary03)}@media (hover: hover){:host(:hover),:host(.z-tool-tooltip-open){z-index:1}:host(:not([disabled])) .z-tool:hover{background-color:var(--color-primary03)}}.z-tool:focus:focus-visible{background-color:var(--color-primary03);outline:none}z-icon{--z-icon-width:var(--z-tool-icon-size);--z-icon-height:var(--z-tool-icon-size);display:block;fill:var(--color-default-icon)}:host([disabled]) .z-tool{color:var(--color-disabled01-icon);cursor:not-allowed}:host([disabled]) z-icon{fill:var(--color-disabled01-icon)}.z-tool-tooltip{--z-tooltip-padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);--z-tooltip-shadow-filter:drop-shadow(0 4px 8px var(--shadow-color-base));position:relative;z-index:2;font-family:var(--font-family-sans);white-space:nowrap}.z-tool-submenu{z-index:3;border-radius:calc(var(--border-radius) + var(--border-size-small))}.z-tool-submenu ::slotted(z-color-picker){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}@media (max-width: 767px) and (hover: none){.z-tool-tooltip{display:none !important}}:root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}';export{h as z_tool}
1
+ import{r as t,c as e,h as i,H as o,d as n}from"./p-fIt9Ytc6.js";import{P as s,g as a}from"./p-BKCj6NR2.js";import{a as r}from"./p-B0bOjMSb.js";import"./p-Q-tWjk7P.js";const h=class{constructor(i){t(this,i),this.toggleSubmenu=e(this,"toggleSubmenu",7),this.toggleTooltip=e(this,"toggleTooltip",7),this.tooltipPosition=s.TOP,this.active=!1,this.disabled=!1,this.open=!1,this.tooltipOpen=!1,this.hasSlottedContent=!1,this.isMobile=!1,this.hasNestedOpenTools=!1,this.isNested=!1,this.handleTooltipOpen=t=>{this.tooltip&&!this.open&&this.buttonRef.contains(t.target)&&(clearTimeout(this.hoverDelay),this.hoverDelay=setTimeout((()=>{this.tooltipOpen=!0}),1e3))},this.handleTooltipClose=t=>{var e;this.tooltip&&(null===(e=t.relatedTarget)||void 0===e?void 0:e.closest("z-tooltip"))!==this.tooltipRef&&(clearTimeout(this.hoverDelay),this.tooltipOpen=!1)},this.handleClick=()=>{if(!this.disabled&&this.hasSlottedContent&&(this.open=!this.open,this.open)){const t=this.hostElement.querySelector(":scope > z-color-picker");if(t)return void t.setFocus();const e=this.hostElement.querySelector(":scope > z-toolbar z-tool[active]:not(:disabled)")||this.hostElement.querySelector(":scope > z-toolbar z-tool:not(:disabled)");null==e||e.setFocus()}},this.onTooltipOpenChange=t=>{t.target!==this.tooltipRef&&(this.tooltipOpen=t.detail.open)}}handleOpenChange(){this.toggleSubmenu.emit(this.open)}handleTooltipOpenChange(){this.toggleTooltip.emit(this.tooltipOpen)}handleKeyDown(t){if(this.open&&!this.hasNestedOpenTools)switch(t.key){case a.ESC:t.stopPropagation(),this.open=!1,this.setFocus();break;case a.TAB:t.shiftKey&&t.target.closest("z-tool:not(:scope)")===this.hostElement&&(this.open=!1)}}onOutsideClick(t){const e=t.composedPath()[0];!this.open||r(this.hostElement,e)||this.hasNestedOpenTools||(this.open=!1)}onNestedToolToggle(t){t.target!==this.hostElement&&(this.hasNestedOpenTools=!0===t.detail||Array.from(this.hostElement.querySelectorAll("z-tool")).some((t=>t.open)))}handleColorSelected(t){Array.from(this.hostElement.children).includes(t.target)&&(this.indicatorColor=t.detail,this.open=!1,this.setFocus())}handleExternalFocusin(t){r(this.hostElement,t.target)||(this.open=!1)}async setFocus(){this.disabled||setTimeout((()=>{var t;null===(t=this.buttonRef)||void 0===t||t.focus()}),50)}async setTabIndex(t){this.buttonRef&&(this.buttonRef.tabIndex=this.disabled?-1:t)}async closeTooltip(){clearTimeout(this.hoverDelay),this.tooltipOpen=!1}componentWillLoad(){this.hasSlottedContent=this.hostElement.children.length>0,this.isNested=!!this.hostElement.closest("z-tool:not(:scope)"),this.mainToolbar=this.hostElement.closest("z-toolbar:not(z-toolbar z-toolbar)"),this.hasNestedOpenTools=!!this.hostElement.querySelector("z-tool[open]"),this.mql=matchMedia("(max-width: 767px)"),this.onMobileViewChange=t=>this.isMobile=t.matches,this.mql.addEventListener("change",this.onMobileViewChange),this.isMobile=this.mql.matches}disconnectedCallback(){var t;clearTimeout(this.hoverDelay),null===(t=this.mql)||void 0===t||t.removeEventListener("change",this.onMobileViewChange)}render(){return i(o,{key:"5adf35d9c14bc55415a5f333f032d07e70c679ce",class:{"z-tool-tooltip-open":this.tooltipOpen}},i("button",{key:"9042104162bc039b37f109bac99f3213a3865f7f",class:"z-tool",type:"button",ref:t=>this.buttonRef=t,"aria-pressed":this.hasSlottedContent?void 0:this.active?"true":"false","aria-expanded":this.hasSlottedContent?this.open?"true":"false":void 0,"aria-haspopup":this.hasSlottedContent?"true":void 0,"aria-label":this.htmlAriaLabel||this.tooltip||void 0,disabled:this.disabled,onClick:this.handleClick,onMouseEnter:this.handleTooltipOpen,onMouseLeave:this.handleTooltipClose,onFocus:this.handleTooltipOpen,onBlur:this.handleTooltipClose},i("z-icon",{key:"21f9a4e4a429b3d4a8cc294195ebcec03baebdff",ref:t=>this.iconRef=t,name:this.icon,indicatorColor:this.indicatorColor})),this.tooltip&&i("z-tooltip",{key:"98d553c4bc74b15b5762284dd3f973086a5dc39c",class:"z-tool-tooltip",ref:t=>this.tooltipRef=t,bindTo:this.iconRef,open:this.tooltipOpen&&!this.open,position:this.isNested?s.BOTTOM:this.tooltipPosition,dark:!0,onMouseLeave:this.handleTooltipClose,onBlur:this.handleTooltipClose,onOpenChange:this.onTooltipOpenChange},i("span",{key:"ae88d5b59fe21ec1df190c3599042740c3a76634",class:"body-4"},this.tooltip)),this.hasSlottedContent&&i("z-popover",{key:"796d9040bbf935d87b0981d64d6e0404a36189b0",class:"z-tool-submenu",open:this.open,bindTo:this.isMobile&&this.mainToolbar?this.mainToolbar:this.hostElement,center:!0,closable:!1,position:this.isMobile?s.TOP:s.BOTTOM},i("slot",{key:"a16a3b105a1488373193752b3c9eeb2eab0dc0c2"})))}get hostElement(){return n(this)}static get watchers(){return{open:[{handleOpenChange:0}],tooltipOpen:[{handleTooltipOpenChange:0}]}}};h.style=':host,*{box-sizing:border-box}.z-tool{--z-tool-size:calc(var(--space-unit) * 5.5);--z-tool-icon-size:calc(var(--space-unit) * 2.5);position:relative;display:inline-flex;width:var(--z-tool-size);height:var(--z-tool-size);align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--color-surface01);border-radius:var(--border-radius);cursor:pointer}:host(:is([active],[open])) .z-tool{box-shadow:inset 0 0 0 2px var(--color-primary01)}:host([open]) .z-tool{background:var(--color-primary03)}@media (hover: hover){:host(:hover),:host(.z-tool-tooltip-open){z-index:1}:host(:not([disabled])) .z-tool:hover{background-color:var(--color-primary03)}}.z-tool:focus:focus-visible{background-color:var(--color-primary03);outline:none}z-icon{--z-icon-width:var(--z-tool-icon-size);--z-icon-height:var(--z-tool-icon-size);display:block;fill:var(--color-default-icon)}:host([disabled]) .z-tool{color:var(--color-disabled01-icon);cursor:not-allowed}:host([disabled]) z-icon{fill:var(--color-disabled01-icon)}.z-tool-tooltip{--z-tooltip-padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);--z-tooltip-shadow-filter:drop-shadow(0 4px 8px var(--shadow-color-base));position:relative;z-index:2;font-family:var(--font-family-sans);white-space:nowrap}.z-tool-submenu{z-index:3;border-radius:calc(var(--border-radius) + var(--border-size-small))}.z-tool-submenu ::slotted(z-color-picker){border:var(--border-size-small) solid var(--color-surface03);border-radius:var(--border-radius)}@media (max-width: 767px) and (hover: none){.z-tool-tooltip{display:none !important}}:root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}';export{h as z_tool}
@@ -1 +1 @@
1
- import{r,c as o,h as a}from"./p-ByN2sYu6.js";const i=class{constructor(a){r(this,a),this.toggleClick=o(this,"toggleClick",7),this.isdisabled=!1,this.opened=!1,this.ariaLabel=""}emitToggleClick(){this.isdisabled||(this.opened=!this.opened,this.toggleClick.emit(this.opened))}render(){return a("button",{key:"246d3cb54f0af334717c38005e7494388420e2fd",tabindex:this.avoidclick?"-1":"0",class:{isopen:this.opened,"avoid-clicks":this.avoidclick},disabled:this.isdisabled,"aria-expanded":this.opened?"true":"false","aria-label":this.ariaLabel,onClick:()=>this.emitToggleClick()},a("z-icon",{key:"a971c5521659db9d407f39592907e9ad9e755cf5",name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};i.style="button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";export{i as z_toggle_button}
1
+ import{r,c as o,h as a}from"./p-fIt9Ytc6.js";const i=class{constructor(a){r(this,a),this.toggleClick=o(this,"toggleClick",7),this.isdisabled=!1,this.opened=!1,this.ariaLabel=""}emitToggleClick(){this.isdisabled||(this.opened=!this.opened,this.toggleClick.emit(this.opened))}render(){return a("button",{key:"12715211c2a202659aebbbafce50ef723523e5b5",tabindex:this.avoidclick?"-1":"0",class:{isopen:this.opened,"avoid-clicks":this.avoidclick},disabled:this.isdisabled,"aria-expanded":this.opened?"true":"false","aria-label":this.ariaLabel,onClick:()=>this.emitToggleClick()},a("z-icon",{key:"2e6c9c85c5728eb03116da7b58f13da76abd1cf1",name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};i.style="button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";export{i as z_toggle_button}