@zanichelli/albe-web-components 19.2.1 → 19.2.3-RC1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1554) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
  3. package/dist/cjs/{breakpoints-8a1e87e0.js → breakpoints-B7vFm-3T.js} +0 -2
  4. package/dist/cjs/{iconset-5d47610c.js → iconset-Bcbz2MS1.js} +3 -4
  5. package/dist/cjs/index-2H1EJ2Tl.js +2683 -0
  6. package/dist/cjs/{index-e30d0503.js → index-wGaSHN1_.js} +0 -2
  7. package/dist/cjs/index.cjs.js +112 -224
  8. package/dist/cjs/loader.cjs.js +3 -8
  9. package/dist/cjs/{utils-4f7b4830.js → utils-C5_wGVkJ.js} +81 -73
  10. package/dist/cjs/{utils-e8b453d5.js → utils-Ctc6JP2n.js} +8 -4
  11. package/dist/cjs/web-components-library.cjs.js +7 -10
  12. package/dist/cjs/z-accordion.cjs.entry.js +26 -13
  13. package/dist/cjs/z-alert.cjs.entry.js +4 -10
  14. package/dist/cjs/z-anchor-navigation.cjs.entry.js +25 -10
  15. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +53 -22
  16. package/dist/cjs/z-app-header_12.cjs.entry.js +262 -150
  17. package/dist/cjs/z-aria-alert.cjs.entry.js +4 -7
  18. package/dist/cjs/z-avatar.cjs.entry.js +9 -13
  19. package/dist/cjs/z-book-card-app.cjs.entry.js +10 -18
  20. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +10 -24
  21. package/dist/cjs/z-book-card.cjs.entry.js +11 -23
  22. package/dist/cjs/z-book-cover.cjs.entry.js +6 -11
  23. package/dist/cjs/z-breadcrumb.cjs.entry.js +24 -19
  24. package/dist/cjs/z-button-sort.cjs.entry.js +9 -14
  25. package/dist/cjs/z-card.cjs.entry.js +9 -12
  26. package/dist/cjs/z-carousel.cjs.entry.js +49 -29
  27. package/dist/cjs/z-chip.cjs.entry.js +9 -13
  28. package/dist/cjs/z-color-picker.cjs.entry.js +24 -18
  29. package/dist/cjs/z-combobox.cjs.entry.js +147 -117
  30. package/dist/cjs/z-cover-hero.cjs.entry.js +18 -11
  31. package/dist/cjs/z-date-picker.cjs.entry.js +351 -330
  32. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +18 -22
  33. package/dist/cjs/z-file-upload.cjs.entry.js +21 -18
  34. package/dist/cjs/z-file.cjs.entry.js +6 -13
  35. package/dist/cjs/z-ghost-loading.cjs.entry.js +4 -9
  36. package/dist/cjs/z-info-box.cjs.entry.js +5 -10
  37. package/dist/cjs/z-info-reveal.cjs.entry.js +20 -13
  38. package/dist/cjs/z-logo.cjs.entry.js +4 -15
  39. package/dist/cjs/z-menu-deprecated.cjs.entry.js +23 -14
  40. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +10 -13
  41. package/dist/cjs/z-menu-section.cjs.entry.js +15 -16
  42. package/dist/cjs/z-menu.cjs.entry.js +27 -17
  43. package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -14
  44. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +9 -12
  45. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +4 -9
  46. package/dist/cjs/z-myz-card-footer.cjs.entry.js +7 -15
  47. package/dist/cjs/z-myz-card-icon.cjs.entry.js +6 -10
  48. package/dist/cjs/z-myz-card-info.cjs.entry.js +8 -13
  49. package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -10
  50. package/dist/cjs/z-myz-card_4.cjs.entry.js +16 -31
  51. package/dist/cjs/z-myz-list-item.cjs.entry.js +9 -17
  52. package/dist/cjs/z-myz-list.cjs.entry.js +7 -12
  53. package/dist/cjs/z-navigation-tabs.cjs.entry.js +28 -18
  54. package/dist/cjs/z-notification.cjs.entry.js +10 -12
  55. package/dist/cjs/z-otp.cjs.entry.js +10 -14
  56. package/dist/cjs/z-pagination.cjs.entry.js +28 -18
  57. package/dist/cjs/z-panel-elem.cjs.entry.js +7 -17
  58. package/dist/cjs/z-popover.cjs.entry.js +35 -19
  59. package/dist/cjs/z-range-picker.cjs.entry.js +38 -31
  60. package/dist/cjs/z-result-card.cjs.entry.js +7 -16
  61. package/dist/cjs/z-section-title.cjs.entry.js +12 -10
  62. package/dist/cjs/z-select.cjs.entry.js +118 -156
  63. package/dist/cjs/z-skip-to-content.cjs.entry.js +8 -13
  64. package/dist/cjs/z-slideshow.cjs.entry.js +12 -16
  65. package/dist/cjs/z-stepper-item.cjs.entry.js +4 -14
  66. package/dist/cjs/z-stepper.cjs.entry.js +4 -9
  67. package/dist/cjs/z-table.cjs.entry.js +19 -18
  68. package/dist/cjs/z-tbody.cjs.entry.js +12 -7
  69. package/dist/cjs/z-td.cjs.entry.js +54 -8
  70. package/dist/cjs/z-tfoot.cjs.entry.js +16 -7
  71. package/dist/cjs/z-th.cjs.entry.js +81 -8
  72. package/dist/cjs/z-thead.cjs.entry.js +21 -7
  73. package/dist/cjs/z-toast-notification-list.cjs.entry.js +11 -11
  74. package/dist/cjs/z-toast-notification.cjs.entry.js +3942 -3963
  75. package/dist/cjs/z-toggle-button.cjs.entry.js +8 -12
  76. package/dist/cjs/z-toggle-switch.cjs.entry.js +13 -14
  77. package/dist/cjs/z-tool.cjs.entry.js +28 -29
  78. package/dist/cjs/z-toolbar.cjs.entry.js +7 -12
  79. package/dist/cjs/z-tooltip.cjs.entry.js +15 -11
  80. package/dist/cjs/z-tr.cjs.entry.js +80 -12
  81. package/dist/cjs/z-tree-list.cjs.entry.js +10 -14
  82. package/dist/cjs/z-visually-hidden.cjs.entry.js +4 -9
  83. package/dist/collection/__mocks__/fileMock.js +0 -1
  84. package/dist/collection/beans/index.js +0 -1
  85. package/dist/collection/collection-manifest.json +3 -2
  86. package/dist/collection/components/book-card/z-book-card/index.js +55 -34
  87. package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -1
  88. package/dist/collection/components/book-card/z-book-card/styles.css +2 -1
  89. package/dist/collection/components/book-card/z-book-card-app/index.js +23 -15
  90. package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -1
  91. package/dist/collection/components/css-components/z-fab/index.stories.js +0 -1
  92. package/dist/collection/components/css-components/z-label/index.stories.js +0 -1
  93. package/dist/collection/components/css-components/z-link/index.stories.js +0 -1
  94. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -1
  95. package/dist/collection/components/date-picker/utils.js +0 -1
  96. package/dist/collection/components/date-picker/z-date-picker/index.js +61 -35
  97. package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -1
  98. package/dist/collection/components/date-picker/z-range-picker/index.js +61 -34
  99. package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -1
  100. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +70 -23
  101. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -1
  102. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +57 -40
  103. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -1
  104. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +31 -12
  105. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -1
  106. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +11 -10
  107. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -1
  108. package/dist/collection/components/deprecated/z-section-title/index.js +16 -5
  109. package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -1
  110. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +7 -6
  111. package/dist/collection/components/file-upload/z-file/index.js +9 -8
  112. package/dist/collection/components/file-upload/z-file/index.stories.js +0 -1
  113. package/dist/collection/components/file-upload/z-file-upload/index.js +80 -37
  114. package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -1
  115. package/dist/collection/components/index.js +0 -1
  116. package/dist/collection/components/list/z-list/index.js +23 -7
  117. package/dist/collection/components/list/z-list/index.stories.js +0 -1
  118. package/dist/collection/components/list/z-list-element/index.js +113 -38
  119. package/dist/collection/components/list/z-list-element/index.stories.js +0 -1
  120. package/dist/collection/components/list/z-list-group/index.js +68 -15
  121. package/dist/collection/components/list/z-list-group/index.stories.js +3 -1
  122. package/dist/collection/components/list/z-tree-list/index.js +16 -11
  123. package/dist/collection/components/list/z-tree-list/index.stories.js +0 -1
  124. package/dist/collection/components/table/cells/z-td/index.js +32 -10
  125. package/dist/collection/components/table/cells/z-th/index.js +54 -17
  126. package/dist/collection/components/table/z-table/index.js +10 -3
  127. package/dist/collection/components/table/z-table/index.stories.js +0 -1
  128. package/dist/collection/components/table/z-tbody/index.js +1 -2
  129. package/dist/collection/components/table/z-tfoot/index.js +7 -3
  130. package/dist/collection/components/table/z-thead/index.js +13 -4
  131. package/dist/collection/components/table/z-tr/index.js +17 -5
  132. package/dist/collection/components/z-accordion/index.js +49 -16
  133. package/dist/collection/components/z-accordion/index.stories.js +0 -1
  134. package/dist/collection/components/z-anchor-navigation/index.js +33 -6
  135. package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -1
  136. package/dist/collection/components/z-app-header/index.js +58 -20
  137. package/dist/collection/components/z-app-header/index.stories.js +0 -1
  138. package/dist/collection/components/z-aria-alert/index.js +7 -4
  139. package/dist/collection/components/z-aria-alert/index.stories.js +0 -1
  140. package/dist/collection/components/z-avatar/index.js +24 -13
  141. package/dist/collection/components/z-avatar/index.stories.js +0 -1
  142. package/dist/collection/components/z-book-cover/index.js +17 -10
  143. package/dist/collection/components/z-book-cover/index.stories.js +0 -1
  144. package/dist/collection/components/z-breadcrumb/index.js +37 -17
  145. package/dist/collection/components/z-breadcrumb/index.stories.js +0 -1
  146. package/dist/collection/components/z-button/index.js +74 -35
  147. package/dist/collection/components/z-button/index.stories.js +0 -1
  148. package/dist/collection/components/z-button-sort/index.js +33 -18
  149. package/dist/collection/components/z-button-sort/index.stories.js +0 -1
  150. package/dist/collection/components/z-card/index.js +21 -11
  151. package/dist/collection/components/z-card/index.stories.js +0 -1
  152. package/dist/collection/components/z-carousel/index.js +69 -35
  153. package/dist/collection/components/z-carousel/index.stories.js +2 -3
  154. package/dist/collection/components/z-chip/index.js +24 -13
  155. package/dist/collection/components/z-chip/index.stories.js +0 -1
  156. package/dist/collection/components/z-color-picker/index.js +31 -17
  157. package/dist/collection/components/z-color-picker/index.stories.js +0 -1
  158. package/dist/collection/components/z-combobox/index.js +217 -135
  159. package/dist/collection/components/z-combobox/index.stories.js +2 -1
  160. package/dist/collection/components/z-combobox/styles.css +41 -0
  161. package/dist/collection/components/z-cover-hero/index.js +27 -8
  162. package/dist/collection/components/z-cover-hero/index.stories.js +0 -1
  163. package/dist/collection/components/z-divider/index.js +17 -7
  164. package/dist/collection/components/z-divider/index.stories.js +0 -1
  165. package/dist/collection/components/z-ghost-loading/index.js +1 -2
  166. package/dist/collection/components/z-ghost-loading/index.stories.js +0 -1
  167. package/dist/collection/components/z-icon/index.js +25 -22
  168. package/dist/collection/components/z-icon/index.stories.js +0 -1
  169. package/dist/collection/components/z-info-box/index.js +9 -6
  170. package/dist/collection/components/z-info-box/index.stories.js +0 -1
  171. package/dist/collection/components/z-info-reveal/index.js +30 -11
  172. package/dist/collection/components/z-info-reveal/index.stories.js +0 -1
  173. package/dist/collection/components/z-input/index.js +131 -74
  174. package/dist/collection/components/z-input/index.stories.js +0 -1
  175. package/dist/collection/components/z-input-message/index.js +15 -12
  176. package/dist/collection/components/z-input-message/index.stories.js +0 -1
  177. package/dist/collection/components/z-logo/index.js +25 -22
  178. package/dist/collection/components/z-logo/index.stories.js +0 -1
  179. package/dist/collection/components/z-menu/index.js +32 -12
  180. package/dist/collection/components/z-menu/index.stories.js +0 -1
  181. package/dist/collection/components/z-menu-section/index.js +17 -12
  182. package/dist/collection/components/z-menu-section/index.stories.js +0 -1
  183. package/dist/collection/components/z-modal/index.js +36 -19
  184. package/dist/collection/components/z-modal/index.stories.js +0 -1
  185. package/dist/collection/components/z-navigation-tabs/index.js +35 -15
  186. package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -1
  187. package/dist/collection/components/z-notification/index.js +30 -15
  188. package/dist/collection/components/z-notification/index.stories.js +0 -1
  189. package/dist/collection/components/z-offcanvas/index.js +42 -12
  190. package/dist/collection/components/z-offcanvas/index.stories.js +0 -1
  191. package/dist/collection/components/z-pagination/index.js +45 -21
  192. package/dist/collection/components/z-pagination/index.stories.js +0 -1
  193. package/dist/collection/components/z-panel-elem/index.js +38 -26
  194. package/dist/collection/components/z-panel-elem/index.stories.js +0 -1
  195. package/dist/collection/components/z-popover/index.js +44 -16
  196. package/dist/collection/components/z-popover/index.stories.js +0 -1
  197. package/dist/collection/components/z-result-card/index.js +34 -23
  198. package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -1
  199. package/dist/collection/components/z-searchbar/index.js +80 -40
  200. package/dist/collection/components/z-searchbar/index.stories.js +0 -1
  201. package/dist/collection/components/z-searchbar/styles.css +1 -1
  202. package/dist/collection/components/z-select/index.js +185 -188
  203. package/dist/collection/components/z-select/index.stories.js +0 -1
  204. package/dist/collection/components/z-select/styles.css +9 -2
  205. package/dist/collection/components/z-skip-to-content/index.js +13 -8
  206. package/dist/collection/components/z-skip-to-content/index.stories.js +0 -1
  207. package/dist/collection/components/z-stepper/index.js +1 -2
  208. package/dist/collection/components/z-stepper/index.stories.js +0 -1
  209. package/dist/collection/components/z-stepper-item/index.js +21 -19
  210. package/dist/collection/components/z-stepper-item/index.stories.js +0 -1
  211. package/dist/collection/components/z-tag/index.js +11 -14
  212. package/dist/collection/components/z-tag/index.stories.js +0 -1
  213. package/dist/collection/components/z-toast-notification/index.js +52 -34
  214. package/dist/collection/components/z-toast-notification/index.stories.js +0 -1
  215. package/dist/collection/components/z-toast-notification-list/index.js +12 -5
  216. package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -1
  217. package/dist/collection/components/z-toggle-button/index.js +22 -12
  218. package/dist/collection/components/z-toggle-button/index.stories.js +0 -1
  219. package/dist/collection/components/z-toggle-switch/index.js +21 -9
  220. package/dist/collection/components/z-toggle-switch/index.stories.js +0 -1
  221. package/dist/collection/components/z-tool/index.js +49 -31
  222. package/dist/collection/components/z-tool/index.stories.js +0 -1
  223. package/dist/collection/components/z-toolbar/index.js +7 -6
  224. package/dist/collection/components/z-toolbar/index.stories.js +0 -1
  225. package/dist/collection/components/z-tooltip/index.js +29 -10
  226. package/dist/collection/components/z-tooltip/index.stories.js +0 -1
  227. package/dist/collection/components/z-visually-hidden/index.js +1 -2
  228. package/dist/collection/components/z-visually-hidden/index.stories.js +0 -1
  229. package/dist/collection/constants/breakpoints.js +0 -1
  230. package/dist/collection/constants/icons.js +0 -1
  231. package/dist/collection/constants/iconset.js +0 -1
  232. package/dist/collection/index.js +0 -1
  233. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +19 -11
  234. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +17 -16
  235. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -2
  236. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +17 -16
  237. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +25 -12
  238. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +31 -20
  239. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -2
  240. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +15 -12
  241. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +13 -7
  242. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +11 -7
  243. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +5 -5
  244. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +10 -10
  245. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +29 -19
  246. package/dist/collection/snowflakes/myz/z-alert/index.js +7 -8
  247. package/dist/collection/snowflakes/myz/z-otp/index.js +19 -12
  248. package/dist/collection/snowflakes/myz/z-slideshow/index.js +11 -9
  249. package/dist/collection/utils/storybook-utils.js +0 -1
  250. package/dist/collection/utils/utils.js +5 -1
  251. package/dist/components/_commonjsHelpers.js +1 -5
  252. package/dist/components/breakpoints.js +1 -11
  253. package/dist/components/iconset.js +1 -1013
  254. package/dist/components/index.d.ts +1 -0
  255. package/dist/components/index.js +1 -98
  256. package/dist/components/index10.js +1 -60
  257. package/dist/components/index11.js +1 -92
  258. package/dist/components/index12.js +1 -342
  259. package/dist/components/index13.js +1 -66
  260. package/dist/components/index14.js +1 -53
  261. package/dist/components/index15.js +1 -181
  262. package/dist/components/index16.js +1 -74
  263. package/dist/components/index17.js +1 -1040
  264. package/dist/components/index18.js +1 -65
  265. package/dist/components/index19.js +1 -33
  266. package/dist/components/index2.js +1 -407
  267. package/dist/components/index20.js +1 -45
  268. package/dist/components/index21.js +1 -62
  269. package/dist/components/index22.js +1 -66
  270. package/dist/components/index23.js +1 -179
  271. package/dist/components/index24.js +1 -549
  272. package/dist/components/index25.js +1 -409
  273. package/dist/components/index26.js +1 -49
  274. package/dist/components/index27.js +1 -55
  275. package/dist/components/index3.js +1 -36
  276. package/dist/components/index4.js +1 -45
  277. package/dist/components/index5.js +1 -82
  278. package/dist/components/index6.js +1 -56
  279. package/dist/components/index7.js +1 -40
  280. package/dist/components/index8.js +1 -63
  281. package/dist/components/index9.js +1 -33
  282. package/dist/components/utils.js +1 -241
  283. package/dist/components/utils2.js +1 -2704
  284. package/dist/components/z-accordion.js +1 -95
  285. package/dist/components/z-alert.js +1 -8
  286. package/dist/components/z-anchor-navigation.js +1 -87
  287. package/dist/components/z-app-header-deprecated.js +1 -255
  288. package/dist/components/z-app-header.js +1 -367
  289. package/dist/components/z-aria-alert.js +1 -35
  290. package/dist/components/z-avatar.js +1 -66
  291. package/dist/components/z-book-card-app.js +1 -77
  292. package/dist/components/z-book-card-deprecated.js +1 -175
  293. package/dist/components/z-book-card.js +1 -149
  294. package/dist/components/z-book-cover.js +1 -8
  295. package/dist/components/z-breadcrumb.js +1 -290
  296. package/dist/components/z-button-sort.js +1 -86
  297. package/dist/components/z-button.js +1 -8
  298. package/dist/components/z-card.js +1 -83
  299. package/dist/components/z-carousel.js +1 -234
  300. package/dist/components/z-chip.js +1 -8
  301. package/dist/components/z-color-picker.js +1 -234
  302. package/dist/components/z-combobox.js +1 -365
  303. package/dist/components/z-cover-hero.js +1 -66
  304. package/dist/components/z-date-picker.js +16 -528
  305. package/dist/components/z-divider.js +1 -8
  306. package/dist/components/z-dragdrop-area.js +1 -8
  307. package/dist/components/z-file-upload.js +1 -253
  308. package/dist/components/z-file.js +1 -89
  309. package/dist/components/z-ghost-loading.js +1 -8
  310. package/dist/components/z-icon.js +1 -8
  311. package/dist/components/z-info-box.js +1 -51
  312. package/dist/components/z-info-reveal.js +1 -8
  313. package/dist/components/z-input-message.js +1 -8
  314. package/dist/components/z-input.js +1 -8
  315. package/dist/components/z-list-element.js +1 -8
  316. package/dist/components/z-list-group.js +1 -8
  317. package/dist/components/z-list.js +1 -8
  318. package/dist/components/z-logo.js +1 -56
  319. package/dist/components/z-menu-deprecated.js +1 -144
  320. package/dist/components/z-menu-section-deprecated.js +1 -84
  321. package/dist/components/z-menu-section.js +1 -226
  322. package/dist/components/z-menu.js +1 -353
  323. package/dist/components/z-modal.js +1 -8
  324. package/dist/components/z-myz-card-alert.js +1 -101
  325. package/dist/components/z-myz-card-body.js +1 -8
  326. package/dist/components/z-myz-card-cover.js +1 -8
  327. package/dist/components/z-myz-card-dictionary.js +1 -94
  328. package/dist/components/z-myz-card-footer-sections.js +1 -36
  329. package/dist/components/z-myz-card-footer.js +1 -99
  330. package/dist/components/z-myz-card-header.js +1 -8
  331. package/dist/components/z-myz-card-icon.js +1 -49
  332. package/dist/components/z-myz-card-info.js +1 -162
  333. package/dist/components/z-myz-card-list.js +1 -58
  334. package/dist/components/z-myz-card.js +1 -8
  335. package/dist/components/z-myz-list-item.js +1 -8
  336. package/dist/components/z-myz-list.js +1 -71
  337. package/dist/components/z-navigation-tabs.js +1 -272
  338. package/dist/components/z-notification.js +1 -68
  339. package/dist/components/z-offcanvas.js +1 -8
  340. package/dist/components/z-otp.js +1 -75
  341. package/dist/components/z-pagination.js +1 -283
  342. package/dist/components/z-panel-elem.js +1 -66
  343. package/dist/components/z-popover.js +1 -8
  344. package/dist/components/z-range-picker.js +1 -413
  345. package/dist/components/z-result-card.js +1 -121
  346. package/dist/components/z-searchbar.js +1 -8
  347. package/dist/components/z-section-title.js +1 -52
  348. package/dist/components/z-select.js +1 -619
  349. package/dist/components/z-skip-to-content.js +1 -93
  350. package/dist/components/z-slideshow.js +1 -161
  351. package/dist/components/z-stepper-item.js +1 -60
  352. package/dist/components/z-stepper.js +1 -36
  353. package/dist/components/z-table.js +1 -68
  354. package/dist/components/z-tag.js +1 -8
  355. package/dist/components/z-tbody.js +1 -36
  356. package/dist/components/z-td.js +1 -89
  357. package/dist/components/z-tfoot.js +1 -39
  358. package/dist/components/z-th.js +1 -112
  359. package/dist/components/z-thead.js +1 -42
  360. package/dist/components/z-toast-notification-list.js +1 -78
  361. package/dist/components/z-toast-notification.js +2 -4228
  362. package/dist/components/z-toggle-button.js +1 -64
  363. package/dist/components/z-toggle-switch.js +1 -73
  364. package/dist/components/z-tool.js +1 -260
  365. package/dist/components/z-toolbar.js +1 -165
  366. package/dist/components/z-tooltip.js +1 -8
  367. package/dist/components/z-tr.js +1 -101
  368. package/dist/components/z-tree-list.js +1 -162
  369. package/dist/components/z-visually-hidden.js +1 -36
  370. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  371. package/dist/esm/{breakpoints-d148bfde.js → breakpoints-Q-tWjk7P.js} +0 -2
  372. package/dist/esm/{iconset-d7823b13.js → iconset-BanpkIXZ.js} +3 -4
  373. package/dist/esm/{index-106473a8.js → index-BKCj6NR2.js} +0 -2
  374. package/dist/esm/index-ByN2sYu6.js +2653 -0
  375. package/dist/esm/index.js +4 -6
  376. package/dist/esm/loader.js +3 -6
  377. package/dist/esm/{utils-1b64bcd9.js → utils-0PByxJyN.js} +8 -5
  378. package/dist/esm/{utils-93ac0e6c.js → utils-DuuLzXZj.js} +81 -73
  379. package/dist/esm/web-components-library.js +5 -7
  380. package/dist/esm/z-accordion.entry.js +26 -11
  381. package/dist/esm/z-alert.entry.js +4 -8
  382. package/dist/esm/z-anchor-navigation.entry.js +25 -8
  383. package/dist/esm/z-app-header-deprecated.entry.js +53 -20
  384. package/dist/esm/z-app-header_12.entry.js +262 -148
  385. package/dist/esm/z-aria-alert.entry.js +4 -5
  386. package/dist/esm/z-avatar.entry.js +9 -11
  387. package/dist/esm/z-book-card-app.entry.js +10 -16
  388. package/dist/esm/z-book-card-deprecated.entry.js +10 -22
  389. package/dist/esm/z-book-card.entry.js +11 -21
  390. package/dist/esm/z-book-cover.entry.js +6 -9
  391. package/dist/esm/z-breadcrumb.entry.js +24 -17
  392. package/dist/esm/z-button-sort.entry.js +9 -12
  393. package/dist/esm/z-card.entry.js +9 -10
  394. package/dist/esm/z-carousel.entry.js +50 -28
  395. package/dist/esm/z-chip.entry.js +9 -11
  396. package/dist/esm/z-color-picker.entry.js +24 -16
  397. package/dist/esm/z-combobox.entry.js +147 -115
  398. package/dist/esm/z-cover-hero.entry.js +18 -9
  399. package/dist/esm/z-date-picker.entry.js +352 -329
  400. package/dist/esm/z-dragdrop-area_2.entry.js +18 -20
  401. package/dist/esm/z-file-upload.entry.js +21 -16
  402. package/dist/esm/z-file.entry.js +6 -11
  403. package/dist/esm/z-ghost-loading.entry.js +4 -7
  404. package/dist/esm/z-info-box.entry.js +5 -8
  405. package/dist/esm/z-info-reveal.entry.js +20 -11
  406. package/dist/esm/z-logo.entry.js +4 -13
  407. package/dist/esm/z-menu-deprecated.entry.js +23 -12
  408. package/dist/esm/z-menu-section-deprecated.entry.js +10 -11
  409. package/dist/esm/z-menu-section.entry.js +15 -14
  410. package/dist/esm/z-menu.entry.js +27 -15
  411. package/dist/esm/z-myz-card-alert.entry.js +5 -12
  412. package/dist/esm/z-myz-card-dictionary.entry.js +9 -10
  413. package/dist/esm/z-myz-card-footer-sections.entry.js +4 -7
  414. package/dist/esm/z-myz-card-footer.entry.js +7 -13
  415. package/dist/esm/z-myz-card-icon.entry.js +6 -8
  416. package/dist/esm/z-myz-card-info.entry.js +8 -11
  417. package/dist/esm/z-myz-card-list.entry.js +4 -8
  418. package/dist/esm/z-myz-card_4.entry.js +16 -29
  419. package/dist/esm/z-myz-list-item.entry.js +9 -15
  420. package/dist/esm/z-myz-list.entry.js +7 -10
  421. package/dist/esm/z-navigation-tabs.entry.js +28 -16
  422. package/dist/esm/z-notification.entry.js +10 -10
  423. package/dist/esm/z-otp.entry.js +10 -12
  424. package/dist/esm/z-pagination.entry.js +28 -16
  425. package/dist/esm/z-panel-elem.entry.js +7 -15
  426. package/dist/esm/z-popover.entry.js +35 -17
  427. package/dist/esm/z-range-picker.entry.js +38 -29
  428. package/dist/esm/z-result-card.entry.js +7 -14
  429. package/dist/esm/z-section-title.entry.js +12 -8
  430. package/dist/esm/z-select.entry.js +118 -154
  431. package/dist/esm/z-skip-to-content.entry.js +8 -11
  432. package/dist/esm/z-slideshow.entry.js +12 -14
  433. package/dist/esm/z-stepper-item.entry.js +4 -12
  434. package/dist/esm/z-stepper.entry.js +4 -7
  435. package/dist/esm/z-table.entry.js +19 -16
  436. package/dist/esm/z-tbody.entry.js +14 -3
  437. package/dist/esm/z-td.entry.js +56 -4
  438. package/dist/esm/z-tfoot.entry.js +18 -3
  439. package/dist/esm/z-th.entry.js +83 -4
  440. package/dist/esm/z-thead.entry.js +23 -3
  441. package/dist/esm/z-toast-notification-list.entry.js +11 -9
  442. package/dist/esm/z-toast-notification.entry.js +3942 -3961
  443. package/dist/esm/z-toggle-button.entry.js +8 -10
  444. package/dist/esm/z-toggle-switch.entry.js +13 -12
  445. package/dist/esm/z-tool.entry.js +28 -27
  446. package/dist/esm/z-toolbar.entry.js +7 -10
  447. package/dist/esm/z-tooltip.entry.js +15 -9
  448. package/dist/esm/z-tr.entry.js +82 -8
  449. package/dist/esm/z-tree-list.entry.js +10 -12
  450. package/dist/esm/z-visually-hidden.entry.js +4 -7
  451. package/dist/types/components/book-card/z-book-card/index.d.ts +2 -2
  452. package/dist/types/components/book-card/z-book-card-app/index.d.ts +2 -2
  453. package/dist/types/components/date-picker/z-date-picker/index.d.ts +2 -2
  454. package/dist/types/components/date-picker/z-range-picker/index.d.ts +2 -2
  455. package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +2 -2
  456. package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +2 -2
  457. package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +2 -2
  458. package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +2 -2
  459. package/dist/types/components/deprecated/z-section-title/index.d.ts +2 -1
  460. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +2 -2
  461. package/dist/types/components/file-upload/z-file/index.d.ts +2 -2
  462. package/dist/types/components/file-upload/z-file-upload/index.d.ts +2 -2
  463. package/dist/types/components/list/z-list/index.d.ts +2 -1
  464. package/dist/types/components/list/z-list-element/index.d.ts +2 -2
  465. package/dist/types/components/list/z-list-group/index.d.ts +6 -1
  466. package/dist/types/components/list/z-list-group/index.stories.d.ts +1 -0
  467. package/dist/types/components/list/z-tree-list/index.d.ts +2 -2
  468. package/dist/types/components/table/cells/z-td/index.d.ts +2 -2
  469. package/dist/types/components/table/cells/z-th/index.d.ts +2 -1
  470. package/dist/types/components/table/z-table/index.d.ts +2 -1
  471. package/dist/types/components/table/z-tbody/index.d.ts +2 -1
  472. package/dist/types/components/table/z-tfoot/index.d.ts +2 -1
  473. package/dist/types/components/table/z-thead/index.d.ts +2 -1
  474. package/dist/types/components/table/z-tr/index.d.ts +2 -2
  475. package/dist/types/components/z-accordion/index.d.ts +2 -2
  476. package/dist/types/components/z-anchor-navigation/index.d.ts +2 -1
  477. package/dist/types/components/z-app-header/index.d.ts +2 -2
  478. package/dist/types/components/z-aria-alert/index.d.ts +2 -1
  479. package/dist/types/components/z-avatar/index.d.ts +2 -1
  480. package/dist/types/components/z-book-cover/index.d.ts +2 -1
  481. package/dist/types/components/z-breadcrumb/index.d.ts +2 -2
  482. package/dist/types/components/z-button/index.d.ts +5 -2
  483. package/dist/types/components/z-button-sort/index.d.ts +2 -2
  484. package/dist/types/components/z-card/index.d.ts +2 -1
  485. package/dist/types/components/z-carousel/index.d.ts +5 -2
  486. package/dist/types/components/z-carousel/index.stories.d.ts +2 -2
  487. package/dist/types/components/z-chip/index.d.ts +2 -2
  488. package/dist/types/components/z-color-picker/index.d.ts +2 -2
  489. package/dist/types/components/z-combobox/index.d.ts +12 -13
  490. package/dist/types/components/z-combobox/index.stories.d.ts +1 -0
  491. package/dist/types/components/z-cover-hero/index.d.ts +2 -1
  492. package/dist/types/components/z-divider/index.d.ts +2 -1
  493. package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
  494. package/dist/types/components/z-icon/index.d.ts +2 -1
  495. package/dist/types/components/z-info-box/index.d.ts +2 -2
  496. package/dist/types/components/z-info-reveal/index.d.ts +2 -1
  497. package/dist/types/components/z-input/index.d.ts +2 -2
  498. package/dist/types/components/z-input-message/index.d.ts +2 -1
  499. package/dist/types/components/z-logo/index.d.ts +2 -1
  500. package/dist/types/components/z-menu/index.d.ts +2 -2
  501. package/dist/types/components/z-menu-section/index.d.ts +2 -2
  502. package/dist/types/components/z-modal/index.d.ts +2 -2
  503. package/dist/types/components/z-navigation-tabs/index.d.ts +2 -2
  504. package/dist/types/components/z-notification/index.d.ts +2 -2
  505. package/dist/types/components/z-offcanvas/index.d.ts +2 -2
  506. package/dist/types/components/z-pagination/index.d.ts +2 -2
  507. package/dist/types/components/z-panel-elem/index.d.ts +2 -1
  508. package/dist/types/components/z-popover/index.d.ts +2 -2
  509. package/dist/types/components/z-result-card/index.d.ts +2 -1
  510. package/dist/types/components/z-searchbar/index.d.ts +2 -2
  511. package/dist/types/components/z-select/index.d.ts +7 -9
  512. package/dist/types/components/z-skip-to-content/index.d.ts +2 -1
  513. package/dist/types/components/z-stepper/index.d.ts +2 -1
  514. package/dist/types/components/z-stepper-item/index.d.ts +2 -1
  515. package/dist/types/components/z-tag/index.d.ts +2 -1
  516. package/dist/types/components/z-toast-notification/index.d.ts +2 -2
  517. package/dist/types/components/z-toast-notification-list/index.d.ts +2 -1
  518. package/dist/types/components/z-toggle-button/index.d.ts +2 -2
  519. package/dist/types/components/z-toggle-switch/index.d.ts +2 -2
  520. package/dist/types/components/z-tool/index.d.ts +2 -2
  521. package/dist/types/components/z-toolbar/index.d.ts +2 -1
  522. package/dist/types/components/z-tooltip/index.d.ts +2 -2
  523. package/dist/types/components/z-visually-hidden/index.d.ts +2 -1
  524. package/dist/types/components.d.ts +1315 -166
  525. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +2 -1
  526. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +2 -2
  527. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +2 -1
  528. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -1
  529. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
  530. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +2 -1
  531. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +2 -1
  532. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +2 -1
  533. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +2 -1
  534. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +2 -2
  535. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +2 -1
  536. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +2 -1
  537. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +2 -2
  538. package/dist/types/snowflakes/myz/z-alert/index.d.ts +2 -1
  539. package/dist/types/snowflakes/myz/z-otp/index.d.ts +2 -2
  540. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +2 -1
  541. package/dist/types/stencil-public-runtime.d.ts +194 -8
  542. package/dist/types/utils/utils.d.ts +2 -0
  543. package/dist/web-components-library/index.esm.js +1 -2
  544. package/dist/web-components-library/p-00f09ae2.entry.js +1 -0
  545. package/dist/web-components-library/p-02e588b4.entry.js +1 -0
  546. package/dist/web-components-library/p-040fbd28.entry.js +1 -0
  547. package/dist/web-components-library/p-05fe5555.entry.js +1 -0
  548. package/dist/web-components-library/p-081b1648.entry.js +1 -0
  549. package/dist/web-components-library/p-0a819ab4.entry.js +1 -0
  550. package/dist/web-components-library/p-0dde6773.entry.js +1 -0
  551. package/dist/web-components-library/p-11a90064.entry.js +1 -0
  552. package/dist/web-components-library/p-1210c90f.entry.js +1 -0
  553. package/dist/web-components-library/p-1280ac72.entry.js +1 -0
  554. package/dist/web-components-library/p-17429bce.entry.js +1 -0
  555. package/dist/web-components-library/p-18782c2f.entry.js +1 -0
  556. package/dist/web-components-library/p-19536f5e.entry.js +1 -0
  557. package/dist/web-components-library/p-1b851174.entry.js +1 -0
  558. package/dist/web-components-library/p-1c75b67f.entry.js +1 -0
  559. package/dist/web-components-library/p-1e984688.entry.js +1 -0
  560. package/dist/web-components-library/p-2294f1b0.entry.js +1 -0
  561. package/dist/web-components-library/p-26fc8a38.entry.js +1 -0
  562. package/dist/web-components-library/p-27f93251.entry.js +1 -0
  563. package/dist/web-components-library/p-294f7b4e.entry.js +1 -0
  564. package/dist/web-components-library/p-2b122a22.entry.js +1 -0
  565. package/dist/web-components-library/p-2f99634d.entry.js +1 -0
  566. package/dist/web-components-library/p-30c86858.entry.js +1 -0
  567. package/dist/web-components-library/p-314302ce.entry.js +1 -0
  568. package/dist/web-components-library/p-366d2553.entry.js +1 -0
  569. package/dist/web-components-library/p-3a9aec16.entry.js +1 -0
  570. package/dist/web-components-library/p-3c861d49.entry.js +1 -0
  571. package/dist/web-components-library/p-41b55222.entry.js +1 -0
  572. package/dist/web-components-library/p-44220d6b.entry.js +1 -0
  573. package/dist/web-components-library/p-48d72b52.entry.js +1 -0
  574. package/dist/web-components-library/p-50b59012.entry.js +1 -0
  575. package/dist/web-components-library/p-5883dbc1.entry.js +1 -0
  576. package/dist/web-components-library/p-58933ba5.entry.js +1 -0
  577. package/dist/web-components-library/p-5bb77af2.entry.js +1 -0
  578. package/{www/build/p-6c9cd6be.entry.js → dist/web-components-library/p-5c85b7f4.entry.js} +1 -2
  579. package/dist/web-components-library/p-5e91940f.entry.js +1 -0
  580. package/dist/web-components-library/p-5fc4048b.entry.js +1 -0
  581. package/dist/web-components-library/p-61b2ad9b.entry.js +1 -0
  582. package/dist/web-components-library/p-631f111d.entry.js +1 -0
  583. package/dist/web-components-library/p-6d0abf8c.entry.js +1 -0
  584. package/dist/web-components-library/p-6ece59b5.entry.js +1 -0
  585. package/dist/web-components-library/p-73aaace2.entry.js +1 -0
  586. package/dist/web-components-library/p-772c3e3e.entry.js +1 -0
  587. package/dist/web-components-library/p-849d65f5.entry.js +1 -0
  588. package/dist/web-components-library/p-87306cd0.entry.js +1 -0
  589. package/dist/web-components-library/p-8745878e.entry.js +1 -0
  590. package/dist/web-components-library/p-8f5387ef.entry.js +1 -0
  591. package/dist/web-components-library/p-967549d2.entry.js +1 -0
  592. package/dist/web-components-library/p-99922496.entry.js +1 -0
  593. package/dist/web-components-library/p-9b181c2c.entry.js +1 -0
  594. package/dist/web-components-library/p-9e4db6a2.entry.js +1 -0
  595. package/dist/web-components-library/p-B85MJLTf.js +1 -0
  596. package/dist/web-components-library/p-B8WJfd4z.js +1 -0
  597. package/dist/web-components-library/p-BKCj6NR2.js +1 -0
  598. package/dist/web-components-library/{p-eb15536d.js → p-BanpkIXZ.js} +1 -2
  599. package/dist/web-components-library/p-ByN2sYu6.js +2 -0
  600. package/dist/web-components-library/p-D4yqZKyM.js +1 -0
  601. package/dist/web-components-library/p-Q-tWjk7P.js +1 -0
  602. package/dist/web-components-library/p-a336c241.entry.js +1 -0
  603. package/dist/web-components-library/p-a3a7c406.entry.js +1 -0
  604. package/dist/web-components-library/p-a9534450.entry.js +1 -0
  605. package/dist/web-components-library/p-aabb5aea.entry.js +1 -0
  606. package/dist/web-components-library/p-abfdc045.entry.js +1 -0
  607. package/dist/web-components-library/p-ad2ed505.entry.js +16 -0
  608. package/dist/web-components-library/p-aeaf586b.entry.js +1 -0
  609. package/dist/web-components-library/p-afab22fc.entry.js +1 -0
  610. package/dist/web-components-library/p-afcabf3b.entry.js +1 -0
  611. package/dist/web-components-library/p-b38d52e5.entry.js +1 -0
  612. package/dist/web-components-library/p-b5c180bc.entry.js +1 -0
  613. package/dist/web-components-library/p-c1677653.entry.js +1 -0
  614. package/dist/web-components-library/p-c23bfec2.entry.js +1 -0
  615. package/dist/web-components-library/p-d8f0e022.entry.js +2 -0
  616. package/dist/web-components-library/p-dc759208.entry.js +1 -0
  617. package/dist/web-components-library/p-eb722234.entry.js +1 -0
  618. package/dist/web-components-library/p-ebdbd84c.entry.js +1 -0
  619. package/dist/web-components-library/p-ecea3d09.entry.js +1 -0
  620. package/dist/web-components-library/p-fade8c19.entry.js +1 -0
  621. package/dist/web-components-library/p-fc90579e.entry.js +1 -0
  622. package/dist/web-components-library/web-components-library.esm.js +1 -2
  623. package/package.json +14 -10
  624. package/react/components.js +87 -92
  625. package/react/index.js +1 -18
  626. package/react/react-component-lib/createComponent.js +11 -39
  627. package/react/react-component-lib/createOverlayComponent.js +35 -56
  628. package/react/react-component-lib/index.js +2 -8
  629. package/react/react-component-lib/interfaces.js +1 -3
  630. package/react/react-component-lib/utils/attachProps.js +11 -20
  631. package/react/react-component-lib/utils/case.js +2 -8
  632. package/react/react-component-lib/utils/dev.js +3 -9
  633. package/react/react-component-lib/utils/index.js +10 -35
  634. package/www/build/index.esm.js +1 -2
  635. package/www/build/p-00f09ae2.entry.js +1 -0
  636. package/www/build/p-02e588b4.entry.js +1 -0
  637. package/www/build/p-040fbd28.entry.js +1 -0
  638. package/www/build/p-05fe5555.entry.js +1 -0
  639. package/www/build/p-081b1648.entry.js +1 -0
  640. package/www/build/p-0a819ab4.entry.js +1 -0
  641. package/www/build/p-0dde6773.entry.js +1 -0
  642. package/www/build/p-11a90064.entry.js +1 -0
  643. package/www/build/p-1210c90f.entry.js +1 -0
  644. package/www/build/p-1280ac72.entry.js +1 -0
  645. package/www/build/p-17429bce.entry.js +1 -0
  646. package/www/build/p-18782c2f.entry.js +1 -0
  647. package/www/build/p-19536f5e.entry.js +1 -0
  648. package/www/build/p-1b851174.entry.js +1 -0
  649. package/www/build/p-1c75b67f.entry.js +1 -0
  650. package/www/build/p-1e984688.entry.js +1 -0
  651. package/www/build/p-2294f1b0.entry.js +1 -0
  652. package/www/build/p-26fc8a38.entry.js +1 -0
  653. package/www/build/p-27f93251.entry.js +1 -0
  654. package/www/build/p-294f7b4e.entry.js +1 -0
  655. package/www/build/p-2b122a22.entry.js +1 -0
  656. package/www/build/p-2f99634d.entry.js +1 -0
  657. package/www/build/p-30c86858.entry.js +1 -0
  658. package/www/build/p-314302ce.entry.js +1 -0
  659. package/www/build/p-366d2553.entry.js +1 -0
  660. package/www/build/p-3a9aec16.entry.js +1 -0
  661. package/www/build/p-3c861d49.entry.js +1 -0
  662. package/www/build/p-41b55222.entry.js +1 -0
  663. package/www/build/p-44220d6b.entry.js +1 -0
  664. package/www/build/p-48d72b52.entry.js +1 -0
  665. package/www/build/p-50b59012.entry.js +1 -0
  666. package/www/build/p-5883dbc1.entry.js +1 -0
  667. package/www/build/p-58933ba5.entry.js +1 -0
  668. package/www/build/p-5bb77af2.entry.js +1 -0
  669. package/{dist/web-components-library/p-6c9cd6be.entry.js → www/build/p-5c85b7f4.entry.js} +1 -2
  670. package/www/build/p-5e91940f.entry.js +1 -0
  671. package/www/build/p-5fc4048b.entry.js +1 -0
  672. package/www/build/p-61b2ad9b.entry.js +1 -0
  673. package/www/build/p-631f111d.entry.js +1 -0
  674. package/www/build/p-654b3801.js +1 -0
  675. package/www/build/p-6d0abf8c.entry.js +1 -0
  676. package/www/build/p-6ece59b5.entry.js +1 -0
  677. package/www/build/p-73aaace2.entry.js +1 -0
  678. package/www/build/p-772c3e3e.entry.js +1 -0
  679. package/www/build/p-849d65f5.entry.js +1 -0
  680. package/www/build/p-87306cd0.entry.js +1 -0
  681. package/www/build/p-8745878e.entry.js +1 -0
  682. package/www/build/p-8f5387ef.entry.js +1 -0
  683. package/www/build/p-967549d2.entry.js +1 -0
  684. package/www/build/p-99922496.entry.js +1 -0
  685. package/www/build/p-9b181c2c.entry.js +1 -0
  686. package/www/build/p-9e4db6a2.entry.js +1 -0
  687. package/www/build/p-B85MJLTf.js +1 -0
  688. package/www/build/p-B8WJfd4z.js +1 -0
  689. package/www/build/p-BKCj6NR2.js +1 -0
  690. package/www/build/{p-eb15536d.js → p-BanpkIXZ.js} +1 -2
  691. package/www/build/p-ByN2sYu6.js +2 -0
  692. package/www/build/p-D4yqZKyM.js +1 -0
  693. package/www/build/p-Q-tWjk7P.js +1 -0
  694. package/www/build/p-a336c241.entry.js +1 -0
  695. package/www/build/p-a3a7c406.entry.js +1 -0
  696. package/www/build/p-a9534450.entry.js +1 -0
  697. package/www/build/p-aabb5aea.entry.js +1 -0
  698. package/www/build/p-abfdc045.entry.js +1 -0
  699. package/www/build/p-ad2ed505.entry.js +16 -0
  700. package/www/build/p-aeaf586b.entry.js +1 -0
  701. package/www/build/p-afab22fc.entry.js +1 -0
  702. package/www/build/p-afcabf3b.entry.js +1 -0
  703. package/www/build/p-b38d52e5.entry.js +1 -0
  704. package/www/build/p-b5c180bc.entry.js +1 -0
  705. package/www/build/p-c1677653.entry.js +1 -0
  706. package/www/build/p-c23bfec2.entry.js +1 -0
  707. package/www/build/p-d8f0e022.entry.js +2 -0
  708. package/www/build/p-dc759208.entry.js +1 -0
  709. package/www/build/p-eb722234.entry.js +1 -0
  710. package/www/build/p-ebdbd84c.entry.js +1 -0
  711. package/www/build/p-ecea3d09.entry.js +1 -0
  712. package/www/build/p-fade8c19.entry.js +1 -0
  713. package/www/build/p-fc90579e.entry.js +1 -0
  714. package/www/build/web-components-library.esm.js +1 -2
  715. package/www/index.html +1 -1
  716. package/dist/cjs/_commonjsHelpers-68cdf74f.js +0 -7
  717. package/dist/cjs/_commonjsHelpers-68cdf74f.js.map +0 -1
  718. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  719. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  720. package/dist/cjs/breakpoints-8a1e87e0.js.map +0 -1
  721. package/dist/cjs/iconset-5d47610c.js.map +0 -1
  722. package/dist/cjs/index-012853a0.js +0 -21
  723. package/dist/cjs/index-012853a0.js.map +0 -1
  724. package/dist/cjs/index-1d7a50cc.js +0 -67
  725. package/dist/cjs/index-1d7a50cc.js.map +0 -1
  726. package/dist/cjs/index-2dff20f5.js +0 -20
  727. package/dist/cjs/index-2dff20f5.js.map +0 -1
  728. package/dist/cjs/index-86a8a3a4.js +0 -23
  729. package/dist/cjs/index-86a8a3a4.js.map +0 -1
  730. package/dist/cjs/index-938c9669.js +0 -73
  731. package/dist/cjs/index-938c9669.js.map +0 -1
  732. package/dist/cjs/index-96af6326.js +0 -2324
  733. package/dist/cjs/index-96af6326.js.map +0 -1
  734. package/dist/cjs/index-cb280932.js +0 -47
  735. package/dist/cjs/index-cb280932.js.map +0 -1
  736. package/dist/cjs/index-e30d0503.js.map +0 -1
  737. package/dist/cjs/index.cjs.js.map +0 -1
  738. package/dist/cjs/loader.cjs.js.map +0 -1
  739. package/dist/cjs/utils-4f7b4830.js.map +0 -1
  740. package/dist/cjs/utils-e8b453d5.js.map +0 -1
  741. package/dist/cjs/web-components-library.cjs.js.map +0 -1
  742. package/dist/cjs/z-accordion.cjs.entry.js.map +0 -1
  743. package/dist/cjs/z-alert.cjs.entry.js.map +0 -1
  744. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +0 -1
  745. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +0 -1
  746. package/dist/cjs/z-app-header_12.cjs.entry.js.map +0 -1
  747. package/dist/cjs/z-aria-alert.cjs.entry.js.map +0 -1
  748. package/dist/cjs/z-avatar.cjs.entry.js.map +0 -1
  749. package/dist/cjs/z-book-card-app.cjs.entry.js.map +0 -1
  750. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +0 -1
  751. package/dist/cjs/z-book-card.cjs.entry.js.map +0 -1
  752. package/dist/cjs/z-book-cover.cjs.entry.js.map +0 -1
  753. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +0 -1
  754. package/dist/cjs/z-button-sort.cjs.entry.js.map +0 -1
  755. package/dist/cjs/z-card.cjs.entry.js.map +0 -1
  756. package/dist/cjs/z-carousel.cjs.entry.js.map +0 -1
  757. package/dist/cjs/z-chip.cjs.entry.js.map +0 -1
  758. package/dist/cjs/z-color-picker.cjs.entry.js.map +0 -1
  759. package/dist/cjs/z-combobox.cjs.entry.js.map +0 -1
  760. package/dist/cjs/z-cover-hero.cjs.entry.js.map +0 -1
  761. package/dist/cjs/z-date-picker.cjs.entry.js.map +0 -1
  762. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +0 -1
  763. package/dist/cjs/z-file-upload.cjs.entry.js.map +0 -1
  764. package/dist/cjs/z-file.cjs.entry.js.map +0 -1
  765. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +0 -1
  766. package/dist/cjs/z-info-box.cjs.entry.js.map +0 -1
  767. package/dist/cjs/z-info-reveal.cjs.entry.js.map +0 -1
  768. package/dist/cjs/z-logo.cjs.entry.js.map +0 -1
  769. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +0 -1
  770. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +0 -1
  771. package/dist/cjs/z-menu-section.cjs.entry.js.map +0 -1
  772. package/dist/cjs/z-menu.cjs.entry.js.map +0 -1
  773. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +0 -1
  774. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +0 -1
  775. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +0 -1
  776. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +0 -1
  777. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +0 -1
  778. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +0 -1
  779. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +0 -1
  780. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +0 -1
  781. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +0 -1
  782. package/dist/cjs/z-myz-list.cjs.entry.js.map +0 -1
  783. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +0 -1
  784. package/dist/cjs/z-notification.cjs.entry.js.map +0 -1
  785. package/dist/cjs/z-otp.cjs.entry.js.map +0 -1
  786. package/dist/cjs/z-pagination.cjs.entry.js.map +0 -1
  787. package/dist/cjs/z-panel-elem.cjs.entry.js.map +0 -1
  788. package/dist/cjs/z-popover.cjs.entry.js.map +0 -1
  789. package/dist/cjs/z-range-picker.cjs.entry.js.map +0 -1
  790. package/dist/cjs/z-result-card.cjs.entry.js.map +0 -1
  791. package/dist/cjs/z-section-title.cjs.entry.js.map +0 -1
  792. package/dist/cjs/z-select.cjs.entry.js.map +0 -1
  793. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +0 -1
  794. package/dist/cjs/z-slideshow.cjs.entry.js.map +0 -1
  795. package/dist/cjs/z-stepper-item.cjs.entry.js.map +0 -1
  796. package/dist/cjs/z-stepper.cjs.entry.js.map +0 -1
  797. package/dist/cjs/z-table.cjs.entry.js.map +0 -1
  798. package/dist/cjs/z-tbody.cjs.entry.js.map +0 -1
  799. package/dist/cjs/z-td.cjs.entry.js.map +0 -1
  800. package/dist/cjs/z-tfoot.cjs.entry.js.map +0 -1
  801. package/dist/cjs/z-th.cjs.entry.js.map +0 -1
  802. package/dist/cjs/z-thead.cjs.entry.js.map +0 -1
  803. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +0 -1
  804. package/dist/cjs/z-toast-notification.cjs.entry.js.map +0 -1
  805. package/dist/cjs/z-toggle-button.cjs.entry.js.map +0 -1
  806. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +0 -1
  807. package/dist/cjs/z-tool.cjs.entry.js.map +0 -1
  808. package/dist/cjs/z-toolbar.cjs.entry.js.map +0 -1
  809. package/dist/cjs/z-tooltip.cjs.entry.js.map +0 -1
  810. package/dist/cjs/z-tr.cjs.entry.js.map +0 -1
  811. package/dist/cjs/z-tree-list.cjs.entry.js.map +0 -1
  812. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +0 -1
  813. package/dist/collection/__mocks__/fileMock.js.map +0 -1
  814. package/dist/collection/beans/index.js.map +0 -1
  815. package/dist/collection/components/book-card/z-book-card/index.js.map +0 -1
  816. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +0 -1
  817. package/dist/collection/components/book-card/z-book-card-app/index.js.map +0 -1
  818. package/dist/collection/components/book-card/z-book-card-app/index.stories.js.map +0 -1
  819. package/dist/collection/components/css-components/z-fab/index.stories.js.map +0 -1
  820. package/dist/collection/components/css-components/z-label/index.stories.js.map +0 -1
  821. package/dist/collection/components/css-components/z-link/index.stories.js.map +0 -1
  822. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +0 -1
  823. package/dist/collection/components/date-picker/utils.js.map +0 -1
  824. package/dist/collection/components/date-picker/z-date-picker/index.js.map +0 -1
  825. package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +0 -1
  826. package/dist/collection/components/date-picker/z-range-picker/index.js.map +0 -1
  827. package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +0 -1
  828. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +0 -1
  829. package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js.map +0 -1
  830. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +0 -1
  831. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +0 -1
  832. package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +0 -1
  833. package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js.map +0 -1
  834. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +0 -1
  835. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js.map +0 -1
  836. package/dist/collection/components/deprecated/z-section-title/index.js.map +0 -1
  837. package/dist/collection/components/deprecated/z-section-title/index.stories.js.map +0 -1
  838. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +0 -1
  839. package/dist/collection/components/file-upload/z-file/index.js.map +0 -1
  840. package/dist/collection/components/file-upload/z-file/index.stories.js.map +0 -1
  841. package/dist/collection/components/file-upload/z-file-upload/index.js.map +0 -1
  842. package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +0 -1
  843. package/dist/collection/components/index.js.map +0 -1
  844. package/dist/collection/components/list/z-list/index.js.map +0 -1
  845. package/dist/collection/components/list/z-list/index.stories.js.map +0 -1
  846. package/dist/collection/components/list/z-list-element/index.js.map +0 -1
  847. package/dist/collection/components/list/z-list-element/index.stories.js.map +0 -1
  848. package/dist/collection/components/list/z-list-group/index.js.map +0 -1
  849. package/dist/collection/components/list/z-list-group/index.stories.js.map +0 -1
  850. package/dist/collection/components/list/z-tree-list/index.js.map +0 -1
  851. package/dist/collection/components/list/z-tree-list/index.stories.js.map +0 -1
  852. package/dist/collection/components/table/cells/z-td/index.js.map +0 -1
  853. package/dist/collection/components/table/cells/z-th/index.js.map +0 -1
  854. package/dist/collection/components/table/z-table/index.js.map +0 -1
  855. package/dist/collection/components/table/z-table/index.stories.js.map +0 -1
  856. package/dist/collection/components/table/z-tbody/index.js.map +0 -1
  857. package/dist/collection/components/table/z-tfoot/index.js.map +0 -1
  858. package/dist/collection/components/table/z-thead/index.js.map +0 -1
  859. package/dist/collection/components/table/z-tr/index.js.map +0 -1
  860. package/dist/collection/components/z-accordion/index.js.map +0 -1
  861. package/dist/collection/components/z-accordion/index.stories.js.map +0 -1
  862. package/dist/collection/components/z-anchor-navigation/index.js.map +0 -1
  863. package/dist/collection/components/z-anchor-navigation/index.stories.js.map +0 -1
  864. package/dist/collection/components/z-app-header/index.js.map +0 -1
  865. package/dist/collection/components/z-app-header/index.stories.js.map +0 -1
  866. package/dist/collection/components/z-aria-alert/index.js.map +0 -1
  867. package/dist/collection/components/z-aria-alert/index.stories.js.map +0 -1
  868. package/dist/collection/components/z-avatar/index.js.map +0 -1
  869. package/dist/collection/components/z-avatar/index.stories.js.map +0 -1
  870. package/dist/collection/components/z-book-cover/index.js.map +0 -1
  871. package/dist/collection/components/z-book-cover/index.stories.js.map +0 -1
  872. package/dist/collection/components/z-breadcrumb/index.js.map +0 -1
  873. package/dist/collection/components/z-breadcrumb/index.stories.js.map +0 -1
  874. package/dist/collection/components/z-button/index.js.map +0 -1
  875. package/dist/collection/components/z-button/index.stories.js.map +0 -1
  876. package/dist/collection/components/z-button-sort/index.js.map +0 -1
  877. package/dist/collection/components/z-button-sort/index.stories.js.map +0 -1
  878. package/dist/collection/components/z-card/index.js.map +0 -1
  879. package/dist/collection/components/z-card/index.stories.js.map +0 -1
  880. package/dist/collection/components/z-carousel/index.js.map +0 -1
  881. package/dist/collection/components/z-carousel/index.stories.js.map +0 -1
  882. package/dist/collection/components/z-chip/index.js.map +0 -1
  883. package/dist/collection/components/z-chip/index.stories.js.map +0 -1
  884. package/dist/collection/components/z-color-picker/index.js.map +0 -1
  885. package/dist/collection/components/z-color-picker/index.stories.js.map +0 -1
  886. package/dist/collection/components/z-combobox/index.js.map +0 -1
  887. package/dist/collection/components/z-combobox/index.stories.js.map +0 -1
  888. package/dist/collection/components/z-cover-hero/index.js.map +0 -1
  889. package/dist/collection/components/z-cover-hero/index.stories.js.map +0 -1
  890. package/dist/collection/components/z-divider/index.js.map +0 -1
  891. package/dist/collection/components/z-divider/index.stories.js.map +0 -1
  892. package/dist/collection/components/z-ghost-loading/index.js.map +0 -1
  893. package/dist/collection/components/z-ghost-loading/index.stories.js.map +0 -1
  894. package/dist/collection/components/z-icon/index.js.map +0 -1
  895. package/dist/collection/components/z-icon/index.stories.js.map +0 -1
  896. package/dist/collection/components/z-info-box/index.js.map +0 -1
  897. package/dist/collection/components/z-info-box/index.stories.js.map +0 -1
  898. package/dist/collection/components/z-info-reveal/index.js.map +0 -1
  899. package/dist/collection/components/z-info-reveal/index.stories.js.map +0 -1
  900. package/dist/collection/components/z-input/index.js.map +0 -1
  901. package/dist/collection/components/z-input/index.stories.js.map +0 -1
  902. package/dist/collection/components/z-input-message/index.js.map +0 -1
  903. package/dist/collection/components/z-input-message/index.stories.js.map +0 -1
  904. package/dist/collection/components/z-logo/index.js.map +0 -1
  905. package/dist/collection/components/z-logo/index.stories.js.map +0 -1
  906. package/dist/collection/components/z-menu/index.js.map +0 -1
  907. package/dist/collection/components/z-menu/index.stories.js.map +0 -1
  908. package/dist/collection/components/z-menu-section/index.js.map +0 -1
  909. package/dist/collection/components/z-menu-section/index.stories.js.map +0 -1
  910. package/dist/collection/components/z-modal/index.js.map +0 -1
  911. package/dist/collection/components/z-modal/index.stories.js.map +0 -1
  912. package/dist/collection/components/z-navigation-tabs/index.js.map +0 -1
  913. package/dist/collection/components/z-navigation-tabs/index.stories.js.map +0 -1
  914. package/dist/collection/components/z-notification/index.js.map +0 -1
  915. package/dist/collection/components/z-notification/index.stories.js.map +0 -1
  916. package/dist/collection/components/z-offcanvas/index.js.map +0 -1
  917. package/dist/collection/components/z-offcanvas/index.stories.js.map +0 -1
  918. package/dist/collection/components/z-pagination/index.js.map +0 -1
  919. package/dist/collection/components/z-pagination/index.stories.js.map +0 -1
  920. package/dist/collection/components/z-panel-elem/index.js.map +0 -1
  921. package/dist/collection/components/z-panel-elem/index.stories.js.map +0 -1
  922. package/dist/collection/components/z-popover/index.js.map +0 -1
  923. package/dist/collection/components/z-popover/index.stories.js.map +0 -1
  924. package/dist/collection/components/z-result-card/index.js.map +0 -1
  925. package/dist/collection/components/z-result-card/z-result-card.stories.js.map +0 -1
  926. package/dist/collection/components/z-searchbar/index.js.map +0 -1
  927. package/dist/collection/components/z-searchbar/index.stories.js.map +0 -1
  928. package/dist/collection/components/z-select/index.js.map +0 -1
  929. package/dist/collection/components/z-select/index.stories.js.map +0 -1
  930. package/dist/collection/components/z-skip-to-content/index.js.map +0 -1
  931. package/dist/collection/components/z-skip-to-content/index.stories.js.map +0 -1
  932. package/dist/collection/components/z-stepper/index.js.map +0 -1
  933. package/dist/collection/components/z-stepper/index.stories.js.map +0 -1
  934. package/dist/collection/components/z-stepper-item/index.js.map +0 -1
  935. package/dist/collection/components/z-stepper-item/index.stories.js.map +0 -1
  936. package/dist/collection/components/z-tag/index.js.map +0 -1
  937. package/dist/collection/components/z-tag/index.stories.js.map +0 -1
  938. package/dist/collection/components/z-toast-notification/index.js.map +0 -1
  939. package/dist/collection/components/z-toast-notification/index.stories.js.map +0 -1
  940. package/dist/collection/components/z-toast-notification-list/index.js.map +0 -1
  941. package/dist/collection/components/z-toast-notification-list/index.stories.js.map +0 -1
  942. package/dist/collection/components/z-toggle-button/index.js.map +0 -1
  943. package/dist/collection/components/z-toggle-button/index.stories.js.map +0 -1
  944. package/dist/collection/components/z-toggle-switch/index.js.map +0 -1
  945. package/dist/collection/components/z-toggle-switch/index.stories.js.map +0 -1
  946. package/dist/collection/components/z-tool/index.js.map +0 -1
  947. package/dist/collection/components/z-tool/index.stories.js.map +0 -1
  948. package/dist/collection/components/z-toolbar/index.js.map +0 -1
  949. package/dist/collection/components/z-toolbar/index.stories.js.map +0 -1
  950. package/dist/collection/components/z-tooltip/index.js.map +0 -1
  951. package/dist/collection/components/z-tooltip/index.stories.js.map +0 -1
  952. package/dist/collection/components/z-visually-hidden/index.js.map +0 -1
  953. package/dist/collection/components/z-visually-hidden/index.stories.js.map +0 -1
  954. package/dist/collection/constants/breakpoints.js.map +0 -1
  955. package/dist/collection/constants/icons.js.map +0 -1
  956. package/dist/collection/constants/iconset.js.map +0 -1
  957. package/dist/collection/index.js.map +0 -1
  958. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +0 -1
  959. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +0 -1
  960. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +0 -1
  961. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +0 -1
  962. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +0 -1
  963. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +0 -1
  964. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +0 -1
  965. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +0 -1
  966. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +0 -1
  967. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +0 -1
  968. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +0 -1
  969. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +0 -1
  970. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +0 -1
  971. package/dist/collection/snowflakes/myz/z-alert/index.js.map +0 -1
  972. package/dist/collection/snowflakes/myz/z-otp/index.js.map +0 -1
  973. package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +0 -1
  974. package/dist/collection/utils/storybook-utils.js.map +0 -1
  975. package/dist/collection/utils/utils.js.map +0 -1
  976. package/dist/components/_commonjsHelpers.js.map +0 -1
  977. package/dist/components/breakpoints.js.map +0 -1
  978. package/dist/components/iconset.js.map +0 -1
  979. package/dist/components/index.js.map +0 -1
  980. package/dist/components/index10.js.map +0 -1
  981. package/dist/components/index11.js.map +0 -1
  982. package/dist/components/index12.js.map +0 -1
  983. package/dist/components/index13.js.map +0 -1
  984. package/dist/components/index14.js.map +0 -1
  985. package/dist/components/index15.js.map +0 -1
  986. package/dist/components/index16.js.map +0 -1
  987. package/dist/components/index17.js.map +0 -1
  988. package/dist/components/index18.js.map +0 -1
  989. package/dist/components/index19.js.map +0 -1
  990. package/dist/components/index2.js.map +0 -1
  991. package/dist/components/index20.js.map +0 -1
  992. package/dist/components/index21.js.map +0 -1
  993. package/dist/components/index22.js.map +0 -1
  994. package/dist/components/index23.js.map +0 -1
  995. package/dist/components/index24.js.map +0 -1
  996. package/dist/components/index25.js.map +0 -1
  997. package/dist/components/index26.js.map +0 -1
  998. package/dist/components/index27.js.map +0 -1
  999. package/dist/components/index3.js.map +0 -1
  1000. package/dist/components/index4.js.map +0 -1
  1001. package/dist/components/index5.js.map +0 -1
  1002. package/dist/components/index6.js.map +0 -1
  1003. package/dist/components/index7.js.map +0 -1
  1004. package/dist/components/index8.js.map +0 -1
  1005. package/dist/components/index9.js.map +0 -1
  1006. package/dist/components/utils.js.map +0 -1
  1007. package/dist/components/utils2.js.map +0 -1
  1008. package/dist/components/z-accordion.js.map +0 -1
  1009. package/dist/components/z-alert.js.map +0 -1
  1010. package/dist/components/z-anchor-navigation.js.map +0 -1
  1011. package/dist/components/z-app-header-deprecated.js.map +0 -1
  1012. package/dist/components/z-app-header.js.map +0 -1
  1013. package/dist/components/z-aria-alert.js.map +0 -1
  1014. package/dist/components/z-avatar.js.map +0 -1
  1015. package/dist/components/z-book-card-app.js.map +0 -1
  1016. package/dist/components/z-book-card-deprecated.js.map +0 -1
  1017. package/dist/components/z-book-card.js.map +0 -1
  1018. package/dist/components/z-book-cover.js.map +0 -1
  1019. package/dist/components/z-breadcrumb.js.map +0 -1
  1020. package/dist/components/z-button-sort.js.map +0 -1
  1021. package/dist/components/z-button.js.map +0 -1
  1022. package/dist/components/z-card.js.map +0 -1
  1023. package/dist/components/z-carousel.js.map +0 -1
  1024. package/dist/components/z-chip.js.map +0 -1
  1025. package/dist/components/z-color-picker.js.map +0 -1
  1026. package/dist/components/z-combobox.js.map +0 -1
  1027. package/dist/components/z-cover-hero.js.map +0 -1
  1028. package/dist/components/z-date-picker.js.map +0 -1
  1029. package/dist/components/z-divider.js.map +0 -1
  1030. package/dist/components/z-dragdrop-area.js.map +0 -1
  1031. package/dist/components/z-file-upload.js.map +0 -1
  1032. package/dist/components/z-file.js.map +0 -1
  1033. package/dist/components/z-ghost-loading.js.map +0 -1
  1034. package/dist/components/z-icon.js.map +0 -1
  1035. package/dist/components/z-info-box.js.map +0 -1
  1036. package/dist/components/z-info-reveal.js.map +0 -1
  1037. package/dist/components/z-input-message.js.map +0 -1
  1038. package/dist/components/z-input.js.map +0 -1
  1039. package/dist/components/z-list-element.js.map +0 -1
  1040. package/dist/components/z-list-group.js.map +0 -1
  1041. package/dist/components/z-list.js.map +0 -1
  1042. package/dist/components/z-logo.js.map +0 -1
  1043. package/dist/components/z-menu-deprecated.js.map +0 -1
  1044. package/dist/components/z-menu-section-deprecated.js.map +0 -1
  1045. package/dist/components/z-menu-section.js.map +0 -1
  1046. package/dist/components/z-menu.js.map +0 -1
  1047. package/dist/components/z-modal.js.map +0 -1
  1048. package/dist/components/z-myz-card-alert.js.map +0 -1
  1049. package/dist/components/z-myz-card-body.js.map +0 -1
  1050. package/dist/components/z-myz-card-cover.js.map +0 -1
  1051. package/dist/components/z-myz-card-dictionary.js.map +0 -1
  1052. package/dist/components/z-myz-card-footer-sections.js.map +0 -1
  1053. package/dist/components/z-myz-card-footer.js.map +0 -1
  1054. package/dist/components/z-myz-card-header.js.map +0 -1
  1055. package/dist/components/z-myz-card-icon.js.map +0 -1
  1056. package/dist/components/z-myz-card-info.js.map +0 -1
  1057. package/dist/components/z-myz-card-list.js.map +0 -1
  1058. package/dist/components/z-myz-card.js.map +0 -1
  1059. package/dist/components/z-myz-list-item.js.map +0 -1
  1060. package/dist/components/z-myz-list.js.map +0 -1
  1061. package/dist/components/z-navigation-tabs.js.map +0 -1
  1062. package/dist/components/z-notification.js.map +0 -1
  1063. package/dist/components/z-offcanvas.js.map +0 -1
  1064. package/dist/components/z-otp.js.map +0 -1
  1065. package/dist/components/z-pagination.js.map +0 -1
  1066. package/dist/components/z-panel-elem.js.map +0 -1
  1067. package/dist/components/z-popover.js.map +0 -1
  1068. package/dist/components/z-range-picker.js.map +0 -1
  1069. package/dist/components/z-result-card.js.map +0 -1
  1070. package/dist/components/z-searchbar.js.map +0 -1
  1071. package/dist/components/z-section-title.js.map +0 -1
  1072. package/dist/components/z-select.js.map +0 -1
  1073. package/dist/components/z-skip-to-content.js.map +0 -1
  1074. package/dist/components/z-slideshow.js.map +0 -1
  1075. package/dist/components/z-stepper-item.js.map +0 -1
  1076. package/dist/components/z-stepper.js.map +0 -1
  1077. package/dist/components/z-table.js.map +0 -1
  1078. package/dist/components/z-tag.js.map +0 -1
  1079. package/dist/components/z-tbody.js.map +0 -1
  1080. package/dist/components/z-td.js.map +0 -1
  1081. package/dist/components/z-tfoot.js.map +0 -1
  1082. package/dist/components/z-th.js.map +0 -1
  1083. package/dist/components/z-thead.js.map +0 -1
  1084. package/dist/components/z-toast-notification-list.js.map +0 -1
  1085. package/dist/components/z-toast-notification.js.map +0 -1
  1086. package/dist/components/z-toggle-button.js.map +0 -1
  1087. package/dist/components/z-toggle-switch.js.map +0 -1
  1088. package/dist/components/z-tool.js.map +0 -1
  1089. package/dist/components/z-toolbar.js.map +0 -1
  1090. package/dist/components/z-tooltip.js.map +0 -1
  1091. package/dist/components/z-tr.js.map +0 -1
  1092. package/dist/components/z-tree-list.js.map +0 -1
  1093. package/dist/components/z-visually-hidden.js.map +0 -1
  1094. package/dist/docs/grid/index.stories.js +0 -54
  1095. package/dist/docs/grid/index.stories.js.map +0 -1
  1096. package/dist/docs/iconset/index.stories.js +0 -32
  1097. package/dist/docs/iconset/index.stories.js.map +0 -1
  1098. package/dist/docs/themes/index.stories.js +0 -108
  1099. package/dist/docs/themes/index.stories.js.map +0 -1
  1100. package/dist/docs/typography/index.stories.js +0 -186
  1101. package/dist/docs/typography/index.stories.js.map +0 -1
  1102. package/dist/esm/_commonjsHelpers-1c8beb5f.js +0 -5
  1103. package/dist/esm/_commonjsHelpers-1c8beb5f.js.map +0 -1
  1104. package/dist/esm/app-globals-0f993ce5.js +0 -5
  1105. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  1106. package/dist/esm/breakpoints-d148bfde.js.map +0 -1
  1107. package/dist/esm/iconset-d7823b13.js.map +0 -1
  1108. package/dist/esm/index-09bfb4ee.js +0 -18
  1109. package/dist/esm/index-09bfb4ee.js.map +0 -1
  1110. package/dist/esm/index-106473a8.js.map +0 -1
  1111. package/dist/esm/index-3856a6ca.js +0 -19
  1112. package/dist/esm/index-3856a6ca.js.map +0 -1
  1113. package/dist/esm/index-455c0a68.js +0 -21
  1114. package/dist/esm/index-455c0a68.js.map +0 -1
  1115. package/dist/esm/index-6c43bc70.js +0 -65
  1116. package/dist/esm/index-6c43bc70.js.map +0 -1
  1117. package/dist/esm/index-83248f5c.js +0 -71
  1118. package/dist/esm/index-83248f5c.js.map +0 -1
  1119. package/dist/esm/index-c8ceadeb.js +0 -2293
  1120. package/dist/esm/index-c8ceadeb.js.map +0 -1
  1121. package/dist/esm/index-f8517155.js +0 -45
  1122. package/dist/esm/index-f8517155.js.map +0 -1
  1123. package/dist/esm/index.js.map +0 -1
  1124. package/dist/esm/loader.js.map +0 -1
  1125. package/dist/esm/utils-1b64bcd9.js.map +0 -1
  1126. package/dist/esm/utils-93ac0e6c.js.map +0 -1
  1127. package/dist/esm/web-components-library.js.map +0 -1
  1128. package/dist/esm/z-accordion.entry.js.map +0 -1
  1129. package/dist/esm/z-alert.entry.js.map +0 -1
  1130. package/dist/esm/z-anchor-navigation.entry.js.map +0 -1
  1131. package/dist/esm/z-app-header-deprecated.entry.js.map +0 -1
  1132. package/dist/esm/z-app-header_12.entry.js.map +0 -1
  1133. package/dist/esm/z-aria-alert.entry.js.map +0 -1
  1134. package/dist/esm/z-avatar.entry.js.map +0 -1
  1135. package/dist/esm/z-book-card-app.entry.js.map +0 -1
  1136. package/dist/esm/z-book-card-deprecated.entry.js.map +0 -1
  1137. package/dist/esm/z-book-card.entry.js.map +0 -1
  1138. package/dist/esm/z-book-cover.entry.js.map +0 -1
  1139. package/dist/esm/z-breadcrumb.entry.js.map +0 -1
  1140. package/dist/esm/z-button-sort.entry.js.map +0 -1
  1141. package/dist/esm/z-card.entry.js.map +0 -1
  1142. package/dist/esm/z-carousel.entry.js.map +0 -1
  1143. package/dist/esm/z-chip.entry.js.map +0 -1
  1144. package/dist/esm/z-color-picker.entry.js.map +0 -1
  1145. package/dist/esm/z-combobox.entry.js.map +0 -1
  1146. package/dist/esm/z-cover-hero.entry.js.map +0 -1
  1147. package/dist/esm/z-date-picker.entry.js.map +0 -1
  1148. package/dist/esm/z-dragdrop-area_2.entry.js.map +0 -1
  1149. package/dist/esm/z-file-upload.entry.js.map +0 -1
  1150. package/dist/esm/z-file.entry.js.map +0 -1
  1151. package/dist/esm/z-ghost-loading.entry.js.map +0 -1
  1152. package/dist/esm/z-info-box.entry.js.map +0 -1
  1153. package/dist/esm/z-info-reveal.entry.js.map +0 -1
  1154. package/dist/esm/z-logo.entry.js.map +0 -1
  1155. package/dist/esm/z-menu-deprecated.entry.js.map +0 -1
  1156. package/dist/esm/z-menu-section-deprecated.entry.js.map +0 -1
  1157. package/dist/esm/z-menu-section.entry.js.map +0 -1
  1158. package/dist/esm/z-menu.entry.js.map +0 -1
  1159. package/dist/esm/z-myz-card-alert.entry.js.map +0 -1
  1160. package/dist/esm/z-myz-card-dictionary.entry.js.map +0 -1
  1161. package/dist/esm/z-myz-card-footer-sections.entry.js.map +0 -1
  1162. package/dist/esm/z-myz-card-footer.entry.js.map +0 -1
  1163. package/dist/esm/z-myz-card-icon.entry.js.map +0 -1
  1164. package/dist/esm/z-myz-card-info.entry.js.map +0 -1
  1165. package/dist/esm/z-myz-card-list.entry.js.map +0 -1
  1166. package/dist/esm/z-myz-card_4.entry.js.map +0 -1
  1167. package/dist/esm/z-myz-list-item.entry.js.map +0 -1
  1168. package/dist/esm/z-myz-list.entry.js.map +0 -1
  1169. package/dist/esm/z-navigation-tabs.entry.js.map +0 -1
  1170. package/dist/esm/z-notification.entry.js.map +0 -1
  1171. package/dist/esm/z-otp.entry.js.map +0 -1
  1172. package/dist/esm/z-pagination.entry.js.map +0 -1
  1173. package/dist/esm/z-panel-elem.entry.js.map +0 -1
  1174. package/dist/esm/z-popover.entry.js.map +0 -1
  1175. package/dist/esm/z-range-picker.entry.js.map +0 -1
  1176. package/dist/esm/z-result-card.entry.js.map +0 -1
  1177. package/dist/esm/z-section-title.entry.js.map +0 -1
  1178. package/dist/esm/z-select.entry.js.map +0 -1
  1179. package/dist/esm/z-skip-to-content.entry.js.map +0 -1
  1180. package/dist/esm/z-slideshow.entry.js.map +0 -1
  1181. package/dist/esm/z-stepper-item.entry.js.map +0 -1
  1182. package/dist/esm/z-stepper.entry.js.map +0 -1
  1183. package/dist/esm/z-table.entry.js.map +0 -1
  1184. package/dist/esm/z-tbody.entry.js.map +0 -1
  1185. package/dist/esm/z-td.entry.js.map +0 -1
  1186. package/dist/esm/z-tfoot.entry.js.map +0 -1
  1187. package/dist/esm/z-th.entry.js.map +0 -1
  1188. package/dist/esm/z-thead.entry.js.map +0 -1
  1189. package/dist/esm/z-toast-notification-list.entry.js.map +0 -1
  1190. package/dist/esm/z-toast-notification.entry.js.map +0 -1
  1191. package/dist/esm/z-toggle-button.entry.js.map +0 -1
  1192. package/dist/esm/z-toggle-switch.entry.js.map +0 -1
  1193. package/dist/esm/z-tool.entry.js.map +0 -1
  1194. package/dist/esm/z-toolbar.entry.js.map +0 -1
  1195. package/dist/esm/z-tooltip.entry.js.map +0 -1
  1196. package/dist/esm/z-tr.entry.js.map +0 -1
  1197. package/dist/esm/z-tree-list.entry.js.map +0 -1
  1198. package/dist/esm/z-visually-hidden.entry.js.map +0 -1
  1199. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +0 -9
  1200. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -11
  1201. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +0 -16
  1202. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/typography/index.stories.d.ts +0 -96
  1203. package/dist/web-components-library/index.esm.js.map +0 -1
  1204. package/dist/web-components-library/p-0643d684.entry.js +0 -2
  1205. package/dist/web-components-library/p-0643d684.entry.js.map +0 -1
  1206. package/dist/web-components-library/p-0aed3ddc.entry.js +0 -2
  1207. package/dist/web-components-library/p-0aed3ddc.entry.js.map +0 -1
  1208. package/dist/web-components-library/p-19103e70.entry.js +0 -2
  1209. package/dist/web-components-library/p-19103e70.entry.js.map +0 -1
  1210. package/dist/web-components-library/p-1a0c206d.js +0 -2
  1211. package/dist/web-components-library/p-1a0c206d.js.map +0 -1
  1212. package/dist/web-components-library/p-252893a8.entry.js +0 -2
  1213. package/dist/web-components-library/p-252893a8.entry.js.map +0 -1
  1214. package/dist/web-components-library/p-26ed6c96.entry.js +0 -2
  1215. package/dist/web-components-library/p-26ed6c96.entry.js.map +0 -1
  1216. package/dist/web-components-library/p-2d4cf6ff.entry.js +0 -2
  1217. package/dist/web-components-library/p-2d4cf6ff.entry.js.map +0 -1
  1218. package/dist/web-components-library/p-30a78a06.entry.js +0 -2
  1219. package/dist/web-components-library/p-30a78a06.entry.js.map +0 -1
  1220. package/dist/web-components-library/p-31bd2a1c.entry.js +0 -2
  1221. package/dist/web-components-library/p-31bd2a1c.entry.js.map +0 -1
  1222. package/dist/web-components-library/p-32bc8a40.entry.js +0 -2
  1223. package/dist/web-components-library/p-32bc8a40.entry.js.map +0 -1
  1224. package/dist/web-components-library/p-3977b0ae.entry.js +0 -2
  1225. package/dist/web-components-library/p-3977b0ae.entry.js.map +0 -1
  1226. package/dist/web-components-library/p-3ba7621b.entry.js +0 -2
  1227. package/dist/web-components-library/p-3ba7621b.entry.js.map +0 -1
  1228. package/dist/web-components-library/p-41891d34.entry.js +0 -2
  1229. package/dist/web-components-library/p-41891d34.entry.js.map +0 -1
  1230. package/dist/web-components-library/p-42abfe3b.entry.js +0 -2
  1231. package/dist/web-components-library/p-42abfe3b.entry.js.map +0 -1
  1232. package/dist/web-components-library/p-4504375f.entry.js +0 -2
  1233. package/dist/web-components-library/p-4504375f.entry.js.map +0 -1
  1234. package/dist/web-components-library/p-4573c419.js +0 -2
  1235. package/dist/web-components-library/p-4573c419.js.map +0 -1
  1236. package/dist/web-components-library/p-47813782.entry.js +0 -2
  1237. package/dist/web-components-library/p-47813782.entry.js.map +0 -1
  1238. package/dist/web-components-library/p-47b59f05.entry.js +0 -2
  1239. package/dist/web-components-library/p-47b59f05.entry.js.map +0 -1
  1240. package/dist/web-components-library/p-4844c774.js +0 -2
  1241. package/dist/web-components-library/p-4844c774.js.map +0 -1
  1242. package/dist/web-components-library/p-5145a606.js +0 -2
  1243. package/dist/web-components-library/p-5145a606.js.map +0 -1
  1244. package/dist/web-components-library/p-55e5e53a.entry.js +0 -2
  1245. package/dist/web-components-library/p-55e5e53a.entry.js.map +0 -1
  1246. package/dist/web-components-library/p-565c1815.entry.js +0 -2
  1247. package/dist/web-components-library/p-565c1815.entry.js.map +0 -1
  1248. package/dist/web-components-library/p-58aeaf21.entry.js +0 -2
  1249. package/dist/web-components-library/p-58aeaf21.entry.js.map +0 -1
  1250. package/dist/web-components-library/p-5905cca0.entry.js +0 -2
  1251. package/dist/web-components-library/p-5905cca0.entry.js.map +0 -1
  1252. package/dist/web-components-library/p-5989465b.entry.js +0 -2
  1253. package/dist/web-components-library/p-5989465b.entry.js.map +0 -1
  1254. package/dist/web-components-library/p-5e2f6ab7.entry.js +0 -2
  1255. package/dist/web-components-library/p-5e2f6ab7.entry.js.map +0 -1
  1256. package/dist/web-components-library/p-613987cd.entry.js +0 -2
  1257. package/dist/web-components-library/p-613987cd.entry.js.map +0 -1
  1258. package/dist/web-components-library/p-6164feb9.entry.js +0 -2
  1259. package/dist/web-components-library/p-6164feb9.entry.js.map +0 -1
  1260. package/dist/web-components-library/p-623fdee4.js +0 -2
  1261. package/dist/web-components-library/p-623fdee4.js.map +0 -1
  1262. package/dist/web-components-library/p-66c0f993.entry.js +0 -2
  1263. package/dist/web-components-library/p-66c0f993.entry.js.map +0 -1
  1264. package/dist/web-components-library/p-68d91a93.js +0 -2
  1265. package/dist/web-components-library/p-68d91a93.js.map +0 -1
  1266. package/dist/web-components-library/p-6c6a655e.entry.js +0 -2
  1267. package/dist/web-components-library/p-6c6a655e.entry.js.map +0 -1
  1268. package/dist/web-components-library/p-6c9cd6be.entry.js.map +0 -1
  1269. package/dist/web-components-library/p-6d15da6f.entry.js +0 -2
  1270. package/dist/web-components-library/p-6d15da6f.entry.js.map +0 -1
  1271. package/dist/web-components-library/p-6e13aa8e.entry.js +0 -2
  1272. package/dist/web-components-library/p-6e13aa8e.entry.js.map +0 -1
  1273. package/dist/web-components-library/p-75c4a726.js +0 -3
  1274. package/dist/web-components-library/p-75c4a726.js.map +0 -1
  1275. package/dist/web-components-library/p-767b66ca.entry.js +0 -2
  1276. package/dist/web-components-library/p-767b66ca.entry.js.map +0 -1
  1277. package/dist/web-components-library/p-76d1d0e4.entry.js +0 -2
  1278. package/dist/web-components-library/p-76d1d0e4.entry.js.map +0 -1
  1279. package/dist/web-components-library/p-771dea79.entry.js +0 -2
  1280. package/dist/web-components-library/p-771dea79.entry.js.map +0 -1
  1281. package/dist/web-components-library/p-7a4f6a5b.entry.js +0 -2
  1282. package/dist/web-components-library/p-7a4f6a5b.entry.js.map +0 -1
  1283. package/dist/web-components-library/p-7b837e11.js +0 -2
  1284. package/dist/web-components-library/p-7b837e11.js.map +0 -1
  1285. package/dist/web-components-library/p-7d655f96.entry.js +0 -2
  1286. package/dist/web-components-library/p-7d655f96.entry.js.map +0 -1
  1287. package/dist/web-components-library/p-82eeea83.entry.js +0 -2
  1288. package/dist/web-components-library/p-82eeea83.entry.js.map +0 -1
  1289. package/dist/web-components-library/p-862989b6.entry.js +0 -2
  1290. package/dist/web-components-library/p-862989b6.entry.js.map +0 -1
  1291. package/dist/web-components-library/p-86618221.js +0 -2
  1292. package/dist/web-components-library/p-86618221.js.map +0 -1
  1293. package/dist/web-components-library/p-88a9865c.entry.js +0 -2
  1294. package/dist/web-components-library/p-88a9865c.entry.js.map +0 -1
  1295. package/dist/web-components-library/p-8988eee3.entry.js +0 -2
  1296. package/dist/web-components-library/p-8988eee3.entry.js.map +0 -1
  1297. package/dist/web-components-library/p-8a53fefb.entry.js +0 -2
  1298. package/dist/web-components-library/p-8a53fefb.entry.js.map +0 -1
  1299. package/dist/web-components-library/p-8b367393.js +0 -2
  1300. package/dist/web-components-library/p-8b367393.js.map +0 -1
  1301. package/dist/web-components-library/p-8c52635e.entry.js +0 -2
  1302. package/dist/web-components-library/p-8c52635e.entry.js.map +0 -1
  1303. package/dist/web-components-library/p-8fd50cc5.entry.js +0 -2
  1304. package/dist/web-components-library/p-8fd50cc5.entry.js.map +0 -1
  1305. package/dist/web-components-library/p-92f13701.entry.js +0 -2
  1306. package/dist/web-components-library/p-92f13701.entry.js.map +0 -1
  1307. package/dist/web-components-library/p-93d349ee.entry.js +0 -2
  1308. package/dist/web-components-library/p-93d349ee.entry.js.map +0 -1
  1309. package/dist/web-components-library/p-943db3a8.entry.js +0 -2
  1310. package/dist/web-components-library/p-943db3a8.entry.js.map +0 -1
  1311. package/dist/web-components-library/p-988a58dd.entry.js +0 -2
  1312. package/dist/web-components-library/p-988a58dd.entry.js.map +0 -1
  1313. package/dist/web-components-library/p-9ae0c0c6.entry.js +0 -2
  1314. package/dist/web-components-library/p-9ae0c0c6.entry.js.map +0 -1
  1315. package/dist/web-components-library/p-9c816a3b.js +0 -2
  1316. package/dist/web-components-library/p-9c816a3b.js.map +0 -1
  1317. package/dist/web-components-library/p-a2ee659d.entry.js +0 -2
  1318. package/dist/web-components-library/p-a2ee659d.entry.js.map +0 -1
  1319. package/dist/web-components-library/p-a4d2cf55.entry.js +0 -2
  1320. package/dist/web-components-library/p-a4d2cf55.entry.js.map +0 -1
  1321. package/dist/web-components-library/p-a5146ef3.entry.js +0 -2
  1322. package/dist/web-components-library/p-a5146ef3.entry.js.map +0 -1
  1323. package/dist/web-components-library/p-a8609510.entry.js +0 -2
  1324. package/dist/web-components-library/p-a8609510.entry.js.map +0 -1
  1325. package/dist/web-components-library/p-aaa96c12.entry.js +0 -17
  1326. package/dist/web-components-library/p-aaa96c12.entry.js.map +0 -1
  1327. package/dist/web-components-library/p-b391211f.entry.js +0 -2
  1328. package/dist/web-components-library/p-b391211f.entry.js.map +0 -1
  1329. package/dist/web-components-library/p-b421424f.entry.js +0 -2
  1330. package/dist/web-components-library/p-b421424f.entry.js.map +0 -1
  1331. package/dist/web-components-library/p-b54d923e.entry.js +0 -2
  1332. package/dist/web-components-library/p-b54d923e.entry.js.map +0 -1
  1333. package/dist/web-components-library/p-b7056859.entry.js +0 -2
  1334. package/dist/web-components-library/p-b7056859.entry.js.map +0 -1
  1335. package/dist/web-components-library/p-b71a3f69.entry.js +0 -2
  1336. package/dist/web-components-library/p-b71a3f69.entry.js.map +0 -1
  1337. package/dist/web-components-library/p-b7ec2cc4.entry.js +0 -2
  1338. package/dist/web-components-library/p-b7ec2cc4.entry.js.map +0 -1
  1339. package/dist/web-components-library/p-c12f93e4.entry.js +0 -2
  1340. package/dist/web-components-library/p-c12f93e4.entry.js.map +0 -1
  1341. package/dist/web-components-library/p-c5d52872.entry.js +0 -2
  1342. package/dist/web-components-library/p-c5d52872.entry.js.map +0 -1
  1343. package/dist/web-components-library/p-c811b0cf.entry.js +0 -2
  1344. package/dist/web-components-library/p-c811b0cf.entry.js.map +0 -1
  1345. package/dist/web-components-library/p-c89e1f4b.entry.js +0 -2
  1346. package/dist/web-components-library/p-c89e1f4b.entry.js.map +0 -1
  1347. package/dist/web-components-library/p-c9b81cab.entry.js +0 -2
  1348. package/dist/web-components-library/p-c9b81cab.entry.js.map +0 -1
  1349. package/dist/web-components-library/p-cb395500.js +0 -2
  1350. package/dist/web-components-library/p-cb395500.js.map +0 -1
  1351. package/dist/web-components-library/p-cbc09112.entry.js +0 -2
  1352. package/dist/web-components-library/p-cbc09112.entry.js.map +0 -1
  1353. package/dist/web-components-library/p-da3abb97.entry.js +0 -2
  1354. package/dist/web-components-library/p-da3abb97.entry.js.map +0 -1
  1355. package/dist/web-components-library/p-daa442e6.entry.js +0 -2
  1356. package/dist/web-components-library/p-daa442e6.entry.js.map +0 -1
  1357. package/dist/web-components-library/p-e1255160.js +0 -2
  1358. package/dist/web-components-library/p-e1255160.js.map +0 -1
  1359. package/dist/web-components-library/p-e8eacbeb.entry.js +0 -8
  1360. package/dist/web-components-library/p-e8eacbeb.entry.js.map +0 -1
  1361. package/dist/web-components-library/p-eb15536d.js.map +0 -1
  1362. package/dist/web-components-library/p-efa6b991.entry.js +0 -2
  1363. package/dist/web-components-library/p-efa6b991.entry.js.map +0 -1
  1364. package/dist/web-components-library/p-f4b987ed.entry.js +0 -2
  1365. package/dist/web-components-library/p-f4b987ed.entry.js.map +0 -1
  1366. package/dist/web-components-library/p-f662e7ff.entry.js +0 -2
  1367. package/dist/web-components-library/p-f662e7ff.entry.js.map +0 -1
  1368. package/dist/web-components-library/p-f92e0c29.entry.js +0 -2
  1369. package/dist/web-components-library/p-f92e0c29.entry.js.map +0 -1
  1370. package/dist/web-components-library/p-ff89d630.entry.js +0 -2
  1371. package/dist/web-components-library/p-ff89d630.entry.js.map +0 -1
  1372. package/dist/web-components-library/web-components-library.esm.js.map +0 -1
  1373. package/loader/package.json +0 -11
  1374. package/react/components.js.map +0 -1
  1375. package/react/index.js.map +0 -1
  1376. package/react/react-component-lib/createComponent.js.map +0 -1
  1377. package/react/react-component-lib/createOverlayComponent.js.map +0 -1
  1378. package/react/react-component-lib/index.js.map +0 -1
  1379. package/react/react-component-lib/interfaces.js.map +0 -1
  1380. package/react/react-component-lib/utils/attachProps.js.map +0 -1
  1381. package/react/react-component-lib/utils/case.js.map +0 -1
  1382. package/react/react-component-lib/utils/dev.js.map +0 -1
  1383. package/react/react-component-lib/utils/index.js.map +0 -1
  1384. package/www/build/index.esm.js.map +0 -1
  1385. package/www/build/p-0643d684.entry.js +0 -2
  1386. package/www/build/p-0643d684.entry.js.map +0 -1
  1387. package/www/build/p-0aed3ddc.entry.js +0 -2
  1388. package/www/build/p-0aed3ddc.entry.js.map +0 -1
  1389. package/www/build/p-156f9df4.js +0 -2
  1390. package/www/build/p-19103e70.entry.js +0 -2
  1391. package/www/build/p-19103e70.entry.js.map +0 -1
  1392. package/www/build/p-1a0c206d.js +0 -2
  1393. package/www/build/p-1a0c206d.js.map +0 -1
  1394. package/www/build/p-252893a8.entry.js +0 -2
  1395. package/www/build/p-252893a8.entry.js.map +0 -1
  1396. package/www/build/p-26ed6c96.entry.js +0 -2
  1397. package/www/build/p-26ed6c96.entry.js.map +0 -1
  1398. package/www/build/p-2d4cf6ff.entry.js +0 -2
  1399. package/www/build/p-2d4cf6ff.entry.js.map +0 -1
  1400. package/www/build/p-30a78a06.entry.js +0 -2
  1401. package/www/build/p-30a78a06.entry.js.map +0 -1
  1402. package/www/build/p-31bd2a1c.entry.js +0 -2
  1403. package/www/build/p-31bd2a1c.entry.js.map +0 -1
  1404. package/www/build/p-32bc8a40.entry.js +0 -2
  1405. package/www/build/p-32bc8a40.entry.js.map +0 -1
  1406. package/www/build/p-3977b0ae.entry.js +0 -2
  1407. package/www/build/p-3977b0ae.entry.js.map +0 -1
  1408. package/www/build/p-3ba7621b.entry.js +0 -2
  1409. package/www/build/p-3ba7621b.entry.js.map +0 -1
  1410. package/www/build/p-41891d34.entry.js +0 -2
  1411. package/www/build/p-41891d34.entry.js.map +0 -1
  1412. package/www/build/p-42abfe3b.entry.js +0 -2
  1413. package/www/build/p-42abfe3b.entry.js.map +0 -1
  1414. package/www/build/p-4504375f.entry.js +0 -2
  1415. package/www/build/p-4504375f.entry.js.map +0 -1
  1416. package/www/build/p-4573c419.js +0 -2
  1417. package/www/build/p-4573c419.js.map +0 -1
  1418. package/www/build/p-47813782.entry.js +0 -2
  1419. package/www/build/p-47813782.entry.js.map +0 -1
  1420. package/www/build/p-47b59f05.entry.js +0 -2
  1421. package/www/build/p-47b59f05.entry.js.map +0 -1
  1422. package/www/build/p-4844c774.js +0 -2
  1423. package/www/build/p-4844c774.js.map +0 -1
  1424. package/www/build/p-5145a606.js +0 -2
  1425. package/www/build/p-5145a606.js.map +0 -1
  1426. package/www/build/p-55e5e53a.entry.js +0 -2
  1427. package/www/build/p-55e5e53a.entry.js.map +0 -1
  1428. package/www/build/p-565c1815.entry.js +0 -2
  1429. package/www/build/p-565c1815.entry.js.map +0 -1
  1430. package/www/build/p-58aeaf21.entry.js +0 -2
  1431. package/www/build/p-58aeaf21.entry.js.map +0 -1
  1432. package/www/build/p-5905cca0.entry.js +0 -2
  1433. package/www/build/p-5905cca0.entry.js.map +0 -1
  1434. package/www/build/p-5989465b.entry.js +0 -2
  1435. package/www/build/p-5989465b.entry.js.map +0 -1
  1436. package/www/build/p-5e2f6ab7.entry.js +0 -2
  1437. package/www/build/p-5e2f6ab7.entry.js.map +0 -1
  1438. package/www/build/p-613987cd.entry.js +0 -2
  1439. package/www/build/p-613987cd.entry.js.map +0 -1
  1440. package/www/build/p-6164feb9.entry.js +0 -2
  1441. package/www/build/p-6164feb9.entry.js.map +0 -1
  1442. package/www/build/p-623fdee4.js +0 -2
  1443. package/www/build/p-623fdee4.js.map +0 -1
  1444. package/www/build/p-66c0f993.entry.js +0 -2
  1445. package/www/build/p-66c0f993.entry.js.map +0 -1
  1446. package/www/build/p-68d91a93.js +0 -2
  1447. package/www/build/p-68d91a93.js.map +0 -1
  1448. package/www/build/p-6c6a655e.entry.js +0 -2
  1449. package/www/build/p-6c6a655e.entry.js.map +0 -1
  1450. package/www/build/p-6c9cd6be.entry.js.map +0 -1
  1451. package/www/build/p-6d15da6f.entry.js +0 -2
  1452. package/www/build/p-6d15da6f.entry.js.map +0 -1
  1453. package/www/build/p-6e13aa8e.entry.js +0 -2
  1454. package/www/build/p-6e13aa8e.entry.js.map +0 -1
  1455. package/www/build/p-75c4a726.js +0 -3
  1456. package/www/build/p-75c4a726.js.map +0 -1
  1457. package/www/build/p-767b66ca.entry.js +0 -2
  1458. package/www/build/p-767b66ca.entry.js.map +0 -1
  1459. package/www/build/p-76d1d0e4.entry.js +0 -2
  1460. package/www/build/p-76d1d0e4.entry.js.map +0 -1
  1461. package/www/build/p-771dea79.entry.js +0 -2
  1462. package/www/build/p-771dea79.entry.js.map +0 -1
  1463. package/www/build/p-7a4f6a5b.entry.js +0 -2
  1464. package/www/build/p-7a4f6a5b.entry.js.map +0 -1
  1465. package/www/build/p-7b837e11.js +0 -2
  1466. package/www/build/p-7b837e11.js.map +0 -1
  1467. package/www/build/p-7d655f96.entry.js +0 -2
  1468. package/www/build/p-7d655f96.entry.js.map +0 -1
  1469. package/www/build/p-82eeea83.entry.js +0 -2
  1470. package/www/build/p-82eeea83.entry.js.map +0 -1
  1471. package/www/build/p-862989b6.entry.js +0 -2
  1472. package/www/build/p-862989b6.entry.js.map +0 -1
  1473. package/www/build/p-86618221.js +0 -2
  1474. package/www/build/p-86618221.js.map +0 -1
  1475. package/www/build/p-88a9865c.entry.js +0 -2
  1476. package/www/build/p-88a9865c.entry.js.map +0 -1
  1477. package/www/build/p-8988eee3.entry.js +0 -2
  1478. package/www/build/p-8988eee3.entry.js.map +0 -1
  1479. package/www/build/p-8a53fefb.entry.js +0 -2
  1480. package/www/build/p-8a53fefb.entry.js.map +0 -1
  1481. package/www/build/p-8b367393.js +0 -2
  1482. package/www/build/p-8b367393.js.map +0 -1
  1483. package/www/build/p-8c52635e.entry.js +0 -2
  1484. package/www/build/p-8c52635e.entry.js.map +0 -1
  1485. package/www/build/p-8fd50cc5.entry.js +0 -2
  1486. package/www/build/p-8fd50cc5.entry.js.map +0 -1
  1487. package/www/build/p-92f13701.entry.js +0 -2
  1488. package/www/build/p-92f13701.entry.js.map +0 -1
  1489. package/www/build/p-93d349ee.entry.js +0 -2
  1490. package/www/build/p-93d349ee.entry.js.map +0 -1
  1491. package/www/build/p-943db3a8.entry.js +0 -2
  1492. package/www/build/p-943db3a8.entry.js.map +0 -1
  1493. package/www/build/p-988a58dd.entry.js +0 -2
  1494. package/www/build/p-988a58dd.entry.js.map +0 -1
  1495. package/www/build/p-9ae0c0c6.entry.js +0 -2
  1496. package/www/build/p-9ae0c0c6.entry.js.map +0 -1
  1497. package/www/build/p-9c816a3b.js +0 -2
  1498. package/www/build/p-9c816a3b.js.map +0 -1
  1499. package/www/build/p-a2ee659d.entry.js +0 -2
  1500. package/www/build/p-a2ee659d.entry.js.map +0 -1
  1501. package/www/build/p-a4d2cf55.entry.js +0 -2
  1502. package/www/build/p-a4d2cf55.entry.js.map +0 -1
  1503. package/www/build/p-a5146ef3.entry.js +0 -2
  1504. package/www/build/p-a5146ef3.entry.js.map +0 -1
  1505. package/www/build/p-a8609510.entry.js +0 -2
  1506. package/www/build/p-a8609510.entry.js.map +0 -1
  1507. package/www/build/p-aaa96c12.entry.js +0 -17
  1508. package/www/build/p-aaa96c12.entry.js.map +0 -1
  1509. package/www/build/p-b391211f.entry.js +0 -2
  1510. package/www/build/p-b391211f.entry.js.map +0 -1
  1511. package/www/build/p-b421424f.entry.js +0 -2
  1512. package/www/build/p-b421424f.entry.js.map +0 -1
  1513. package/www/build/p-b54d923e.entry.js +0 -2
  1514. package/www/build/p-b54d923e.entry.js.map +0 -1
  1515. package/www/build/p-b7056859.entry.js +0 -2
  1516. package/www/build/p-b7056859.entry.js.map +0 -1
  1517. package/www/build/p-b71a3f69.entry.js +0 -2
  1518. package/www/build/p-b71a3f69.entry.js.map +0 -1
  1519. package/www/build/p-b7ec2cc4.entry.js +0 -2
  1520. package/www/build/p-b7ec2cc4.entry.js.map +0 -1
  1521. package/www/build/p-c12f93e4.entry.js +0 -2
  1522. package/www/build/p-c12f93e4.entry.js.map +0 -1
  1523. package/www/build/p-c5d52872.entry.js +0 -2
  1524. package/www/build/p-c5d52872.entry.js.map +0 -1
  1525. package/www/build/p-c811b0cf.entry.js +0 -2
  1526. package/www/build/p-c811b0cf.entry.js.map +0 -1
  1527. package/www/build/p-c89e1f4b.entry.js +0 -2
  1528. package/www/build/p-c89e1f4b.entry.js.map +0 -1
  1529. package/www/build/p-c9b81cab.entry.js +0 -2
  1530. package/www/build/p-c9b81cab.entry.js.map +0 -1
  1531. package/www/build/p-cb395500.js +0 -2
  1532. package/www/build/p-cb395500.js.map +0 -1
  1533. package/www/build/p-cbc09112.entry.js +0 -2
  1534. package/www/build/p-cbc09112.entry.js.map +0 -1
  1535. package/www/build/p-da3abb97.entry.js +0 -2
  1536. package/www/build/p-da3abb97.entry.js.map +0 -1
  1537. package/www/build/p-daa442e6.entry.js +0 -2
  1538. package/www/build/p-daa442e6.entry.js.map +0 -1
  1539. package/www/build/p-e1255160.js +0 -2
  1540. package/www/build/p-e1255160.js.map +0 -1
  1541. package/www/build/p-e8eacbeb.entry.js +0 -8
  1542. package/www/build/p-e8eacbeb.entry.js.map +0 -1
  1543. package/www/build/p-eb15536d.js.map +0 -1
  1544. package/www/build/p-efa6b991.entry.js +0 -2
  1545. package/www/build/p-efa6b991.entry.js.map +0 -1
  1546. package/www/build/p-f4b987ed.entry.js +0 -2
  1547. package/www/build/p-f4b987ed.entry.js.map +0 -1
  1548. package/www/build/p-f662e7ff.entry.js +0 -2
  1549. package/www/build/p-f662e7ff.entry.js.map +0 -1
  1550. package/www/build/p-f92e0c29.entry.js +0 -2
  1551. package/www/build/p-f92e0c29.entry.js.map +0 -1
  1552. package/www/build/p-ff89d630.entry.js +0 -2
  1553. package/www/build/p-ff89d630.entry.js.map +0 -1
  1554. package/www/build/web-components-library.esm.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZBookCardAppStyle0","ZBookCardAppStyle1","typographyCss","ZBookCardAppStyle2","ZBookCardApp","emitAppClick","this","appClick","emit","renderLaz","laz","h","class","render","key","href","link","name","onClick","target","logo","src","alt","info","icon","size","ControlSize","X_SMALL","position","InfoRevealPosition","TOP_RIGHT","fill"],"sources":["src/components/book-card/z-book-card-app/styles.css?tag=z-book-card-app&encapsulation=shadow","src/components/css-components/z-link/styles.css?tag=z-book-card-app&encapsulation=shadow","src/tokens/typography.css?tag=z-book-card-app&encapsulation=shadow","src/components/book-card/z-book-card-app/index.tsx"],"sourcesContent":[":host {\n display: block;\n width: inherit;\n min-width: 300px;\n height: inherit;\n min-height: 32px;\n background-color: var(--color-surface01);\n}\n\n:host > div {\n display: flex;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n align-items: center;\n justify-content: space-between;\n padding: var(--z-book-card-app-padding-y, calc(var(--space-unit) * 1.5))\n var(--z-book-card-app-padding-x, var(--space-unit));\n gap: calc(var(--space-unit) * 2);\n}\n\n:host > div .app {\n display: flex;\n flex: 1;\n align-items: center;\n gap: var(--space-unit);\n}\n\n:host > div .app.z-link {\n color: inherit;\n text-decoration: none;\n}\n\n:host > div .app.z-link:focus {\n text-decoration: none;\n}\n\n:host > div .app img {\n width: 1.5rem;\n height: 1.5rem;\n min-height: 32px;\n}\n\n:host > div .app .name {\n display: -webkit-box;\n overflow: hidden;\n height: 1.4rem;\n -webkit-box-orient: vertical;\n font-family: var(--font-family-serif);\n -webkit-line-clamp: 1;\n line-clamp: 1;\n text-overflow: ellipsis;\n word-break: break-all;\n}\n\n:host > div .app .name .laz {\n color: var(--red500);\n}\n\n:host > div z-info-reveal {\n --z-info-reveal-panel-width: 250px;\n --trigger-icon-size-x-small: 1rem;\n\n font-family: var(--font-family-sans);\n\n --color-surface05: var(--color-surface01);\n --color-text-inverse: var(--color-default-text);\n --color-inverse-icon: var(--color-primary01);\n}\n\n:host z-icon {\n --z-icon-width: 1rem;\n --z-icon-height: 1rem;\n}\n","button.z-link {\n padding: 0;\n border: 0;\n margin: 0;\n background-color: transparent;\n}\n\na.z-link,\nbutton.z-link {\n display: inline-flex;\n cursor: pointer;\n font-family: var(--font-family-sans);\n line-height: inherit;\n text-decoration: none;\n}\n\na.z-link.z-link-icon,\nbutton.z-link.z-link-icon {\n --z-icon-width: 1.125em;\n --z-icon-height: 1.125em;\n\n align-items: center;\n column-gap: 0.5em;\n}\n\na.z-link.z-link-sb,\nbutton.z-link.z-link-sb {\n font-weight: var(--font-sb);\n}\n\na.z-link.z-link-underline,\nbutton.z-link.z-link-underline {\n text-decoration: underline;\n}\n\na.z-link:hover,\nbutton.z-link:hover,\na.z-link:focus-visible,\nbutton.z-link:focus-visible,\na.z-link:active,\nbutton.z-link:active {\n text-decoration: underline;\n}\n\na.z-link:focus-visible,\nbutton.z-link:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\na.z-link.z-link-disabled,\nbutton.z-link.z-link-disabled {\n box-shadow: none;\n color: var(--color-disabled03);\n cursor: default;\n fill: var(--color-disabled03);\n outline: none;\n pointer-events: none;\n text-decoration: none;\n}\n\na.z-link,\nbutton.z-link,\na.z-link.z-link-active,\nbutton.z-link.z-link-active,\na.z-link:hover,\nbutton.z-link:hover,\na.z-link.z-link-active:hover,\nbutton.z-link.z-link-active:hover,\na.z-link:focus-visible,\nbutton.z-link:focus-visible,\na.z-link.z-link-active:focus-visible,\nbutton.z-link.z-link-active:focus-visible,\na.z-link:active,\nbutton.z-link:active,\na.z-link.z-link-active:active,\nbutton.z-link.z-link-active:active,\na.z-link:visited,\nbutton.z-link:visited,\na.z-link.z-link-active:visited,\nbutton.z-link.z-link-active:visited {\n color: var(--color-text-link-default);\n fill: var(--color-text-link-default);\n}\n\na.z-link.z-link-blue,\nbutton.z-link.z-link-blue,\na.z-link.z-link-blue.z-link-active,\nbutton.z-link.z-link-blue.z-link-active {\n color: var(--color-text-link-blue);\n fill: var(--color-text-link-blue);\n}\n\na.z-link.z-link-red,\nbutton.z-link.z-link-red,\na.z-link.z-link-red.z-link-active,\nbutton.z-link.z-link-red.z-link-active {\n color: var(--color-text-link-red);\n fill: var(--color-text-link-red);\n}\n\na.z-link.z-link-inverse,\nbutton.z-link.z-link-inverse,\na.z-link.z-link-inverse.z-link-active,\nbutton.z-link.z-link-inverse.z-link-active {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n\na.z-link.z-link-blue:hover,\nbutton.z-link.z-link-blue:hover {\n color: var(--color-text-link-blue-hover);\n fill: var(--color-text-link-blue-hover);\n}\n\na.z-link.z-link-red:hover,\nbutton.z-link.z-link-red:hover {\n color: var(--color-text-link-red-hover);\n fill: var(--color-text-link-red-hover);\n}\n\na.z-link.z-link-inverse:hover,\nbutton.z-link.z-link-inverse:hover {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n\na.z-link.z-link-blue:active,\nbutton.z-link.z-link-blue:active,\na.z-link.z-link-blue:focus-visible,\nbutton.z-link.z-link-blue:focus-visible {\n color: var(--color-text-link-blue-active);\n fill: var(--color-text-link-blue-active);\n}\n\na.z-link.z-link-red:active,\nbutton.z-link.z-link-red:active,\na.z-link.z-link-red:focus-visible,\nbutton.z-link.z-link-red:focus-visible {\n color: var(--color-text-link-red-active);\n fill: var(--color-text-link-red-active);\n}\n\na.z-link.z-link-inverse:active,\nbutton.z-link.z-link-inverse:active,\na.z-link.z-link-inverse:focus-visible,\nbutton.z-link.z-link-inverse:focus-visible {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n\na.z-link.z-link-blue:visited,\nbutton.z-link.z-link-blue:visited {\n color: var(--color-text-link-blue-visited);\n fill: var(--color-text-link-blue-visited);\n}\n\na.z-link.z-link-red:visited,\nbutton.z-link.z-link-red:visited {\n color: var(--color-text-link-red-visited);\n fill: var(--color-text-link-red-visited);\n}\n\na.z-link.z-link-inverse:visited,\nbutton.z-link.z-link-inverse:visited {\n color: var(--color-text-link-inverse);\n fill: var(--color-text-link-inverse);\n}\n",":root {\n /* font-family */\n --font-family-sans: \"IBM Plex Sans\", sans-serif;\n --font-family-serif: \"IBM Plex Serif\", serif;\n\n /* font-weight */\n --font-lt: 300;\n --font-rg: 400;\n --font-sb: 600;\n --font-bd: 700;\n\n /* font-size type scale */\n --font-size-1: 0.75rem; /* 12px */\n --font-size-2: 0.875rem; /* 14px */\n --font-size-3: 1rem; /* assuming 16px */\n --font-size-4: 1.125rem; /* 18px */\n --font-size-5: 1.25rem; /* 20px */\n --font-size-6: 1.5rem; /* 24px */\n --font-size-7: 1.75rem; /* 28px */\n --font-size-8: 2rem; /* 32px */\n --font-size-9: 2.25rem; /* 36px */\n --font-size-10: 2.625rem; /* 42px */\n --font-size-11: 3rem; /* 48px */\n --font-size-12: 3.375rem; /* 54px */\n --font-size-13: 3.75rem; /* 60px */\n --font-size-14: 4.25rem; /* 68px */\n --font-size-15: 4.75rem; /* 76px */\n --font-size-16: 5.25rem; /* 84px */\n --font-size-17: 5.75rem; /* 92px */\n\n /* cssprops to use with `font` shorthand property */\n --section-title-1: var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);\n --section-title-2: var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);\n --section-title-3: var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);\n --section-title-4: var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);\n --section-title-5: var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);\n --section-title-6: var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif);\n}\n\n/* Typography classes */\n.heading-1,\n.heading-1-sb,\n.heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n}\n\n.heading-2,\n.heading-2-sb,\n.heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-3,\n.heading-3-sb,\n.heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n}\n\n.heading-4,\n.heading-4-sb,\n.heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-1,\n.body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n}\n\n.body-2,\n.body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-3,\n.body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.body-4,\n.body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.body-5,\n.body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.interactive-1,\n.interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n}\n\n.interactive-2,\n.interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n}\n\n.interactive-3,\n.interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n.helper,\n.helper-sb {\n font-size: var(--font-size-1);\n font-style: italic;\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n}\n\n/* section title */\n.section-title-1 {\n font: var(--section-title-1);\n}\n\n.section-title-2 {\n font: var(--section-title-2);\n}\n\n.section-title-3 {\n font: var(--section-title-3);\n}\n\n.section-title-4 {\n font: var(--section-title-4);\n}\n\n.section-title-5 {\n font: var(--section-title-5);\n}\n\n.section-title-6 {\n font: var(--section-title-6);\n}\n\n/* heading-1/2 for desktop and wide viewports */\n@media (min-width: 1152px) {\n .heading-1,\n .heading-1-sb,\n .heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .heading-2,\n .heading-2-sb,\n .heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n}\n\n/* viewport classes */\n@media (max-width: 767px) {\n .mobile-heading-1,\n .mobile-heading-1-sb,\n .mobile-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .mobile-heading-2,\n .mobile-heading-2-sb,\n .mobile-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-3,\n .mobile-heading-3-sb,\n .mobile-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .mobile-heading-4,\n .mobile-heading-4-sb,\n .mobile-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-1,\n .mobile-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .mobile-body-2,\n .mobile-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-3,\n .mobile-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-body-4,\n .mobile-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-body-5,\n .mobile-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-interactive-1,\n .mobile-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .mobile-interactive-2,\n .mobile-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .mobile-interactive-3,\n .mobile-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .mobile-section-title-1 {\n font: var(--section-title-1);\n }\n\n .mobile-section-title-2 {\n font: var(--section-title-2);\n }\n\n .mobile-section-title-3 {\n font: var(--section-title-3);\n }\n\n .mobile-section-title-4 {\n font: var(--section-title-4);\n }\n\n .mobile-section-title-5 {\n font: var(--section-title-5);\n }\n\n .mobile-section-title-6 {\n font: var(--section-title-6);\n }\n\n .mobile-heading-1-lt,\n .mobile-heading-2-lt,\n .mobile-heading-3-lt,\n .mobile-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .mobile-heading-1-sb,\n .mobile-heading-2-sb,\n .mobile-heading-3-sb,\n .mobile-heading-4-sb,\n .mobile-body-1-sb,\n .mobile-body-2-sb,\n .mobile-body-3-sb,\n .mobile-body-4-sb,\n .mobile-body-5-sb,\n .mobile-interactive-1-sb,\n .mobile-interactive-2-sb,\n .mobile-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 768px) and (max-width: 1151px) {\n .tablet-heading-1,\n .tablet-heading-1-sb,\n .tablet-heading-1-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .tablet-heading-2,\n .tablet-heading-2-sb,\n .tablet-heading-2-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-3,\n .tablet-heading-3-sb,\n .tablet-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .tablet-heading-4,\n .tablet-heading-4-sb,\n .tablet-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-1,\n .tablet-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .tablet-body-2,\n .tablet-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-3,\n .tablet-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-body-4,\n .tablet-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-body-5,\n .tablet-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-interactive-1,\n .tablet-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .tablet-interactive-2,\n .tablet-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .tablet-interactive-3,\n .tablet-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .tablet-section-title-1 {\n font: var(--section-title-1);\n }\n\n .tablet-section-title-2 {\n font: var(--section-title-2);\n }\n\n .tablet-section-title-3 {\n font: var(--section-title-3);\n }\n\n .tablet-section-title-4 {\n font: var(--section-title-4);\n }\n\n .tablet-section-title-5 {\n font: var(--section-title-5);\n }\n\n .tablet-section-title-6 {\n font: var(--section-title-6);\n }\n\n .tablet-heading-1-lt,\n .tablet-heading-2-lt,\n .tablet-heading-3-lt,\n .tablet-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .tablet-heading-1-sb,\n .tablet-heading-2-sb,\n .tablet-heading-3-sb,\n .tablet-heading-4-sb,\n .tablet-body-1-sb,\n .tablet-body-2-sb,\n .tablet-body-3-sb,\n .tablet-body-4-sb,\n .tablet-body-5-sb,\n .tablet-interactive-1-sb,\n .tablet-interactive-2-sb,\n .tablet-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1152px) and (max-width: 1365px) {\n .desktop-heading-1,\n .desktop-heading-1-sb,\n .desktop-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .desktop-heading-2,\n .desktop-heading-2-sb,\n .desktop-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .desktop-heading-3,\n .desktop-heading-3-sb,\n .desktop-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .desktop-heading-4,\n .desktop-heading-4-sb,\n .desktop-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-1,\n .desktop-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .desktop-body-2,\n .desktop-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-3,\n .desktop-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-body-4,\n .desktop-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-body-5,\n .desktop-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-interactive-1,\n .desktop-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .desktop-interactive-2,\n .desktop-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .desktop-interactive-3,\n .desktop-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .desktop-section-title-1 {\n font: var(--section-title-1);\n }\n\n .desktop-section-title-2 {\n font: var(--section-title-2);\n }\n\n .desktop-section-title-3 {\n font: var(--section-title-3);\n }\n\n .desktop-section-title-4 {\n font: var(--section-title-4);\n }\n\n .desktop-section-title-5 {\n font: var(--section-title-5);\n }\n\n .desktop-section-title-6 {\n font: var(--section-title-6);\n }\n\n .desktop-heading-1-lt,\n .desktop-heading-2-lt,\n .desktop-heading-3-lt,\n .desktop-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .desktop-heading-1-sb,\n .desktop-heading-2-sb,\n .desktop-heading-3-sb,\n .desktop-heading-4-sb,\n .desktop-body-1-sb,\n .desktop-body-2-sb,\n .desktop-body-3-sb,\n .desktop-body-4-sb,\n .desktop-body-5-sb,\n .desktop-interactive-1-sb,\n .desktop-interactive-2-sb,\n .desktop-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n@media (min-width: 1366px) {\n .wide-heading-1,\n .wide-heading-1-sb,\n .wide-heading-1-lt {\n font-size: var(--font-size-8);\n font-weight: var(--font-rg);\n line-height: 1.25;\n }\n\n .wide-heading-2,\n .wide-heading-2-sb,\n .wide-heading-2-lt {\n font-size: var(--font-size-7);\n font-weight: var(--font-rg);\n line-height: 1.28;\n }\n\n .wide-heading-3,\n .wide-heading-3-sb,\n .wide-heading-3-lt {\n font-size: var(--font-size-6);\n font-weight: var(--font-rg);\n line-height: 1.333;\n }\n\n .wide-heading-4,\n .wide-heading-4-sb,\n .wide-heading-4-lt {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-1,\n .wide-body-1-sb {\n font-size: var(--font-size-5);\n font-weight: var(--font-rg);\n line-height: 1.4;\n }\n\n .wide-body-2,\n .wide-body-2-sb {\n font-size: var(--font-size-4);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-3,\n .wide-body-3-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-body-4,\n .wide-body-4-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-body-5,\n .wide-body-5-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-interactive-1,\n .wide-interactive-1-sb {\n font-size: var(--font-size-3);\n font-weight: var(--font-rg);\n line-height: 1.5;\n }\n\n .wide-interactive-2,\n .wide-interactive-2-sb {\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 1.4;\n }\n\n .wide-interactive-3,\n .wide-interactive-3-sb {\n font-size: var(--font-size-1);\n font-weight: var(--font-rg);\n letter-spacing: 0.32px;\n line-height: 1.333;\n }\n\n .wide-section-title-1 {\n font: var(--section-title-1);\n }\n\n .wide-section-title-2 {\n font: var(--section-title-2);\n }\n\n .wide-section-title-3 {\n font: var(--section-title-3);\n }\n\n .wide-section-title-4 {\n font: var(--section-title-4);\n }\n\n .wide-section-title-5 {\n font: var(--section-title-5);\n }\n\n .wide-section-title-6 {\n font: var(--section-title-6);\n }\n\n .wide-heading-1-lt,\n .wide-heading-2-lt,\n .wide-heading-3-lt,\n .wide-heading-4-lt {\n font-weight: var(--font-lt);\n }\n\n .wide-heading-1-sb,\n .wide-heading-2-sb,\n .wide-heading-3-sb,\n .wide-heading-4-sb,\n .wide-body-1-sb,\n .wide-body-2-sb,\n .wide-body-3-sb,\n .wide-body-4-sb,\n .wide-body-5-sb,\n .wide-interactive-1-sb,\n .wide-interactive-2-sb,\n .wide-interactive-3-sb {\n font-weight: var(--font-sb);\n }\n}\n\n/* font-weight variants */\n.heading-1-lt,\n.heading-2-lt,\n.heading-3-lt,\n.heading-4-lt {\n font-weight: var(--font-lt);\n}\n\n.heading-1-sb,\n.heading-2-sb,\n.heading-3-sb,\n.heading-4-sb,\n.body-1-sb,\n.body-2-sb,\n.body-3-sb,\n.body-4-sb,\n.body-5-sb,\n.interactive-1-sb,\n.interactive-2-sb,\n.interactive-3-sb,\n.helper-sb {\n font-weight: var(--font-sb);\n}\n","import {Component, Element, Event, EventEmitter, Prop, h} from \"@stencil/core\";\nimport {ControlSize, InfoRevealPosition} from \"../../../beans\";\n\n/**\n * ZBookCardApp component\n * @cssprop --z-book-card-app-padding-x - set left and right padding\n * @cssprop --z-book-card-app-padding-y - set top and bottom padding\n */\n@Component({\n tag: \"z-book-card-app\",\n styleUrls: [\"styles.css\", \"../../css-components/z-link/styles.css\", \"../../../tokens/typography.css\"],\n shadow: true,\n})\nexport class ZBookCardApp {\n @Element() hostElement: HTMLZBookCardAppElement;\n\n /**\n * App logo url\n */\n @Prop()\n logo?: string;\n\n /**\n * App name\n */\n @Prop()\n name: string;\n\n /**\n * link to the app website\n */\n @Prop()\n link: string;\n\n /**\n * Show or hide laZ prefix before app name\n */\n @Prop()\n laz? = true;\n\n /**\n * Info text to show as inforeveal\n */\n @Prop()\n info?: string;\n\n /** click on app link */\n @Event()\n appClick: EventEmitter;\n\n private emitAppClick(): void {\n this.appClick.emit();\n }\n\n private renderLaz(): HTMLSpanElement | null {\n if (this.laz) {\n return <span class=\"laz\">laZ </span>;\n }\n\n return null;\n }\n\n render(): HTMLZBookCardAppElement {\n return (\n <div>\n <a\n class=\"app z-link\"\n href={this.link}\n aria-label={`vai a ${this.laz ? \"laz\" : \"\"} ${this.name}`}\n onClick={() => this.emitAppClick()}\n target=\"_blank\"\n >\n {this.logo && (\n <img\n src={this.logo}\n alt=\"\"\n />\n )}\n <div class=\"name body-4-sb\">\n {this.renderLaz()}\n {this.name}\n </div>\n </a>\n {this.info && (\n <z-info-reveal\n icon=\"info\"\n size={ControlSize.X_SMALL}\n position={InfoRevealPosition.TOP_RIGHT}\n class=\"info body-5\"\n >\n <div>{this.info}</div>\n </z-info-reveal>\n )}\n <a\n class=\"z-link z-link-icon\"\n href={this.link}\n aria-label={`vai a ${this.laz ? \"laz\" : \"\"} ${this.name}`}\n onClick={() => this.emitAppClick()}\n target=\"_blank\"\n >\n <z-icon\n name=\"chevron-right\"\n fill=\"color-primary01-icon\"\n ></z-icon>\n </a>\n </div>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,msCAClB,MAAAC,EAAeD,ECDf,MAAMA,EAAY,0gHAClB,MAAAE,EAAeF,ECDf,MAAMG,EAAgB,k8XACtB,MAAAC,EAAeD,E,MCYFE,EAAY,M,iIAyBhB,K,oBAYC,YAAAC,GACNC,KAAKC,SAASC,M,CAGR,SAAAC,GACN,GAAIH,KAAKI,IAAK,CACZ,OAAOC,EAAA,QAAMC,MAAM,OAAK,O,CAG1B,OAAO,I,CAGT,MAAAC,GACE,OACEF,EAAA,OAAAG,IAAA,4CACEH,EAAA,KAAAG,IAAA,2CACEF,MAAM,aACNG,KAAMT,KAAKU,KAAI,aACH,SAASV,KAAKI,IAAM,MAAQ,MAAMJ,KAAKW,OACnDC,QAAS,IAAMZ,KAAKD,eACpBc,OAAO,UAENb,KAAKc,MACJT,EAAA,OAAAG,IAAA,2CACEO,IAAKf,KAAKc,KACVE,IAAI,KAGRX,EAAA,OAAAG,IAAA,2CAAKF,MAAM,kBACRN,KAAKG,YACLH,KAAKW,OAGTX,KAAKiB,MACJZ,EAAA,iBAAAG,IAAA,2CACEU,KAAK,OACLC,KAAMC,EAAYC,QAClBC,SAAUC,EAAmBC,UAC7BlB,MAAM,eAEND,EAAA,OAAAG,IAAA,4CAAMR,KAAKiB,OAGfZ,EAAA,KAAAG,IAAA,2CACEF,MAAM,qBACNG,KAAMT,KAAKU,KAAI,aACH,SAASV,KAAKI,IAAM,MAAQ,MAAMJ,KAAKW,OACnDC,QAAS,IAAMZ,KAAKD,eACpBc,OAAO,UAEPR,EAAA,UAAAG,IAAA,2CACEG,KAAK,gBACLc,KAAK,0B","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as s,a as i,g as o}from"./p-75c4a726.js";import{g as a}from"./p-86618221.js";const n=':host{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}.label{display:flex;width:100%;align-items:center;padding:var(--space-unit) 0;border:0;border-bottom:var(--border-size-small) solid var(--color-surface03);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}:host(:last-child:not([open])) .label{border-bottom:none}:host(:is([active],[open])) .label,.label:focus:focus-visible,.label:hover{border-color:var(--color-primary01)}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.5}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items[hidden]{display:none}::slotted([slot="section"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-1);line-height:1.333;outline:none}::slotted([slot="section"]:last-of-type){border:none}::slotted([slot="section"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-primary01)}::slotted([slot="section"]:hover),::slotted([slot="section"]:focus:focus-visible),::slotted([slot="section"]:active),::slotted([slot="section"][active]),::slotted([slot="section"][data-active]){color:var(--color-primary01);font-weight:var(--font-bd)}';const h=n;const l=class{get focusableItem(){return this.items.find((({tabIndex:t})=>t===0))}toggle(){if(!this.hasItems){return}this.open=!this.open}setItemsA11yAttrs(){if(!this.hasItems){return}this.items.forEach((t=>{t.setAttribute("role","menuitem");t.tabIndex=-1}))}onItemsChange(){this.items=Array.from(this.host.querySelectorAll('[slot="section"]'));this.hasItems=this.items.length>0;this.setItemsA11yAttrs()}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=e===null||e===void 0?void 0:e.textContent}onLabelClick(){this.toggle();this.setFocus()}onLabelKeydown(t){if(t.key===a.ENTER||t.key===a.SPACE){t.preventDefault();t.stopPropagation();this.toggle();if(this.open){this.focustFirstItem()}}}moveFocus(t,e){t.tabIndex=0;setTimeout((()=>{t.focus()}),100);if(e){e.tabIndex=-1}}focustFirstItem(){this.moveFocus(this.items[0])}async focusLastItem(){this.moveFocus(this.items[this.items.length-1])}async setFocus(){this.htmlTabindex=0;setTimeout((()=>{this.label.focus()}),100)}onOpenChange(){if(!this.open){this.setItemsA11yAttrs();this.closed.emit()}else{this.opened.emit()}}onTabindexChange(){if(!this.label){return}this.label.tabIndex=this.htmlTabindex}onItemsKeydown(t){switch(t.key){case a.ESC:case a.ARROW_LEFT:if(!this.open){break}t.preventDefault();t.stopPropagation();this.moveFocus(this.label,this.focusableItem);this.open=false;break;case a.ARROW_RIGHT:if(this.open){break}t.preventDefault();t.stopPropagation();this.open=true;this.focustFirstItem();break;case a.ARROW_DOWN:{if(!this.open){break}if(document.activeElement===this.host){t.preventDefault();t.stopPropagation();this.focustFirstItem();break}const e=this.items.indexOf(this.focusableItem);const s=this.items[e+1];if(s){t.preventDefault();t.stopPropagation();this.moveFocus(s,this.focusableItem)}else{this.htmlTabindex=0;this.focusableItem.tabIndex=-1}break}case a.ARROW_UP:{if(!this.open||document.activeElement===this.host){break}const e=this.items.indexOf(this.focusableItem);const s=this.items[e-1];t.preventDefault();t.stopPropagation();if(s){this.moveFocus(s,this.focusableItem)}else{this.focusableItem.tabIndex=-1;this.setFocus()}break}}}constructor(s){t(this,s);this.opened=e(this,"opened",7);this.closed=e(this,"closed",7);this.active=undefined;this.htmlTabindex=-1;this.open=undefined;this.hasItems=undefined;this.items=undefined;this.toggle=this.toggle.bind(this);this.onItemsChange=this.onItemsChange.bind(this);this.onLabelSlotChange=this.onLabelSlotChange.bind(this);this.onLabelClick=this.onLabelClick.bind(this);this.onLabelKeydown=this.onLabelKeydown.bind(this);this.onItemsKeydown=this.onItemsKeydown.bind(this)}connectedCallback(){this.onItemsChange()}render(){return s(i,{key:"4dce34f277ab3c8c41171a15a02fd174c45742cd",open:this.open},s("button",{key:"b6c535e87dbb5af8808d7a19556ad116cbcca72b",ref:t=>this.label=t,class:"label","aria-haspopup":`${!!this.hasItems}`,"aria-expanded":`${!!this.open}`,role:"menuitem",tabindex:this.htmlTabindex,onClick:this.onLabelClick,onKeyDown:this.onLabelKeydown},s("slot",{key:"fbbba483ca5fe6d45440c01a89f061565ce641aa",onSlotchange:this.onLabelSlotChange}),this.hasItems&&s("z-icon",{key:"b4c67b7cada94580b4f5853aaa8cbb9818bece74",name:this.open?"chevron-up":"chevron-down"})),s("div",{key:"711c085b5d74affb2c23ebd1acdd774b5903e7e5",class:"items",role:"menu",hidden:!this.open},s("slot",{key:"a2fe12f235f6b23a96f2bd3a8a18f3a095fcff2d",name:"section",onSlotchange:this.onItemsChange})))}get host(){return o(this)}static get watchers(){return{open:["onOpenChange"],htmlTabindex:["onTabindexChange"]}}};l.style=h;export{l as z_menu_section};
2
- //# sourceMappingURL=p-93d349ee.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZMenuSectionStyle0","ZMenuSection","focusableItem","this","items","find","tabIndex","toggle","hasItems","open","setItemsA11yAttrs","forEach","item","setAttribute","onItemsChange","Array","from","host","querySelectorAll","length","onLabelSlotChange","ev","labelElement","target","assignedElements","dataset","text","textContent","onLabelClick","setFocus","onLabelKeydown","key","KeyboardCode","ENTER","SPACE","preventDefault","stopPropagation","focustFirstItem","moveFocus","receiver","current","setTimeout","focus","focusLastItem","htmlTabindex","label","onOpenChange","closed","emit","opened","onTabindexChange","onItemsKeydown","ESC","ARROW_LEFT","ARROW_RIGHT","ARROW_DOWN","document","activeElement","currentIndex","indexOf","ARROW_UP","constructor","hostRef","bind","connectedCallback","render","h","Host","ref","el","class","role","tabindex","onClick","onKeyDown","onSlotchange","name","hidden"],"sources":["src/components/z-menu-section/styles.css?tag=z-menu-section&encapsulation=shadow","src/components/z-menu-section/index.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n padding: 0;\n font-family: var(--font-family-sans);\n}\n\n:host,\n::slotted(*),\n* {\n box-sizing: border-box;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n.label {\n display: flex;\n width: 100%;\n align-items: center;\n padding: var(--space-unit) 0;\n border: 0;\n border-bottom: var(--border-size-small) solid var(--color-surface03);\n margin: 0;\n background: transparent;\n border-radius: 0;\n cursor: pointer;\n text-align: left;\n}\n\n:host(:last-child:not([open])) .label {\n border-bottom: none;\n}\n\n:host(:is([active], [open])) .label,\n.label:focus:focus-visible,\n.label:hover {\n border-color: var(--color-primary01);\n}\n\n.label:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:is([active], [open])) .label ::slotted(*),\n.label:focus:focus-visible ::slotted(*),\n.label:hover ::slotted(*) {\n font-weight: var(--font-bd);\n}\n\n::slotted([data-text]) {\n display: inline-flex;\n flex-direction: column;\n}\n\n/* Trick to prevent layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text])::after {\n overflow: hidden;\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text])::after {\n display: none;\n }\n}\n\n.label ::slotted(*) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.5;\n}\n\n.label z-icon {\n margin-left: calc(var(--space-unit) * 4);\n fill: var(--color-default-icon);\n}\n\n.items {\n display: flex;\n width: 100%;\n flex-direction: column;\n padding: calc(var(--space-unit) / 2);\n padding-bottom: calc(var(--space-unit) * 1.5);\n}\n\n.items[hidden] {\n display: none;\n}\n\n::slotted([slot=\"section\"]) {\n display: inline-flex;\n padding: calc(var(--space-unit) / 2);\n margin: 0;\n font-size: var(--font-size-1);\n line-height: 1.333;\n outline: none;\n}\n\n::slotted([slot=\"section\"]:last-of-type) {\n border: none;\n}\n\n::slotted([slot=\"section\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n color: var(--color-primary01);\n}\n\n::slotted([slot=\"section\"]:hover),\n::slotted([slot=\"section\"]:focus:focus-visible),\n::slotted([slot=\"section\"]:active),\n::slotted([slot=\"section\"][active]),\n::slotted([slot=\"section\"][data-active]) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode} from \"../../beans\";\n\n/**\n * A component to create submenus inside the ZMenu.\n * @slot - Label of the menu section.\n * @slot section - Single entry of the menu section. Set the same slot name to different elements to put many of them. Add the `data-active` attribute to a slotted element to highlight it (`active` also works but `data-active` is preferable).\n */\n@Component({\n tag: \"z-menu-section\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuSection {\n @Element() host: HTMLZMenuSectionElement;\n\n /** Active state */\n @Prop({reflect: true})\n active?: boolean;\n\n /**\n * Tabindex value to set on the label button.\n * Useful to manage keyboard navigation focus with roving tabindex handled by this component's parent (usually ZMenu).\n */\n @Prop()\n htmlTabindex = -1;\n\n /** The opening state of the section. */\n @Prop({mutable: true})\n open: boolean;\n\n @State()\n hasItems: boolean;\n\n @State()\n items: HTMLElement[];\n\n /** The section has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The section has been closed. */\n @Event()\n closed: EventEmitter;\n\n private label: HTMLButtonElement;\n\n private get focusableItem(): HTMLElement {\n return this.items.find(({tabIndex}) => tabIndex === 0);\n }\n\n private toggle(): void {\n if (!this.hasItems) {\n return;\n }\n\n this.open = !this.open;\n }\n\n private setItemsA11yAttrs(): void {\n if (!this.hasItems) {\n return;\n }\n\n this.items.forEach((item) => {\n item.setAttribute(\"role\", \"menuitem\");\n item.tabIndex = -1;\n });\n }\n\n private onItemsChange(): void {\n this.items = Array.from(this.host.querySelectorAll('[slot=\"section\"]')) as HTMLElement[];\n this.hasItems = this.items.length > 0;\n this.setItemsA11yAttrs();\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.textContent;\n }\n\n private onLabelClick(): void {\n this.toggle();\n this.setFocus();\n }\n\n private onLabelKeydown(ev: KeyboardEvent): void {\n if (ev.key === KeyboardCode.ENTER || ev.key === KeyboardCode.SPACE) {\n ev.preventDefault();\n ev.stopPropagation();\n this.toggle();\n if (this.open) {\n this.focustFirstItem();\n }\n }\n }\n\n /**\n * Move focus and adjust the tabindex value of `receiver` and `current` elements,\n * setting -1 to the `current` and 0 to the `receiver`, then focus the `receiver` element.\n */\n private moveFocus(receiver: HTMLElement, current?: HTMLElement): void {\n receiver.tabIndex = 0;\n setTimeout(() => {\n receiver.focus();\n }, 100);\n if (current) {\n current.tabIndex = -1;\n }\n }\n\n private focustFirstItem(): void {\n this.moveFocus(this.items[0]);\n }\n\n /** Focus the last item. */\n @Method()\n async focusLastItem(): Promise<void> {\n this.moveFocus(this.items[this.items.length - 1]);\n }\n\n /** Set tabindex of the label to 0, then focus it. */\n @Method()\n async setFocus(): Promise<void> {\n this.htmlTabindex = 0;\n setTimeout(() => {\n this.label.focus();\n }, 100);\n }\n\n @Watch(\"open\")\n onOpenChange(): void {\n if (!this.open) {\n this.setItemsA11yAttrs();\n this.closed.emit();\n } else {\n this.opened.emit();\n }\n }\n\n @Watch(\"htmlTabindex\")\n onTabindexChange(): void {\n if (!this.label) {\n return;\n }\n\n this.label.tabIndex = this.htmlTabindex;\n }\n\n @Listen(\"keydown\")\n private onItemsKeydown(ev: KeyboardEvent): void {\n switch (ev.key) {\n case KeyboardCode.ESC:\n case KeyboardCode.ARROW_LEFT:\n if (!this.open) {\n break;\n }\n ev.preventDefault();\n ev.stopPropagation();\n this.moveFocus(this.label, this.focusableItem);\n this.open = false;\n break;\n case KeyboardCode.ARROW_RIGHT:\n if (this.open) {\n break;\n }\n ev.preventDefault();\n ev.stopPropagation();\n this.open = true;\n this.focustFirstItem();\n break;\n case KeyboardCode.ARROW_DOWN: {\n if (!this.open) {\n break;\n }\n if (document.activeElement === this.host) {\n ev.preventDefault();\n ev.stopPropagation();\n this.focustFirstItem();\n break;\n }\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex + 1];\n if (receiver) {\n ev.preventDefault();\n ev.stopPropagation();\n this.moveFocus(receiver, this.focusableItem);\n } else {\n this.htmlTabindex = 0;\n this.focusableItem.tabIndex = -1;\n }\n break;\n }\n case KeyboardCode.ARROW_UP: {\n if (!this.open || document.activeElement === this.host) {\n break;\n }\n const currentIndex = this.items.indexOf(this.focusableItem);\n const receiver = this.items[currentIndex - 1];\n ev.preventDefault();\n ev.stopPropagation();\n if (receiver) {\n this.moveFocus(receiver, this.focusableItem);\n } else {\n // since there isn't a previous item to focus, give the focus to the label element\n this.focusableItem.tabIndex = -1;\n this.setFocus();\n }\n break;\n }\n }\n }\n\n constructor() {\n this.toggle = this.toggle.bind(this);\n this.onItemsChange = this.onItemsChange.bind(this);\n this.onLabelSlotChange = this.onLabelSlotChange.bind(this);\n this.onLabelClick = this.onLabelClick.bind(this);\n this.onLabelKeydown = this.onLabelKeydown.bind(this);\n this.onItemsKeydown = this.onItemsKeydown.bind(this);\n }\n\n connectedCallback(): void {\n this.onItemsChange();\n }\n\n render(): HTMLZMenuSectionElement {\n return (\n <Host open={this.open}>\n <button\n ref={(el) => (this.label = el)}\n class=\"label\"\n aria-haspopup={`${!!this.hasItems}`}\n aria-expanded={`${!!this.open}`}\n role=\"menuitem\"\n tabindex={this.htmlTabindex}\n onClick={this.onLabelClick}\n onKeyDown={this.onLabelKeydown}\n >\n <slot onSlotchange={this.onLabelSlotChange} />\n {this.hasItems && <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />}\n </button>\n <div\n class=\"items\"\n role=\"menu\"\n hidden={!this.open}\n >\n <slot\n name=\"section\"\n onSlotchange={this.onItemsChange}\n />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,gnEAClB,MAAAC,EAAeD,E,MCYFE,EAAY,MAkCvB,iBAAYC,GACV,OAAOC,KAAKC,MAAMC,MAAK,EAAEC,cAAcA,IAAa,G,CAG9C,MAAAC,GACN,IAAKJ,KAAKK,SAAU,CAClB,M,CAGFL,KAAKM,MAAQN,KAAKM,I,CAGZ,iBAAAC,GACN,IAAKP,KAAKK,SAAU,CAClB,M,CAGFL,KAAKC,MAAMO,SAASC,IAClBA,EAAKC,aAAa,OAAQ,YAC1BD,EAAKN,UAAY,CAAC,G,CAId,aAAAQ,GACNX,KAAKC,MAAQW,MAAMC,KAAKb,KAAKc,KAAKC,iBAAiB,qBACnDf,KAAKK,SAAWL,KAAKC,MAAMe,OAAS,EACpChB,KAAKO,mB,CAOC,iBAAAU,CAAkBC,GACxB,MAAMC,EAAgBD,EAAGE,OAA2BC,mBAAmB,GACvEF,EAAaG,QAAQC,KAAOJ,IAAY,MAAZA,SAAY,SAAZA,EAAcK,W,CAGpC,YAAAC,GACNzB,KAAKI,SACLJ,KAAK0B,U,CAGC,cAAAC,CAAeT,GACrB,GAAIA,EAAGU,MAAQC,EAAaC,OAASZ,EAAGU,MAAQC,EAAaE,MAAO,CAClEb,EAAGc,iBACHd,EAAGe,kBACHjC,KAAKI,SACL,GAAIJ,KAAKM,KAAM,CACbN,KAAKkC,iB,GASH,SAAAC,CAAUC,EAAuBC,GACvCD,EAASjC,SAAW,EACpBmC,YAAW,KACTF,EAASG,OAAO,GACf,KACH,GAAIF,EAAS,CACXA,EAAQlC,UAAY,C,EAIhB,eAAA+B,GACNlC,KAAKmC,UAAUnC,KAAKC,MAAM,G,CAK5B,mBAAMuC,GACJxC,KAAKmC,UAAUnC,KAAKC,MAAMD,KAAKC,MAAMe,OAAS,G,CAKhD,cAAMU,GACJ1B,KAAKyC,aAAe,EACpBH,YAAW,KACTtC,KAAK0C,MAAMH,OAAO,GACjB,I,CAIL,YAAAI,GACE,IAAK3C,KAAKM,KAAM,CACdN,KAAKO,oBACLP,KAAK4C,OAAOC,M,KACP,CACL7C,KAAK8C,OAAOD,M,EAKhB,gBAAAE,GACE,IAAK/C,KAAK0C,MAAO,CACf,M,CAGF1C,KAAK0C,MAAMvC,SAAWH,KAAKyC,Y,CAIrB,cAAAO,CAAe9B,GACrB,OAAQA,EAAGU,KACT,KAAKC,EAAaoB,IAClB,KAAKpB,EAAaqB,WAChB,IAAKlD,KAAKM,KAAM,CACd,K,CAEFY,EAAGc,iBACHd,EAAGe,kBACHjC,KAAKmC,UAAUnC,KAAK0C,MAAO1C,KAAKD,eAChCC,KAAKM,KAAO,MACZ,MACF,KAAKuB,EAAasB,YAChB,GAAInD,KAAKM,KAAM,CACb,K,CAEFY,EAAGc,iBACHd,EAAGe,kBACHjC,KAAKM,KAAO,KACZN,KAAKkC,kBACL,MACF,KAAKL,EAAauB,WAAY,CAC5B,IAAKpD,KAAKM,KAAM,CACd,K,CAEF,GAAI+C,SAASC,gBAAkBtD,KAAKc,KAAM,CACxCI,EAAGc,iBACHd,EAAGe,kBACHjC,KAAKkC,kBACL,K,CAEF,MAAMqB,EAAevD,KAAKC,MAAMuD,QAAQxD,KAAKD,eAC7C,MAAMqC,EAAWpC,KAAKC,MAAMsD,EAAe,GAC3C,GAAInB,EAAU,CACZlB,EAAGc,iBACHd,EAAGe,kBACHjC,KAAKmC,UAAUC,EAAUpC,KAAKD,c,KACzB,CACLC,KAAKyC,aAAe,EACpBzC,KAAKD,cAAcI,UAAY,C,CAEjC,K,CAEF,KAAK0B,EAAa4B,SAAU,CAC1B,IAAKzD,KAAKM,MAAQ+C,SAASC,gBAAkBtD,KAAKc,KAAM,CACtD,K,CAEF,MAAMyC,EAAevD,KAAKC,MAAMuD,QAAQxD,KAAKD,eAC7C,MAAMqC,EAAWpC,KAAKC,MAAMsD,EAAe,GAC3CrC,EAAGc,iBACHd,EAAGe,kBACH,GAAIG,EAAU,CACZpC,KAAKmC,UAAUC,EAAUpC,KAAKD,c,KACzB,CAELC,KAAKD,cAAcI,UAAY,EAC/BH,KAAK0B,U,CAEP,K,GAKN,WAAAgC,CAAAC,G,iHAhMgB,E,iEAiMd3D,KAAKI,OAASJ,KAAKI,OAAOwD,KAAK5D,MAC/BA,KAAKW,cAAgBX,KAAKW,cAAciD,KAAK5D,MAC7CA,KAAKiB,kBAAoBjB,KAAKiB,kBAAkB2C,KAAK5D,MACrDA,KAAKyB,aAAezB,KAAKyB,aAAamC,KAAK5D,MAC3CA,KAAK2B,eAAiB3B,KAAK2B,eAAeiC,KAAK5D,MAC/CA,KAAKgD,eAAiBhD,KAAKgD,eAAeY,KAAK5D,K,CAGjD,iBAAA6D,GACE7D,KAAKW,e,CAGP,MAAAmD,GACE,OACEC,EAACC,EAAI,CAAApC,IAAA,2CAACtB,KAAMN,KAAKM,MACfyD,EAAA,UAAAnC,IAAA,2CACEqC,IAAMC,GAAQlE,KAAK0C,MAAQwB,EAC3BC,MAAM,QAAO,gBACE,KAAKnE,KAAKK,WAAU,gBACpB,KAAKL,KAAKM,OACzB8D,KAAK,WACLC,SAAUrE,KAAKyC,aACf6B,QAAStE,KAAKyB,aACd8C,UAAWvE,KAAK2B,gBAEhBoC,EAAA,QAAAnC,IAAA,2CAAM4C,aAAcxE,KAAKiB,oBACxBjB,KAAKK,UAAY0D,EAAA,UAAAnC,IAAA,2CAAQ6C,KAAMzE,KAAKM,KAAO,aAAe,kBAE7DyD,EAAA,OAAAnC,IAAA,2CACEuC,MAAM,QACNC,KAAK,OACLM,QAAS1E,KAAKM,MAEdyD,EAAA,QAAAnC,IAAA,2CACE6C,KAAK,UACLD,aAAcxE,KAAKW,iB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as i,h as L,a as t}from"./p-75c4a726.js";const o=":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\")}";const e=o;const l=class{constructor(L){i(this,L);this.width=undefined;this.height=undefined;this.imageAlt=undefined;this.link=undefined;this.targetBlank=undefined;this.mobileLogo=undefined}render(){const i={};if(this.width){i["width"]=i["max-width"]=`${this.width}px`}if(this.height){i["height"]=i["max-height"]=`${this.height}px`}return L(t,{key:"75a515faadd75ea3f21ae80ca6a4f579223ad1cd",style:i,class:{mobile:!!this.mobileLogo}},this.link?L("a",{href:this.link,target:this.targetBlank?"_blank":"_self"},L("img",{alt:this.imageAlt})):L("img",{alt:this.imageAlt}))}};l.style=e;export{l as z_logo};
2
- //# sourceMappingURL=p-943db3a8.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZLogoStyle0","ZLogo","render","style","this","width","height","h","Host","key","class","mobile","mobileLogo","link","href","target","targetBlank","alt","imageAlt"],"sources":["src/components/z-logo/styles.css?tag=z-logo&encapsulation=shadow","src/components/z-logo/index.tsx"],"sourcesContent":[":host {\n display: inline-block;\n width: 255px;\n height: 64px;\n vertical-align: top;\n}\n\nimg {\n display: block;\n width: 100%;\n height: 100%;\n margin: auto;\n 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\");\n}\n\na {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n:host(.mobile) {\n width: 31px;\n height: 40px;\n}\n\n:host(.mobile) img {\n 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\");\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n@Component({\n tag: \"z-logo\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZLogo {\n /** image width */\n @Prop()\n width?: number;\n\n /** image height */\n @Prop()\n height?: number;\n\n /** alternative image text */\n @Prop()\n imageAlt?: string;\n\n /** link url (optional) */\n @Prop()\n link?: string;\n\n /** link target: true means _blank, false means _self */\n @Prop()\n targetBlank?: boolean;\n\n /** if true, the mobile logo is displayed, otherwise the desktop one */\n @Prop()\n mobileLogo?: boolean;\n\n render(): HTMLZLogoElement {\n const style = {};\n\n if (this.width) {\n style[\"width\"] = style[\"max-width\"] = `${this.width}px`;\n }\n\n if (this.height) {\n style[\"height\"] = style[\"max-height\"] = `${this.height}px`;\n }\n\n return (\n <Host\n style={style}\n class={{mobile: !!this.mobileLogo}}\n >\n {this.link ? (\n <a\n href={this.link}\n target={this.targetBlank ? \"_blank\" : \"_self\"}\n >\n <img alt={this.imageAlt} />\n </a>\n ) : (\n <img alt={this.imageAlt} />\n )}\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAY,m1IAClB,MAAAC,EAAeD,E,MCMFE,EAAK,M,qKAyBhB,MAAAC,GACE,MAAMC,EAAQ,GAEd,GAAIC,KAAKC,MAAO,CACdF,EAAM,SAAWA,EAAM,aAAe,GAAGC,KAAKC,S,CAGhD,GAAID,KAAKE,OAAQ,CACfH,EAAM,UAAYA,EAAM,cAAgB,GAAGC,KAAKE,U,CAGlD,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHN,MAAOA,EACPO,MAAO,CAACC,SAAUP,KAAKQ,aAEtBR,KAAKS,KACJN,EAAA,KACEO,KAAMV,KAAKS,KACXE,OAAQX,KAAKY,YAAc,SAAW,SAEtCT,EAAA,OAAKU,IAAKb,KAAKc,YAGjBX,EAAA,OAAKU,IAAKb,KAAKc,W","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export{Z as z_tbody}from"./p-623fdee4.js";import"./p-75c4a726.js";
2
- //# sourceMappingURL=p-988a58dd.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":[],"mappings":"","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as i,a as o,g as s}from"./p-75c4a726.js";const a=':host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-default-text);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:is([active],[open])) .label,.label:hover{border-color:var(--color-primary01)}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}.label{display:flex;width:100%;align-items:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items>::slotted([slot="item"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-primary01)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"][active]){color:var(--color-primary01);font-weight:var(--font-bd)}';const l=a;const n=class{constructor(i){t(this,i);this.opened=e(this,"opened",7);this.closed=e(this,"closed",7);this.active=undefined;this.open=undefined;this.hasContent=undefined}toggle(){if(!this.hasContent){return}this.open=!this.open;this.open?this.opened.emit():this.closed.emit()}handleClick(t){if(!this.open||this.hostElement.contains(t.target)){return}this.open=false;this.closed.emit()}checkContent(){this.hasContent=this.hostElement.querySelectorAll('[slot="item"]').length>0}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=(e===null||e===void 0?void 0:e.innerText)||null}componentWillLoad(){this.checkContent()}render(){return i(o,{key:"6cc06eccce2d2c9611936c2b804f3c7744774aad",role:"menu",open:this.open},i("button",{key:"2cc287717a677392b5084f61b6eca0fd88dc13c0",class:"label","aria-pressed":this.open?"true":"false",onClick:this.toggle.bind(this)},i("slot",{key:"2b3d76700bea806f8b0db6a9d3fd915885b275c2",onSlotchange:this.onLabelSlotChange.bind(this)}),this.hasContent&&i("z-icon",{key:"16162d96f5d3d3fb475db88525ce9e23e34a08c6",name:this.open?"chevron-up":"chevron-down"})),this.open&&i("div",{key:"801f6e8e3f54fc7a64e3b6388f4c4d7297a3e757",class:"items"},i("slot",{key:"875889ac362c006c632db4eb04f32e228f7cb13c",name:"item",onSlotchange:this.checkContent.bind(this)})))}get hostElement(){return s(this)}};n.style=l;export{n as z_menu_section_deprecated};
2
- //# sourceMappingURL=p-9ae0c0c6.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZMenuSectionDeprecatedStyle0","ZMenuSectionDeprecated","toggle","this","hasContent","open","opened","emit","closed","handleClick","ev","hostElement","contains","target","checkContent","querySelectorAll","length","onLabelSlotChange","labelElement","assignedElements","dataset","text","innerText","componentWillLoad","render","h","Host","key","role","class","onClick","bind","onSlotchange","name"],"sources":["src/components/deprecated/z-menu-section-deprecated/styles.css?tag=z-menu-section-deprecated&encapsulation=shadow","src/components/deprecated/z-menu-section-deprecated/index.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n padding: 0;\n font-family: var(--font-family-sans);\n}\n\n:host,\n::slotted(*),\n* {\n box-sizing: border-box;\n}\n\n::slotted(a) {\n text-decoration: none;\n}\n\n::slotted(*) {\n color: var(--color-default-text);\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\n:host(:is([active], [open])) .label,\n.label:hover {\n border-color: var(--color-primary01);\n}\n\n:host(:is([active], [open])) .label ::slotted(*),\n.label:focus:focus-visible ::slotted(*),\n.label:hover ::slotted(*) {\n font-weight: var(--font-bd);\n}\n\n.label {\n display: flex;\n width: 100%;\n align-items: center;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);\n border: 0;\n border-bottom: var(--border-size-small) solid var(--color-surface05);\n margin: 0;\n background: transparent;\n border-radius: 0;\n cursor: pointer;\n text-align: left;\n}\n\n::slotted([data-text]) {\n display: inline-flex;\n flex-direction: column;\n}\n\n/* Trick to prevent layout shifts on font-weight changes.\nThe trick is to put an hidden copy of the text already set to bold,\nso the needed space is correctly calculated before any hover/active state changes the\nfont-weight of the real text.\nThe hidden text has an height of 0px so it can expand the width without changing the height\nwhen placed below the real text using `flex-direction: column`. */\n::slotted([data-text])::after {\n overflow: hidden;\n height: 0;\n content: attr(data-text);\n content: attr(data-text) / \"\";\n font-weight: var(--font-bd);\n pointer-events: none;\n user-select: none;\n visibility: hidden;\n}\n\n@media speech {\n ::slotted([data-text])::after {\n display: none;\n }\n}\n\n.label ::slotted(*) {\n width: 100%;\n margin: 0;\n font-size: var(--font-size-3);\n line-height: 1.25;\n}\n\n.label:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.label z-icon {\n margin-left: calc(var(--space-unit) * 4);\n fill: var(--color-default-icon);\n}\n\n.items {\n display: flex;\n width: 100%;\n flex-direction: column;\n padding: calc(var(--space-unit) / 2);\n padding-bottom: calc(var(--space-unit) * 1.5);\n}\n\n.items > ::slotted([slot=\"item\"]) {\n display: inline-flex;\n padding: calc(var(--space-unit) / 2);\n margin: 0;\n font-size: var(--font-size-2);\n line-height: 1.4;\n outline: none;\n}\n\n.items > ::slotted([slot=\"item\"]:focus:focus-visible) {\n box-shadow: var(--shadow-focus-primary);\n color: var(--color-primary01);\n}\n\n.items > ::slotted([slot=\"item\"]:hover),\n.items > ::slotted([slot=\"item\"]:focus:focus-visible),\n.items > ::slotted([slot=\"item\"][active]) {\n color: var(--color-primary01);\n font-weight: var(--font-bd);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, h} from \"@stencil/core\";\n\n/**\n * A component to create submenus inside the ZMenu.\n * @slot - Label of the menu section.\n * @slot item - Single entry of the section. Set the same slot name to different items to put many of them. Add the `active` attribute to a slotted item to highlight it.\n */\n@Component({\n tag: \"z-menu-section-deprecated\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZMenuSectionDeprecated {\n @Element() hostElement: HTMLZMenuSectionDeprecatedElement;\n\n /** Active state */\n @Prop({reflect: true})\n active?: boolean;\n\n @State()\n open: boolean;\n\n @State()\n hasContent: boolean;\n\n /** The section has been opened. */\n @Event()\n opened: EventEmitter;\n\n /** The section has been closed. */\n @Event()\n closed: EventEmitter;\n\n private toggle(): void {\n if (!this.hasContent) {\n return;\n }\n\n this.open = !this.open;\n this.open ? this.opened.emit() : this.closed.emit();\n }\n\n /** Close the list when a click is performed outside of this Element. */\n @Listen(\"click\", {target: \"document\"})\n handleClick(ev: MouseEvent): void {\n if (!this.open || this.hostElement.contains(ev.target as Node)) {\n return;\n }\n\n this.open = false;\n this.closed.emit();\n }\n\n /**\n * Check if some content slot is set.\n */\n private checkContent(): void {\n this.hasContent = this.hostElement.querySelectorAll('[slot=\"item\"]').length > 0;\n }\n\n /**\n * Sets slotted item text as `data-text` attribute value, to let CSS use it through `attr()`.\n * @param ev Slotchange event\n */\n private onLabelSlotChange(ev: Event): void {\n const labelElement = (ev.target as HTMLSlotElement).assignedElements()[0] as HTMLElement;\n labelElement.dataset.text = labelElement?.innerText || null;\n }\n\n componentWillLoad(): void {\n this.checkContent();\n }\n\n render(): HTMLZMenuSectionElement {\n return (\n <Host\n role=\"menu\"\n open={this.open}\n >\n <button\n class=\"label\"\n aria-pressed={this.open ? \"true\" : \"false\"}\n onClick={this.toggle.bind(this)}\n >\n <slot onSlotchange={this.onLabelSlotChange.bind(this)}></slot>\n {this.hasContent && <z-icon name={this.open ? \"chevron-up\" : \"chevron-down\"} />}\n </button>\n {this.open && (\n <div class=\"items\">\n <slot\n name=\"item\"\n onSlotchange={this.checkContent.bind(this)}\n ></slot>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAY,67DAClB,MAAAC,EAAeD,E,MCWFE,EAAsB,M,2JAqBzB,MAAAC,GACN,IAAKC,KAAKC,WAAY,CACpB,M,CAGFD,KAAKE,MAAQF,KAAKE,KAClBF,KAAKE,KAAOF,KAAKG,OAAOC,OAASJ,KAAKK,OAAOD,M,CAK/C,WAAAE,CAAYC,GACV,IAAKP,KAAKE,MAAQF,KAAKQ,YAAYC,SAASF,EAAGG,QAAiB,CAC9D,M,CAGFV,KAAKE,KAAO,MACZF,KAAKK,OAAOD,M,CAMN,YAAAO,GACNX,KAAKC,WAAaD,KAAKQ,YAAYI,iBAAiB,iBAAiBC,OAAS,C,CAOxE,iBAAAC,CAAkBP,GACxB,MAAMQ,EAAgBR,EAAGG,OAA2BM,mBAAmB,GACvED,EAAaE,QAAQC,MAAOH,IAAY,MAAZA,SAAY,SAAZA,EAAcI,YAAa,I,CAGzD,iBAAAC,GACEpB,KAAKW,c,CAGP,MAAAU,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,OACLvB,KAAMF,KAAKE,MAEXoB,EAAA,UAAAE,IAAA,2CACEE,MAAM,QAAO,eACC1B,KAAKE,KAAO,OAAS,QACnCyB,QAAS3B,KAAKD,OAAO6B,KAAK5B,OAE1BsB,EAAA,QAAAE,IAAA,2CAAMK,aAAc7B,KAAKc,kBAAkBc,KAAK5B,QAC/CA,KAAKC,YAAcqB,EAAA,UAAAE,IAAA,2CAAQM,KAAM9B,KAAKE,KAAO,aAAe,kBAE9DF,KAAKE,MACJoB,EAAA,OAAAE,IAAA,2CAAKE,MAAM,SACTJ,EAAA,QAAAE,IAAA,2CACEM,KAAK,OACLD,aAAc7B,KAAKW,aAAaiB,KAAK5B,S","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as o,h as s,a as e,g as t}from"./p-75c4a726.js";const r=":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-background\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}";const c=r;const a=class{constructor(s){o(this,s);this.sticky=false;this.isFocusable=false}render(){return s(e,{key:"d975481f3702161c0d76f42c47d6194c39d08f42",role:"rowgroup",tabIndex:this.isFocusable?0:-1},s("slot",{key:"97e675dc4bbefd4aac970d10dc4499c4bc80ac23"}))}get host(){return t(this)}};a.style=c;export{a as Z};
2
- //# sourceMappingURL=p-9c816a3b.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZTheadStyle0","ZThead","render","h","Host","key","role","tabIndex","this","isFocusable"],"sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-bottom-border-size: var(\n --border-size-medium\n ); /* Needed to handle the border of the expand button cell */\n\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n\n:host(:focus-visible) {\n box-shadow: none;\n outline: none;\n}\n","import {Component, Element, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead {\n @Element() host: HTMLZTheadElement;\n\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * The element is focusable\n */\n @Prop({reflect: true})\n isFocusable = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host\n role=\"rowgroup\"\n tabIndex={this.isFocusable ? 0 : -1}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAY,yUAClB,MAAAC,EAAeD,E,MCUFE,EAAM,M,qCAOR,M,iBAMK,K,CAEd,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,WACLC,SAAUC,KAAKC,YAAc,GAAK,GAElCN,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as i,a as l,g as n}from"./p-75c4a726.js";import{g as s}from"./p-86618221.js";const a=':host{font-family:var(--font-family-sans)}z-list-element{position:relative;display:block;padding-top:var(--space-unit)}z-list-element::before,z-list-element::after{position:absolute;z-index:100;top:0.125rem;left:-0.5rem;content:""}z-list z-list-element::before{width:var(--space-unit);height:calc(var(--space-unit) * 2);border-bottom:var(--border-size-small) solid var(--color-disabled01-icon);border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element::after{width:var(--space-unit);height:100%;border-left:var(--border-size-small) solid var(--color-disabled01-icon)}z-list z-list-element:last-child::after,z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 2)}z-list-element>.list-element{z-index:100;display:flex;justify-content:space-between;padding:0;color:var(--color-default-text);font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);text-decoration:none}z-list-element>.list-element.link-clickable{color:var(--color-primary01)}z-list-element>.list-element.link-clickable:hover{text-decoration:underline}z-list-element>.list-element .item.ellipsis{overflow:hidden}z-list-element .list-element::after{position:absolute;top:0;right:-0.0625rem;display:block;width:100%;height:calc(var(--space-unit) * 5);content:"";transform:translateX(-100%)}.item-label{overflow:hidden;flex-grow:1;font-size:var(--font-size-2);font-style:normal;font-weight:var(--font-rg);letter-spacing:0.0032rem;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}.item-label.bold-item{font-weight:var(--font-sb)}.item.ellipsis{display:flex;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.children-node>z-list-element{padding:0;padding-top:0.125;padding-left:calc(var(--space-unit) * 1.25)}.item-icon{margin-right:var(--space-unit)}.no-icon-label{padding-left:var(--space-unit)}.children-node>z-list-element.no-icon-elm{padding-left:0}z-list-element>.list-element:focus:focus-visible{position:relative;z-index:200;box-shadow:var(--shadow-focus-primary);outline:none}@media (max-width: 767px){z-list-element::before,z-list-element::after{top:0.1875rem}z-list z-list-element::before{height:calc(var(--space-unit) * 2.5)}.children-node>z-list-element{padding-top:var(--space-unit)}}';const r=a;const o=class{constructor(i){e(this,i);this.treeItemClicked=t(this,"treeItemClicked",7);this.parsedItems=[];this.items=[];this.htmlAriaLabelledby=undefined;this.htmlSectionTitle=undefined}watchItems(){this.parsedItems=typeof this.items==="string"?JSON.parse(this.items):this.items}componentWillLoad(){this.watchItems()}handleClick(e){this.treeItemClicked.emit({id:e.id,name:e.name,url:e.url})}getFocusableElements(){return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex="0"]'))}getAncestor(e,t){let i=e;for(let e=0;e<t;e++){i=i===null||i===void 0?void 0:i.parentElement;if(!i){return}}return i}handleArrowNav(e){if(e.code===s.TAB){e.preventDefault();return}const t=this.getFocusableElements();const i=t.indexOf(e.target);if(i===-1){return}if(e.code===s.ARROW_DOWN||e.code===s.ARROW_UP){e.preventDefault();const l=i+(e.code===s.ARROW_DOWN?1:-1);if(l<0||l>=t.length){return}t[l].focus()}if(e.code===s.ARROW_LEFT){e.preventDefault();const l=this.getAncestor(t[i],4);if(!l||!l.children[0]||l.children[0].tagName.toLowerCase()!=="a"&&l.getAttribute("tabindex")===null){return}l.children[0].focus()}if(e.code===s.ARROW_RIGHT){e.preventDefault();const t=e.target.closest("z-list-element");if(!t){return}const i=t.querySelector("z-list");if(!i){return}const l=i.querySelector('a[tabindex="0"]');if(!l){return}l.focus()}}renderTreeList(e,t,l=1){var n,a;this.htmlTag=e.url?"a":"span";const r=i("z-list-element",{id:t,class:!e.icon?"no-icon-elm":"",clickable:Boolean(e.url),hasTreeItems:true,role:"none","aria-hidden":undefined},i(this.htmlTag,{class:{"list-element":true,"z-link":Boolean(e.url),"link-clickable":Boolean(e.url)},tabIndex:e.url?0:-1,onClick:()=>this.handleClick(e),onKeyUp:t=>{if(t.code===s.ENTER||t.code===s.SPACE){this.handleClick(e)}},onKeyDown:e=>this.handleArrowNav(e),role:e.url?"treeitem":undefined,"aria-hidden":e.url?undefined:"true","aria-expanded":((n=e.children)===null||n===void 0?void 0:n.length)>0&&true,"aria-level":l,"aria-label":e.name,href:e.url},i("span",{class:"item ellipsis"},e.icon&&i("z-icon",{width:16,height:16,fill:e.url?"color-primary01":"color-default-icon",class:"item-icon",name:e.icon}),i("span",{class:{"item-label":true,"no-icon-label":!e.icon,"bold-item":e.bold},title:e.name},e.name))),((a=e.children)===null||a===void 0?void 0:a.length)>0&&i("z-list",{role:"group"},i("div",{class:"children-node"},e.children.map(((e,t)=>this.renderTreeList(e,`${t}`,l+1))))));return r}render(){const e=this.parsedItems.some((e=>!!e.url));return i(l,{key:"2dec1105883f67ec44180943079ad9bc3386102a",class:"tree-list",role:e?"navigation":"none","aria-hidden":e?undefined:"true","aria-labelledby":this.htmlAriaLabelledby},i("div",{key:"bbe5bf141b17412719b230c4848a5aa2385a8adc",tabIndex:-1,role:e?"tree":"none","aria-hidden":e?undefined:"true","aria-label":this.htmlSectionTitle},this.parsedItems.map(((e,t)=>this.renderTreeList(e,`${t}`)))))}get host(){return n(this)}static get watchers(){return{items:["watchItems"]}}};o.style=r;export{o as z_tree_list};
2
- //# sourceMappingURL=p-a2ee659d.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZTreeListStyle0","ZTreeList","this","parsedItems","watchItems","items","JSON","parse","componentWillLoad","handleClick","item","treeItemClicked","emit","id","name","url","getFocusableElements","Array","from","host","shadowRoot","querySelectorAll","getAncestor","element","levels","ancestor","i","parentElement","handleArrowNav","event","code","KeyboardCode","TAB","preventDefault","focusableElements","currentIndex","indexOf","target","ARROW_DOWN","ARROW_UP","nextIndex","length","focus","ARROW_LEFT","children","tagName","toLowerCase","getAttribute","ARROW_RIGHT","parentElm","closest","childrenContainer","querySelector","firstChild","renderTreeList","key","level","htmlTag","treeListContent","h","class","icon","clickable","Boolean","hasTreeItems","role","undefined","tabIndex","onClick","onKeyUp","ENTER","SPACE","onKeyDown","_a","href","width","height","fill","bold","title","_b","map","child","render","hasClickableItems","some","Host","htmlAriaLabelledby","htmlSectionTitle"],"sources":["src/components/list/z-tree-list/styles.css?tag=z-tree-list&encapsulation=shadow","src/components/list/z-tree-list/index.tsx"],"sourcesContent":[":host {\n font-family: var(--font-family-sans);\n}\n\nz-list-element {\n position: relative;\n display: block;\n padding-top: var(--space-unit);\n}\n\nz-list-element::before,\nz-list-element::after {\n position: absolute;\n z-index: 100;\n top: 0.125rem;\n left: -0.5rem;\n content: \"\";\n}\n\nz-list z-list-element::before {\n width: var(--space-unit);\n height: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-small) solid var(--color-disabled01-icon);\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element::after {\n width: var(--space-unit);\n height: 100%;\n border-left: var(--border-size-small) solid var(--color-disabled01-icon);\n}\n\nz-list z-list-element:last-child::after,\nz-list > z-list-element::before,\nz-list > z-list-element::after,\nz-list > z-list-group > z-list-element::before,\nz-list > z-list-group > z-list-element::after {\n display: none;\n}\n\nz-list > div.children-node {\n padding-left: calc(var(--space-unit) * 2);\n}\n\nz-list-element > .list-element {\n z-index: 100;\n display: flex;\n justify-content: space-between;\n padding: 0;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n text-decoration: none;\n}\n\nz-list-element > .list-element.link-clickable {\n color: var(--color-primary01);\n}\n\nz-list-element > .list-element.link-clickable:hover {\n text-decoration: underline;\n}\n\nz-list-element > .list-element .item.ellipsis {\n overflow: hidden;\n}\n\nz-list-element .list-element::after {\n position: absolute;\n top: 0;\n right: -0.0625rem;\n display: block;\n width: 100%;\n height: calc(var(--space-unit) * 5);\n content: \"\";\n transform: translateX(-100%);\n}\n\n.item-label {\n overflow: hidden;\n flex-grow: 1;\n font-size: var(--font-size-2);\n font-style: normal;\n font-weight: var(--font-rg);\n letter-spacing: 0.0032rem;\n line-height: 1.25rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.item-label.bold-item {\n font-weight: var(--font-sb);\n}\n\n.item.ellipsis {\n display: flex;\n overflow: hidden;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.children-node > z-list-element {\n padding: 0;\n padding-top: 0.125;\n padding-left: calc(var(--space-unit) * 1.25);\n}\n\n.item-icon {\n margin-right: var(--space-unit);\n}\n\n.no-icon-label {\n padding-left: var(--space-unit);\n}\n\n.children-node > z-list-element.no-icon-elm {\n padding-left: 0;\n}\n\nz-list-element > .list-element:focus:focus-visible {\n position: relative;\n z-index: 200;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n@media (max-width: 767px) {\n z-list-element::before,\n z-list-element::after {\n top: 0.1875rem;\n }\n\n z-list z-list-element::before {\n height: calc(var(--space-unit) * 2.5);\n }\n\n .children-node > z-list-element {\n padding-top: var(--space-unit);\n }\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, TreeListItem} from \"../../../beans\";\n\n@Component({\n tag: \"z-tree-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTreeList {\n @Element() host: HTMLZTreeListElement;\n\n /** Items to render, if they have the url property they will be rendered as clickable links */\n @Prop()\n items: TreeListItem[] | string = [];\n\n /** Used for aria-labelledby attribute, sets name in \"navigation\" */\n @Prop({reflect: true})\n htmlAriaLabelledby: string;\n\n /** Used for aria-label attribute, sets name in \"tree\" */\n @Prop({reflect: true})\n htmlSectionTitle: string;\n\n /** Emitted on item click, it return the id, name and url of the clicked item */\n @Event()\n treeItemClicked: EventEmitter<{id: string; name: string; url: string}>;\n\n private parsedItems: TreeListItem[] = [];\n\n private htmlTag: string;\n\n @Watch(\"items\")\n watchItems(): void {\n this.parsedItems = typeof this.items === \"string\" ? JSON.parse(this.items) : this.items;\n }\n\n componentWillLoad(): void {\n this.watchItems();\n }\n\n private handleClick(item: TreeListItem): void {\n this.treeItemClicked.emit({id: item.id, name: item.name, url: item.url});\n }\n\n private getFocusableElements(): HTMLElement[] {\n return Array.from(this.host.shadowRoot.querySelectorAll('a[tabindex=\"0\"]'));\n }\n\n private getAncestor(element: HTMLElement, levels: number): HTMLElement | null {\n let ancestor: HTMLElement | null = element;\n\n for (let i = 0; i < levels; i++) {\n ancestor = ancestor?.parentElement;\n if (!ancestor) {\n return;\n }\n }\n\n return ancestor;\n }\n\n private handleArrowNav(event: KeyboardEvent): void {\n if (event.code === KeyboardCode.TAB) {\n event.preventDefault();\n\n return;\n }\n\n const focusableElements = this.getFocusableElements();\n const currentIndex = focusableElements.indexOf(event.target as HTMLElement);\n\n if (currentIndex === -1) {\n return;\n }\n\n if (event.code === KeyboardCode.ARROW_DOWN || event.code === KeyboardCode.ARROW_UP) {\n event.preventDefault();\n\n const nextIndex = currentIndex + (event.code === KeyboardCode.ARROW_DOWN ? 1 : -1);\n if (nextIndex < 0 || nextIndex >= focusableElements.length) {\n return;\n }\n\n focusableElements[nextIndex].focus();\n }\n\n if (event.code === KeyboardCode.ARROW_LEFT) {\n event.preventDefault();\n const ancestor = this.getAncestor(focusableElements[currentIndex], 4);\n\n if (\n !ancestor ||\n !ancestor.children[0] ||\n (ancestor.children[0].tagName.toLowerCase() !== \"a\" && ancestor.getAttribute(\"tabindex\") === null)\n ) {\n return;\n }\n\n (ancestor.children[0] as HTMLElement).focus();\n }\n\n if (event.code === KeyboardCode.ARROW_RIGHT) {\n event.preventDefault();\n\n const parentElm = (event.target as HTMLElement).closest(\"z-list-element\") as HTMLElement;\n\n if (!parentElm) {\n return;\n }\n\n const childrenContainer = parentElm.querySelector(\"z-list\") as HTMLElement;\n\n if (!childrenContainer) {\n return;\n }\n\n const firstChild = childrenContainer.querySelector('a[tabindex=\"0\"]') as HTMLElement;\n\n if (!firstChild) {\n return;\n }\n\n firstChild.focus();\n }\n }\n\n private renderTreeList(item: TreeListItem, key: string, level = 1): HTMLZListElementElement {\n this.htmlTag = item.url ? \"a\" : \"span\";\n\n const treeListContent = (\n <z-list-element\n id={key}\n class={!item.icon ? \"no-icon-elm\" : \"\"}\n clickable={Boolean(item.url)}\n hasTreeItems={true}\n role=\"none\"\n aria-hidden={undefined}\n >\n <this.htmlTag\n class={{\n \"list-element\": true,\n \"z-link\": Boolean(item.url),\n \"link-clickable\": Boolean(item.url),\n }}\n tabIndex={item.url ? 0 : -1}\n onClick={() => this.handleClick(item)}\n onKeyUp={(event: KeyboardEvent) => {\n if (event.code === KeyboardCode.ENTER || event.code === KeyboardCode.SPACE) {\n this.handleClick(item);\n }\n }}\n onKeyDown={(event: KeyboardEvent) => this.handleArrowNav(event)}\n role={item.url ? \"treeitem\" : undefined}\n aria-hidden={item.url ? undefined : \"true\"}\n aria-expanded={item.children?.length > 0 && true}\n aria-level={level}\n aria-label={item.name}\n href={item.url}\n >\n <span class=\"item ellipsis\">\n {item.icon && (\n <z-icon\n width={16}\n height={16}\n fill={item.url ? \"color-primary01\" : \"color-default-icon\"}\n class=\"item-icon\"\n name={item.icon}\n />\n )}\n <span\n class={{\n \"item-label\": true,\n \"no-icon-label\": !item.icon,\n \"bold-item\": item.bold,\n }}\n title={item.name}\n >\n {item.name}\n </span>\n </span>\n </this.htmlTag>\n {item.children?.length > 0 && (\n <z-list role=\"group\">\n <div class=\"children-node\">\n {item.children.map((child, key) => this.renderTreeList(child, `${key}`, level + 1))}\n </div>\n </z-list>\n )}\n </z-list-element>\n );\n\n return treeListContent;\n }\n\n render(): HTMLZTreeListElement {\n const hasClickableItems = this.parsedItems.some((item) => !!item.url);\n\n return (\n <Host\n class=\"tree-list\"\n role={hasClickableItems ? \"navigation\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-labelledby={this.htmlAriaLabelledby}\n >\n <div\n tabIndex={-1}\n role={hasClickableItems ? \"tree\" : \"none\"}\n aria-hidden={hasClickableItems ? undefined : \"true\"}\n aria-label={this.htmlSectionTitle}\n >\n {this.parsedItems.map((item, key) => this.renderTreeList(item, `${key}`))}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,i3EAClB,MAAAC,EAAeD,E,MCOFE,EAAS,M,0EAmBZC,KAAAC,YAA8B,G,WAdL,G,kEAmBjC,UAAAC,GACEF,KAAKC,mBAAqBD,KAAKG,QAAU,SAAWC,KAAKC,MAAML,KAAKG,OAASH,KAAKG,K,CAGpF,iBAAAG,GACEN,KAAKE,Y,CAGC,WAAAK,CAAYC,GAClBR,KAAKS,gBAAgBC,KAAK,CAACC,GAAIH,EAAKG,GAAIC,KAAMJ,EAAKI,KAAMC,IAAKL,EAAKK,K,CAG7D,oBAAAC,GACN,OAAOC,MAAMC,KAAKhB,KAAKiB,KAAKC,WAAWC,iBAAiB,mB,CAGlD,WAAAC,CAAYC,EAAsBC,GACxC,IAAIC,EAA+BF,EAEnC,IAAK,IAAIG,EAAI,EAAGA,EAAIF,EAAQE,IAAK,CAC/BD,EAAWA,IAAQ,MAARA,SAAQ,SAARA,EAAUE,cACrB,IAAKF,EAAU,CACb,M,EAIJ,OAAOA,C,CAGD,cAAAG,CAAeC,GACrB,GAAIA,EAAMC,OAASC,EAAaC,IAAK,CACnCH,EAAMI,iBAEN,M,CAGF,MAAMC,EAAoBhC,KAAKc,uBAC/B,MAAMmB,EAAeD,EAAkBE,QAAQP,EAAMQ,QAErD,GAAIF,KAAkB,EAAG,CACvB,M,CAGF,GAAIN,EAAMC,OAASC,EAAaO,YAAcT,EAAMC,OAASC,EAAaQ,SAAU,CAClFV,EAAMI,iBAEN,MAAMO,EAAYL,GAAgBN,EAAMC,OAASC,EAAaO,WAAa,GAAK,GAChF,GAAIE,EAAY,GAAKA,GAAaN,EAAkBO,OAAQ,CAC1D,M,CAGFP,EAAkBM,GAAWE,O,CAG/B,GAAIb,EAAMC,OAASC,EAAaY,WAAY,CAC1Cd,EAAMI,iBACN,MAAMR,EAAWvB,KAAKoB,YAAYY,EAAkBC,GAAe,GAEnE,IACGV,IACAA,EAASmB,SAAS,IAClBnB,EAASmB,SAAS,GAAGC,QAAQC,gBAAkB,KAAOrB,EAASsB,aAAa,cAAgB,KAC7F,CACA,M,CAGDtB,EAASmB,SAAS,GAAmBF,O,CAGxC,GAAIb,EAAMC,OAASC,EAAaiB,YAAa,CAC3CnB,EAAMI,iBAEN,MAAMgB,EAAapB,EAAMQ,OAAuBa,QAAQ,kBAExD,IAAKD,EAAW,CACd,M,CAGF,MAAME,EAAoBF,EAAUG,cAAc,UAElD,IAAKD,EAAmB,CACtB,M,CAGF,MAAME,EAAaF,EAAkBC,cAAc,mBAEnD,IAAKC,EAAY,CACf,M,CAGFA,EAAWX,O,EAIP,cAAAY,CAAe5C,EAAoB6C,EAAaC,EAAQ,G,QAC9DtD,KAAKuD,QAAU/C,EAAKK,IAAM,IAAM,OAEhC,MAAM2C,EACJC,EAAA,kBACE9C,GAAI0C,EACJK,OAAQlD,EAAKmD,KAAO,cAAgB,GACpCC,UAAWC,QAAQrD,EAAKK,KACxBiD,aAAc,KACdC,KAAK,OAAM,cACEC,WAEbP,EAACzD,KAAKuD,QAAO,CACXG,MAAO,CACL,eAAgB,KAChB,SAAUG,QAAQrD,EAAKK,KACvB,iBAAkBgD,QAAQrD,EAAKK,MAEjCoD,SAAUzD,EAAKK,IAAM,GAAK,EAC1BqD,QAAS,IAAMlE,KAAKO,YAAYC,GAChC2D,QAAUxC,IACR,GAAIA,EAAMC,OAASC,EAAauC,OAASzC,EAAMC,OAASC,EAAawC,MAAO,CAC1ErE,KAAKO,YAAYC,E,GAGrB8D,UAAY3C,GAAyB3B,KAAK0B,eAAeC,GACzDoC,KAAMvD,EAAKK,IAAM,WAAamD,UAAS,cAC1BxD,EAAKK,IAAMmD,UAAY,OAAM,kBAC3BO,EAAA/D,EAAKkC,YAAQ,MAAA6B,SAAA,SAAAA,EAAEhC,QAAS,GAAK,KAAI,aACpCe,EAAK,aACL9C,EAAKI,KACjB4D,KAAMhE,EAAKK,KAEX4C,EAAA,QAAMC,MAAM,iBACTlD,EAAKmD,MACJF,EAAA,UACEgB,MAAO,GACPC,OAAQ,GACRC,KAAMnE,EAAKK,IAAM,kBAAoB,qBACrC6C,MAAM,YACN9C,KAAMJ,EAAKmD,OAGfF,EAAA,QACEC,MAAO,CACL,aAAc,KACd,iBAAkBlD,EAAKmD,KACvB,YAAanD,EAAKoE,MAEpBC,MAAOrE,EAAKI,MAEXJ,EAAKI,UAIXkE,EAAAtE,EAAKkC,YAAQ,MAAAoC,SAAA,SAAAA,EAAEvC,QAAS,GACvBkB,EAAA,UAAQM,KAAK,SACXN,EAAA,OAAKC,MAAM,iBACRlD,EAAKkC,SAASqC,KAAI,CAACC,EAAO3B,IAAQrD,KAAKoD,eAAe4B,EAAO,GAAG3B,IAAOC,EAAQ,QAO1F,OAAOE,C,CAGT,MAAAyB,GACE,MAAMC,EAAoBlF,KAAKC,YAAYkF,MAAM3E,KAAWA,EAAKK,MAEjE,OACE4C,EAAC2B,EAAI,CAAA/B,IAAA,2CACHK,MAAM,YACNK,KAAMmB,EAAoB,aAAe,OAAM,cAClCA,EAAoBlB,UAAY,OAAM,kBAClChE,KAAKqF,oBAEtB5B,EAAA,OAAAJ,IAAA,2CACEY,UAAW,EACXF,KAAMmB,EAAoB,OAAS,OAAM,cAC5BA,EAAoBlB,UAAY,OAAM,aACvChE,KAAKsF,kBAEhBtF,KAAKC,YAAY8E,KAAI,CAACvE,EAAM6C,IAAQrD,KAAKoD,eAAe5C,EAAM,GAAG6C,Q","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as i,a as t,g as o}from"./p-75c4a726.js";import{H as a,e as r}from"./p-86618221.js";const n=':host{--z-info-reveal-panel-width:384px;--trigger-size:44px;position:relative}:host *{box-sizing:border-box}button{--trigger-icon-size:calc(var(--trigger-size) / 2);display:flex;align-items:center;justify-content:center;padding:0;border:none;background-color:transparent;cursor:pointer;font-family:inherit;letter-spacing:inherit}button:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-info-reveal-trigger{min-width:var(--trigger-size);height:var(--trigger-size);padding:calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);background-color:var(--color-surface05);border-radius:var(--border-radius);color:var(--color-text-inverse);column-gap:var(--space-unit);font-weight:var(--font-sb);line-height:1rem}:host([size="big"]) .z-info-reveal-trigger{font-size:var(--font-size-2)}:host([size="small"]) .z-info-reveal-trigger{--trigger-size:36px;font-size:var(--font-size-2)}:host([size="x-small"]) .z-info-reveal-trigger{--trigger-size:32px;padding:var(--space-unit);font-size:var(--font-size-1)}:host>.z-info-reveal-trigger z-icon{--z-icon-width:var(--trigger-icon-size);--z-icon-height:var(--trigger-icon-size);display:flex;fill:var(--color-inverse-icon)}:host([size="small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-small, 18px)}:host([size="x-small"])>.z-info-reveal-trigger z-icon{--trigger-icon-size:var(--trigger-icon-size-x-small, 16px)}.z-info-reveal-panel{position:absolute;z-index:19;display:flex;width:var(--z-info-reveal-panel-width);height:fit-content;align-items:flex-start;padding:calc(var(--space-unit) * 1.5);background-color:var(--color-surface05);border-radius:var(--border-radius);box-shadow:var(--shadow-4);color:var(--color-text-inverse);column-gap:var(--space-unit)}.z-info-reveal-panel[hidden]{display:none}:host([position="top_left"]) .z-info-reveal-panel,:host([position="top_right"]) .z-info-reveal-panel{top:0}:host([position="bottom_left"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{bottom:0}:host([position="top_right"]) .z-info-reveal-panel,:host([position="bottom_right"]) .z-info-reveal-panel{right:0}:host([position="top_left"]) .z-info-reveal-panel,:host([position="bottom_left"]) .z-info-reveal-panel{left:0}.z-info-reveal-panel .z-info-reveal-close{margin-left:auto}.z-info-reveal-panel z-icon{fill:var(--color-inverse-icon)}@media (max-width: 767px){.z-info-reveal-panel{top:auto !important;bottom:auto !important;width:calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !important;margin-top:calc(var(--trigger-size) * -1)}}';const s=n;const l=class{constructor(i){e(this,i);this.icon="informationsource";this.position=a.BOTTOM_RIGHT;this.label=undefined;this.ariaLabel="Apri pannello informazioni";this.size=r.BIG;this.open=false}adjustPanelPosition(){if(!this.open||!this.panel){return}const e=this.host.getBoundingClientRect();const i=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--grid-margin"),10);const t=document.documentElement.offsetWidth;const o=Math.round((this.position.includes("left")?t-e.left:e.right)-i);this.panel.style.maxWidth=`${o}px`}togglePanel(){this.open=!this.open}closePanel(){this.open=false}handleEscapeKey(e){if(e.key==="Escape"&&this.open){this.closePanel()}}render(){return i(t,{key:"250676e5bde8cb158ff19dd85c5b65aba329ab6d",open:this.open},i("button",{key:"ae9bd0a7a96c781ebc6e68f70b0553d9d08b8c4d",class:"z-info-reveal-trigger",type:"button",onClick:this.togglePanel.bind(this),"aria-label":!this.label?this.ariaLabel:undefined,"aria-expanded":this.open?"true":"false","aria-controls":"z-info-reveal-panel"},this.icon&&i("z-icon",{key:"cda367464294fcdb6e87b7dd8804470fc600a196",name:this.icon}),this.label&&i("span",{key:"33ee450958960b0eed18c6b630655c87d34d4b0f",class:"z-info-reveal-label"},this.label)),i("div",{key:"717f241bbbd1034b8f7117d0875a859a27ecc3d0",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"f44d74a6183fdda5560fe8ced2e07ef12748b4b9"}),i("button",{key:"5071effe3449b8fe0285c080a0d9cb14be2b033c",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"9f3088b1e5398bea476ea2da203cb8e2e106ea89",name:"multiply"}))))}get host(){return o(this)}static get watchers(){return{position:["adjustPanelPosition"],open:["adjustPanelPosition"]}}};l.style=s;export{l as z_info_reveal};
2
- //# sourceMappingURL=p-a4d2cf55.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZInfoRevealStyle0","ZInfoReveal","InfoRevealPosition","BOTTOM_RIGHT","ControlSize","BIG","adjustPanelPosition","this","open","panel","rect","host","getBoundingClientRect","gridMargin","parseInt","getComputedStyle","document","documentElement","getPropertyValue","pageWidth","offsetWidth","availableSpace","Math","round","position","includes","left","right","style","maxWidth","togglePanel","closePanel","handleEscapeKey","event","key","render","h","Host","class","type","onClick","bind","label","ariaLabel","undefined","icon","name","id","ref","el","hidden"],"sources":["src/components/z-info-reveal/styles.css?tag=z-info-reveal&encapsulation=shadow","src/components/z-info-reveal/index.tsx"],"sourcesContent":[":host {\n --z-info-reveal-panel-width: 384px; /* defaults half the size of the mobile breakpoint */\n --trigger-size: 44px;\n\n position: relative;\n}\n\n:host * {\n box-sizing: border-box;\n}\n\nbutton {\n --trigger-icon-size: calc(var(--trigger-size) / 2);\n\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n font-family: inherit;\n letter-spacing: inherit;\n}\n\nbutton:focus:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-info-reveal-trigger {\n min-width: var(--trigger-size);\n height: var(--trigger-size);\n padding: calc((var(--trigger-size) - var(--trigger-icon-size)) / 2);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n font-weight: var(--font-sb);\n line-height: 1rem;\n}\n\n:host([size=\"big\"]) .z-info-reveal-trigger {\n font-size: var(--font-size-2);\n}\n\n:host([size=\"small\"]) .z-info-reveal-trigger {\n --trigger-size: 36px;\n\n font-size: var(--font-size-2);\n}\n\n:host([size=\"x-small\"]) .z-info-reveal-trigger {\n --trigger-size: 32px;\n\n padding: var(--space-unit);\n font-size: var(--font-size-1);\n}\n\n:host > .z-info-reveal-trigger z-icon {\n --z-icon-width: var(--trigger-icon-size);\n --z-icon-height: var(--trigger-icon-size);\n\n display: flex;\n fill: var(--color-inverse-icon);\n}\n\n:host([size=\"small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: var(--trigger-icon-size-small, 18px);\n}\n\n:host([size=\"x-small\"]) > .z-info-reveal-trigger z-icon {\n --trigger-icon-size: var(--trigger-icon-size-x-small, 16px);\n}\n\n.z-info-reveal-panel {\n position: absolute;\n z-index: 19;\n display: flex;\n width: var(--z-info-reveal-panel-width);\n height: fit-content;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 1.5);\n background-color: var(--color-surface05);\n border-radius: var(--border-radius);\n box-shadow: var(--shadow-4);\n color: var(--color-text-inverse);\n column-gap: var(--space-unit);\n}\n\n.z-info-reveal-panel[hidden] {\n display: none;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"top_right\"]) .z-info-reveal-panel {\n top: 0;\n}\n\n:host([position=\"bottom_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n bottom: 0;\n}\n\n:host([position=\"top_right\"]) .z-info-reveal-panel,\n:host([position=\"bottom_right\"]) .z-info-reveal-panel {\n right: 0;\n}\n\n:host([position=\"top_left\"]) .z-info-reveal-panel,\n:host([position=\"bottom_left\"]) .z-info-reveal-panel {\n left: 0;\n}\n\n.z-info-reveal-panel .z-info-reveal-close {\n margin-left: auto;\n}\n\n.z-info-reveal-panel z-icon {\n fill: var(--color-inverse-icon);\n}\n\n@media (max-width: 767px) {\n .z-info-reveal-panel {\n top: auto !important;\n bottom: auto !important;\n width: calc(var(--z-info-reveal-panel-width) - (var(--grid-margin) * 4)) !important;\n margin-top: calc(var(--trigger-size) * -1);\n }\n}\n","import {Component, Element, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ControlSize, InfoRevealPosition} from \"../../beans\";\n\n/**\n * Info reveal component.\n *\n * @slot - content of the info panel.\n * @cssprop --z-info-reveal-panel-width - Width of the info panel.\n * @cssprop --trigger-icon-size - Size of the trigger icon for big size.\n * @cssprop --trigger-icon-size-small - Size of the trigger icon for small size.\n * @cssprop --trigger-icon-size-x-small - Size of the trigger icon for x-small size.\n */\n@Component({\n tag: \"z-info-reveal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInfoReveal {\n /** Name of the icon for the trigger button */\n @Prop()\n icon? = \"informationsource\";\n\n /**\n * The position of the z-info-reveal in the page. This helps to correctly place the info panel.\n * The panel will grow in the opposite direction of the position.\n * For example, with the default position `BOTTOM_RIGHT`, the panel will grow vertically upwards and horizontally to the left.\n */\n @Prop({reflect: true})\n position?: InfoRevealPosition = InfoRevealPosition.BOTTOM_RIGHT;\n\n /** Label of the trigger button. */\n @Prop()\n label?: string;\n\n /** Aria label of the trigger button. It will be only used when `label` prop is empty. */\n @Prop()\n ariaLabel = \"Apri pannello informazioni\";\n\n /** Size of the trigger button */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n /** Whether the info panel is open. */\n @State()\n open = false;\n\n @Element() host: HTMLZInfoRevealElement;\n\n private panel: HTMLDivElement;\n\n /**\n * Adjust the position of the info panel to prevent exiting the viewport.\n */\n @Watch(\"position\")\n @Watch(\"open\")\n @Listen(\"resize\", {target: \"window\", passive: true})\n adjustPanelPosition(): void {\n if (!this.open || !this.panel) {\n return;\n }\n\n const rect = this.host.getBoundingClientRect();\n const gridMargin = parseInt(getComputedStyle(document.documentElement).getPropertyValue(\"--grid-margin\"), 10);\n const pageWidth = document.documentElement.offsetWidth;\n // Available space for the info panel to grow towards the edge of the page, based on the `position` prop.\n const availableSpace = Math.round(\n (this.position.includes(\"left\") ? pageWidth - rect.left : rect.right) - gridMargin\n );\n this.panel.style.maxWidth = `${availableSpace}px`;\n }\n\n /**\n * Toggle the open state of the info panel.\n */\n private togglePanel(): void {\n this.open = !this.open;\n }\n\n /**\n * Close the info panel.\n */\n private closePanel(): void {\n this.open = false;\n }\n\n @Listen(\"keydown\", {target: \"window\", capture: true})\n handleEscapeKey(event: KeyboardEvent): void {\n if (event.key === \"Escape\" && this.open) {\n this.closePanel();\n }\n }\n\n render(): HTMLZInfoRevealElement {\n return (\n <Host open={this.open}>\n <button\n class=\"z-info-reveal-trigger\"\n type=\"button\"\n onClick={this.togglePanel.bind(this)}\n aria-label={!this.label ? this.ariaLabel : undefined}\n aria-expanded={this.open ? \"true\" : \"false\"}\n aria-controls=\"z-info-reveal-panel\"\n >\n {this.icon && <z-icon name={this.icon} />}\n {this.label && <span class=\"z-info-reveal-label\">{this.label}</span>}\n </button>\n <div\n class=\"z-info-reveal-panel\"\n id=\"z-info-reveal-panel\"\n ref={(el) => (this.panel = el)}\n hidden={!this.open}\n >\n <slot></slot>\n <button\n class=\"z-info-reveal-close\"\n type=\"button\"\n onClick={this.closePanel.bind(this)}\n aria-label=\"Chiudi pannello informazioni\"\n >\n <z-icon name=\"multiply\" />\n </button>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,ghFAClB,MAAAC,EAAeD,E,MCgBFE,EAAW,M,mCAGd,oB,cAQwBC,EAAmBC,a,oCAQvC,6B,UAISC,EAAYC,I,UAI1B,K,CAYP,mBAAAC,GACE,IAAKC,KAAKC,OAASD,KAAKE,MAAO,CAC7B,M,CAGF,MAAMC,EAAOH,KAAKI,KAAKC,wBACvB,MAAMC,EAAaC,SAASC,iBAAiBC,SAASC,iBAAiBC,iBAAiB,iBAAkB,IAC1G,MAAMC,EAAYH,SAASC,gBAAgBG,YAE3C,MAAMC,EAAiBC,KAAKC,OACzBhB,KAAKiB,SAASC,SAAS,QAAUN,EAAYT,EAAKgB,KAAOhB,EAAKiB,OAASd,GAE1EN,KAAKE,MAAMmB,MAAMC,SAAW,GAAGR,K,CAMzB,WAAAS,GACNvB,KAAKC,MAAQD,KAAKC,I,CAMZ,UAAAuB,GACNxB,KAAKC,KAAO,K,CAId,eAAAwB,CAAgBC,GACd,GAAIA,EAAMC,MAAQ,UAAY3B,KAAKC,KAAM,CACvCD,KAAKwB,Y,EAIT,MAAAI,GACE,OACEC,EAACC,EAAI,CAAAH,IAAA,2CAAC1B,KAAMD,KAAKC,MACf4B,EAAA,UAAAF,IAAA,2CACEI,MAAM,wBACNC,KAAK,SACLC,QAASjC,KAAKuB,YAAYW,KAAKlC,MAAK,cACvBA,KAAKmC,MAAQnC,KAAKoC,UAAYC,UAAS,gBACrCrC,KAAKC,KAAO,OAAS,QAAO,gBAC7B,uBAEbD,KAAKsC,MAAQT,EAAA,UAAAF,IAAA,2CAAQY,KAAMvC,KAAKsC,OAChCtC,KAAKmC,OAASN,EAAA,QAAAF,IAAA,2CAAMI,MAAM,uBAAuB/B,KAAKmC,QAEzDN,EAAA,OAAAF,IAAA,2CACEI,MAAM,sBACNS,GAAG,sBACHC,IAAMC,GAAQ1C,KAAKE,MAAQwC,EAC3BC,QAAS3C,KAAKC,MAEd4B,EAAA,QAAAF,IAAA,6CACAE,EAAA,UAAAF,IAAA,2CACEI,MAAM,sBACNC,KAAK,SACLC,QAASjC,KAAKwB,WAAWU,KAAKlC,MAAK,aACxB,gCAEX6B,EAAA,UAAAF,IAAA,2CAAQY,KAAK,e","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{h as t,F as i,r as e,c as s,a as n,g as a}from"./p-75c4a726.js";import{g as r,O as o,u as c,B as l,e as h,c as d,$ as u,D as p,h as f,k as v,I as b,i as z,m,j as g,l as x,E as w,p as y}from"./p-86618221.js";import{B as k}from"./p-5145a606.js";import{a as C,r as O,b as j,g as S,h as I}from"./p-1a0c206d.js";import{I as $,C as M}from"./p-eb15536d.js";const L=':host{position:relative;display:block;box-shadow:var(--shadow-2)}:host,*{box-sizing:border-box}.heading-panel{--title-line-height:1.333;--title-font-size:var(--font-size-6);position:relative;display:flex;width:100%;max-width:var(--app-header-content-max-width, 100%);flex-direction:column;flex-grow:0;flex-shrink:0;align-items:baseline;padding:calc(var(--space-unit) * 2);margin:0 auto;background:var(--app-header-bg, var(--color-surface01))}:host(:empty) .heading-panel{padding:0}.heading-container{position:relative;z-index:1;display:flex;width:100%;max-width:100%;flex:1 auto;flex-direction:column;justify-content:flex-start}.heading-panel.has-menubar{padding-bottom:0}.heading-panel .heading-container{flex-direction:column-reverse}:host([enable-search]) .heading-panel .heading-container{flex-direction:column}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:row}.heading-title{display:flex;width:100%;flex-direction:row;align-items:flex-start}.heading-title:not(:last-child){margin-right:var(--space-unit)}.z-logo,.search-page-button{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.z-logo img{height:24px;margin:0 var(--space-unit) 0 0;content:url(\'data:image/svg+xml,<svg width="61" height="32" viewBox="0 0 61 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.9874 32C7.1595 32 0 24.8349 0 16C0 7.16513 7.1595 0 15.9874 0H45.0126C53.8405 0 61 7.16513 61 16C61 24.8349 53.8405 32 45.0126 32H15.9874Z" fill="%23E2011A"/><path d="M58.5435 15.9992C58.5435 23.4743 52.4892 29.5403 45.0129 29.5403C37.5367 29.5403 31.4824 23.4813 31.4824 15.9992C31.4824 8.51701 37.5367 2.45801 45.0129 2.45801C52.4892 2.45801 58.5435 8.51701 58.5435 15.9992Z" fill="white"/><path d="M40.7107 8.01862H49.8976V11.3158L44.139 21.7077H50.0384V24.6457H39.9785V21.4048L45.7371 10.9636H40.7107V8.01862Z" fill="%23E2011A"/><path d="M12.2914 24.6449C10.982 24.6449 10.271 23.8136 10.271 22.6722V7.04565H12.1718V22.9822H13.981V24.6449H12.2914Z" fill="white"/><path d="M25.6461 24.6448C24.2452 24.6448 23.675 23.7853 23.5342 22.6439H23.4145C22.8935 24.1446 21.5841 24.9266 19.8735 24.9266C17.2828 24.9266 15.7622 23.4964 15.7622 21.2137C15.7622 18.931 17.4236 17.6206 20.9928 17.6206H23.4145V16.4088C23.4145 14.6756 22.4641 13.7245 20.5141 13.7245C19.0428 13.7245 18.0642 14.4361 17.4025 15.5563L16.262 14.4854C16.9308 13.175 18.4021 12.0829 20.6126 12.0829C23.5623 12.0829 25.3152 13.6259 25.3152 16.2186V22.9751H26.7162V24.6378H25.6461V24.6448ZM23.4145 21.0799V19.0578H20.8942C18.733 19.0578 17.7545 19.7272 17.7545 20.9108V21.411C17.7545 22.6228 18.7049 23.3132 20.1762 23.3132C22.0558 23.3132 23.4074 22.341 23.4074 21.0799H23.4145Z" fill="white"/></svg>\')}.product-logo{display:none}.product-logo ::slotted([slot="product-logo"]){width:32px;height:32px;margin-right:var(--space-unit)}.product-logo ::slotted([slot="product-logo"]) img{width:100%;height:100%;object-fit:cover}::slotted([slot="title"]),::slotted([slot="stucked-title"]),.stucked-title{margin:0;color:var(--app-header-text-color, var(--color-default-text));font-family:var(--font-family-serif);font-weight:var(--font-sb)}::slotted([slot="title"]){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;font-size:var(--title-font-size);-webkit-line-clamp:2;line-clamp:2;line-height:var(--title-line-height);text-overflow:ellipsis}::slotted(a:is([slot="title"],[slot="stucked-title"])){text-decoration:none}:host([enable-search]) ::slotted([slot="title"])+*{margin-left:calc(var(--space-unit) * 2)}:host([enable-offcanvas]:not([menu-length="0"])) .top-subtitle{padding-left:calc(var(--space-unit) * 4 + var(--space-unit))}::slotted([slot="top-subtitle"]){display:-webkit-box;overflow:hidden;max-width:80%;margin:0;-webkit-box-orient:vertical;color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-style:italic;font-weight:var(--font-rg);-webkit-line-clamp:2;line-clamp:2}.search-page-button{margin-left:auto}.menu-container{display:flex;flex:1 auto;column-gap:calc(var(--space-unit) * 4)}.menu-container:focus:focus-visible{outline:none}:host([menu-length="0"]) .menu-container,.menu-container:empty{display:none}.menu-container ::slotted([open]){position:relative;z-index:3}.menu-container ::slotted([slot="menu"]:not(:last-child))::after{position:absolute;top:calc(1.5em / 2);right:calc(var(--space-unit) * -2);width:var(--border-size-small);height:1em;background-color:var(--color-default-icon);content:"";font-size:var(--font-size-3);transform:translateY(-50%)}z-searchbar{z-index:0;display:flex;width:100%;align-items:center}.heading-stuck{position:fixed;z-index:20;top:var(--app-header-top-offset, 48px);left:0;width:100%;max-width:100%;animation:slide-stuck-heading-in 250ms ease-out;background:var(--app-header-stucked-bg, var(--color-surface01));box-shadow:var(--shadow-2);color:var(--app-header-stucked-text-color, var(--color-default-text))}.heading-stuck-content{display:flex;max-width:var(--app-header-content-max-width, 100%);align-items:center;padding:var(--space-unit) var(--grid-margin);margin:0 auto}.heading-stuck .heading-title{--title-font-size:var(--font-size-5);--title-line-height:1.4;overflow:hidden;align-items:center}.heading-stuck .stucked-title{overflow:hidden;font-size:var(--title-font-size);line-height:var(--title-line-height);text-overflow:ellipsis;white-space:nowrap}.drawer-trigger,::slotted([slot="menu-button"]){display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center;padding:0;border:0;margin-right:var(--space-unit);appearance:none;background:none;border-radius:0;color:inherit;cursor:pointer;outline:none}.drawer-trigger:focus:focus-visible z-icon{box-shadow:var(--shadow-focus-primary)}.drawer-trigger z-icon{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);fill:var(--color-default-icon)}.drawer-content{display:none}z-offcanvas{--z-offcanvas--top-space:var(--app-header-top-offset)}z-offcanvas[open] .drawer-content{display:flex;width:100%;flex:1 auto;flex-direction:column}z-offcanvas[open] .drawer-content ::slotted(z-menu){width:100%}.drawer-close{--z-icon-width:calc(var(--space-unit) * 4);--z-icon-height:calc(var(--space-unit) * 4);padding:0;border:0;margin:var(--space-unit) 0 calc(var(--space-unit) * 2.5);appearance:none;background:transparent;border-radius:0;cursor:pointer;outline:none}.drawer-close z-icon{fill:var(--color-default-icon)}.drawer-close:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}@media (max-width: 767px){:host([enable-search]) .heading-panel .heading-container{row-gap:calc(var(--space-unit) * 1.5)}}@media (min-width: 768px){.heading-panel{--title-font-size:var(--font-size-9);padding:calc(var(--space-unit) * 1.5) var(--grid-margin) calc(var(--space-unit) * 1.25)}:host([enable-search][search-page-url]) .heading-panel .heading-container{flex-direction:column}.heading-panel .heading-container{flex-direction:column;margin-right:auto}.z-logo img{height:32px}.product-logo{display:flex;height:calc(var(--title-font-size) * var(--title-line-height));align-items:center}.has-top-subtitle .z-logo{display:none}.top-subtitle.has-product-logo{padding-left:calc(32px + var(--space-unit))}z-searchbar{width:30%;height:calc(var(--title-font-size) * var(--title-line-height));margin-left:auto}.menu-container{flex:initial}.menu-container>[role="menubar"]{display:contents}:host(:not([enable-offcanvas])) .menu-container{margin-top:calc((var(--space-unit) * 1.75))}:host(:not([enable-offcanvas])) .heading-container .drawer-trigger{display:none}.heading-stuck .heading-title{--title-font-size:var(--font-size-8);--title-line-height:1.5}.heading-stuck-content{padding:6px var(--grid-margin)}:host(:not([enable-offcanvas],[menu-length="0"])){padding-left:0}}@media (min-width: 1152px){z-searchbar{min-width:calc(var(--space-unit) * 45)}}@keyframes slide-stuck-heading-in{0%{transform:translate3d(0, -100%, 0)}100%{transform:none}}';const T=L;const F=typeof IntersectionObserver!=="undefined";const H=class{onStuck(){const t=this.scrollParent;if(!t){return}this.sticking.emit(this._stuck)}setMenuFloatingMode(){if(this.menuElements.length===0){return}this.menuElements.forEach((t=>{t.open=false;t.verticalContext=this.drawerOpen}))}onStuckChange(){var t,i;if(!this.container){return}if(this.stuck){(t=this.stuckIntersecObserver)===null||t===void 0?void 0:t.observe(this.container)}else{this._stuck=false;(i=this.stuckIntersecObserver)===null||i===void 0?void 0:i.unobserve(this.container)}}get title(){var t;return(t=this.hostElement.querySelector('[slot="title"]'))===null||t===void 0?void 0:t.textContent.trim()}get scrollParent(){const t=this.hostElement.offsetParent;if(t===document.body||t===document.documentElement){return window}return t}get canShowMenu(){return!this.enableOffcanvas&&this.menuElements.length>0&&!this.isMobile&&!this.drawerOpen}get focusableMenu(){return this.menuElements.find((t=>t.htmlTabindex===0))}openDrawer(){this.drawerOpen=true;this.menuElements.forEach(((t,i)=>t.htmlTabindex=i===0?0:-1));setTimeout((()=>this.menuElements[0].setFocus()),400)}closeDrawer(){this.drawerOpen=false;setTimeout((()=>this.burgerButton.focus()),100)}collectMenuElements(){this.menuElements=Array.from(this.hostElement.querySelectorAll('[slot="menu"]'));this.menuElements.forEach(((t,i)=>t.htmlTabindex=i===0?0:-1));this.menuLength=this.menuElements.length;if(!this.enableOffcanvas){this.menuWidth=this.menuElements.reduce(((t,i)=>t+i.getBoundingClientRect().width),0)+(this.menuLength-1)*32}this.setMenuFloatingMode()}setupMenuResizeObserver(){if(this.enableOffcanvas){return}this.menuResizeObserver=new ResizeObserver((t=>{if(this.isMobile){this.enableOffcanvas=true;return}const i=t[0].contentBoxSize[0].inlineSize;if(this.menuWidth===0){return}if(this.menuWidth>i&&!this.enableOffcanvas){this.enableOffcanvas=true}else if(this.menuWidth<=i&&this.enableOffcanvas){this.enableOffcanvas=false}}));this.menuResizeObserver.observe(this.container)}hasSlot(t){return this.hostElement.querySelector(`[slot="${t}"]`)!==null}moveFocus(t,i){t.htmlTabindex=-1;i.setFocus()}onOffcanvasKeydown(t){var i,e;if(t.key!==r.TAB||!this.drawerOpen){return}const s=t.target.closest("z-menu");if(s){t.preventDefault();t.stopPropagation();s.htmlTabindex=0;this.closeDrawerButton.focus()}else if(t.target===this.closeDrawerButton){t.preventDefault();t.stopPropagation();if(t.shiftKey){((i=this.menuElements.filter((t=>t.open)).pop())!==null&&i!==void 0?i:this.menuElements[this.menuLength-1]).setFocus()}else{((e=this.menuElements.find((t=>t.open)))!==null&&e!==void 0?e:this.menuElements[0]).setFocus()}}}manageMenus(t){const i=this.menuElements.find((i=>C(i,t.target)));if(i){this.menuElements.forEach((t=>{if(t===i){return}t.htmlTabindex=-1;if(!this.drawerOpen){t.open=false}}))}else if(!this.drawerOpen){this.menuElements.forEach((t=>{t.open=false}))}}handleKeydown(t){var i,e;if(t.key===r.ESC&&this.drawerOpen){this.closeDrawer();return}if(!this.menuElements.some((i=>i.contains(t.target)))){return}const s=this.focusableMenu;const n=this.menuElements.indexOf(s);let a;if(t.key===r.ARROW_RIGHT&&!s.verticalContext||t.key===r.ARROW_DOWN&&s.verticalContext){a=(i=this.menuElements[n+1])!==null&&i!==void 0?i:this.menuElements[0]}else if(t.key===r.ARROW_LEFT&&!s.verticalContext||t.key===r.ARROW_UP&&s.verticalContext){a=(e=this.menuElements[n-1])!==null&&e!==void 0?e:this.menuElements[this.menuLength-1]}if(!a){return}if(t.key===r.ARROW_UP&&s.verticalContext){if(a.open){s.htmlTabindex=-1;a.focusLastItem();return}}this.moveFocus(s,a)}renderSeachbar(){if(this.isMobile&&!this.searchPageUrl&&this._stuck){return}if(this.searchPageUrl&&(this.isMobile||this.isTablet)){return t("z-button",{class:"search-page-button",variant:l.SECONDARY,href:this.searchPageUrl,icon:"search",size:h.X_SMALL})}return t("z-searchbar",{value:this.searchString,placeholder:this.searchPlaceholder,showSearchButton:true,searchButtonIconOnly:this.isMobile||this.isTablet,size:h.X_SMALL,variant:l.SECONDARY,preventSubmit:this.searchString.length<3,onSearchTyping:t=>this.searchString=t.detail})}renderProductLogos(){return t(i,null,this.enableZLogo&&t("span",{class:"z-logo"},t("img",{alt:"Logo Zanichelli"})),this.hostElement.querySelector("[slot='product-logo']")&&t("span",{class:"product-logo"},t("slot",{name:"product-logo"})))}renderMenuButton(){return this.menuLength>0&&(this.enableOffcanvas||this._stuck||this.isMobile)&&t("button",{ref:t=>this.burgerButton=t,class:"drawer-trigger","aria-label":"Apri menu","aria-haspopup":"menu","aria-expanded":`${this.drawerOpen}`,"aria-controls":"offcanvas-menu",onClick:this.openDrawer},t("z-icon",{name:"burger-menu"}))}renderOffcanvas(){return t("z-offcanvas",{id:"offcanvas-menu",variant:o.OVERLAY,transitiondirection:c.RIGHT,open:this.drawerOpen,onCanvasOpenStatusChanged:t=>this.drawerOpen=t.detail,onKeyDown:this.onOffcanvasKeydown},t("div",{slot:"canvasContent"},t("button",{ref:t=>this.closeDrawerButton=t,class:"drawer-close","aria-label":"Chiudi menu",onClick:this.closeDrawer,"aria-hidden":`${!this.drawerOpen}`,disabled:!this.drawerOpen},t("z-icon",{name:"close"})),t("div",{class:"drawer-content","aria-hidden":`${!this.drawerOpen}`},t("slot",{name:"menu",onSlotchange:this.collectMenuElements}))))}renderStuck(){return t("div",{class:"heading-stuck"},t("div",{class:"heading-stuck-content"},this.renderMenuButton(),t("div",{class:"heading-title"},this.renderProductLogos(),t("div",{class:"stucked-title"},t("slot",{name:"stucked-title"},this.title))),this.enableSearch&&this.renderSeachbar()))}constructor(t){e(this,t);this.sticking=s(this,"sticking",7);this.menuElements=[];this.stuckIntersecObserver=F?new IntersectionObserver((([t])=>{this._stuck=!t.isIntersecting}),{threshold:.5}):undefined;this.stuck=false;this.enableOffcanvas=false;this.enableSearch=false;this.searchPlaceholder="Cerca";this.searchString="";this.searchPageUrl=undefined;this.enableZLogo=true;this.drawerOpen=false;this._stuck=false;this.menuLength=undefined;this.isMobile=true;this.isTablet=false;this.openDrawer=this.openDrawer.bind(this);this.closeDrawer=this.closeDrawer.bind(this);this.collectMenuElements=this.collectMenuElements.bind(this);this.onOffcanvasKeydown=this.onOffcanvasKeydown.bind(this)}componentWillLoad(){this.collectMenuElements();const t=window.matchMedia(`(max-width: ${k.MOBILE}px)`);this.isMobile=t.matches;t.addEventListener("change",(t=>this.isMobile=t.matches));const i=window.matchMedia(`(min-width: ${k.MOBILE+1}px) and (max-width: ${k.TABLET}px)`);this.isTablet=i.matches;i.addEventListener("change",(t=>this.isTablet=t.matches))}componentDidLoad(){this.onStuckChange();this.setupMenuResizeObserver()}disconnectedCallback(){var t;(t=this.menuResizeObserver)===null||t===void 0?void 0:t.disconnect()}render(){const i=this.hasSlot("top-subtitle");return t(n,{key:"a823113610378e9d634bf1779f5be2f5dc0c39f1","menu-length":this.menuLength},t("div",{key:"c93cc0d8ef6cfba9875b2a4be50f065a4c276329",class:{"heading-panel":true,"has-menubar":this.menuLength>0&&!this.enableOffcanvas},ref:t=>this.container=t},t("div",{key:"5138c2f0828d182ca610696b341f7292a12dc29b",class:{"heading-container":true,"has-top-subtitle":i}},(!this.enableSearch&&this.isMobile||!this.isMobile)&&t("div",{key:"3ccea8b1134d18c47e7736683090a5cff1f5805c",class:{"top-subtitle":true,"has-product-logo":i&&this.hasSlot("product-logo")}},t("slot",{key:"7f2e046036bb62644b4d20ebcea6879d146f7900",name:"top-subtitle"})),t("div",{key:"a6be051f516f7e23348c7e3781463048f49c4fb5",class:"heading-title"},t("slot",{key:"561fab39ded745bfc44a3ed6b16df481771b71eb",name:"menu-button"},this.renderMenuButton()),!this._stuck&&this.renderProductLogos(),t("slot",{key:"d0339b71194c5b61da665a3ccf38f9188a6b11c9",name:"title"}),this.enableSearch&&!this.isMobile&&this.renderSeachbar()),this.enableSearch&&this.isMobile&&this.renderSeachbar()),t("nav",{key:"016d2598ab5e436713dc70a100100ecc7490729e",class:"menu-container","aria-label":this.title||undefined},this.canShowMenu&&t("div",{key:"8cef304ecced8d2f4f6ba454db5c7ef74fcaed87",role:"menubar","aria-label":this.title||undefined},t("slot",{key:"9bd29440ce257ab3b6f58567713823c2047d7b2c",name:"menu",onSlotchange:this.collectMenuElements})))),this.renderOffcanvas(),this._stuck&&this.renderStuck())}get hostElement(){return a(this)}static get watchers(){return{_stuck:["onStuck"],drawerOpen:["setMenuFloatingMode"],stuck:["onStuckChange"]}}};H.style=T;const R='.sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0;--z-icon-left-margin:0}[disabled].sc-z-button-h:not([disabled="false"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);column-gap:var(--space-unit);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}[icon-position="right"].sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{flex-direction:row-reverse}[size="big"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size="small"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size="x-small"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant="primary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled03)}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-button-secondary);color:var(--color-primary01)}@media (hover: hover){[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-button-secondary);color:var(--color-hover-primary)}}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-button-secondary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant="secondary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-button-secondary);color:var(--color-disabled03)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary02);background-color:var(--color-primary02);color:var(--color-primary01)}@media (hover: hover){[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-primary02);background-color:var(--color-primary02);color:var(--color-primary01)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-primary02);background-color:var(--color-primary02);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant="tertiary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled03)}';const A=R;const D=class{constructor(t){e(this,t);this.ariaLabel=undefined;this.role="";this.htmlrole=undefined;this.href=undefined;this.target=undefined;this.htmlid=undefined;this.name=undefined;this.disabled=false;this.type=d.BUTTON;this.variant=l.PRIMARY;this.icon=undefined;this.iconPosition=u.LEFT;this.size=h.BIG}getAttributes(){return{id:this.htmlid,class:{"z-button--container":true,"z-button--has-text":!!this.hostElement.textContent.trim()}}}renderIcon(){return this.icon&&t("z-icon",{name:this.icon})}render(){if(this.href){return t("a",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel||undefined,href:this.href,target:this.target}),this.renderIcon(),t("slot",null))}return t("button",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel||undefined,name:this.name,type:this.type,disabled:this.disabled,role:this.htmlrole||this.role||undefined}),this.renderIcon(),t("slot",null))}get hostElement(){return a(this)}};D.style=A;const V=".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";const _=V;const B=class{constructor(t){e(this,t);this.size=p.SMALL;this.color="gray200";this.orientation=f.HORIZONTAL}render(){return t(n,{key:"84826110c0a563d1b6f2654c540df49cdd0dfc7c",class:`divider-${this.size} divider-${this.orientation}`,style:{backgroundColor:`var(--${this.color})`}})}};B.style=_;const E=":host{display:inline;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0);line-height:0;vertical-align:middle}.icon-wrapper{position:relative;z-index:0;display:inline-block}svg:not([width]){width:var(--z-icon-width, 1.125rem)}svg:not([height]){height:var(--z-icon-height, 1.125rem)}.icon-wrapper svg.color-indicator{position:absolute;z-index:-1;bottom:0;left:0}";const K=E;const P=class{constructor(t){e(this,t);this.name=undefined;this.height=undefined;this.width=undefined;this.iconid=undefined;this.fill=undefined;this.indicatorColor=undefined}selectPathOrPolygon(i){if(i===null||i===void 0?void 0:i.startsWith("M")){return t("path",{d:i})}return t("polygon",{points:i})}renderBaseIcon(){return t("svg",{id:this.iconid||undefined,fill:this.fill?`var(--${this.fill})`:undefined,viewBox:"0 0 1000 1000",width:this.width,height:this.height},this.selectPathOrPolygon($[this.name]))}render(){return t(n,{key:"8e6cee155a15fc1b19f9907a6f6155c8d607bfa4","aria-hidden":"true"},M.includes(this.name)?t("div",{class:"icon-wrapper"},t("svg",{class:"color-indicator",fill:this.indicatorColor||"#FFFFFF00",viewBox:"0 0 1000 1000",width:this.width,height:this.height},this.selectPathOrPolygon($["picker-color"])),this.renderBaseIcon()):this.renderBaseIcon())}};P.style=K;const Z='.sc-z-input-h{display:inline-block;width:inherit}.sc-z-input-h *.sc-z-input{box-sizing:border-box}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input{background:var(--color-form-background);fill:var(--color-form-default-icon);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input,.textarea-wrapper.sc-z-input{border:var(--border-size-small) solid var(--color-form-surface04);border-radius:var(--border-radius-small);color:var(--color-form-default-text)}[size="small"].sc-z-input-h input.sc-z-input,[size="small"].sc-z-input-h textarea.sc-z-input,[size="x-small"].sc-z-input-h input.sc-z-input,[size="x-small"].sc-z-input-h textarea.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}input.sc-z-input:not([readonly]):hover,.textarea-wrapper.sc-z-input:not(.readonly):hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.sc-z-input-h:not([readonly="true"]) .textarea-wrapper.sc-z-input:focus-within{border-color:var(--color-form-active-primary);box-shadow:var(--shadow-focus-primary);color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible:hover,.textarea-wrapper.sc-z-input:not(.readonly):focus-within:hover{outline-color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input{fill:var(--color-form-active-primary)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--color-form-active-primary)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{border-color:var(--color-form-surface03);box-shadow:none}.input-success.sc-z-input{border-color:var(--color-form-success01);background:var(--color-form-inverse-success)}.input-success.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-success.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-success01)}.input-error.sc-z-input{border-color:var(--color-form-hover-error);background:var(--color-form-inverse-error)}.input-error.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-error.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-error)}.input-warning.sc-z-input{border-color:var(--color-form-hover-warning);background:var(--color-form-inverse-warning)}.input-warning.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-warning.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-warning)}.sc-z-input:is(.input-success,.input-error.sc-z-input,.input-warning).sc-z-input:focus:focus-visible{color:var(--color-form-default-text)}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.textarea-wrapper.readonly.sc-z-input{border-color:var(--color-form-surface03);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) z-icon.sc-z-input{border-color:var(--color-form-disabled03);box-shadow:none;color:var(--color-form-disabled-text);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}[disabled].sc-z-input-h:not([disabled="false"]) label.z-label.sc-z-input{color:var(--color-disabled03)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-form-default-icon)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size="small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size="x-small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input{display:flex;padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input+.input-icon.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.hidden.sc-z-input{display:none}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:currentcolor}.textarea-wrapper.sc-z-input{width:100%;height:100%;padding:calc(var(--space-unit) * 1.5)}.textarea-wrapper.sc-z-input:not(.input-error,.input-success.sc-z-input,.input-warning).sc-z-input{background-color:var(--color-form-background)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;color:currentcolor;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-default-text);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input{border-radius:50%}.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled03)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}';const N=Z;const W=class{constructor(t){e(this,t);this.inputChange=s(this,"inputChange",7);this.startTyping=s(this,"startTyping",7);this.stopTyping=s(this,"stopTyping",7);this.inputCheck=s(this,"inputCheck",7);this.inputFocus=s(this,"inputFocus",7);this.inputBlur=s(this,"inputBlur",7);this.typingtimeout=300;this.htmlid=`id-${O()}`;this.type=undefined;this.name=undefined;this.label=undefined;this.ariaLabel="";this.htmlAriaExpanded="";this.htmlAriaControls=undefined;this.htmlAriaAutocomplete=undefined;this.htmlAriaActivedescendant=undefined;this.value=undefined;this.disabled=false;this.readonly=false;this.required=false;this.checked=false;this.placeholder=undefined;this.htmltitle=undefined;this.status=undefined;this.message=true;this.labelPosition=v.RIGHT;this.autocomplete=undefined;this.role="";this.hasclearicon=true;this.icon=undefined;this.min=undefined;this.minlength=undefined;this.max=undefined;this.maxlength=undefined;this.step=undefined;this.pattern=undefined;this.size=h.BIG;this.isTyping=false;this.passwordHidden=true}inputCheckListener(t){const i=t.detail;switch(this.type){case b.RADIO:if(i.type===b.RADIO&&i.name===this.name&&i.id!==this.htmlid){this.checked=false}break}}async isChecked(){switch(this.type){case b.CHECKBOX:case b.RADIO:return this.checked;default:console.warn("`isChecked` method is only available for type `checkbox` and `radio`");return false}}emitInputChange(t){if(!this.isTyping){this.emitStartTyping()}let i;if(this.type===b.TEXTAREA){i=this.getValidity("textarea")}else{i=this.getValidity("input")}this.value=t;this.inputChange.emit({value:t,validity:i});clearTimeout(this.timer);this.timer=setTimeout((()=>{this.emitStopTyping(this.value,i)}),this.typingtimeout)}emitStartTyping(){this.isTyping=true;this.startTyping.emit()}emitStopTyping(t,i){this.isTyping=false;this.stopTyping.emit({value:t,validity:i})}emitInputCheck(t){this.inputCheck.emit({id:this.htmlid,checked:t,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}emitInputFocus(){this.inputFocus.emit({id:this.htmlid})}emitInputBlur(){this.inputBlur.emit({id:this.htmlid})}getValidity(t){const i=this.hostElement.querySelector(t);return i.validity}getTextAttributes(){return{id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,minlength:this.minlength,maxlength:this.maxlength,class:{[`input-${this.status}`]:!!this.status},autocomplete:this.autocomplete,onInput:t=>this.emitInputChange(t.target.value)}}getNumberAttributes(t){if(t!=b.NUMBER){return}return{min:this.min,max:this.max,step:this.step}}getPatternAttribute(t){if(t!=b.PASSWORD&&t!=b.TEXT&&t!=b.TEL&&t!=b.SEARCH&&t!=b.URL&&t!=b.EMAIL){return}return{pattern:this.pattern}}getRoleAttribute(){return this.role?{role:this.role}:{}}getAriaAttrubutes(){const t=this.htmlAriaExpanded?{"aria-expanded":this.htmlAriaExpanded}:{};const i=this.htmlAriaControls?{"aria-controls":this.htmlAriaControls}:{};const e=this.htmlAriaAutocomplete?{"aria-autocomplete":this.htmlAriaAutocomplete}:{};const s=this.htmlAriaActivedescendant?{"aria-activedescendant":this.htmlAriaActivedescendant}:{};return Object.assign(Object.assign(Object.assign(Object.assign({},t),i),e),s)}getFocusBlurAttributes(){return{onFocus:()=>this.emitInputFocus(),onBlur:()=>this.emitInputBlur()}}renderInputText(i=b.TEXT){const e=this.ariaLabel?{"aria-label":this.ariaLabel}:{};const s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.getTextAttributes()),this.getNumberAttributes(i)),this.getPatternAttribute(i)),e),this.getRoleAttribute()),this.getAriaAttrubutes()),this.getFocusBlurAttributes());if(this.icon||i===b.PASSWORD){Object.assign(s.class,{"has-icon":true})}if(this.hasclearicon&&i!=b.NUMBER){Object.assign(s.class,{"has-clear-icon":true})}return t("div",{class:"text-wrapper"},this.renderLabel(),t("div",null,t("input",Object.assign({type:i===b.PASSWORD&&!this.passwordHidden?b.TEXT:i},s,{ref:t=>this.inputRef=t})),this.renderIcons()),this.renderMessage())}renderLabel(){if(!this.label){return}return t("label",{class:"z-label body-5-sb",id:`${this.htmlid}_label`,htmlFor:this.htmlid},this.label)}renderIcons(){return t("span",{class:"icons-wrapper"},this.renderResetIcon(),this.renderIcon())}renderIcon(){if(this.type===b.PASSWORD){return this.renderShowHidePassword()}if(!this.icon){return}return t("z-icon",{name:this.icon,class:{[this.size]:true,"input-icon":true}})}renderResetIcon(){let i=false;if(!this.hasclearicon||!this.value||this.disabled||this.readonly||this.type==b.NUMBER){i=true}return t("button",{type:"button",class:{"reset-icon":true,"input-icon":true,hidden:i},"aria-label":"cancella il contenuto dell'input",onClick:()=>{this.inputRef.value="";this.emitInputChange("")}},t("z-icon",{name:"multiply",class:this.size}))}renderShowHidePassword(){return t("button",{type:"button",class:"input-icon toggle-password-icon",disabled:this.disabled,"aria-label":this.passwordHidden?"mostra password":"nascondi password",onClick:()=>this.passwordHidden=!this.passwordHidden},t("z-icon",{name:this.passwordHidden?"view-filled":"view-off-filled",class:this.size}))}renderMessage(){if(j(this.message)===false){return}return t("z-input-message",{message:j(this.message)===true?undefined:this.message,status:this.status,class:this.size,disabled:this.disabled})}renderTextarea(){const e=this.getTextAttributes();return t(i,null,this.renderLabel(),t("div",{class:Object.assign(Object.assign({},e.class),{"textarea-wrapper":true,readonly:!!e.readonly})},t("textarea",Object.assign({},e,{class:Object.assign(Object.assign({},e.class),{"z-scrollbar":true}),"aria-label":this.ariaLabel||undefined},this.getRoleAttribute()))),this.renderMessage())}handleCheck(t){this.checked=t.target.checked;this.emitInputCheck(this.checked)}renderCheckbox(){return t("div",{class:"checkbox-wrapper"},t("input",Object.assign({id:this.htmlid,type:"checkbox",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,required:this.required,onChange:this.handleCheck.bind(this),value:this.value},this.getRoleAttribute(),this.getFocusBlurAttributes())),t("label",{htmlFor:this.htmlid,class:{"checkbox-label":true,after:this.labelPosition===v.RIGHT,before:this.labelPosition===v.LEFT}},t("z-icon",{name:this.checked?"checkbox-checked":"checkbox",class:this.size}),this.label&&t("span",{innerHTML:this.label})))}renderRadio(){return t("div",{class:"radio-wrapper"},t("input",Object.assign({id:this.htmlid,type:"radio",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,onChange:this.handleCheck.bind(this),value:this.value},this.getRoleAttribute(),this.getFocusBlurAttributes())),t("label",{htmlFor:this.htmlid,class:{"radio-label":true,after:this.labelPosition===v.RIGHT,before:this.labelPosition===v.LEFT}},t("z-icon",{name:this.checked?"radio-button-checked":"radio-button",class:this.size}),this.label&&t("span",{innerHTML:this.label})))}render(){let i;switch(this.type){case b.TEXTAREA:i=this.renderTextarea();break;case b.CHECKBOX:i=this.renderCheckbox();break;case b.RADIO:i=this.renderRadio();break;default:i=this.renderInputText(this.type)}return t(n,{key:"659906d684e53987ffe6ca8f05d74abb98594367"},i)}get hostElement(){return a(this)}};W.style=N;const X=':host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-default-text);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status="success"]){color:var(--color-hover-success)}:host([status="error"]){color:var(--color-hover-error)}:host([status="warning"]){color:var(--color-hover-warning)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}:host([disabled]){color:var(--color-disabled03);fill:var(--color-disabled03)}';const Y=X;const q=class{constructor(t){e(this,t);this.statusIcons={success:"checkmark-circle",error:"multiply-circled",warning:"exclamation-circle"};this.message=undefined;this.status=undefined;this.disabled=undefined;this.statusRole={}}onMessageChange(){this.statusRole=this.message&&this.status?{role:"alert"}:{}}componentWillLoad(){this.onMessageChange()}render(){return t(n,Object.assign({key:"d3c9ebc08047c7dda297e667f0923025a123c218"},this.statusRole),this.statusIcons[this.status]&&this.message&&t("z-icon",{key:"fd12602621b437c130e82fe747e422fc98b3a87e",name:this.statusIcons[this.status]}),t("span",{key:"b3af731acdef8e2c890789f158d9db68e426f798",innerHTML:this.message}))}static get watchers(){return{message:["onMessageChange"],status:["onMessageChange"]}}};q.style=Y;const U=":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";const G=U;const J=class{constructor(t){e(this,t);this.size=z.MEDIUM;this.listType=m.NONE;this.role="list"}setChildrenSizeType(){const t=this.host.children;for(let i=0;i<t.length;i++){t[i].setAttribute("size",this.size);t[i].setAttribute("list-type",this.listType);t[i].setAttribute("list-element-position",(i+1).toString())}}componentDidLoad(){this.setChildrenSizeType()}render(){return t(n,{key:"004f6ec917edd3b8a3f0f50809543a7cb357daba"},t("slot",{key:"6f55271632a504df1e044da28be26cf2e5e7fb1b"}))}get host(){return a(this)}};J.style=G;const Q=':host{outline:none}:host>.container{display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;background-color:var(--background-color-list-element, var(--color-surface01));font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size="small"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size="medium"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size="medium"])>.tree-element-container{padding-top:0;padding-bottom:0}:host([size="large"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size="x-large"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([clickable])>.container{cursor:pointer}:host([expandable]:hover)>.container,:host([clickable]:hover)>.container{background-color:var(--background-hover-color-list-element, var(--color-background))}:host([expandable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container{position:relative;z-index:1;box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([clickable]:active)>.container{background-color:var(--background-active-color-list-element, var(--color-background))}:host([align-button="left"][expandable])>.container>.z-list-element-container{display:flex}:host([align-button="right"][expandable])>.container>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button="left"][expandable])>.container>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button="right"][expandable])>.container>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded{display:block}.z-list-content-container{display:flex;align-items:center}:host .z-tree-list-divider{position:absolute;z-index:100;left:0}:host([disabled])>.container{color:var(--color-form-disabled03);cursor:default}';const tt=Q;const it=class{accessibleFocusHandler(t){if(this.listElementId===t.detail){const i=this.host.shadowRoot.getElementById(`z-list-element-id-${t.detail}`);i.focus()}}constructor(t){e(this,t);this.accessibleFocus=s(this,"accessibleFocus",7);this.ariaDescendantFocus=s(this,"ariaDescendantFocus",7);this.clickItem=s(this,"clickItem",7);this.openElementConfig={accordion:{open:"minus-circled",close:"plus-circled"},menu:{open:"chevron-up",close:"chevron-down"}};this.alignButton=g.LEFT;this.clickable=false;this.dividerColor="color-surface03";this.dividerType=x.NONE;this.dividerSize=p.SMALL;this.expandable=false;this.expandableStyle=w.ACCORDION;this.listElementId=undefined;this.size=z.MEDIUM;this.color="none";this.disabled=false;this.listElementPosition="0";this.listType=m.NONE;this.hasTreeItems=undefined;this.role="listitem";this.htmlTabindex=0;this.showInnerContent=false;this.handleClick=this.handleClick.bind(this);this.handleKeyDown=this.handleKeyDown.bind(this)}handleClick(){if(this.disabled){return}this.clickItem.emit(this.listElementId);if(!this.expandable){return}this.showInnerContent=!this.showInnerContent}handleKeyDown(t){const i=t.code===r.ENTER;switch(t.code){case r.ARROW_DOWN:t.preventDefault();this.accessibleFocus.emit(this.listElementId+1);break;case r.ARROW_UP:t.preventDefault();this.accessibleFocus.emit(this.listElementId-1);break;case r.ENTER:t.preventDefault();this.clickItem.emit(this.listElementId);break}if(!this.expandable||!i){return}this.showInnerContent=!this.showInnerContent}renderExpandableButton(){if(!this.expandable){return null}return t("z-icon",{name:this.showInnerContent?this.openElementConfig[this.expandableStyle].open:this.openElementConfig[this.expandableStyle].close})}renderExpandedContent(){if(!this.expandable){return null}return t("div",{class:{"z-list-element-inner-container":true,expanded:this.showInnerContent}},t("slot",{name:"inner-content"}))}renderContent(){if(this.listType===m.NONE){return t("slot",null)}if(this.listType===m.ORDERED){return t("div",{class:"z-list-content-container"},t("div",null,this.listElementPosition,". "),t("slot",null))}if(this.listType===m.UNORDERED){return t("div",{class:"z-list-content-container"},t("span",null,"• "),t("slot",null))}}render(){return t(n,{key:"09936377d5e836f011cac004f095e0d4f243c64a","aria-expanded":this.expandable?this.showInnerContent:null,onClick:this.handleClick,onFocus:()=>this.ariaDescendantFocus.emit(this.listElementId),onKeyDown:this.handleKeyDown,clickable:this.clickable&&!this.disabled,tabIndex:this.hasTreeItems?undefined:this.htmlTabindex,role:this.hasTreeItems?"none":this.role},t("div",{key:"9ba1d277209e3d02c1ad34cfb92e5979aa7f2df1",class:this.hasTreeItems?"tree-element-container":"container",style:!this.disabled&&{color:`var(--${this.color})`},tabindex:"-1",id:`z-list-element-id-${this.listElementId}`,part:"list-item-container"},t("div",{key:"8c53a9715bb89aa6f7f7c8746352ce90679f8bba",class:"z-list-element-container"},this.renderExpandableButton(),this.renderContent()),this.renderExpandedContent()),this.dividerType===x.ELEMENT&&t("z-divider",{key:"0ca76d1b451f74ccafe0d00985b7d33e3f1cde59",class:{"z-tree-list-divider":this.hasTreeItems},color:this.dividerColor,size:this.dividerSize}))}get host(){return a(this)}};it.style=tt;const et=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;letter-spacing:0.16px;line-height:1.4}:host>.z-list-group-header-container.has-header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}:host>.grouped-tree-list-header{padding-top:calc(var(--space-unit) * 1.5);padding-bottom:var(--space-unit)}";const st=et;const nt=class{constructor(t){e(this,t);this.size=z.MEDIUM;this.dividerType=x.NONE;this.dividerSize=p.SMALL;this.dividerColor="gray200";this.listType=m.NONE;this.hasTreeItems=undefined}componentDidLoad(){const t=this.host.children;for(let i=0;i<t.length;i++){if(t.length-1>i){t[i].setAttribute("divider-type",this.dividerType);t[i].setAttribute("divider-size",this.dividerSize);t[i].setAttribute("divider-color",this.dividerColor)}t[i].setAttribute("size",this.size);t[i].setAttribute("list-type",this.listType);t[i].setAttribute("list-element-position",i.toString())}}componentWillLoad(){this.hasHeader=!!this.host.querySelector('[slot="header-title"]')}render(){return t(n,{key:"97c6cc961737aca6748a6083c59d041b86b17fef",role:"group"},t("div",{key:"b7a78fae5613cef55da4bf6ff348344e6b4b06fa",class:{"z-list-group-header-container":true,"has-header":this.hasHeader&&!this.hasTreeItems,"grouped-tree-list-header":this.hasTreeItems}},t("slot",{key:"fbc9339b158e2ba25f9119d0548b6ab10cefd450",name:"header-title"}),this.dividerType===x.HEADER&&t("z-divider",{key:"70e44c839e49f99e4589bc2ec7482761d6130445",color:this.dividerColor,size:this.dividerSize})),t("slot",{key:"d3fbc2ccaa3c9f45a3bb02ed793555d84fa5790c"}))}get host(){return a(this)}};nt.style=st;const at='.sc-z-offcanvas-h{font-family:var(--font-family-sans);font-weight:var(--font-rg)}[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"]){overflow:hidden}.canvas-container.sc-z-offcanvas{display:flex;overflow:hidden;min-width:100%;height:100%;background:var(--color-surface01);transform:translateX(0);transition:transform 0.4s ease-out}.sc-z-offcanvas-h>*.sc-z-offcanvas{position:fixed;top:var(--z-offcanvas--top-space, 0);right:0;bottom:0;left:0}[open].sc-z-offcanvas-h>*.sc-z-offcanvas{height:calc(100% - var(--z-offcanvas--top-space, 0px))}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}[transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(100%)}[open][transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas,[open][transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(0)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{top:auto;bottom:0;height:var(--z-offcanvas--container-height, 90%);transform:translateY(100%)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas,[variant="overlay"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{z-index:1001}[open][transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateY(0)}[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"])>.canvas-container.sc-z-offcanvas{position:relative;height:100%}[variant="pushcontent"].sc-z-offcanvas-h:not([open]){display:none}[skip-animation].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transition:none}.backdrop.sc-z-offcanvas{z-index:1000;width:100%;height:100%;background-color:var(--gray900);opacity:0;pointer-events:none;transition:opacity 0.4s ease-out}[open].sc-z-offcanvas-h>.backdrop.sc-z-offcanvas{opacity:0.7;pointer-events:unset}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{overflow:hidden auto;flex:1 auto;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0}@media (min-width: 768px){[variant="pushcontent"].sc-z-offcanvas-h:not([transitiondirection="up"]){flex:none}.canvas-container.sc-z-offcanvas{width:var(--z-offcanvas--container-width, 375px);min-width:var(--z-offcanvas--container-width, 375px)}[transitiondirection="up"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{width:100%}[transitiondirection="right"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{right:auto;left:0}[transitiondirection="left"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{right:0;left:auto}}';const rt=at;const ot=class{constructor(t){e(this,t);this.canvasOpenStatusChanged=s(this,"canvasOpenStatusChanged",7);this.allFocusableElements=[];this.previouslyFocusedElement=null;this.variant=o.PUSHCONTENT;this.open=false;this.transitiondirection=c.LEFT;this.skipLoadAnimation=false;this.showBackdrop=true;this.skipAnimation=false}getFocusableElements(){if(!this.canvasContent){return[]}const t=Array.from(this.canvasContent.querySelectorAll("*"));return t.filter((t=>{const i=t.getAttribute("tabindex");const e=t.hasAttribute("disabled");const s=t.offsetParent===null;return!e&&!s&&(t.tabIndex>=0||i==="0")}))}trapFocus(t){if(!this.allFocusableElements.length){return}const i=this.allFocusableElements[0];const e=this.allFocusableElements[this.allFocusableElements.length-1];const s=document.activeElement;if(t.shiftKey&&s===i){t.preventDefault();e.focus()}if(!t.shiftKey&&s===e){t.preventDefault();i.focus()}}handleKeyDown(t){if(!this.open){return}if(t.key===r.ESC){t.preventDefault();this.open=false;return}if(t.key===r.TAB){this.trapFocus(t)}}stopEvent(t){if(this.open){return}t.preventDefault();t.stopPropagation()}handlePageOverflow(){const t=this.variant===o.OVERLAY||this.transitiondirection===c.UP?"overflow-y":"overflow-x";document.body.style[t]=this.open?"hidden":""}onOpenChanged(){var t,i,e;this.canvasOpenStatusChanged.emit(this.open);if(this.open){this.previouslyFocusedElement=document.activeElement;if(this.allFocusableElements.length>0){this.allFocusableElements[0].focus()}else{(t=this.canvasContent)===null||t===void 0?void 0:t.focus()}this.handlePageOverflow()}else{(i=this.previouslyFocusedElement)===null||i===void 0?void 0:i.focus();const t=()=>{this.handlePageOverflow();this.canvasContainer.removeEventListener("transitionend",t)};(e=this.canvasContainer)===null||e===void 0?void 0:e.addEventListener("transitionend",t)}}componentWillLoad(){if(this.open){this.skipAnimation=true}}componentDidLoad(){this.handlePageOverflow()}componentDidRender(){this.skipAnimation=false;this.allFocusableElements=this.getFocusableElements()}connectedCallback(){this.handlePageOverflow()}disconnectedCallback(){this.open=false}render(){return t(n,{key:"35307af5a5454ffd6269b5bc02226b72a483ca5c","skip-animation":this.skipAnimation,"aria-hidden":!this.open?"true":null},t("div",{key:"3acc8e3a21920bae59ed55682b7c53e030e79664",class:"canvas-container",role:"presentation",ref:t=>this.canvasContainer=t},t("div",{key:"2a9d364c65a16bec1e2b2a2fff4da8fdfea12dce",class:"canvas-content z-scrollbar",role:"presentation",ref:t=>this.canvasContent=t},t("slot",{key:"1e853eb4d5d79882ad71e045d29c1806b008fa50",name:"canvasContent"}))),(this.variant==o.OVERLAY||this.transitiondirection===c.UP)&&this.showBackdrop&&t("div",{key:"13c6552f10632ff199916b208a20a1dfb70a76bf",class:"backdrop",onClick:()=>this.open=false}))}static get watchers(){return{variant:["handlePageOverflow"],open:["onOpenChanged"]}}};ot.style=rt;const ct=':host{--z-searchbar-tag-text-color:var(--color-primary03);--z-searchbar-tag-bg:var(--color-hover-primary);--z-searchbar-item-height:44px;z-index:15;display:flex;column-gap:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,*{box-sizing:border-box}:host::part(list-item-container){display:block;min-height:unset;padding:0}.input-container{position:relative;display:flex;width:100%;flex-direction:column}.results-wrapper{position:absolute;top:calc(100% - 1px);left:0;width:100%;padding:calc(var(--space-unit) / 4);border:var(--border-size-small) solid var(--color-surface03);border-top:none;background:var(--color-surface01)}.results{overflow:auto;max-height:var(--z-searchbar-results-height, 540px);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 1.5)}.results::-webkit-scrollbar{width:6px;background:linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px)}.results::-webkit-scrollbar-thumb{background-color:var(--color-primary01)}.results::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}@supports not selector(.results::-webkit-scrollbar-track){.results{scrollbar-color:var(--color-primary01) transparent}}.results .category-heading{display:block;font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:var(--font-size-3)}.results .category-heading>*{display:block}.results .category-heading>.category{color:var(--color-text05);font-style:italic}.results .category-heading>.subcategory{margin-top:var(--space-unit);color:var(--color-default-text);text-transform:uppercase}.results z-list-element{position:relative;display:block}z-list-element>.item-search{padding:var(--space-unit) 0}z-list z-list-element::before{position:absolute;z-index:100;top:5px;left:-20px;width:8px;height:1em;border-bottom:1px solid var(--color-disabled01-icon);border-left:1px solid var(--color-disabled01-icon);content:"";cursor:pointer}z-list z-list-element::after{position:absolute;z-index:100;top:5px;left:-20px;width:8px;height:100%;border-left:1px solid var(--color-disabled01-icon);content:"";cursor:pointer}z-list z-list-element:last-child::after{display:none}z-list>z-list-element::before,z-list>z-list-element::after,z-list>z-list-group>z-list-element::before,z-list>z-list-group>z-list-element::after{display:none}z-list>div.children-node{padding-left:calc(var(--space-unit) * 3)}.results z-list-element>.list-element{display:flex;justify-content:space-between;padding:calc(var(--space-unit) * 1.25) 0;cursor:pointer}.results z-list-element>.list-element:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.results z-list-element>.list-element .item.ellipsis{overflow:hidden}.results z-list-element .list-element::after{position:absolute;top:0;right:0;display:block;width:100%;height:44px;content:"";transform:translateX(-100%)}.results z-list-element .list-element.focused.hovered::after{padding-left:6px}.results z-list-element>.list-element:hover,.results z-list-element>.list-element:hover::after{background-color:var(--color-background);cursor:pointer}.results z-list-element>.list-element>z-tag{border:1px solid var(--gray800);font-size:var(--font-size-1);font-weight:var(--font-sb);--z-tag-bg:var(--z-searchbar-tag-bg);--z-tag-text-color:var(--z-searchbar-tag-text-color)}.results .item{--z-icon-height:12px;--z-icon-width:12px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-start;color:var(--color-default-text);column-gap:calc(var(--space-unit) * 1.5);fill:var(--color-default-icon);font-size:var(--font-size-2);line-height:var(--font-size-6)}.results .item.ellipsis>.item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results .item>.item-label mark{background:var(--color-primary03)}.results .item.item-search{--z-icon-height:16px;--z-icon-width:16px}.results .item-show-all{text-align:center}.results .item-no-results{display:block;font-size:var(--font-size-2);font-style:italic;line-height:var(--font-size-5)}.results .item-no-results>ul{padding-left:calc(var(--space-unit) * 2);margin:var(--space-unit)}@media (min-width: 768px){.results .category-heading{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item{font-size:var(--font-size-3);line-height:var(--font-size-6)}.results .item.item-search{--z-icon-height:18px;--z-icon-width:18px}.results .item.ellipsis>.item-label{height:24px}.results z-list-element>.list-element>z-tag{min-width:max-content}}@media (min-width: 1152px){.results .item{cursor:pointer}.results .item-no-results{cursor:default;font-size:var(--font-size-3);line-height:var(--font-size-6)}}:host([size="small"]) .results :is(.item,.category-heading),:host([size="x-small"]) .results :is(.item,.category-heading){font-size:var(--font-size-2)}:host([size="small"]) .results .item:not(.has-category),:host([size="x-small"]) .results .item:not(.has-category){--z-icon-height:16px;--z-icon-width:16px}:host([size="small"]) z-list-element>.list-element,:host([size="small"]) z-list-element>.item-search{padding:calc(var(--space-unit) * 0.75) 0}:host([size="x-small"]) z-list-element>.list-element,:host([size="x-small"]) z-list-element>.item-search{padding:calc(var(--space-unit) / 2) 0}:host([size="small"]) z-list-element .list-element::after{height:36px}:host([size="x-small"]) z-list-element .list-element::after{height:32px}';const lt=ct;const ht=".z-label{display:block;padding-bottom:var(--space-unit);color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}";const dt=ht;const ut=class{constructor(t){e(this,t);this.searchSubmit=s(this,"searchSubmit",7);this.searchTyping=s(this,"searchTyping",7);this.searchItemClick=s(this,"searchItemClick",7);this.resultsItemsList=null;this.items=[];this.htmlid=`searchbar-${O()}`;this.preventSubmit=false;this.label=undefined;this.htmlAriaLabel=undefined;this.value=undefined;this.placeholder=undefined;this.autocomplete=false;this.autocompleteMinChars=3;this.resultsCount=undefined;this.searchHelperLabel="Cerca {searchString}";this.resultsItems=undefined;this.sortResultsItems=false;this.showSearchButton=false;this.searchButtonIconOnly=false;this.size=h.BIG;this.variant=l.PRIMARY;this.searchString=this.value;this.currResultsCount=0;this.showResults=false;this.isMobile=false;this.selectedItem=undefined}emitSearchSubmit(){this.searchSubmit.emit(this.inputRef.value)}emitSearchTyping(t){this.searchTyping.emit(t)}emitSearchItemClick(t){this.searchItemClick.emit(t);this.selectedItem=t;this.searchString=""}watchItems(){this.resultsItemsList=this.getResultsItemsList()}watchResultsCount(){this.currResultsCount=this.resultsCount}watchValue(){this.searchString=this.value}watchSearchString(){this.emitSearchTyping(this.searchString);this.items=[];if(!this.searchString){this.currResultsCount=this.resultsCount}}watchShowResults(){if(!this.showResults){this.items=[]}}disconnectedCallback(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()}componentDidLoad(){this.resizeObserver=new ResizeObserver((()=>{if(S()===y.MOBILE&&!this.isMobile){this.isMobile=true}if(S()!==y.MOBILE&&this.isMobile){this.isMobile=false}}));this.resizeObserver.observe(this.element)}componentWillLoad(){this.resultsItemsList=this.getResultsItemsList();this.currResultsCount=this.resultsCount}getResultsItemsList(){return typeof this.resultsItems==="string"?JSON.parse(this.resultsItems):this.resultsItems}getGroupedItems(t){const i={};t.forEach((t=>{var e;const s=`${t===null||t===void 0?void 0:t.category}${t===null||t===void 0?void 0:t.subcategory}`;i[s]=(e=i[s])!==null&&e!==void 0?e:{category:t===null||t===void 0?void 0:t.category,subcategory:t===null||t===void 0?void 0:t.subcategory,items:[]};i[s]["items"].push(t)}));if(this.sortResultsItems){return Object.keys(i).sort().reduce(((t,e)=>{t[e]=Object.assign(Object.assign({},i[e]),{items:i[e]["items"].sort(((t,i)=>{const e=t.label.toUpperCase();const s=i.label.toUpperCase();if(e<s){return-1}if(e>s){return 1}return 0}))});return t}),{})}return i}checkResultsCount(t){if(!this.currResultsCount||t<this.currResultsCount){return true}return false}handleStopTyping(t){t.stopPropagation();this.searchString=t.detail.value;if(this.selectedItem){this.selectedItem=undefined}}handleSubmit(){if(this.preventSubmit){return}this.emitSearchSubmit()}handleOutsideClick(t){const i=t.composedPath();const e=i.find((t=>t.nodeName==="Z-SEARCHBAR"));if(!e||e.htmlid!==this.htmlid){this.showResults=false;return}if(i.find((t=>{var i;return(t===null||t===void 0?void 0:t.nodeName)==="Z-INPUT"||((i=t===null||t===void 0?void 0:t.classList)===null||i===void 0?void 0:i.contains("results"))}))){this.showResults=true;return}this.showResults=false}renderInput(){var i;return t("z-input",{ref:t=>{this.inputRef=t},htmlid:`input-${this.htmlid}`,message:false,placeholder:this.placeholder,onStopTyping:t=>this.handleStopTyping(t),onKeyUp:t=>{I(t,(()=>this.handleSubmit()));this.handleArrowsNavigation(t)},value:this.searchString||((i=this.selectedItem)===null||i===void 0?void 0:i.label),size:this.size,label:this.label,"aria-label":this.htmlAriaLabel||this.placeholder})}renderButton(){if(!this.showSearchButton){return null}const i=this.searchButtonIconOnly?{icon:"search"}:null;const e=this.searchButtonIconOnly?"":"CERCA";const s=this.searchButtonIconOnly?{"aria-label":"CERCA"}:null;const n=Object.assign(Object.assign({disabled:this.preventSubmit,variant:this.variant,size:this.size,onClick:()=>this.handleSubmit()},i),s);return t("z-button",Object.assign({},n),e)}renderResults(){if(!this.showResults||!this.autocomplete||!this.searchString||this.searchString.length<this.autocompleteMinChars||!this.resultsItemsList){return null}return t("div",{class:"results-wrapper"},t("div",{class:"results"},this.renderResultsList()))}renderResultsList(){var i,e;if(this.preventSubmit&&!((i=this.resultsItemsList)===null||i===void 0?void 0:i.length)){return t("span",{class:"item item-no-results"},"Non abbiamo trovato risultati per ",t("b",null,this.searchString),t("br",null),t("br",null),"Cosa puoi fare?",t("ul",null,t("li",null,"Verificare di aver scritto bene"),t("li",null,"Provare a cercare un'altra parola"),t("li",null,"Provare a cercare qualcosa di più generico")))}return t("z-list",{role:"listbox",id:`list-${this.htmlid}`,"aria-label":this.htmlAriaLabel||this.label},this.renderSearchHelper(!!((e=this.resultsItemsList)===null||e===void 0?void 0:e.length)),this.renderItems(),this.renderShowAllResults())}renderItems(){var i;if(!((i=this.resultsItemsList)===null||i===void 0?void 0:i.length)){return[]}const e=this.getGroupedItems(this.resultsItemsList);const s=[];let n=0;Object.values(e).forEach(((i,e,a)=>{if(this.checkResultsCount(n)){const r=[];i.items.forEach(((t,i,s)=>{if(this.checkResultsCount(n)){const n=e===a.length-1&&i===s.length-1;r.push(this.renderItem(t,i,!n))}n++}));if(r.length){s.push(t("z-list-group",{"divider-type":x.ELEMENT},this.renderItemCategory(i),r))}}}));return s}handleArrowsNavigation(t){const i=t.target;const e=[r.ARROW_DOWN,r.ARROW_UP];if(!e.includes(t.key)){t.preventDefault();return}if(!this.items.length){const t=this.element.shadowRoot.querySelector("z-list");if(!t){return}this.items=Array.from(t.querySelectorAll(".list-element"))}this.items.forEach((t=>t.classList.contains("focused")&&t.classList.remove("focused")));const s=this.items.indexOf(i);if(t.key===r.ARROW_DOWN){t.preventDefault();const i=s+1;if(i<this.items.length){this.items[i].focus();this.items[i].classList.add("focused")}}if(t.key===r.ARROW_UP){t.preventDefault();const i=s-1;if(i<0){this.element.shadowRoot.querySelector("input").focus();this.element.shadowRoot.querySelector("input").setSelectionRange(this.inputRef.value.length,this.inputRef.value.length)}if(i>=0){this.items[i].focus();this.items[i].classList.add("focused")}}}renderItem(i,e,s){return t("z-list-element",{id:`list-item-${this.htmlid}-${e}`,tabIndex:0,role:"option",dividerType:s?x.ELEMENT:undefined,onKeyDown:t=>this.handleArrowsNavigation(t)},t("div",{class:"list-element",tabIndex:0,onClick:()=>this.emitSearchItemClick(i),onKeyDown:t=>I(t,(()=>this.emitSearchItemClick(i))),onMouseEnter:t=>{const i=t.target;i.classList.add("hovered")},onMouseLeave:t=>{const i=t.target;i.classList.contains("hovered")&&i.classList.remove("hovered")}},t("span",{class:"item ellipsis"},(i===null||i===void 0?void 0:i.icon)&&t("z-icon",{class:"item-icon",name:i.icon}),t("span",{class:"item-label",title:i.label,innerHTML:this.renderItemLabel(i.label)})),(i===null||i===void 0?void 0:i.tag)&&t("z-tag",{icon:i.tag.icon},!this.isMobile?i.tag.text:"")),i.children&&i.children.length>0?t("z-list",null,t("div",{class:"children-node"},i.children.map(((t,i)=>this.renderItem(t,i,false))))):null)}renderItemLabel(t){if(!this.searchString){return t}return t.replace(new RegExp(this.searchString.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gmi"),(t=>`<mark>${t}</mark>`))}renderItemCategory(i){if(!(i===null||i===void 0?void 0:i.category)){return null}return t("span",{class:"category-heading",slot:"header-title"},t("span",{class:"category"},i.category),(i===null||i===void 0?void 0:i.subcategory)&&t("span",{class:"subcategory"},i.subcategory))}renderSearchHelper(i=true){if(!this.autocomplete||this.preventSubmit||!this.searchString){return null}return t("z-list-element",{role:"option",dividerType:i?x.ELEMENT:undefined,id:`list-item-${this.htmlid}-search`,onKeyDown:t=>this.handleArrowsNavigation(t)},t("div",{tabindex:0,onClick:()=>this.emitSearchSubmit(),onKeyDown:t=>I(t,(()=>this.emitSearchSubmit())),class:"list-element"},t("span",{class:"item item-search"},t("z-icon",{class:"search-icon",name:"left-magnifying-glass"}),t("span",{class:"item-label",innerHTML:this.searchHelperLabel.replace("{searchString}",`<mark>${this.searchString}</mark>`)}))))}renderShowAllResults(){var i,e;if(!this.currResultsCount||!this.searchString||!((i=this.resultsItemsList)===null||i===void 0?void 0:i.length)||this.currResultsCount>=((e=this.resultsItemsList)===null||e===void 0?void 0:e.length)){return null}return t("z-list-element",{role:"option",tabindex:0,clickable:true,id:`list-item-${this.htmlid}-show-all`,onClickItem:()=>this.currResultsCount=0,color:"color-primary01"},t("div",{class:"item-show-all"},"Vedi tutti i risultati"))}render(){return t(n,{key:"80709d742a085bb3045a2a8795e5e77ce8aa9e3e",onFocus:()=>this.showResults=true,onClick:t=>this.handleOutsideClick(t),class:{"has-submit":this.showSearchButton,"has-results":this.autocomplete}},t("div",{key:"fb03a352402836b09da8b315e84a37c8bee98583",class:"input-container"},this.renderInput(),this.renderResults()),this.renderButton())}get element(){return a(this)}static get watchers(){return{resultsItems:["watchItems"],resultsCount:["watchResultsCount"],value:["watchValue"],searchString:["watchSearchString"],showResults:["watchShowResults"]}}};ut.style=lt+dt;const pt=".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;align-items:flex-start;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg, var(--color-hover-primary));border-radius:var(--border-radius);color:var(--z-tag-text-color, var(--color-text-inverse));fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:14px;text-transform:uppercase}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.has-text.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag{margin-right:var(--space-unit)}.has-text.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>div.sc-z-tag{overflow:hidden;max-width:0;max-height:0}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";const ft=pt;const vt=class{constructor(t){e(this,t);this.icon=undefined;this.expandable=undefined}render(){var i;const e=((i=this.host.textContent)===null||i===void 0?void 0:i.trim().length)>0;return t(n,{key:"ed05949bf1f4fb03fdbecfaa7acb43bfbb6f8841",class:{expandable:this.expandable&&!!this.icon,"has-text":e}},this.icon&&t("z-icon",{key:"72ebeed5930725102f4131acedeabc536d887a44",name:this.icon}),t("div",{key:"7528424efc94fad4b910f54365a20dd644962936"},t("slot",{key:"951b325ae2b157d343fd6fbed8bc8d40fcdd9e37"})))}get host(){return a(this)}};vt.style=ft;export{H as z_app_header,D as z_button,B as z_divider,P as z_icon,W as z_input,q as z_input_message,J as z_list,it as z_list_element,nt as z_list_group,ot as z_offcanvas,ut as z_searchbar,vt as z_tag};
2
- //# sourceMappingURL=p-a5146ef3.entry.js.map