@zanichelli/albe-web-components 19.1.4-RC1 → 19.3.0-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 (877) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/cjs/iconset-5d47610c.js +1016 -0
  3. package/dist/cjs/iconset-5d47610c.js.map +1 -0
  4. package/dist/cjs/{index-f011b2e3.js → index-1ee051ca.js} +2 -2
  5. package/dist/cjs/{index-f011b2e3.js.map → index-1ee051ca.js.map} +1 -1
  6. package/dist/cjs/{index-09238e31.js → index-43dfc8b2.js} +3 -3
  7. package/dist/cjs/{index-09238e31.js.map → index-43dfc8b2.js.map} +1 -1
  8. package/dist/cjs/{index-805390c8.js → index-44e3cf31.js} +5 -5
  9. package/dist/cjs/{index-805390c8.js.map → index-44e3cf31.js.map} +1 -1
  10. package/dist/cjs/{index-1c7cd5df.js → index-5eb95b44.js} +2 -2
  11. package/dist/cjs/{index-1c7cd5df.js.map → index-5eb95b44.js.map} +1 -1
  12. package/dist/cjs/{index-62712250.js → index-8770e71a.js} +2 -2
  13. package/dist/cjs/{index-62712250.js.map → index-8770e71a.js.map} +1 -1
  14. package/dist/cjs/index-96af6326.js +8 -4
  15. package/dist/cjs/{index-66928615.js → index-d214a119.js} +3 -3
  16. package/dist/cjs/{index-66928615.js.map → index-d214a119.js.map} +1 -1
  17. package/dist/cjs/{index-97a4c18d.js → index-e30d0503.js} +51 -1
  18. package/dist/cjs/index-e30d0503.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +5 -2
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/cjs/{utils-7f9d5a78.js → utils-4f7b4830.js} +2 -2
  23. package/dist/cjs/{utils-7f9d5a78.js.map → utils-4f7b4830.js.map} +1 -1
  24. package/dist/cjs/{utils-5148245a.js → utils-b1859d65.js} +41 -6
  25. package/dist/cjs/utils-b1859d65.js.map +1 -0
  26. package/dist/cjs/web-components-library.cjs.js +1 -1
  27. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  28. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  31. package/dist/cjs/z-app-header_12.cjs.entry.js +114 -1029
  32. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  33. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  34. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  35. package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
  36. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
  37. package/dist/cjs/z-book-card.cjs.entry.js +2 -2
  38. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  39. package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
  40. package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
  41. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  42. package/dist/cjs/z-card.cjs.entry.js +1 -1
  43. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  44. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  45. package/dist/cjs/z-color-picker.cjs.entry.js +212 -0
  46. package/dist/cjs/z-color-picker.cjs.entry.js.map +1 -0
  47. package/dist/cjs/z-combobox.cjs.entry.js +127 -96
  48. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  49. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  50. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  51. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
  52. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  53. package/dist/cjs/z-file.cjs.entry.js +2 -2
  54. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  55. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  56. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  57. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  58. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  59. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  60. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  61. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  62. package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
  63. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  64. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  65. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  66. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  67. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  68. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  69. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  70. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  71. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  72. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  73. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
  74. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  75. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  76. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  77. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  78. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  79. package/dist/cjs/z-popover.cjs.entry.js +20 -16
  80. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  81. package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
  82. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  83. package/dist/cjs/z-select.cjs.entry.js +99 -134
  84. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  85. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  86. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  87. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  88. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  89. package/dist/cjs/z-table.cjs.entry.js +9 -9
  90. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  91. package/dist/cjs/z-td.cjs.entry.js +2 -2
  92. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  93. package/dist/cjs/z-th.cjs.entry.js +2 -2
  94. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  95. package/dist/cjs/z-toast-notification-list.cjs.entry.js +3 -2
  96. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -1
  97. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  98. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  99. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  100. package/dist/cjs/z-tool.cjs.entry.js +147 -42
  101. package/dist/cjs/z-tool.cjs.entry.js.map +1 -1
  102. package/dist/cjs/z-toolbar.cjs.entry.js +64 -66
  103. package/dist/cjs/z-toolbar.cjs.entry.js.map +1 -1
  104. package/dist/cjs/z-tooltip.cjs.entry.js +3 -2
  105. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
  106. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  107. package/dist/cjs/z-tree-list.cjs.entry.js +2 -2
  108. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  109. package/dist/collection/beans/index.js +48 -0
  110. package/dist/collection/beans/index.js.map +1 -1
  111. package/dist/collection/collection-manifest.json +1 -0
  112. package/dist/collection/components/book-card/z-book-card/styles.css +2 -1
  113. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  114. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  115. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  116. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  117. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
  118. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  119. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  120. package/dist/collection/components/deprecated/z-section-title/index.js +1 -1
  121. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  122. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  123. package/dist/collection/components/list/z-list/index.js +1 -1
  124. package/dist/collection/components/list/z-list-element/index.js +1 -1
  125. package/dist/collection/components/list/z-list-group/index.js +39 -2
  126. package/dist/collection/components/list/z-list-group/index.js.map +1 -1
  127. package/dist/collection/components/list/z-tree-list/index.js +1 -1
  128. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  129. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  130. package/dist/collection/components/table/z-table/index.js +1 -1
  131. package/dist/collection/components/table/z-tbody/index.js +1 -1
  132. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  133. package/dist/collection/components/table/z-thead/index.js +1 -1
  134. package/dist/collection/components/table/z-tr/index.js +1 -1
  135. package/dist/collection/components/z-accordion/index.js +1 -1
  136. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  137. package/dist/collection/components/z-app-header/index.js +1 -1
  138. package/dist/collection/components/z-app-header/index.js.map +1 -1
  139. package/dist/collection/components/z-app-header/index.stories.js +42 -0
  140. package/dist/collection/components/z-app-header/index.stories.js.map +1 -1
  141. package/dist/collection/components/z-app-header/styles.css +8 -0
  142. package/dist/collection/components/z-aria-alert/index.js +1 -1
  143. package/dist/collection/components/z-avatar/index.js +2 -2
  144. package/dist/collection/components/z-book-cover/index.js +1 -1
  145. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  146. package/dist/collection/components/z-button-sort/index.js +1 -1
  147. package/dist/collection/components/z-chip/index.js +2 -2
  148. package/dist/collection/components/z-color-picker/index.js +367 -0
  149. package/dist/collection/components/z-color-picker/index.js.map +1 -0
  150. package/dist/collection/components/z-color-picker/index.stories.js +34 -0
  151. package/dist/collection/components/z-color-picker/index.stories.js.map +1 -0
  152. package/dist/collection/components/z-color-picker/styles.css +74 -0
  153. package/dist/collection/components/z-combobox/index.js +142 -97
  154. package/dist/collection/components/z-combobox/index.js.map +1 -1
  155. package/dist/collection/components/z-combobox/styles.css +41 -0
  156. package/dist/collection/components/z-cover-hero/index.js +2 -2
  157. package/dist/collection/components/z-divider/index.js +1 -1
  158. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  159. package/dist/collection/components/z-icon/index.js +40 -9
  160. package/dist/collection/components/z-icon/index.js.map +1 -1
  161. package/dist/collection/components/z-icon/index.stories.js +34 -18
  162. package/dist/collection/components/z-icon/index.stories.js.map +1 -1
  163. package/dist/collection/components/z-icon/styles.css +15 -2
  164. package/dist/collection/components/z-info-box/index.js +1 -1
  165. package/dist/collection/components/z-info-reveal/index.js +1 -1
  166. package/dist/collection/components/z-input/index.js +1 -1
  167. package/dist/collection/components/z-input-message/index.js +1 -1
  168. package/dist/collection/components/z-logo/index.js +1 -1
  169. package/dist/collection/components/z-menu/index.js +1 -1
  170. package/dist/collection/components/z-menu/index.js.map +1 -1
  171. package/dist/collection/components/z-menu-section/index.js +1 -1
  172. package/dist/collection/components/z-modal/index.js +4 -4
  173. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  174. package/dist/collection/components/z-notification/index.js +1 -1
  175. package/dist/collection/components/z-notification/styles.css +2 -2
  176. package/dist/collection/components/z-offcanvas/index.js +89 -10
  177. package/dist/collection/components/z-offcanvas/index.js.map +1 -1
  178. package/dist/collection/components/z-panel-elem/index.js +2 -2
  179. package/dist/collection/components/z-popover/index.js +31 -21
  180. package/dist/collection/components/z-popover/index.js.map +1 -1
  181. package/dist/collection/components/z-popover/styles.css +18 -3
  182. package/dist/collection/components/z-searchbar/index.js +1 -1
  183. package/dist/collection/components/z-searchbar/styles.css +1 -1
  184. package/dist/collection/components/z-select/index.js +97 -141
  185. package/dist/collection/components/z-select/index.js.map +1 -1
  186. package/dist/collection/components/z-select/styles.css +9 -2
  187. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  188. package/dist/collection/components/z-stepper/index.js +1 -1
  189. package/dist/collection/components/z-stepper-item/index.js +1 -1
  190. package/dist/collection/components/z-tag/index.js +2 -2
  191. package/dist/collection/components/z-toast-notification/index.js +1 -1
  192. package/dist/collection/components/z-toast-notification-list/index.js +2 -1
  193. package/dist/collection/components/z-toast-notification-list/index.js.map +1 -1
  194. package/dist/collection/components/z-toggle-button/index.js +2 -2
  195. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  196. package/dist/collection/components/z-tool/index.js +281 -48
  197. package/dist/collection/components/z-tool/index.js.map +1 -1
  198. package/dist/collection/components/z-tool/index.stories.js +89 -12
  199. package/dist/collection/components/z-tool/index.stories.js.map +1 -1
  200. package/dist/collection/components/z-tool/styles.css +30 -31
  201. package/dist/collection/components/z-toolbar/index.js +72 -91
  202. package/dist/collection/components/z-toolbar/index.js.map +1 -1
  203. package/dist/collection/components/z-toolbar/index.stories.js +190 -309
  204. package/dist/collection/components/z-toolbar/index.stories.js.map +1 -1
  205. package/dist/collection/components/z-toolbar/styles.css +10 -19
  206. package/dist/collection/components/z-tooltip/index.js +19 -1
  207. package/dist/collection/components/z-tooltip/index.js.map +1 -1
  208. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  209. package/dist/collection/constants/iconset.js +152 -142
  210. package/dist/collection/constants/iconset.js.map +1 -1
  211. package/dist/collection/index.js +1 -0
  212. package/dist/collection/index.js.map +1 -1
  213. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  214. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  215. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  216. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  217. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  218. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  219. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  220. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  221. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  222. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  223. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  224. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  225. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  226. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  227. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  228. package/dist/collection/utils/utils.js +38 -4
  229. package/dist/collection/utils/utils.js.map +1 -1
  230. package/dist/components/iconset.js +152 -143
  231. package/dist/components/iconset.js.map +1 -1
  232. package/dist/components/index.d.ts +2 -0
  233. package/dist/components/index.js +3 -1
  234. package/dist/components/index.js.map +1 -1
  235. package/dist/components/index10.js +17 -6
  236. package/dist/components/index10.js.map +1 -1
  237. package/dist/components/index11.js +1 -1
  238. package/dist/components/index12.js +2 -2
  239. package/dist/components/index13.js +1 -1
  240. package/dist/components/index14.js +1 -1
  241. package/dist/components/index15.js +1 -1
  242. package/dist/components/index16.js +7 -3
  243. package/dist/components/index16.js.map +1 -1
  244. package/dist/components/index17.js +4 -4
  245. package/dist/components/index18.js +1 -1
  246. package/dist/components/index19.js +1 -1
  247. package/dist/components/index2.js +49 -1
  248. package/dist/components/index2.js.map +1 -1
  249. package/dist/components/index20.js +1 -1
  250. package/dist/components/index21.js +1 -1
  251. package/dist/components/index22.js +1 -1
  252. package/dist/components/index23.js +84 -11
  253. package/dist/components/index23.js.map +1 -1
  254. package/dist/components/index24.js +20 -16
  255. package/dist/components/index24.js.map +1 -1
  256. package/dist/components/index25.js +3 -3
  257. package/dist/components/index25.js.map +1 -1
  258. package/dist/components/index26.js +2 -2
  259. package/dist/components/index27.js +55 -0
  260. package/dist/components/index27.js.map +1 -0
  261. package/dist/components/index3.js +1 -1
  262. package/dist/components/index4.js +1 -1
  263. package/dist/components/index6.js +2 -2
  264. package/dist/components/index7.js +1 -1
  265. package/dist/components/index8.js +2 -2
  266. package/dist/components/index9.js +1 -1
  267. package/dist/components/utils.js +39 -5
  268. package/dist/components/utils.js.map +1 -1
  269. package/dist/components/z-accordion.js +1 -1
  270. package/dist/components/z-anchor-navigation.js +1 -1
  271. package/dist/components/z-app-header-deprecated.js +1 -1
  272. package/dist/components/z-app-header.js +2 -2
  273. package/dist/components/z-app-header.js.map +1 -1
  274. package/dist/components/z-aria-alert.js +1 -1
  275. package/dist/components/z-avatar.js +2 -2
  276. package/dist/components/z-book-card-app.js +1 -1
  277. package/dist/components/z-book-card-deprecated.js +1 -1
  278. package/dist/components/z-book-card.js +1 -1
  279. package/dist/components/z-book-card.js.map +1 -1
  280. package/dist/components/z-breadcrumb.js +2 -2
  281. package/dist/components/z-button-sort.js +1 -1
  282. package/dist/components/z-color-picker.d.ts +11 -0
  283. package/dist/components/z-color-picker.js +234 -0
  284. package/dist/components/z-color-picker.js.map +1 -0
  285. package/dist/components/z-combobox.js +129 -99
  286. package/dist/components/z-combobox.js.map +1 -1
  287. package/dist/components/z-cover-hero.js +2 -2
  288. package/dist/components/z-date-picker.js +1 -1
  289. package/dist/components/z-file.js +1 -1
  290. package/dist/components/z-info-box.js +1 -1
  291. package/dist/components/z-logo.js +1 -1
  292. package/dist/components/z-menu-deprecated.js +1 -1
  293. package/dist/components/z-menu-section-deprecated.js +1 -1
  294. package/dist/components/z-menu-section.js +1 -1
  295. package/dist/components/z-menu.js +1 -1
  296. package/dist/components/z-menu.js.map +1 -1
  297. package/dist/components/z-myz-card-alert.js +1 -1
  298. package/dist/components/z-myz-card-dictionary.js +1 -1
  299. package/dist/components/z-myz-card-footer-sections.js +1 -1
  300. package/dist/components/z-myz-card-footer.js +1 -1
  301. package/dist/components/z-myz-card-icon.js +1 -1
  302. package/dist/components/z-myz-card-info.js +1 -1
  303. package/dist/components/z-myz-card-list.js +1 -1
  304. package/dist/components/z-myz-list.js +1 -1
  305. package/dist/components/z-navigation-tabs.js +2 -2
  306. package/dist/components/z-notification.js +2 -2
  307. package/dist/components/z-notification.js.map +1 -1
  308. package/dist/components/z-otp.js +2 -2
  309. package/dist/components/z-panel-elem.js +2 -2
  310. package/dist/components/z-range-picker.js +3 -3
  311. package/dist/components/z-section-title.js +1 -1
  312. package/dist/components/z-select.js +99 -134
  313. package/dist/components/z-select.js.map +1 -1
  314. package/dist/components/z-skip-to-content.js +2 -2
  315. package/dist/components/z-slideshow.js +1 -1
  316. package/dist/components/z-stepper-item.js +1 -1
  317. package/dist/components/z-stepper.js +1 -1
  318. package/dist/components/z-table.js +1 -1
  319. package/dist/components/z-tbody.js +1 -1
  320. package/dist/components/z-td.js +1 -1
  321. package/dist/components/z-tfoot.js +1 -1
  322. package/dist/components/z-th.js +1 -1
  323. package/dist/components/z-thead.js +1 -1
  324. package/dist/components/z-toast-notification-list.js +2 -1
  325. package/dist/components/z-toast-notification-list.js.map +1 -1
  326. package/dist/components/z-toast-notification.js +1 -1
  327. package/dist/components/z-toggle-button.js +2 -2
  328. package/dist/components/z-toggle-switch.js +3 -3
  329. package/dist/components/z-tool.js +165 -49
  330. package/dist/components/z-tool.js.map +1 -1
  331. package/dist/components/z-toolbar.js +65 -68
  332. package/dist/components/z-toolbar.js.map +1 -1
  333. package/dist/components/z-tooltip.js +1 -50
  334. package/dist/components/z-tooltip.js.map +1 -1
  335. package/dist/components/z-tr.js +1 -1
  336. package/dist/components/z-tree-list.js +1 -1
  337. package/dist/components/z-visually-hidden.js +1 -1
  338. package/dist/esm/iconset-d7823b13.js +1013 -0
  339. package/dist/esm/iconset-d7823b13.js.map +1 -0
  340. package/dist/esm/{index-2a6324f8.js → index-106473a8.js} +50 -2
  341. package/dist/esm/index-106473a8.js.map +1 -0
  342. package/dist/esm/{index-8a9f6d27.js → index-167f46ad.js} +5 -5
  343. package/dist/esm/{index-8a9f6d27.js.map → index-167f46ad.js.map} +1 -1
  344. package/dist/esm/{index-0bcacbd3.js → index-21176e80.js} +2 -2
  345. package/dist/esm/{index-0bcacbd3.js.map → index-21176e80.js.map} +1 -1
  346. package/dist/esm/{index-b64ced16.js → index-39a920c4.js} +3 -3
  347. package/dist/esm/{index-b64ced16.js.map → index-39a920c4.js.map} +1 -1
  348. package/dist/esm/{index-36122d8f.js → index-41934729.js} +2 -2
  349. package/dist/esm/{index-36122d8f.js.map → index-41934729.js.map} +1 -1
  350. package/dist/esm/{index-f20179ad.js → index-4845b32f.js} +3 -3
  351. package/dist/esm/{index-f20179ad.js.map → index-4845b32f.js.map} +1 -1
  352. package/dist/esm/{index-0ea3c7c8.js → index-599cd05a.js} +2 -2
  353. package/dist/esm/{index-0ea3c7c8.js.map → index-599cd05a.js.map} +1 -1
  354. package/dist/esm/index-c8ceadeb.js +8 -4
  355. package/dist/esm/index.js +3 -2
  356. package/dist/esm/index.js.map +1 -1
  357. package/dist/esm/loader.js +1 -1
  358. package/dist/esm/{utils-e66d94c3.js → utils-8d6ca808.js} +41 -7
  359. package/dist/esm/utils-8d6ca808.js.map +1 -0
  360. package/dist/esm/{utils-227ef1c0.js → utils-93ac0e6c.js} +2 -2
  361. package/dist/esm/{utils-227ef1c0.js.map → utils-93ac0e6c.js.map} +1 -1
  362. package/dist/esm/web-components-library.js +1 -1
  363. package/dist/esm/z-accordion.entry.js +2 -2
  364. package/dist/esm/z-alert.entry.js +1 -1
  365. package/dist/esm/z-anchor-navigation.entry.js +2 -2
  366. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  367. package/dist/esm/z-app-header_12.entry.js +114 -1029
  368. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  369. package/dist/esm/z-aria-alert.entry.js +2 -2
  370. package/dist/esm/z-avatar.entry.js +3 -3
  371. package/dist/esm/z-book-card-app.entry.js +2 -2
  372. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  373. package/dist/esm/z-book-card.entry.js +2 -2
  374. package/dist/esm/z-book-card.entry.js.map +1 -1
  375. package/dist/esm/z-book-cover.entry.js +1 -1
  376. package/dist/esm/z-breadcrumb.entry.js +4 -4
  377. package/dist/esm/z-button-sort.entry.js +1 -1
  378. package/dist/esm/z-card.entry.js +1 -1
  379. package/dist/esm/z-carousel.entry.js +1 -1
  380. package/dist/esm/z-chip.entry.js +3 -3
  381. package/dist/esm/z-color-picker.entry.js +208 -0
  382. package/dist/esm/z-color-picker.entry.js.map +1 -0
  383. package/dist/esm/z-combobox.entry.js +127 -96
  384. package/dist/esm/z-combobox.entry.js.map +1 -1
  385. package/dist/esm/z-cover-hero.entry.js +3 -3
  386. package/dist/esm/z-date-picker.entry.js +3 -3
  387. package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
  388. package/dist/esm/z-file-upload.entry.js +1 -1
  389. package/dist/esm/z-file.entry.js +2 -2
  390. package/dist/esm/z-ghost-loading.entry.js +1 -1
  391. package/dist/esm/z-info-box.entry.js +1 -1
  392. package/dist/esm/z-info-reveal.entry.js +2 -2
  393. package/dist/esm/z-logo.entry.js +1 -1
  394. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  395. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  396. package/dist/esm/z-menu-section.entry.js +2 -2
  397. package/dist/esm/z-menu.entry.js +2 -2
  398. package/dist/esm/z-menu.entry.js.map +1 -1
  399. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  400. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  401. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  402. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  403. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  404. package/dist/esm/z-myz-card-info.entry.js +3 -3
  405. package/dist/esm/z-myz-card-list.entry.js +1 -1
  406. package/dist/esm/z-myz-card_4.entry.js +5 -5
  407. package/dist/esm/z-myz-list-item.entry.js +3 -3
  408. package/dist/esm/z-myz-list.entry.js +1 -1
  409. package/dist/esm/z-navigation-tabs.entry.js +3 -3
  410. package/dist/esm/z-notification.entry.js +2 -2
  411. package/dist/esm/z-notification.entry.js.map +1 -1
  412. package/dist/esm/z-otp.entry.js +3 -3
  413. package/dist/esm/z-pagination.entry.js +1 -1
  414. package/dist/esm/z-panel-elem.entry.js +2 -2
  415. package/dist/esm/z-popover.entry.js +20 -16
  416. package/dist/esm/z-popover.entry.js.map +1 -1
  417. package/dist/esm/z-range-picker.entry.js +5 -5
  418. package/dist/esm/z-section-title.entry.js +2 -2
  419. package/dist/esm/z-select.entry.js +99 -134
  420. package/dist/esm/z-select.entry.js.map +1 -1
  421. package/dist/esm/z-skip-to-content.entry.js +3 -3
  422. package/dist/esm/z-slideshow.entry.js +2 -2
  423. package/dist/esm/z-stepper-item.entry.js +1 -1
  424. package/dist/esm/z-stepper.entry.js +1 -1
  425. package/dist/esm/z-table.entry.js +9 -9
  426. package/dist/esm/z-tbody.entry.js +1 -1
  427. package/dist/esm/z-td.entry.js +2 -2
  428. package/dist/esm/z-tfoot.entry.js +1 -1
  429. package/dist/esm/z-th.entry.js +2 -2
  430. package/dist/esm/z-thead.entry.js +1 -1
  431. package/dist/esm/z-toast-notification-list.entry.js +3 -2
  432. package/dist/esm/z-toast-notification-list.entry.js.map +1 -1
  433. package/dist/esm/z-toast-notification.entry.js +2 -2
  434. package/dist/esm/z-toggle-button.entry.js +2 -2
  435. package/dist/esm/z-toggle-switch.entry.js +5 -5
  436. package/dist/esm/z-tool.entry.js +147 -42
  437. package/dist/esm/z-tool.entry.js.map +1 -1
  438. package/dist/esm/z-toolbar.entry.js +64 -66
  439. package/dist/esm/z-toolbar.entry.js.map +1 -1
  440. package/dist/esm/z-tooltip.entry.js +4 -3
  441. package/dist/esm/z-tooltip.entry.js.map +1 -1
  442. package/dist/esm/z-tr.entry.js +5 -5
  443. package/dist/esm/z-tree-list.entry.js +2 -2
  444. package/dist/esm/z-visually-hidden.entry.js +1 -1
  445. package/dist/types/beans/index.d.ts +184 -0
  446. package/dist/types/components/list/z-list-group/index.d.ts +8 -0
  447. package/dist/types/components/z-app-header/index.stories.d.ts +16 -0
  448. package/dist/types/components/z-color-picker/index.d.ts +64 -0
  449. package/dist/types/components/z-color-picker/index.stories.d.ts +33 -0
  450. package/dist/types/components/z-combobox/index.d.ts +10 -11
  451. package/dist/types/components/z-icon/index.d.ts +19 -5
  452. package/dist/types/components/z-icon/index.stories.d.ts +23 -10
  453. package/dist/types/components/z-offcanvas/index.d.ts +24 -0
  454. package/dist/types/components/z-popover/index.d.ts +9 -4
  455. package/dist/types/components/z-select/index.d.ts +5 -7
  456. package/dist/types/components/z-tool/index.d.ts +73 -9
  457. package/dist/types/components/z-tool/index.stories.d.ts +38 -12
  458. package/dist/types/components/z-toolbar/index.d.ts +23 -6
  459. package/dist/types/components/z-toolbar/index.stories.d.ts +23 -20
  460. package/dist/types/components/z-tooltip/index.d.ts +8 -0
  461. package/dist/types/components.d.ts +213 -35
  462. package/dist/types/constants/iconset.d.ts +281 -141
  463. package/dist/types/index.d.ts +1 -0
  464. package/dist/types/utils/utils.d.ts +5 -2
  465. package/dist/web-components-library/index.esm.js +1 -1
  466. package/dist/web-components-library/index.esm.js.map +1 -1
  467. package/{www/build/p-5a24e268.entry.js → dist/web-components-library/p-03a558ef.entry.js} +2 -2
  468. package/dist/web-components-library/p-061e28d6.js +2 -0
  469. package/dist/web-components-library/p-061e28d6.js.map +1 -0
  470. package/dist/web-components-library/p-0989655c.entry.js +2 -0
  471. package/dist/web-components-library/p-0989655c.entry.js.map +1 -0
  472. package/dist/web-components-library/p-102f6e37.entry.js +2 -0
  473. package/dist/web-components-library/p-102f6e37.entry.js.map +1 -0
  474. package/dist/web-components-library/{p-d9c9de15.entry.js → p-15951fc6.entry.js} +2 -2
  475. package/dist/web-components-library/p-17e2fed2.entry.js +2 -0
  476. package/dist/web-components-library/{p-b7ec2cc4.entry.js → p-19172b2c.entry.js} +2 -2
  477. package/{www/build/p-94916bdf.entry.js → dist/web-components-library/p-1939116a.entry.js} +2 -2
  478. package/dist/web-components-library/{p-b71a3f69.entry.js → p-1e0d85d5.entry.js} +2 -2
  479. package/dist/web-components-library/{p-bdbcf353.entry.js → p-215b1fa5.entry.js} +2 -2
  480. package/dist/web-components-library/p-22b683a3.entry.js +2 -0
  481. package/dist/web-components-library/p-22b683a3.entry.js.map +1 -0
  482. package/dist/web-components-library/p-2a04c00e.entry.js +2 -0
  483. package/dist/web-components-library/{p-816fd6dc.entry.js.map → p-2a04c00e.entry.js.map} +1 -1
  484. package/{www/build/p-1fd1cf02.entry.js → dist/web-components-library/p-2bba665d.entry.js} +2 -2
  485. package/dist/web-components-library/{p-5a1f98a2.entry.js → p-2f45f1ff.entry.js} +2 -2
  486. package/dist/web-components-library/{p-86160fe3.entry.js → p-332e0361.entry.js} +2 -2
  487. package/{www/build/p-4cec3345.entry.js → dist/web-components-library/p-3d02ad75.entry.js} +2 -2
  488. package/dist/web-components-library/{p-240de9aa.entry.js → p-3f66654f.entry.js} +2 -2
  489. package/{www/build/p-8c164e0d.entry.js → dist/web-components-library/p-41891d34.entry.js} +2 -2
  490. package/{www/build/p-19f5b6a9.entry.js → dist/web-components-library/p-47b7bc63.entry.js} +2 -2
  491. package/dist/web-components-library/{p-ceeb3e2a.entry.js → p-4df66afe.entry.js} +2 -2
  492. package/{www/build/p-748fa3ae.js → dist/web-components-library/p-54cd104c.js} +2 -2
  493. package/dist/web-components-library/p-577c224d.entry.js +2 -0
  494. package/dist/web-components-library/p-577c224d.entry.js.map +1 -0
  495. package/dist/web-components-library/{p-01f941c2.entry.js → p-57dcff49.entry.js} +2 -2
  496. package/{www/build/p-2aeffcf9.entry.js → dist/web-components-library/p-5838b77c.entry.js} +2 -2
  497. package/dist/web-components-library/{p-4551b0df.entry.js → p-5cdd431e.entry.js} +2 -2
  498. package/dist/web-components-library/{p-f19f12b1.js → p-5f1e17cb.js} +2 -2
  499. package/{www/build/p-c778bf87.entry.js → dist/web-components-library/p-5fda8769.entry.js} +3 -3
  500. package/dist/web-components-library/{p-4affbb99.entry.js → p-661bce1c.entry.js} +2 -2
  501. package/dist/web-components-library/{p-ee695830.entry.js → p-66c0f993.entry.js} +2 -2
  502. package/dist/web-components-library/p-6c3d141b.entry.js +2 -0
  503. package/{www/build/p-b7b972c0.entry.js → dist/web-components-library/p-6d61933f.entry.js} +2 -2
  504. package/dist/web-components-library/{p-44459393.entry.js → p-6ef58a14.entry.js} +2 -2
  505. package/dist/web-components-library/{p-a905df88.entry.js → p-71f62226.entry.js} +2 -2
  506. package/dist/web-components-library/p-76003048.entry.js +2 -0
  507. package/dist/web-components-library/p-76003048.entry.js.map +1 -0
  508. package/dist/web-components-library/{p-d7f12672.js → p-80285500.js} +2 -2
  509. package/dist/web-components-library/p-80ddecaf.entry.js +2 -0
  510. package/dist/web-components-library/p-83a26e88.entry.js +2 -0
  511. package/{www/build/p-99210133.entry.js.map → dist/web-components-library/p-83a26e88.entry.js.map} +1 -1
  512. package/dist/web-components-library/p-8503c87a.entry.js +2 -0
  513. package/dist/web-components-library/p-8503c87a.entry.js.map +1 -0
  514. package/dist/web-components-library/p-86618221.js +2 -0
  515. package/dist/web-components-library/p-86618221.js.map +1 -0
  516. package/{www/build/p-b96900bb.entry.js → dist/web-components-library/p-87edcc75.entry.js} +2 -2
  517. package/dist/web-components-library/{p-757415e9.entry.js → p-88a9865c.entry.js} +2 -2
  518. package/dist/web-components-library/p-8aaceeed.entry.js +2 -0
  519. package/dist/web-components-library/p-8aaceeed.entry.js.map +1 -0
  520. package/dist/web-components-library/{p-d6a7b7f3.entry.js → p-8b562dca.entry.js} +2 -2
  521. package/dist/web-components-library/p-901518b8.entry.js +2 -0
  522. package/dist/web-components-library/{p-2f948bac.entry.js → p-90690d4d.entry.js} +2 -2
  523. package/dist/web-components-library/{p-0a49dd1c.entry.js → p-90babaaa.entry.js} +2 -2
  524. package/{www/build/p-0a49dd1c.entry.js.map → dist/web-components-library/p-90babaaa.entry.js.map} +1 -1
  525. package/dist/web-components-library/p-9af837bb.entry.js +2 -0
  526. package/dist/web-components-library/{p-04f80811.entry.js → p-9eba4a37.entry.js} +2 -2
  527. package/dist/web-components-library/p-a32ebcc3.entry.js +2 -0
  528. package/dist/web-components-library/{p-3f5aa623.entry.js → p-a3f9a5da.entry.js} +2 -2
  529. package/dist/web-components-library/p-a3f9a5da.entry.js.map +1 -0
  530. package/{www/build/p-1844a4f4.entry.js → dist/web-components-library/p-b0324c7d.entry.js} +2 -2
  531. package/dist/web-components-library/p-b06af2fc.js +2 -0
  532. package/{www/build/p-817689d5.entry.js → dist/web-components-library/p-b1f2388a.entry.js} +3 -3
  533. package/dist/web-components-library/{p-342b0eb0.entry.js → p-b421424f.entry.js} +2 -2
  534. package/dist/web-components-library/{p-fb232d07.entry.js → p-b4b264b1.entry.js} +2 -2
  535. package/dist/web-components-library/{p-1c7550f9.entry.js → p-b70ff542.entry.js} +2 -2
  536. package/{www/build/p-b63c8e8b.entry.js → dist/web-components-library/p-b854cc3d.entry.js} +2 -2
  537. package/dist/web-components-library/{p-e9e2ceb4.entry.js → p-bc15e1dc.entry.js} +2 -2
  538. package/dist/web-components-library/{p-4a257653.entry.js → p-c03767a4.entry.js} +2 -2
  539. package/dist/web-components-library/{p-2bdac94e.entry.js → p-c0b4f29d.entry.js} +2 -2
  540. package/dist/web-components-library/{p-7a4f6a5b.entry.js → p-c57bb632.entry.js} +2 -2
  541. package/dist/web-components-library/p-c5e032de.entry.js +2 -0
  542. package/dist/web-components-library/p-c5e032de.entry.js.map +1 -0
  543. package/{www/build/p-34975328.entry.js → dist/web-components-library/p-c645dc11.entry.js} +2 -2
  544. package/dist/web-components-library/p-c93c6135.entry.js +2 -0
  545. package/dist/web-components-library/{p-deb7f8d7.entry.js.map → p-c93c6135.entry.js.map} +1 -1
  546. package/dist/web-components-library/{p-30e42fb1.js → p-cb395500.js} +2 -2
  547. package/dist/web-components-library/{p-5989465b.entry.js → p-cc87d814.entry.js} +2 -2
  548. package/{www/build/p-e3b82454.entry.js → dist/web-components-library/p-d1fe7960.entry.js} +2 -2
  549. package/dist/web-components-library/{p-5159edb1.entry.js → p-d5ebbfdf.entry.js} +2 -2
  550. package/dist/web-components-library/p-d65aeb54.entry.js +2 -0
  551. package/dist/web-components-library/{p-e0b88075.entry.js → p-dba260f2.entry.js} +2 -2
  552. package/dist/web-components-library/{p-943db3a8.entry.js → p-ddae9016.entry.js} +2 -2
  553. package/dist/web-components-library/p-de313d96.entry.js +2 -0
  554. package/dist/web-components-library/{p-375f8542.entry.js → p-e38a5dd2.entry.js} +2 -2
  555. package/dist/web-components-library/p-eb15536d.js +2 -0
  556. package/dist/web-components-library/p-eb15536d.js.map +1 -0
  557. package/{www/build/p-f4bac89b.entry.js → dist/web-components-library/p-eb9161bc.entry.js} +2 -2
  558. package/dist/web-components-library/p-ec2a0b31.js +2 -0
  559. package/{www/build/p-030257b3.js.map → dist/web-components-library/p-ec2a0b31.js.map} +1 -1
  560. package/dist/web-components-library/p-f0022852.entry.js +2 -0
  561. package/dist/web-components-library/p-f0022852.entry.js.map +1 -0
  562. package/dist/web-components-library/{p-8687691b.entry.js → p-f0f53bb2.entry.js} +2 -2
  563. package/dist/web-components-library/p-f79010de.js +2 -0
  564. package/dist/web-components-library/p-f8e95a75.entry.js +2 -0
  565. package/dist/web-components-library/p-f8e95a75.entry.js.map +1 -0
  566. package/dist/web-components-library/web-components-library.esm.js +1 -1
  567. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  568. package/package.json +3 -3
  569. package/react/components.d.ts +1 -0
  570. package/react/components.js +3 -2
  571. package/react/components.js.map +1 -1
  572. package/www/build/index.esm.js +1 -1
  573. package/www/build/index.esm.js.map +1 -1
  574. package/{dist/web-components-library/p-5a24e268.entry.js → www/build/p-03a558ef.entry.js} +2 -2
  575. package/www/build/p-061e28d6.js +2 -0
  576. package/www/build/p-061e28d6.js.map +1 -0
  577. package/www/build/p-0989655c.entry.js +2 -0
  578. package/www/build/p-0989655c.entry.js.map +1 -0
  579. package/www/build/p-102f6e37.entry.js +2 -0
  580. package/www/build/p-102f6e37.entry.js.map +1 -0
  581. package/www/build/{p-d9c9de15.entry.js → p-15951fc6.entry.js} +2 -2
  582. package/www/build/p-17e2fed2.entry.js +2 -0
  583. package/www/build/{p-b7ec2cc4.entry.js → p-19172b2c.entry.js} +2 -2
  584. package/{dist/web-components-library/p-94916bdf.entry.js → www/build/p-1939116a.entry.js} +2 -2
  585. package/www/build/{p-b71a3f69.entry.js → p-1e0d85d5.entry.js} +2 -2
  586. package/www/build/{p-bdbcf353.entry.js → p-215b1fa5.entry.js} +2 -2
  587. package/www/build/p-22b683a3.entry.js +2 -0
  588. package/www/build/p-22b683a3.entry.js.map +1 -0
  589. package/www/build/p-2a04c00e.entry.js +2 -0
  590. package/www/build/{p-816fd6dc.entry.js.map → p-2a04c00e.entry.js.map} +1 -1
  591. package/{dist/web-components-library/p-1fd1cf02.entry.js → www/build/p-2bba665d.entry.js} +2 -2
  592. package/www/build/{p-5a1f98a2.entry.js → p-2f45f1ff.entry.js} +2 -2
  593. package/www/build/{p-86160fe3.entry.js → p-332e0361.entry.js} +2 -2
  594. package/{dist/web-components-library/p-4cec3345.entry.js → www/build/p-3d02ad75.entry.js} +2 -2
  595. package/www/build/{p-240de9aa.entry.js → p-3f66654f.entry.js} +2 -2
  596. package/{dist/web-components-library/p-8c164e0d.entry.js → www/build/p-41891d34.entry.js} +2 -2
  597. package/{dist/web-components-library/p-19f5b6a9.entry.js → www/build/p-47b7bc63.entry.js} +2 -2
  598. package/www/build/{p-ceeb3e2a.entry.js → p-4df66afe.entry.js} +2 -2
  599. package/{dist/web-components-library/p-748fa3ae.js → www/build/p-54cd104c.js} +2 -2
  600. package/www/build/p-577c224d.entry.js +2 -0
  601. package/www/build/p-577c224d.entry.js.map +1 -0
  602. package/www/build/{p-01f941c2.entry.js → p-57dcff49.entry.js} +2 -2
  603. package/{dist/web-components-library/p-2aeffcf9.entry.js → www/build/p-5838b77c.entry.js} +2 -2
  604. package/www/build/{p-4551b0df.entry.js → p-5cdd431e.entry.js} +2 -2
  605. package/www/build/{p-f19f12b1.js → p-5f1e17cb.js} +2 -2
  606. package/{dist/web-components-library/p-c778bf87.entry.js → www/build/p-5fda8769.entry.js} +3 -3
  607. package/www/build/{p-4affbb99.entry.js → p-661bce1c.entry.js} +2 -2
  608. package/www/build/{p-ee695830.entry.js → p-66c0f993.entry.js} +2 -2
  609. package/www/build/p-6c3d141b.entry.js +2 -0
  610. package/{dist/web-components-library/p-b7b972c0.entry.js → www/build/p-6d61933f.entry.js} +2 -2
  611. package/www/build/{p-44459393.entry.js → p-6ef58a14.entry.js} +2 -2
  612. package/www/build/{p-a905df88.entry.js → p-71f62226.entry.js} +2 -2
  613. package/www/build/p-76003048.entry.js +2 -0
  614. package/www/build/p-76003048.entry.js.map +1 -0
  615. package/www/build/{p-d7f12672.js → p-80285500.js} +2 -2
  616. package/www/build/p-80ddecaf.entry.js +2 -0
  617. package/www/build/p-83a26e88.entry.js +2 -0
  618. package/{dist/web-components-library/p-99210133.entry.js.map → www/build/p-83a26e88.entry.js.map} +1 -1
  619. package/www/build/p-8503c87a.entry.js +2 -0
  620. package/www/build/p-8503c87a.entry.js.map +1 -0
  621. package/www/build/p-86618221.js +2 -0
  622. package/www/build/p-86618221.js.map +1 -0
  623. package/{dist/web-components-library/p-b96900bb.entry.js → www/build/p-87edcc75.entry.js} +2 -2
  624. package/www/build/{p-757415e9.entry.js → p-88a9865c.entry.js} +2 -2
  625. package/www/build/p-8a9e2264.js +2 -0
  626. package/www/build/p-8aaceeed.entry.js +2 -0
  627. package/www/build/p-8aaceeed.entry.js.map +1 -0
  628. package/www/build/{p-d6a7b7f3.entry.js → p-8b562dca.entry.js} +2 -2
  629. package/www/build/p-901518b8.entry.js +2 -0
  630. package/www/build/{p-2f948bac.entry.js → p-90690d4d.entry.js} +2 -2
  631. package/www/build/{p-0a49dd1c.entry.js → p-90babaaa.entry.js} +2 -2
  632. package/{dist/web-components-library/p-0a49dd1c.entry.js.map → www/build/p-90babaaa.entry.js.map} +1 -1
  633. package/www/build/p-9af837bb.entry.js +2 -0
  634. package/www/build/{p-04f80811.entry.js → p-9eba4a37.entry.js} +2 -2
  635. package/www/build/p-a32ebcc3.entry.js +2 -0
  636. package/www/build/{p-3f5aa623.entry.js → p-a3f9a5da.entry.js} +2 -2
  637. package/www/build/p-a3f9a5da.entry.js.map +1 -0
  638. package/{dist/web-components-library/p-1844a4f4.entry.js → www/build/p-b0324c7d.entry.js} +2 -2
  639. package/www/build/p-b06af2fc.js +2 -0
  640. package/{dist/web-components-library/p-817689d5.entry.js → www/build/p-b1f2388a.entry.js} +3 -3
  641. package/www/build/{p-342b0eb0.entry.js → p-b421424f.entry.js} +2 -2
  642. package/www/build/{p-fb232d07.entry.js → p-b4b264b1.entry.js} +2 -2
  643. package/www/build/{p-1c7550f9.entry.js → p-b70ff542.entry.js} +2 -2
  644. package/{dist/web-components-library/p-b63c8e8b.entry.js → www/build/p-b854cc3d.entry.js} +2 -2
  645. package/www/build/{p-e9e2ceb4.entry.js → p-bc15e1dc.entry.js} +2 -2
  646. package/www/build/{p-4a257653.entry.js → p-c03767a4.entry.js} +2 -2
  647. package/www/build/{p-2bdac94e.entry.js → p-c0b4f29d.entry.js} +2 -2
  648. package/www/build/{p-7a4f6a5b.entry.js → p-c57bb632.entry.js} +2 -2
  649. package/www/build/p-c5e032de.entry.js +2 -0
  650. package/www/build/p-c5e032de.entry.js.map +1 -0
  651. package/{dist/web-components-library/p-34975328.entry.js → www/build/p-c645dc11.entry.js} +2 -2
  652. package/www/build/p-c93c6135.entry.js +2 -0
  653. package/www/build/{p-deb7f8d7.entry.js.map → p-c93c6135.entry.js.map} +1 -1
  654. package/www/build/{p-30e42fb1.js → p-cb395500.js} +2 -2
  655. package/www/build/{p-5989465b.entry.js → p-cc87d814.entry.js} +2 -2
  656. package/{dist/web-components-library/p-e3b82454.entry.js → www/build/p-d1fe7960.entry.js} +2 -2
  657. package/www/build/{p-5159edb1.entry.js → p-d5ebbfdf.entry.js} +2 -2
  658. package/www/build/p-d65aeb54.entry.js +2 -0
  659. package/www/build/{p-e0b88075.entry.js → p-dba260f2.entry.js} +2 -2
  660. package/www/build/{p-943db3a8.entry.js → p-ddae9016.entry.js} +2 -2
  661. package/www/build/p-de313d96.entry.js +2 -0
  662. package/www/build/{p-375f8542.entry.js → p-e38a5dd2.entry.js} +2 -2
  663. package/www/build/p-eb15536d.js +2 -0
  664. package/www/build/p-eb15536d.js.map +1 -0
  665. package/{dist/web-components-library/p-f4bac89b.entry.js → www/build/p-eb9161bc.entry.js} +2 -2
  666. package/www/build/p-ec2a0b31.js +2 -0
  667. package/{dist/web-components-library/p-030257b3.js.map → www/build/p-ec2a0b31.js.map} +1 -1
  668. package/www/build/p-f0022852.entry.js +2 -0
  669. package/www/build/p-f0022852.entry.js.map +1 -0
  670. package/www/build/{p-8687691b.entry.js → p-f0f53bb2.entry.js} +2 -2
  671. package/www/build/p-f79010de.js +2 -0
  672. package/www/build/p-f8e95a75.entry.js +2 -0
  673. package/www/build/p-f8e95a75.entry.js.map +1 -0
  674. package/www/build/web-components-library.esm.js +1 -1
  675. package/www/build/web-components-library.esm.js.map +1 -1
  676. package/www/index.html +1 -1
  677. package/dist/cjs/index-97a4c18d.js.map +0 -1
  678. package/dist/cjs/utils-5148245a.js.map +0 -1
  679. package/dist/esm/index-2a6324f8.js.map +0 -1
  680. package/dist/esm/utils-e66d94c3.js.map +0 -1
  681. package/dist/web-components-library/p-030257b3.js +0 -2
  682. package/dist/web-components-library/p-1170826b.js +0 -2
  683. package/dist/web-components-library/p-17af7fb2.js +0 -2
  684. package/dist/web-components-library/p-17af7fb2.js.map +0 -1
  685. package/dist/web-components-library/p-17e1abca.entry.js +0 -2
  686. package/dist/web-components-library/p-17e1abca.entry.js.map +0 -1
  687. package/dist/web-components-library/p-198b1692.entry.js +0 -2
  688. package/dist/web-components-library/p-22128478.entry.js +0 -2
  689. package/dist/web-components-library/p-22128478.entry.js.map +0 -1
  690. package/dist/web-components-library/p-22ba2a17.entry.js +0 -2
  691. package/dist/web-components-library/p-22ba2a17.entry.js.map +0 -1
  692. package/dist/web-components-library/p-237fcaa9.entry.js +0 -2
  693. package/dist/web-components-library/p-2612e3a2.entry.js +0 -2
  694. package/dist/web-components-library/p-2612e3a2.entry.js.map +0 -1
  695. package/dist/web-components-library/p-334cba5d.entry.js +0 -2
  696. package/dist/web-components-library/p-334cba5d.entry.js.map +0 -1
  697. package/dist/web-components-library/p-3f5aa623.entry.js.map +0 -1
  698. package/dist/web-components-library/p-4c9bf42d.js +0 -2
  699. package/dist/web-components-library/p-60e3fa30.entry.js +0 -2
  700. package/dist/web-components-library/p-6cffbabc.entry.js +0 -2
  701. package/dist/web-components-library/p-6cffbabc.entry.js.map +0 -1
  702. package/dist/web-components-library/p-816fd6dc.entry.js +0 -2
  703. package/dist/web-components-library/p-99210133.entry.js +0 -2
  704. package/dist/web-components-library/p-9e3da0b7.entry.js +0 -2
  705. package/dist/web-components-library/p-bc7fd8af.entry.js +0 -2
  706. package/dist/web-components-library/p-bc7fd8af.entry.js.map +0 -1
  707. package/dist/web-components-library/p-cc18a2b7.entry.js +0 -2
  708. package/dist/web-components-library/p-cc18a2b7.entry.js.map +0 -1
  709. package/dist/web-components-library/p-d2035d26.entry.js +0 -2
  710. package/dist/web-components-library/p-d75f8bbb.entry.js +0 -2
  711. package/dist/web-components-library/p-d90d2698.entry.js +0 -2
  712. package/dist/web-components-library/p-deb7f8d7.entry.js +0 -2
  713. package/dist/web-components-library/p-e5407cc1.entry.js +0 -2
  714. package/dist/web-components-library/p-e6778114.js +0 -2
  715. package/dist/web-components-library/p-e6778114.js.map +0 -1
  716. package/dist/web-components-library/p-f5dfd04d.entry.js +0 -2
  717. package/dist/web-components-library/p-f5dfd04d.entry.js.map +0 -1
  718. package/www/build/p-030257b3.js +0 -2
  719. package/www/build/p-0aba9c42.js +0 -2
  720. package/www/build/p-1170826b.js +0 -2
  721. package/www/build/p-17af7fb2.js +0 -2
  722. package/www/build/p-17af7fb2.js.map +0 -1
  723. package/www/build/p-17e1abca.entry.js +0 -2
  724. package/www/build/p-17e1abca.entry.js.map +0 -1
  725. package/www/build/p-198b1692.entry.js +0 -2
  726. package/www/build/p-22128478.entry.js +0 -2
  727. package/www/build/p-22128478.entry.js.map +0 -1
  728. package/www/build/p-22ba2a17.entry.js +0 -2
  729. package/www/build/p-22ba2a17.entry.js.map +0 -1
  730. package/www/build/p-237fcaa9.entry.js +0 -2
  731. package/www/build/p-2612e3a2.entry.js +0 -2
  732. package/www/build/p-2612e3a2.entry.js.map +0 -1
  733. package/www/build/p-334cba5d.entry.js +0 -2
  734. package/www/build/p-334cba5d.entry.js.map +0 -1
  735. package/www/build/p-3f5aa623.entry.js.map +0 -1
  736. package/www/build/p-4c9bf42d.js +0 -2
  737. package/www/build/p-60e3fa30.entry.js +0 -2
  738. package/www/build/p-6cffbabc.entry.js +0 -2
  739. package/www/build/p-6cffbabc.entry.js.map +0 -1
  740. package/www/build/p-816fd6dc.entry.js +0 -2
  741. package/www/build/p-99210133.entry.js +0 -2
  742. package/www/build/p-9e3da0b7.entry.js +0 -2
  743. package/www/build/p-bc7fd8af.entry.js +0 -2
  744. package/www/build/p-bc7fd8af.entry.js.map +0 -1
  745. package/www/build/p-cc18a2b7.entry.js +0 -2
  746. package/www/build/p-cc18a2b7.entry.js.map +0 -1
  747. package/www/build/p-d2035d26.entry.js +0 -2
  748. package/www/build/p-d75f8bbb.entry.js +0 -2
  749. package/www/build/p-d90d2698.entry.js +0 -2
  750. package/www/build/p-deb7f8d7.entry.js +0 -2
  751. package/www/build/p-e5407cc1.entry.js +0 -2
  752. package/www/build/p-e6778114.js +0 -2
  753. package/www/build/p-e6778114.js.map +0 -1
  754. package/www/build/p-f5dfd04d.entry.js +0 -2
  755. package/www/build/p-f5dfd04d.entry.js.map +0 -1
  756. /package/dist/web-components-library/{p-5a24e268.entry.js.map → p-03a558ef.entry.js.map} +0 -0
  757. /package/dist/web-components-library/{p-d9c9de15.entry.js.map → p-15951fc6.entry.js.map} +0 -0
  758. /package/dist/web-components-library/{p-237fcaa9.entry.js.map → p-17e2fed2.entry.js.map} +0 -0
  759. /package/dist/web-components-library/{p-b7ec2cc4.entry.js.map → p-19172b2c.entry.js.map} +0 -0
  760. /package/dist/web-components-library/{p-94916bdf.entry.js.map → p-1939116a.entry.js.map} +0 -0
  761. /package/dist/web-components-library/{p-b71a3f69.entry.js.map → p-1e0d85d5.entry.js.map} +0 -0
  762. /package/dist/web-components-library/{p-bdbcf353.entry.js.map → p-215b1fa5.entry.js.map} +0 -0
  763. /package/dist/web-components-library/{p-1fd1cf02.entry.js.map → p-2bba665d.entry.js.map} +0 -0
  764. /package/dist/web-components-library/{p-5a1f98a2.entry.js.map → p-2f45f1ff.entry.js.map} +0 -0
  765. /package/dist/web-components-library/{p-86160fe3.entry.js.map → p-332e0361.entry.js.map} +0 -0
  766. /package/dist/web-components-library/{p-4cec3345.entry.js.map → p-3d02ad75.entry.js.map} +0 -0
  767. /package/dist/web-components-library/{p-240de9aa.entry.js.map → p-3f66654f.entry.js.map} +0 -0
  768. /package/dist/web-components-library/{p-8c164e0d.entry.js.map → p-41891d34.entry.js.map} +0 -0
  769. /package/dist/web-components-library/{p-19f5b6a9.entry.js.map → p-47b7bc63.entry.js.map} +0 -0
  770. /package/dist/web-components-library/{p-ceeb3e2a.entry.js.map → p-4df66afe.entry.js.map} +0 -0
  771. /package/dist/web-components-library/{p-748fa3ae.js.map → p-54cd104c.js.map} +0 -0
  772. /package/dist/web-components-library/{p-01f941c2.entry.js.map → p-57dcff49.entry.js.map} +0 -0
  773. /package/dist/web-components-library/{p-2aeffcf9.entry.js.map → p-5838b77c.entry.js.map} +0 -0
  774. /package/dist/web-components-library/{p-4551b0df.entry.js.map → p-5cdd431e.entry.js.map} +0 -0
  775. /package/dist/web-components-library/{p-f19f12b1.js.map → p-5f1e17cb.js.map} +0 -0
  776. /package/dist/web-components-library/{p-c778bf87.entry.js.map → p-5fda8769.entry.js.map} +0 -0
  777. /package/dist/web-components-library/{p-4affbb99.entry.js.map → p-661bce1c.entry.js.map} +0 -0
  778. /package/dist/web-components-library/{p-ee695830.entry.js.map → p-66c0f993.entry.js.map} +0 -0
  779. /package/dist/web-components-library/{p-9e3da0b7.entry.js.map → p-6c3d141b.entry.js.map} +0 -0
  780. /package/dist/web-components-library/{p-b7b972c0.entry.js.map → p-6d61933f.entry.js.map} +0 -0
  781. /package/dist/web-components-library/{p-44459393.entry.js.map → p-6ef58a14.entry.js.map} +0 -0
  782. /package/dist/web-components-library/{p-a905df88.entry.js.map → p-71f62226.entry.js.map} +0 -0
  783. /package/dist/web-components-library/{p-d7f12672.js.map → p-80285500.js.map} +0 -0
  784. /package/dist/web-components-library/{p-198b1692.entry.js.map → p-80ddecaf.entry.js.map} +0 -0
  785. /package/dist/web-components-library/{p-b96900bb.entry.js.map → p-87edcc75.entry.js.map} +0 -0
  786. /package/dist/web-components-library/{p-757415e9.entry.js.map → p-88a9865c.entry.js.map} +0 -0
  787. /package/dist/web-components-library/{p-d6a7b7f3.entry.js.map → p-8b562dca.entry.js.map} +0 -0
  788. /package/dist/web-components-library/{p-d2035d26.entry.js.map → p-901518b8.entry.js.map} +0 -0
  789. /package/dist/web-components-library/{p-2f948bac.entry.js.map → p-90690d4d.entry.js.map} +0 -0
  790. /package/dist/web-components-library/{p-d75f8bbb.entry.js.map → p-9af837bb.entry.js.map} +0 -0
  791. /package/dist/web-components-library/{p-04f80811.entry.js.map → p-9eba4a37.entry.js.map} +0 -0
  792. /package/dist/web-components-library/{p-d90d2698.entry.js.map → p-a32ebcc3.entry.js.map} +0 -0
  793. /package/dist/web-components-library/{p-1844a4f4.entry.js.map → p-b0324c7d.entry.js.map} +0 -0
  794. /package/dist/web-components-library/{p-4c9bf42d.js.map → p-b06af2fc.js.map} +0 -0
  795. /package/dist/web-components-library/{p-817689d5.entry.js.map → p-b1f2388a.entry.js.map} +0 -0
  796. /package/dist/web-components-library/{p-342b0eb0.entry.js.map → p-b421424f.entry.js.map} +0 -0
  797. /package/dist/web-components-library/{p-fb232d07.entry.js.map → p-b4b264b1.entry.js.map} +0 -0
  798. /package/dist/web-components-library/{p-1c7550f9.entry.js.map → p-b70ff542.entry.js.map} +0 -0
  799. /package/dist/web-components-library/{p-b63c8e8b.entry.js.map → p-b854cc3d.entry.js.map} +0 -0
  800. /package/dist/web-components-library/{p-e9e2ceb4.entry.js.map → p-bc15e1dc.entry.js.map} +0 -0
  801. /package/dist/web-components-library/{p-4a257653.entry.js.map → p-c03767a4.entry.js.map} +0 -0
  802. /package/dist/web-components-library/{p-2bdac94e.entry.js.map → p-c0b4f29d.entry.js.map} +0 -0
  803. /package/dist/web-components-library/{p-7a4f6a5b.entry.js.map → p-c57bb632.entry.js.map} +0 -0
  804. /package/dist/web-components-library/{p-34975328.entry.js.map → p-c645dc11.entry.js.map} +0 -0
  805. /package/dist/web-components-library/{p-30e42fb1.js.map → p-cb395500.js.map} +0 -0
  806. /package/dist/web-components-library/{p-5989465b.entry.js.map → p-cc87d814.entry.js.map} +0 -0
  807. /package/dist/web-components-library/{p-e3b82454.entry.js.map → p-d1fe7960.entry.js.map} +0 -0
  808. /package/dist/web-components-library/{p-5159edb1.entry.js.map → p-d5ebbfdf.entry.js.map} +0 -0
  809. /package/dist/web-components-library/{p-e5407cc1.entry.js.map → p-d65aeb54.entry.js.map} +0 -0
  810. /package/dist/web-components-library/{p-e0b88075.entry.js.map → p-dba260f2.entry.js.map} +0 -0
  811. /package/dist/web-components-library/{p-943db3a8.entry.js.map → p-ddae9016.entry.js.map} +0 -0
  812. /package/dist/web-components-library/{p-60e3fa30.entry.js.map → p-de313d96.entry.js.map} +0 -0
  813. /package/dist/web-components-library/{p-375f8542.entry.js.map → p-e38a5dd2.entry.js.map} +0 -0
  814. /package/dist/web-components-library/{p-f4bac89b.entry.js.map → p-eb9161bc.entry.js.map} +0 -0
  815. /package/dist/web-components-library/{p-8687691b.entry.js.map → p-f0f53bb2.entry.js.map} +0 -0
  816. /package/dist/web-components-library/{p-1170826b.js.map → p-f79010de.js.map} +0 -0
  817. /package/www/build/{p-5a24e268.entry.js.map → p-03a558ef.entry.js.map} +0 -0
  818. /package/www/build/{p-d9c9de15.entry.js.map → p-15951fc6.entry.js.map} +0 -0
  819. /package/www/build/{p-237fcaa9.entry.js.map → p-17e2fed2.entry.js.map} +0 -0
  820. /package/www/build/{p-b7ec2cc4.entry.js.map → p-19172b2c.entry.js.map} +0 -0
  821. /package/www/build/{p-94916bdf.entry.js.map → p-1939116a.entry.js.map} +0 -0
  822. /package/www/build/{p-b71a3f69.entry.js.map → p-1e0d85d5.entry.js.map} +0 -0
  823. /package/www/build/{p-bdbcf353.entry.js.map → p-215b1fa5.entry.js.map} +0 -0
  824. /package/www/build/{p-1fd1cf02.entry.js.map → p-2bba665d.entry.js.map} +0 -0
  825. /package/www/build/{p-5a1f98a2.entry.js.map → p-2f45f1ff.entry.js.map} +0 -0
  826. /package/www/build/{p-86160fe3.entry.js.map → p-332e0361.entry.js.map} +0 -0
  827. /package/www/build/{p-4cec3345.entry.js.map → p-3d02ad75.entry.js.map} +0 -0
  828. /package/www/build/{p-240de9aa.entry.js.map → p-3f66654f.entry.js.map} +0 -0
  829. /package/www/build/{p-8c164e0d.entry.js.map → p-41891d34.entry.js.map} +0 -0
  830. /package/www/build/{p-19f5b6a9.entry.js.map → p-47b7bc63.entry.js.map} +0 -0
  831. /package/www/build/{p-ceeb3e2a.entry.js.map → p-4df66afe.entry.js.map} +0 -0
  832. /package/www/build/{p-748fa3ae.js.map → p-54cd104c.js.map} +0 -0
  833. /package/www/build/{p-01f941c2.entry.js.map → p-57dcff49.entry.js.map} +0 -0
  834. /package/www/build/{p-2aeffcf9.entry.js.map → p-5838b77c.entry.js.map} +0 -0
  835. /package/www/build/{p-4551b0df.entry.js.map → p-5cdd431e.entry.js.map} +0 -0
  836. /package/www/build/{p-f19f12b1.js.map → p-5f1e17cb.js.map} +0 -0
  837. /package/www/build/{p-c778bf87.entry.js.map → p-5fda8769.entry.js.map} +0 -0
  838. /package/www/build/{p-4affbb99.entry.js.map → p-661bce1c.entry.js.map} +0 -0
  839. /package/www/build/{p-ee695830.entry.js.map → p-66c0f993.entry.js.map} +0 -0
  840. /package/www/build/{p-9e3da0b7.entry.js.map → p-6c3d141b.entry.js.map} +0 -0
  841. /package/www/build/{p-b7b972c0.entry.js.map → p-6d61933f.entry.js.map} +0 -0
  842. /package/www/build/{p-44459393.entry.js.map → p-6ef58a14.entry.js.map} +0 -0
  843. /package/www/build/{p-a905df88.entry.js.map → p-71f62226.entry.js.map} +0 -0
  844. /package/www/build/{p-d7f12672.js.map → p-80285500.js.map} +0 -0
  845. /package/www/build/{p-198b1692.entry.js.map → p-80ddecaf.entry.js.map} +0 -0
  846. /package/www/build/{p-b96900bb.entry.js.map → p-87edcc75.entry.js.map} +0 -0
  847. /package/www/build/{p-757415e9.entry.js.map → p-88a9865c.entry.js.map} +0 -0
  848. /package/www/build/{p-d6a7b7f3.entry.js.map → p-8b562dca.entry.js.map} +0 -0
  849. /package/www/build/{p-d2035d26.entry.js.map → p-901518b8.entry.js.map} +0 -0
  850. /package/www/build/{p-2f948bac.entry.js.map → p-90690d4d.entry.js.map} +0 -0
  851. /package/www/build/{p-d75f8bbb.entry.js.map → p-9af837bb.entry.js.map} +0 -0
  852. /package/www/build/{p-04f80811.entry.js.map → p-9eba4a37.entry.js.map} +0 -0
  853. /package/www/build/{p-d90d2698.entry.js.map → p-a32ebcc3.entry.js.map} +0 -0
  854. /package/www/build/{p-1844a4f4.entry.js.map → p-b0324c7d.entry.js.map} +0 -0
  855. /package/www/build/{p-4c9bf42d.js.map → p-b06af2fc.js.map} +0 -0
  856. /package/www/build/{p-817689d5.entry.js.map → p-b1f2388a.entry.js.map} +0 -0
  857. /package/www/build/{p-342b0eb0.entry.js.map → p-b421424f.entry.js.map} +0 -0
  858. /package/www/build/{p-fb232d07.entry.js.map → p-b4b264b1.entry.js.map} +0 -0
  859. /package/www/build/{p-1c7550f9.entry.js.map → p-b70ff542.entry.js.map} +0 -0
  860. /package/www/build/{p-b63c8e8b.entry.js.map → p-b854cc3d.entry.js.map} +0 -0
  861. /package/www/build/{p-e9e2ceb4.entry.js.map → p-bc15e1dc.entry.js.map} +0 -0
  862. /package/www/build/{p-4a257653.entry.js.map → p-c03767a4.entry.js.map} +0 -0
  863. /package/www/build/{p-2bdac94e.entry.js.map → p-c0b4f29d.entry.js.map} +0 -0
  864. /package/www/build/{p-7a4f6a5b.entry.js.map → p-c57bb632.entry.js.map} +0 -0
  865. /package/www/build/{p-34975328.entry.js.map → p-c645dc11.entry.js.map} +0 -0
  866. /package/www/build/{p-30e42fb1.js.map → p-cb395500.js.map} +0 -0
  867. /package/www/build/{p-5989465b.entry.js.map → p-cc87d814.entry.js.map} +0 -0
  868. /package/www/build/{p-e3b82454.entry.js.map → p-d1fe7960.entry.js.map} +0 -0
  869. /package/www/build/{p-5159edb1.entry.js.map → p-d5ebbfdf.entry.js.map} +0 -0
  870. /package/www/build/{p-e5407cc1.entry.js.map → p-d65aeb54.entry.js.map} +0 -0
  871. /package/www/build/{p-e0b88075.entry.js.map → p-dba260f2.entry.js.map} +0 -0
  872. /package/www/build/{p-943db3a8.entry.js.map → p-ddae9016.entry.js.map} +0 -0
  873. /package/www/build/{p-60e3fa30.entry.js.map → p-de313d96.entry.js.map} +0 -0
  874. /package/www/build/{p-375f8542.entry.js.map → p-e38a5dd2.entry.js.map} +0 -0
  875. /package/www/build/{p-f4bac89b.entry.js.map → p-eb9161bc.entry.js.map} +0 -0
  876. /package/www/build/{p-8687691b.entry.js.map → p-f0f53bb2.entry.js.map} +0 -0
  877. /package/www/build/{p-1170826b.js.map → p-f79010de.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r,h as a}from"./p-75c4a726.js";const o="button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";const e=o;const t=class{constructor(a){r(this,a);this.icon=undefined;this.isdisabled=false;this.ariaLabel=""}render(){return a("button",{key:"9635ccd0f31e2fdf3e23cb14093b5eba6849c398",disabled:this.isdisabled,"aria-label":this.ariaLabel},a("span",{key:"de736d5eb1390564e2ffafb5a250594c8cf7a880"},a("z-icon",{key:"f93ea254dc71bf5ffae324ebab7bc467f511e403",name:this.icon,width:16,height:16})))}};t.style=e;export{t as z_myz_card_icon};
2
- //# sourceMappingURL=p-d9c9de15.entry.js.map
1
+ import{r,h as a}from"./p-75c4a726.js";const o="button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";const e=o;const t=class{constructor(a){r(this,a);this.icon=undefined;this.isdisabled=false;this.ariaLabel=""}render(){return a("button",{key:"8cf0706cb512e898631d0be8c684f71fdabae5ad",disabled:this.isdisabled,"aria-label":this.ariaLabel},a("span",{key:"60d66f1cd2ce59f2fda0b2c0c3be76464aafee42"},a("z-icon",{key:"32fdcb582bb5be5e2fe65218c878b598a562aa90",name:this.icon,width:16,height:16})))}};t.style=e;export{t as z_myz_card_icon};
2
+ //# sourceMappingURL=p-15951fc6.entry.js.map
@@ -0,0 +1,2 @@
1
+ export{Z as z_th}from"./p-54cd104c.js";import"./p-75c4a726.js";import"./p-86618221.js";
2
+ //# sourceMappingURL=p-17e2fed2.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"eee285538af50ff09c49ead53e0589f20f810567",role:"listitem"},t("button",Object.assign({key:"0b354bc4e0ad809044e1cf0beb80a6259b2df43a",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"3227f3ce382e6340cfc9bec365cb2d7b79dba2ed",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"1099214dda81271f48d2453d1e111042a79207af"},t("slot",{key:"50262e5fbb88d2b628de778243d52087225eec7b"}))))}};a.style=o;export{a as z_stepper_item};
2
- //# sourceMappingURL=p-b7ec2cc4.entry.js.map
1
+ import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"19c73e3cc4e553720f5fb782f73931737007f7a4",role:"listitem"},t("button",Object.assign({key:"b2bcbd197fe0ba3b90442544f354589394ac0007",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"bc7e3054c6ece39171d65a03360ff16502a46b3c",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"e18deeb657c6ff859ba1e6cff18103550bf0a4db"},t("slot",{key:"7646d57e96b50b8268e5353003a118737687c2b5"}))))}};a.style=o;export{a as z_stepper_item};
2
+ //# sourceMappingURL=p-19172b2c.entry.js.map
@@ -1,2 +1,2 @@
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-17af7fb2.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-94916bdf.entry.js.map
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:"1513bcc5c069d2139b545336a7727318c858715a",open:this.open},i("button",{key:"c9be4b8852ea1b3c304e0cb4ad4fb91cd6317b89",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:"28ca4682e7b5df0f0f32e35347ff5ee6fadf5e50",name:this.icon}),this.label&&i("span",{key:"5addb4ddd3faafda6c8643d601589ffa6401b736",class:"z-info-reveal-label"},this.label)),i("div",{key:"303f34b830370e5272ef88ebbcba57a7167f8ff8",class:"z-info-reveal-panel",id:"z-info-reveal-panel",ref:e=>this.panel=e,hidden:!this.open},i("slot",{key:"df5e74f3c5b119ae6dd76d817e0f4040abddfdc7"}),i("button",{key:"cec932ffcdb5f5d1c2738f3ba5bf59621f3f114c",class:"z-info-reveal-close",type:"button",onClick:this.closePanel.bind(this),"aria-label":"Chiudi pannello informazioni"},i("z-icon",{key:"c47908d600b21d38fc3135755c83545ed78fffcb",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-1939116a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as a,h as t,a as e}from"./p-75c4a726.js";const i=":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const o=i;const n=class{constructor(t){a(this,t)}render(){return t(e,{key:"aa8c3ef6cca54442496944c748d1c224814ecc1a",role:"navigation"},t("slot",{key:"9065c4077e08c252406e618e548f13aac5ed40d9"}))}};n.style=o;export{n as z_stepper};
2
- //# sourceMappingURL=p-b71a3f69.entry.js.map
1
+ import{r as a,h as t,a as e}from"./p-75c4a726.js";const i=":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const o=i;const n=class{constructor(t){a(this,t)}render(){return t(e,{key:"1d1f9c22822efd4ff78ada101c84a0989da9f71b",role:"navigation"},t("slot",{key:"f6068efbdab8ba800c82f5c89ed1e88e983ef369"}))}};n.style=o;export{n as z_stepper};
2
+ //# sourceMappingURL=p-1e0d85d5.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,h as o}from"./p-75c4a726.js";const a=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=a;const e=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"26eebb059185e89470d6bbe28baa546022df51ab",class:this.type},o("slot",{key:"0664bdd8351bba159899aed612879654580a9a0e"}))}};e.style=s;export{e as z_alert};
2
- //# sourceMappingURL=p-bdbcf353.entry.js.map
1
+ import{r,h as o}from"./p-75c4a726.js";const a=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=a;const e=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"94305f8465f9e9e34ada79c5dc36c4d074eec4fa",class:this.type},o("slot",{key:"21d8f259e4f432d809e4c034663984ff7a21ffeb"}))}};e.style=s;export{e as z_alert};
2
+ //# sourceMappingURL=p-215b1fa5.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,c as o,h as r,a as e,g as a}from"./p-75c4a726.js";import{a0 as s}from"./p-86618221.js";import{a as i}from"./p-061e28d6.js";import"./p-5145a606.js";const c=':host{display:grid;width:fit-content;padding:calc(var(--space-unit) * 2);background:var(--color-surface01);gap:var(--space-unit);grid-template-columns:repeat(9, calc(var(--space-unit) * 3));grid-template-rows:repeat(5, calc(var(--space-unit) * 3))}:host,*{box-sizing:border-box}button{--border-color:var(--color-surface05);padding:0;border:none;appearance:none;background:none;border-radius:var(--border-radius);cursor:pointer}button[data-color="#FFFFFF00"]{position:relative}button[data-color="#FFFFFF00"]::after{position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );border-radius:var(--border-radius);content:""}button[aria-selected="true"]{box-shadow:0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary)}button:focus-visible{box-shadow:var(--shadow-focus-primary)}button .color-swatch{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--border-color);border-radius:var(--border-radius)}button[data-color="#FFFFFF00"]:disabled{--border-color:var(--color-disabled01-icon);cursor:not-allowed}button[data-color="#FFFFFF00"]:disabled .color-swatch{background-color:var(--color-disabled02)}';const n=c;const l={it:{"Select a color":"Seleziona un colore","Color swatch":"Campione di colore"},en:{"Select a color":"Select a color","Color swatch":"Color swatch"}};const d=5;const h=9;const u=class{constructor(r){t(this,r);this.colorSelected=o(this,"colorSelected",7);this.colorKeysByRow=[];this._colorButtons=[];this.selectedColor=undefined;this.lng="it";this.htmlAriaLabel=undefined;this.disableTransparent=false}get colorButtons(){if(!this._colorButtons.length){this._colorButtons=Array.from(this.host.shadowRoot.querySelectorAll("button"))}return this._colorButtons}sortColorKeysByRow(){const t=Object.keys(s);const o=[];for(let r=0;r<d;r++){for(let e=0;e<h;e++){const a=e*d+r;if(a<t.length){o.push(t[a])}}}return o}moveFocusTo(t){this.colorButtons.forEach(((o,r)=>o.tabIndex=r===t?0:-1));this.colorButtons[t].focus()}validateTransparentSelection(){if(this.disableTransparent&&this.selectedColor==="#FFFFFF00"){this.selectedColor="#333333"}}emitColorSelected(){this.colorSelected.emit(this.selectedColor)}async setFocus(){this.colorButtons.forEach((t=>t.tabIndex=-1));const t=this.colorButtons.find((t=>t.ariaSelected==="true"))||this.colorButtons.find((t=>!t.disabled));if(!t){return}t.tabIndex=0;setTimeout((()=>{t.focus()}),50);this.host.tabIndex=-1}getNextIndexByKey(t,o,r){const e=Math.floor(t/h);const a=t%h;let s=t;switch(o){case"ArrowRight":{const t=a+1;const o=t>=h?(e+1)%d:e;s=o*h+t%h;if(s>=r){s=0}break}case"ArrowLeft":{const t=a-1;const o=t<0?(e-1+d)%d:e;s=o*h+(t+h)%h;if(s>=r){s=r-1}break}case"ArrowDown":{let t=e+1;let o=a;if(t>=d){t=0;o=(a+1)%h}s=t*h+o;if(s>=r){s=0}break}case"ArrowUp":{let t=e-1;let o=a;if(t<0){t=d-1;o=(a-1+h)%h}s=t*h+o;if(s>=r){s=r-1}break}}return s}handleKeyDown(t){var o,r;const e=t.composedPath()[0];if(!e.dataset.color){return}const a=this.colorButtons.indexOf(e);const s=this.colorButtons.length;if(a<0||!["ArrowRight","ArrowLeft","ArrowDown","ArrowUp"].includes(t.key)){return}let i=a;let c=0;do{i=this.getNextIndexByKey(i,t.key,s);c++}while(c<s&&((o=this.colorButtons[i])===null||o===void 0?void 0:o.disabled));if(i!==a&&i>=0&&i<s&&!((r=this.colorButtons[i])===null||r===void 0?void 0:r.disabled)){this.moveFocusTo(i);t.preventDefault();t.stopPropagation()}}handleBlur(t){const o=t.relatedTarget;if(!i(this.host,o)){this.host.tabIndex=0;this.colorButtons.forEach((t=>t.tabIndex=-1))}}componentWillLoad(){this.colorKeysByRow=this.sortColorKeysByRow()}render(){return r(e,{key:"4fabea9e988ceec44c05e5885aa4ad0eb0ad5076",role:"listbox","aria-label":this.htmlAriaLabel||l[this.lng]["Select a color"],tabIndex:0},this.colorKeysByRow.map((t=>{var o;return r("button",{class:"color-swatch","data-color":t,role:"option","aria-selected":((o=this.selectedColor)===null||o===void 0?void 0:o.toUpperCase())===t.toUpperCase()?"true":"false",tabIndex:-1,onClick:()=>this.selectedColor=t,disabled:this.disableTransparent&&t==="#FFFFFF00"},r("div",{class:"color-swatch",role:"img","aria-roledescription":l[this.lng]["Color swatch"],"aria-label":s[t][this.lng],title:s[t][this.lng],style:{backgroundColor:t}}))})))}get host(){return a(this)}static get watchers(){return{disableTransparent:["validateTransparentSelection"],selectedColor:["validateTransparentSelection","emitColorSelected"]}}};u.style=n;export{u as z_color_picker};
2
+ //# sourceMappingURL=p-22b683a3.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stylesCss","ZColorPickerStyle0","LOCALES","it","en","COLOR_GROUP_SIZE","COLOR_GROUPS","ZColorPicker","this","colorKeysByRow","_colorButtons","colorButtons","length","Array","from","host","shadowRoot","querySelectorAll","sortColorKeysByRow","allKeys","Object","keys","ColorPickerPalette","ordered","row","col","columnMajorIndex","push","moveFocusTo","index","forEach","btn","i","tabIndex","focus","validateTransparentSelection","disableTransparent","selectedColor","emitColorSelected","colorSelected","emit","setFocus","firstSelectedOrEnabled","find","ariaSelected","disabled","setTimeout","getNextIndexByKey","currentIndex","key","totalColors","Math","floor","newIndex","newCol","newRow","handleKeyDown","event","target","composedPath","dataset","color","indexOf","includes","attempts","_a","_b","preventDefault","stopPropagation","handleBlur","relatedTarget","containsElement","componentWillLoad","render","h","Host","role","htmlAriaLabel","lng","map","colorKey","class","toUpperCase","onClick","title","style","backgroundColor"],"sources":["src/components/z-color-picker/styles.css?tag=z-color-picker&encapsulation=shadow","src/components/z-color-picker/index.tsx"],"sourcesContent":[":host {\n display: grid;\n width: fit-content;\n padding: calc(var(--space-unit) * 2);\n background: var(--color-surface01);\n gap: var(--space-unit);\n grid-template-columns: repeat(9, calc(var(--space-unit) * 3));\n grid-template-rows: repeat(5, calc(var(--space-unit) * 3));\n}\n\n:host,\n* {\n box-sizing: border-box;\n}\n\nbutton {\n --border-color: var(--color-surface05);\n\n padding: 0;\n border: none;\n appearance: none;\n background: none;\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\nbutton[data-color=\"#FFFFFF00\"] {\n position: relative;\n}\n\n/* draw a diagonal line from top right corner */\nbutton[data-color=\"#FFFFFF00\"]::after {\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );\n border-radius: var(--border-radius);\n content: \"\";\n}\n\nbutton[aria-selected=\"true\"] {\n box-shadow:\n 0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary);\n}\n\nbutton:focus-visible {\n box-shadow: var(--shadow-focus-primary);\n}\n\nbutton .color-swatch {\n width: calc(var(--space-unit) * 3);\n height: calc(var(--space-unit) * 3);\n border: var(--border-size-small) solid var(--border-color);\n border-radius: var(--border-radius);\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled {\n --border-color: var(--color-disabled01-icon);\n\n cursor: not-allowed;\n}\n\nbutton[data-color=\"#FFFFFF00\"]:disabled .color-swatch {\n background-color: var(--color-disabled02);\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, Watch, h} from \"@stencil/core\";\nimport {ColorPickerPalette} from \"../../beans\";\nimport {containsElement} from \"../../utils/utils\";\n\nconst LOCALES = {\n it: {\n \"Select a color\": \"Seleziona un colore\",\n \"Color swatch\": \"Campione di colore\",\n },\n en: {\n \"Select a color\": \"Select a color\",\n \"Color swatch\": \"Color swatch\",\n },\n} as const;\n\n/** Number of colors in each group (column) of the grid. */\nconst COLOR_GROUP_SIZE = 5;\n\n/** Number of color groups (columns) in the grid. */\nconst COLOR_GROUPS = 9;\n\n/**\n * Color picker component.\n * This component allows the user to pick a color from a predefined set.\n */\n@Component({\n tag: \"z-color-picker\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZColorPicker {\n @Element() host: HTMLZColorPickerElement;\n\n /**\n * The selected color to highlight.\n */\n @Prop({mutable: true})\n selectedColor: ColorPickerPalette;\n\n /**\n * The language for the aria labels inside the color picker.\n */\n @Prop()\n lng: \"it\" | \"en\" = \"it\";\n\n /**\n * The aria-label for the color picker, e.g. \"Select a background color for the label\".\n */\n @Prop()\n htmlAriaLabel: string;\n\n /**\n * Disables the transparent color option.\n * Setting `selectedColor` prop to `#FFFFFF00` while `disableTransparent` is true will default to `#333333` (\"dark gray 2\").\n */\n @Prop()\n disableTransparent = false;\n\n /**\n * Event emitted when a color is selected.\n */\n @Event()\n colorSelected: EventEmitter<ColorPickerPalette>;\n\n /**\n * The color keys arranged in row-major order for rendering and navigation.\n */\n private colorKeysByRow: ColorPickerPalette[] = [];\n\n private _colorButtons: HTMLButtonElement[] = [];\n\n private get colorButtons(): HTMLButtonElement[] {\n if (!this._colorButtons.length) {\n this._colorButtons = Array.from(this.host.shadowRoot.querySelectorAll(\"button\")) as HTMLButtonElement[];\n }\n\n return this._colorButtons;\n }\n\n /**\n * Reorders color keys from column-major (the format of the `ColorPickerPalette` object) to row-major (visual/navigation order).\n * This ensures button indices in the DOM match their visual position in the grid.\n */\n private sortColorKeysByRow(): ColorPickerPalette[] {\n const allKeys = Object.keys(ColorPickerPalette) as ColorPickerPalette[];\n const ordered: ColorPickerPalette[] = [];\n\n // Iterate through visual positions (row by row, left to right)\n for (let row = 0; row < COLOR_GROUP_SIZE; row++) {\n for (let col = 0; col < COLOR_GROUPS; col++) {\n const columnMajorIndex = col * COLOR_GROUP_SIZE + row;\n if (columnMajorIndex < allKeys.length) {\n ordered.push(allKeys[columnMajorIndex]);\n }\n }\n }\n\n return ordered;\n }\n\n /** Move focus to the specified color button by index. */\n private moveFocusTo(index: number): void {\n // Reset tabindex of other buttons and set tabindex to 0 on selected button\n this.colorButtons.forEach((btn, i) => (btn.tabIndex = i === index ? 0 : -1));\n this.colorButtons[index].focus();\n }\n\n @Watch(\"disableTransparent\")\n @Watch(\"selectedColor\")\n validateTransparentSelection(): void {\n if (this.disableTransparent && this.selectedColor === \"#FFFFFF00\") {\n this.selectedColor = \"#333333\"; // Default to dark gray 2 if transparent is disabled and currently selected\n }\n }\n\n @Watch(\"selectedColor\")\n emitColorSelected(): void {\n this.colorSelected.emit(this.selectedColor);\n }\n\n /**\n * Focuses the selected or first enabled color button and makes the container non-tabbable.\n */\n @Listen(\"focus\")\n @Method()\n async setFocus(): Promise<void> {\n // Reset tabindex of all buttons\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n const firstSelectedOrEnabled =\n this.colorButtons.find((btn) => btn.ariaSelected === \"true\") || this.colorButtons.find((btn) => !btn.disabled);\n if (!firstSelectedOrEnabled) {\n return;\n }\n\n firstSelectedOrEnabled.tabIndex = 0;\n setTimeout(() => {\n firstSelectedOrEnabled.focus();\n }, 50);\n // Set container as non-tabbable\n this.host.tabIndex = -1;\n }\n\n /**\n * Compute next index in row-major grid according to keyboard direction.\n */\n private getNextIndexByKey(currentIndex: number, key: string, totalColors: number): number {\n const row = Math.floor(currentIndex / COLOR_GROUPS);\n const col = currentIndex % COLOR_GROUPS;\n let newIndex = currentIndex;\n\n switch (key) {\n case \"ArrowRight\": {\n const newCol = col + 1;\n const newRow = newCol >= COLOR_GROUPS ? (row + 1) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + (newCol % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowLeft\": {\n const newCol = col - 1;\n const newRow = newCol < 0 ? (row - 1 + COLOR_GROUP_SIZE) % COLOR_GROUP_SIZE : row;\n newIndex = newRow * COLOR_GROUPS + ((newCol + COLOR_GROUPS) % COLOR_GROUPS);\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n case \"ArrowDown\": {\n let newRow = row + 1;\n let newCol = col;\n if (newRow >= COLOR_GROUP_SIZE) {\n // Wrap to first item of next column\n newRow = 0;\n newCol = (col + 1) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = 0; // Wrap to first item\n }\n\n break;\n }\n case \"ArrowUp\": {\n let newRow = row - 1;\n let newCol = col;\n if (newRow < 0) {\n // Wrap to last item of previous column\n newRow = COLOR_GROUP_SIZE - 1;\n newCol = (col - 1 + COLOR_GROUPS) % COLOR_GROUPS;\n }\n newIndex = newRow * COLOR_GROUPS + newCol;\n if (newIndex >= totalColors) {\n newIndex = totalColors - 1; // Wrap to last item\n }\n\n break;\n }\n }\n\n return newIndex;\n }\n\n /**\n * Handle keyboard navigation within the color picker.\n * Arrow keys move focus in the expected direction, wrapping around edges. The grid is navigated in row-major order.\n */\n @Listen(\"keydown\")\n handleKeyDown(event: KeyboardEvent): void {\n const target = event.composedPath()[0] as HTMLElement;\n if (!target.dataset.color) {\n return;\n }\n\n const currentIndex = this.colorButtons.indexOf(target as HTMLButtonElement);\n const totalColors = this.colorButtons.length;\n if (currentIndex < 0 || ![\"ArrowRight\", \"ArrowLeft\", \"ArrowDown\", \"ArrowUp\"].includes(event.key)) {\n return;\n }\n\n let newIndex = currentIndex;\n let attempts = 0;\n\n do {\n newIndex = this.getNextIndexByKey(newIndex, event.key, totalColors);\n attempts++;\n } while (attempts < totalColors && this.colorButtons[newIndex]?.disabled);\n\n if (\n newIndex !== currentIndex &&\n newIndex >= 0 &&\n newIndex < totalColors &&\n !this.colorButtons[newIndex]?.disabled\n ) {\n this.moveFocusTo(newIndex);\n event.preventDefault();\n event.stopPropagation();\n }\n }\n\n /**\n * When focus leaves the color picker (e.g. user tabs away), reset all buttons to non-tabbable and make the container tabbable again.\n */\n @Listen(\"blur\")\n handleBlur(event: FocusEvent): void {\n const relatedTarget = event.relatedTarget as HTMLElement;\n if (!containsElement(this.host, relatedTarget)) {\n this.host.tabIndex = 0;\n this.colorButtons.forEach((btn) => (btn.tabIndex = -1));\n }\n }\n\n componentWillLoad(): void {\n this.colorKeysByRow = this.sortColorKeysByRow();\n }\n\n render(): HTMLZColorPickerElement {\n return (\n <Host\n role=\"listbox\"\n aria-label={this.htmlAriaLabel || LOCALES[this.lng][\"Select a color\"]}\n tabIndex={0}\n >\n {this.colorKeysByRow.map((colorKey: ColorPickerPalette) => (\n <button\n class=\"color-swatch\"\n data-color={colorKey}\n role=\"option\"\n aria-selected={this.selectedColor?.toUpperCase() === colorKey.toUpperCase() ? \"true\" : \"false\"}\n tabIndex={-1}\n onClick={() => (this.selectedColor = colorKey)}\n disabled={this.disableTransparent && colorKey === \"#FFFFFF00\"}\n >\n <div\n class=\"color-swatch\"\n role=\"img\"\n aria-roledescription={LOCALES[this.lng][\"Color swatch\"]}\n aria-label={ColorPickerPalette[colorKey][this.lng]}\n title={ColorPickerPalette[colorKey][this.lng]}\n style={{backgroundColor: colorKey}}\n ></div>\n </button>\n ))}\n </Host>\n );\n }\n}\n"],"mappings":"iKAAA,MAAMA,EAAY,yyCAClB,MAAAC,EAAeD,ECGf,MAAME,EAAU,CACdC,GAAI,CACF,iBAAkB,sBAClB,eAAgB,sBAElBC,GAAI,CACF,iBAAkB,iBAClB,eAAgB,iBAKpB,MAAMC,EAAmB,EAGzB,MAAMC,EAAe,E,MAWRC,EAAY,M,sEAqCfC,KAAAC,eAAuC,GAEvCD,KAAAE,cAAqC,G,sCA1B1B,K,qDAaE,K,CAerB,gBAAYC,GACV,IAAKH,KAAKE,cAAcE,OAAQ,CAC9BJ,KAAKE,cAAgBG,MAAMC,KAAKN,KAAKO,KAAKC,WAAWC,iBAAiB,U,CAGxE,OAAOT,KAAKE,a,CAON,kBAAAQ,GACN,MAAMC,EAAUC,OAAOC,KAAKC,GAC5B,MAAMC,EAAgC,GAGtC,IAAK,IAAIC,EAAM,EAAGA,EAAMnB,EAAkBmB,IAAO,CAC/C,IAAK,IAAIC,EAAM,EAAGA,EAAMnB,EAAcmB,IAAO,CAC3C,MAAMC,EAAmBD,EAAMpB,EAAmBmB,EAClD,GAAIE,EAAmBP,EAAQP,OAAQ,CACrCW,EAAQI,KAAKR,EAAQO,G,GAK3B,OAAOH,C,CAID,WAAAK,CAAYC,GAElBrB,KAAKG,aAAamB,SAAQ,CAACC,EAAKC,IAAOD,EAAIE,SAAWD,IAAMH,EAAQ,GAAK,IACzErB,KAAKG,aAAakB,GAAOK,O,CAK3B,4BAAAC,GACE,GAAI3B,KAAK4B,oBAAsB5B,KAAK6B,gBAAkB,YAAa,CACjE7B,KAAK6B,cAAgB,S,EAKzB,iBAAAC,GACE9B,KAAK+B,cAAcC,KAAKhC,KAAK6B,c,CAQ/B,cAAMI,GAEJjC,KAAKG,aAAamB,SAASC,GAASA,EAAIE,UAAY,IACpD,MAAMS,EACJlC,KAAKG,aAAagC,MAAMZ,GAAQA,EAAIa,eAAiB,UAAWpC,KAAKG,aAAagC,MAAMZ,IAASA,EAAIc,WACvG,IAAKH,EAAwB,CAC3B,M,CAGFA,EAAuBT,SAAW,EAClCa,YAAW,KACTJ,EAAuBR,OAAO,GAC7B,IAEH1B,KAAKO,KAAKkB,UAAY,C,CAMhB,iBAAAc,CAAkBC,EAAsBC,EAAaC,GAC3D,MAAM1B,EAAM2B,KAAKC,MAAMJ,EAAe1C,GACtC,MAAMmB,EAAMuB,EAAe1C,EAC3B,IAAI+C,EAAWL,EAEf,OAAQC,GACN,IAAK,aAAc,CACjB,MAAMK,EAAS7B,EAAM,EACrB,MAAM8B,EAASD,GAAUhD,GAAgBkB,EAAM,GAAKnB,EAAmBmB,EACvE6B,EAAWE,EAASjD,EAAgBgD,EAAShD,EAC7C,GAAI+C,GAAYH,EAAa,CAC3BG,EAAW,C,CAGb,K,CAEF,IAAK,YAAa,CAChB,MAAMC,EAAS7B,EAAM,EACrB,MAAM8B,EAASD,EAAS,GAAK9B,EAAM,EAAInB,GAAoBA,EAAmBmB,EAC9E6B,EAAWE,EAASjD,GAAiBgD,EAAShD,GAAgBA,EAC9D,GAAI+C,GAAYH,EAAa,CAC3BG,EAAWH,EAAc,C,CAG3B,K,CAEF,IAAK,YAAa,CAChB,IAAIK,EAAS/B,EAAM,EACnB,IAAI8B,EAAS7B,EACb,GAAI8B,GAAUlD,EAAkB,CAE9BkD,EAAS,EACTD,GAAU7B,EAAM,GAAKnB,C,CAEvB+C,EAAWE,EAASjD,EAAegD,EACnC,GAAID,GAAYH,EAAa,CAC3BG,EAAW,C,CAGb,K,CAEF,IAAK,UAAW,CACd,IAAIE,EAAS/B,EAAM,EACnB,IAAI8B,EAAS7B,EACb,GAAI8B,EAAS,EAAG,CAEdA,EAASlD,EAAmB,EAC5BiD,GAAU7B,EAAM,EAAInB,GAAgBA,C,CAEtC+C,EAAWE,EAASjD,EAAegD,EACnC,GAAID,GAAYH,EAAa,CAC3BG,EAAWH,EAAc,C,CAG3B,K,EAIJ,OAAOG,C,CAQT,aAAAG,CAAcC,G,QACZ,MAAMC,EAASD,EAAME,eAAe,GACpC,IAAKD,EAAOE,QAAQC,MAAO,CACzB,M,CAGF,MAAMb,EAAexC,KAAKG,aAAamD,QAAQJ,GAC/C,MAAMR,EAAc1C,KAAKG,aAAaC,OACtC,GAAIoC,EAAe,IAAM,CAAC,aAAc,YAAa,YAAa,WAAWe,SAASN,EAAMR,KAAM,CAChG,M,CAGF,IAAII,EAAWL,EACf,IAAIgB,EAAW,EAEf,EAAG,CACDX,EAAW7C,KAAKuC,kBAAkBM,EAAUI,EAAMR,IAAKC,GACvDc,G,OACOA,EAAWd,KAAee,EAAAzD,KAAKG,aAAa0C,MAAS,MAAAY,SAAA,SAAAA,EAAEpB,WAEhE,GACEQ,IAAaL,GACbK,GAAY,GACZA,EAAWH,MACVgB,EAAA1D,KAAKG,aAAa0C,MAAS,MAAAa,SAAA,SAAAA,EAAErB,UAC9B,CACArC,KAAKoB,YAAYyB,GACjBI,EAAMU,iBACNV,EAAMW,iB,EAQV,UAAAC,CAAWZ,GACT,MAAMa,EAAgBb,EAAMa,cAC5B,IAAKC,EAAgB/D,KAAKO,KAAMuD,GAAgB,CAC9C9D,KAAKO,KAAKkB,SAAW,EACrBzB,KAAKG,aAAamB,SAASC,GAASA,EAAIE,UAAY,G,EAIxD,iBAAAuC,GACEhE,KAAKC,eAAiBD,KAAKU,oB,CAG7B,MAAAuD,GACE,OACEC,EAACC,EAAI,CAAA1B,IAAA,2CACH2B,KAAK,UAAS,aACFpE,KAAKqE,eAAiB3E,EAAQM,KAAKsE,KAAK,kBACpD7C,SAAU,GAETzB,KAAKC,eAAesE,KAAKC,I,MAAiC,OACzDN,EAAA,UACEO,MAAM,eAAc,aACRD,EACZJ,KAAK,SAAQ,kBACEX,EAAAzD,KAAK6B,iBAAa,MAAA4B,SAAA,SAAAA,EAAEiB,iBAAkBF,EAASE,cAAgB,OAAS,QACvFjD,UAAW,EACXkD,QAAS,IAAO3E,KAAK6B,cAAgB2C,EACrCnC,SAAUrC,KAAK4B,oBAAsB4C,IAAa,aAElDN,EAAA,OACEO,MAAM,eACNL,KAAK,MAAK,uBACY1E,EAAQM,KAAKsE,KAAK,gBAAe,aAC3CxD,EAAmB0D,GAAUxE,KAAKsE,KAC9CM,MAAO9D,EAAmB0D,GAAUxE,KAAKsE,KACzCO,MAAO,CAACC,gBAAiBN,KAEpB,I","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as i,a,g as o}from"./p-75c4a726.js";const s=':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=s;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(a,{key:"a692eb50b30a7cc66e08acf8259a9a7617c053c5",role:"menu",open:this.open},i("button",{key:"7223a1fe109ea3a9c475ed673e9d3c05aa1dade8",class:"label","aria-pressed":this.open?"true":"false",onClick:this.toggle.bind(this)},i("slot",{key:"4415e7a61bde97fa0e89552fd464d4e9c6a6c77a",onSlotchange:this.onLabelSlotChange.bind(this)}),this.hasContent&&i("z-icon",{key:"b9af6fa6ab900869a4f2681e05042ab9a6860c35",name:this.open?"chevron-up":"chevron-down"})),this.open&&i("div",{key:"791812e95224a678f5481eb21af8b86e5aa46157",class:"items"},i("slot",{key:"9ba3cbdfa55a6d8cd0ffc11c3520eb7b2cb8feb5",name:"item",onSlotchange:this.checkContent.bind(this)})))}get hostElement(){return o(this)}};n.style=l;export{n as z_menu_section_deprecated};
2
+ //# sourceMappingURL=p-2a04c00e.entry.js.map
@@ -1 +1 @@
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
+ {"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":"2DAAA,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 +1,2 @@
1
- import{r as t,c as e,h as i,g as n}from"./p-75c4a726.js";import{e as o,H as a}from"./p-17af7fb2.js";const l=":host{display:block;width:inherit;min-width:300px;height:inherit;min-height:32px;background-color:var(--color-surface01)}:host>div{display:flex;width:100%;height:100%;box-sizing:border-box;align-items:center;justify-content:space-between;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));gap:calc(var(--space-unit) * 2)}:host>div .app{display:flex;flex:1;align-items:center;gap:var(--space-unit)}:host>div .app.z-link{color:inherit;text-decoration:none}:host>div .app.z-link:focus{text-decoration:none}:host>div .app img{width:1.5rem;height:1.5rem;min-height:32px}:host>div .app .name{display:-webkit-box;overflow:hidden;height:1.4rem;-webkit-box-orient:vertical;font-family:var(--font-family-serif);-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>div .app .name .laz{color:var(--red500)}:host>div z-info-reveal{--z-info-reveal-panel-width:250px;--trigger-icon-size-x-small:1rem;font-family:var(--font-family-sans);--color-surface05:var(--color-surface01);--color-text-inverse:var(--color-default-text);--color-inverse-icon:var(--color-primary01)}:host z-icon{--z-icon-width:1rem;--z-icon-height:1rem}";const s=l;const r="button.z-link{padding:0;border:0;margin:0;background-color:transparent}a.z-link,button.z-link{display:inline-flex;cursor:pointer;font-family:var(--font-family-sans);line-height:inherit;text-decoration:none}a.z-link.z-link-icon,button.z-link.z-link-icon{--z-icon-width:1.125em;--z-icon-height:1.125em;align-items:center;column-gap:0.5em}a.z-link.z-link-sb,button.z-link.z-link-sb{font-weight:var(--font-sb)}a.z-link.z-link-underline,button.z-link.z-link-underline{text-decoration:underline}a.z-link:hover,button.z-link:hover,a.z-link:focus-visible,button.z-link:focus-visible,a.z-link:active,button.z-link:active{text-decoration:underline}a.z-link:focus-visible,button.z-link:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}a.z-link.z-link-disabled,button.z-link.z-link-disabled{box-shadow:none;color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);outline:none;pointer-events:none;text-decoration:none}a.z-link,button.z-link,a.z-link.z-link-active,button.z-link.z-link-active,a.z-link:hover,button.z-link:hover,a.z-link.z-link-active:hover,button.z-link.z-link-active:hover,a.z-link:focus-visible,button.z-link:focus-visible,a.z-link.z-link-active:focus-visible,button.z-link.z-link-active:focus-visible,a.z-link:active,button.z-link:active,a.z-link.z-link-active:active,button.z-link.z-link-active:active,a.z-link:visited,button.z-link:visited,a.z-link.z-link-active:visited,button.z-link.z-link-active:visited{color:var(--color-text-link-default);fill:var(--color-text-link-default)}a.z-link.z-link-blue,button.z-link.z-link-blue,a.z-link.z-link-blue.z-link-active,button.z-link.z-link-blue.z-link-active{color:var(--color-text-link-blue);fill:var(--color-text-link-blue)}a.z-link.z-link-red,button.z-link.z-link-red,a.z-link.z-link-red.z-link-active,button.z-link.z-link-red.z-link-active{color:var(--color-text-link-red);fill:var(--color-text-link-red)}a.z-link.z-link-inverse,button.z-link.z-link-inverse,a.z-link.z-link-inverse.z-link-active,button.z-link.z-link-inverse.z-link-active{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:hover,button.z-link.z-link-blue:hover{color:var(--color-text-link-blue-hover);fill:var(--color-text-link-blue-hover)}a.z-link.z-link-red:hover,button.z-link.z-link-red:hover{color:var(--color-text-link-red-hover);fill:var(--color-text-link-red-hover)}a.z-link.z-link-inverse:hover,button.z-link.z-link-inverse:hover{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:active,button.z-link.z-link-blue:active,a.z-link.z-link-blue:focus-visible,button.z-link.z-link-blue:focus-visible{color:var(--color-text-link-blue-active);fill:var(--color-text-link-blue-active)}a.z-link.z-link-red:active,button.z-link.z-link-red:active,a.z-link.z-link-red:focus-visible,button.z-link.z-link-red:focus-visible{color:var(--color-text-link-red-active);fill:var(--color-text-link-red-active)}a.z-link.z-link-inverse:active,button.z-link.z-link-inverse:active,a.z-link.z-link-inverse:focus-visible,button.z-link.z-link-inverse:focus-visible{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:visited,button.z-link.z-link-blue:visited{color:var(--color-text-link-blue-visited);fill:var(--color-text-link-blue-visited)}a.z-link.z-link-red:visited,button.z-link.z-link-red:visited{color:var(--color-text-link-red-visited);fill:var(--color-text-link-red-visited)}a.z-link.z-link-inverse:visited,button.z-link.z-link-inverse:visited{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}";const f=r;const b=':root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}';const d=b;const h=class{constructor(i){t(this,i);this.appClick=e(this,"appClick",7);this.logo=undefined;this.name=undefined;this.link=undefined;this.laz=true;this.info=undefined}emitAppClick(){this.appClick.emit()}renderLaz(){if(this.laz){return i("span",{class:"laz"},"laZ ")}return null}render(){return i("div",{key:"a6e90497110df5b731c4b71ab7c0c377fc3c5532"},i("a",{key:"50ba4a41e2f0bd50b78989b60e8f1a4dfe68ef2c",class:"app z-link",href:this.link,"aria-label":`vai a ${this.laz?"laz":""} ${this.name}`,onClick:()=>this.emitAppClick(),target:"_blank"},this.logo&&i("img",{key:"4c743902416ff0d2822ba9f8689bcf0eceb87b44",src:this.logo,alt:""}),i("div",{key:"c0e84f7a7d964c7bf6c437338ed074c2e02b1112",class:"name body-4-sb"},this.renderLaz(),this.name)),this.info&&i("z-info-reveal",{key:"722c3d99a3865573528739b9ed51b7bfd0a425d6",icon:"info",size:o.X_SMALL,position:a.TOP_RIGHT,class:"info body-5"},i("div",{key:"14a00ee6607d044a04054fc2cdffafe8f76098a2"},this.info)),i("a",{key:"d145887f5110de5c654833a1b4f9bdf3a99a6fef",class:"z-link z-link-icon",href:this.link,"aria-label":`vai a ${this.laz?"laz":""} ${this.name}`,onClick:()=>this.emitAppClick(),target:"_blank"},i("z-icon",{key:"bf032d04ef2a5cfbfbe66133b3b9598df3d3a6c3",name:"chevron-right",fill:"color-primary01-icon"})))}get hostElement(){return n(this)}};h.style=s+(f+d);export{h as z_book_card_app};
2
- //# sourceMappingURL=p-1fd1cf02.entry.js.map
1
+ import{r as t,c as e,h as i,g as n}from"./p-75c4a726.js";import{e as o,H as a}from"./p-86618221.js";const l=":host{display:block;width:inherit;min-width:300px;height:inherit;min-height:32px;background-color:var(--color-surface01)}:host>div{display:flex;width:100%;height:100%;box-sizing:border-box;align-items:center;justify-content:space-between;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));gap:calc(var(--space-unit) * 2)}:host>div .app{display:flex;flex:1;align-items:center;gap:var(--space-unit)}:host>div .app.z-link{color:inherit;text-decoration:none}:host>div .app.z-link:focus{text-decoration:none}:host>div .app img{width:1.5rem;height:1.5rem;min-height:32px}:host>div .app .name{display:-webkit-box;overflow:hidden;height:1.4rem;-webkit-box-orient:vertical;font-family:var(--font-family-serif);-webkit-line-clamp:1;line-clamp:1;text-overflow:ellipsis;word-break:break-all}:host>div .app .name .laz{color:var(--red500)}:host>div z-info-reveal{--z-info-reveal-panel-width:250px;--trigger-icon-size-x-small:1rem;font-family:var(--font-family-sans);--color-surface05:var(--color-surface01);--color-text-inverse:var(--color-default-text);--color-inverse-icon:var(--color-primary01)}:host z-icon{--z-icon-width:1rem;--z-icon-height:1rem}";const s=l;const r="button.z-link{padding:0;border:0;margin:0;background-color:transparent}a.z-link,button.z-link{display:inline-flex;cursor:pointer;font-family:var(--font-family-sans);line-height:inherit;text-decoration:none}a.z-link.z-link-icon,button.z-link.z-link-icon{--z-icon-width:1.125em;--z-icon-height:1.125em;align-items:center;column-gap:0.5em}a.z-link.z-link-sb,button.z-link.z-link-sb{font-weight:var(--font-sb)}a.z-link.z-link-underline,button.z-link.z-link-underline{text-decoration:underline}a.z-link:hover,button.z-link:hover,a.z-link:focus-visible,button.z-link:focus-visible,a.z-link:active,button.z-link:active{text-decoration:underline}a.z-link:focus-visible,button.z-link:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}a.z-link.z-link-disabled,button.z-link.z-link-disabled{box-shadow:none;color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);outline:none;pointer-events:none;text-decoration:none}a.z-link,button.z-link,a.z-link.z-link-active,button.z-link.z-link-active,a.z-link:hover,button.z-link:hover,a.z-link.z-link-active:hover,button.z-link.z-link-active:hover,a.z-link:focus-visible,button.z-link:focus-visible,a.z-link.z-link-active:focus-visible,button.z-link.z-link-active:focus-visible,a.z-link:active,button.z-link:active,a.z-link.z-link-active:active,button.z-link.z-link-active:active,a.z-link:visited,button.z-link:visited,a.z-link.z-link-active:visited,button.z-link.z-link-active:visited{color:var(--color-text-link-default);fill:var(--color-text-link-default)}a.z-link.z-link-blue,button.z-link.z-link-blue,a.z-link.z-link-blue.z-link-active,button.z-link.z-link-blue.z-link-active{color:var(--color-text-link-blue);fill:var(--color-text-link-blue)}a.z-link.z-link-red,button.z-link.z-link-red,a.z-link.z-link-red.z-link-active,button.z-link.z-link-red.z-link-active{color:var(--color-text-link-red);fill:var(--color-text-link-red)}a.z-link.z-link-inverse,button.z-link.z-link-inverse,a.z-link.z-link-inverse.z-link-active,button.z-link.z-link-inverse.z-link-active{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:hover,button.z-link.z-link-blue:hover{color:var(--color-text-link-blue-hover);fill:var(--color-text-link-blue-hover)}a.z-link.z-link-red:hover,button.z-link.z-link-red:hover{color:var(--color-text-link-red-hover);fill:var(--color-text-link-red-hover)}a.z-link.z-link-inverse:hover,button.z-link.z-link-inverse:hover{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:active,button.z-link.z-link-blue:active,a.z-link.z-link-blue:focus-visible,button.z-link.z-link-blue:focus-visible{color:var(--color-text-link-blue-active);fill:var(--color-text-link-blue-active)}a.z-link.z-link-red:active,button.z-link.z-link-red:active,a.z-link.z-link-red:focus-visible,button.z-link.z-link-red:focus-visible{color:var(--color-text-link-red-active);fill:var(--color-text-link-red-active)}a.z-link.z-link-inverse:active,button.z-link.z-link-inverse:active,a.z-link.z-link-inverse:focus-visible,button.z-link.z-link-inverse:focus-visible{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}a.z-link.z-link-blue:visited,button.z-link.z-link-blue:visited{color:var(--color-text-link-blue-visited);fill:var(--color-text-link-blue-visited)}a.z-link.z-link-red:visited,button.z-link.z-link-red:visited{color:var(--color-text-link-red-visited);fill:var(--color-text-link-red-visited)}a.z-link.z-link-inverse:visited,button.z-link.z-link-inverse:visited{color:var(--color-text-link-inverse);fill:var(--color-text-link-inverse)}";const f=r;const b=':root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 1.083 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.142 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}';const d=b;const h=class{constructor(i){t(this,i);this.appClick=e(this,"appClick",7);this.logo=undefined;this.name=undefined;this.link=undefined;this.laz=true;this.info=undefined}emitAppClick(){this.appClick.emit()}renderLaz(){if(this.laz){return i("span",{class:"laz"},"laZ ")}return null}render(){return i("div",{key:"f4399370ef0d8327498c6f889476260ede634651"},i("a",{key:"a56f4243fdc05fea9f58d58c853da2a720d209d2",class:"app z-link",href:this.link,"aria-label":`vai a ${this.laz?"laz":""} ${this.name}`,onClick:()=>this.emitAppClick(),target:"_blank"},this.logo&&i("img",{key:"f07624b5158708ac77d7f8885a3cb82e1ec17301",src:this.logo,alt:""}),i("div",{key:"0d621241300a9a10b3ee9a8542ad23323b1d3da4",class:"name body-4-sb"},this.renderLaz(),this.name)),this.info&&i("z-info-reveal",{key:"799b9c1c5e6e526425fb1047412f93689694217e",icon:"info",size:o.X_SMALL,position:a.TOP_RIGHT,class:"info body-5"},i("div",{key:"970193baf4be408150d8a6119c5a1f10693502d7"},this.info)),i("a",{key:"f707f279ba8af397c0d53f558dda956e9853c061",class:"z-link z-link-icon",href:this.link,"aria-label":`vai a ${this.laz?"laz":""} ${this.name}`,onClick:()=>this.emitAppClick(),target:"_blank"},i("z-icon",{key:"42daafcf3f8214f01af1577522dafb091f26359f",name:"chevron-right",fill:"color-primary01-icon"})))}get hostElement(){return n(this)}};h.style=s+(f+d);export{h as z_book_card_app};
2
+ //# sourceMappingURL=p-2bba665d.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,c,h,g as e}from"./p-75c4a726.js";import{w as r}from"./p-17af7fb2.js";const a=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";const s=a;const o=class{constructor(h){i(this,h);this.interactiveIconClick=c(this,"interactiveIconClick",7);this.icon=undefined;this.type=r.DEFAULT;this.interactiveIcon=undefined;this.disabled=false;this.ariaLabel=""}render(){return h("div",{key:"b72d752e39024d30607e7a86bc9541ea2141e40c",class:{"z-chip-container":true,"z-chip-interactive":!!this.interactiveIcon,[this.type]:true},"aria-disabled":this.disabled},this.icon&&h("z-icon",{key:"ea88728b94745d8a72b78ffdbb09d24de10d56a5",name:this.icon}),h("slot",{key:"36bea3ad6017a06d4ed8a3592ce98f5799da7e79"}),this.interactiveIcon&&h("button",{key:"0321ec2ba1a499057022fa46f4c6d4e284d74ce4",type:"button",onClick:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{key:"dc32dda6bd49e897b4895b17069e0f031f622070",class:"interactive-icon",name:this.interactiveIcon})))}get el(){return e(this)}};o.style=s;export{o as z_chip};
2
- //# sourceMappingURL=p-5a1f98a2.entry.js.map
1
+ import{r as i,c,h,g as e}from"./p-75c4a726.js";import{w as r}from"./p-86618221.js";const a=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";const s=a;const o=class{constructor(h){i(this,h);this.interactiveIconClick=c(this,"interactiveIconClick",7);this.icon=undefined;this.type=r.DEFAULT;this.interactiveIcon=undefined;this.disabled=false;this.ariaLabel=""}render(){return h("div",{key:"f696700f7e7634093acb40080f72f9261f3aae36",class:{"z-chip-container":true,"z-chip-interactive":!!this.interactiveIcon,[this.type]:true},"aria-disabled":this.disabled},this.icon&&h("z-icon",{key:"549bec3f429ffaf44eb3fe285b57b45bfd67f3ee",name:this.icon}),h("slot",{key:"ae32cb0af653344dfce38449f55eea24772792ed"}),this.interactiveIcon&&h("button",{key:"0d6daafae8c1580d3107050b4e964f89ccbb3475",type:"button",onClick:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{key:"db816882f84afbfa35d44ec47aeefe7f3a4ad254",class:"interactive-icon",name:this.interactiveIcon})))}get el(){return e(this)}};o.style=s;export{o as z_chip};
2
+ //# sourceMappingURL=p-2f45f1ff.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,c as o,h as t}from"./p-75c4a726.js";import{B as i}from"./p-5145a606.js";const s="button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-active-primary-icon)}button.selected{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";const a=s;const e=class{constructor(t){r(this,t);this.buttonSortClick=o(this,"buttonSortClick",7);this.buttonid=undefined;this.label=undefined;this.desclabel=undefined;this.counter=undefined;this.sortlabelasc="A-Z";this.sortlabeldesc="Z-A";this.isselected=false;this.sortasc=true;this.allowTooltip=false}emitButtonSortClick(){if(!this.isselected){this.isselected=true}else{this.sortasc=!this.sortasc}this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){if(this.elementHasEllipsis()&&window.innerWidth>i.TABLET){this.allowTooltip=true}}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t("button",{key:"551cd870041bc9d74949c55ddade45b607627b9c",title:this.setButtonTitle(),id:this.buttonid,class:{selected:this.isselected},onClick:()=>this.emitButtonSortClick()},t("span",{key:"04f900a2110709622e1417517ad8c0f56a9dd560",ref:r=>this.ellipsis=r,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),t("span",{key:"b075fc8a9b9d61053755b7d2cf6216b88eca21e6",class:"counter"},this.counter&&` (${this.counter})`),t("span",{key:"f4a93840d7e1a8d66fdcb67d658fc9b919145302",class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),t("z-icon",{key:"118fa5dea4d246c9c5ebfcd06f717a55ef64d39f",name:"caret-up-down",width:16,height:16}))}};e.style=a;export{e as z_button_sort};
2
- //# sourceMappingURL=p-86160fe3.entry.js.map
1
+ import{r,c as o,h as t}from"./p-75c4a726.js";import{B as i}from"./p-5145a606.js";const a="button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-active-primary-icon)}button.selected{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";const s=a;const e=class{constructor(t){r(this,t);this.buttonSortClick=o(this,"buttonSortClick",7);this.buttonid=undefined;this.label=undefined;this.desclabel=undefined;this.counter=undefined;this.sortlabelasc="A-Z";this.sortlabeldesc="Z-A";this.isselected=false;this.sortasc=true;this.allowTooltip=false}emitButtonSortClick(){if(!this.isselected){this.isselected=true}else{this.sortasc=!this.sortasc}this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){if(this.elementHasEllipsis()&&window.innerWidth>i.TABLET){this.allowTooltip=true}}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t("button",{key:"6aebfeebb2882a1207aa32859e4c463f785360c2",title:this.setButtonTitle(),id:this.buttonid,class:{selected:this.isselected},onClick:()=>this.emitButtonSortClick()},t("span",{key:"c7a7a840ef0365ad7d56bf8fa8a0a81b421f4bed",ref:r=>this.ellipsis=r,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),t("span",{key:"76768e04bdb9409dbbc954da9097ce3d5bf2fd1b",class:"counter"},this.counter&&` (${this.counter})`),t("span",{key:"932bc97f8c6cd54907de7e970d3f0a1895026fde",class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),t("z-icon",{key:"b91e6422c7325bb5646211e2013a5a3226b30a7c",name:"caret-up-down",width:16,height:16}))}};e.style=s;export{e as z_button_sort};
2
+ //# sourceMappingURL=p-332e0361.entry.js.map
@@ -1,2 +1,2 @@
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-17af7fb2.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:"860eebd2ba1f46fb493bc07eb245596a9dc8be99",class:"tree-list",role:e?"navigation":"none","aria-hidden":e?undefined:"true","aria-labelledby":this.htmlAriaLabelledby},i("div",{key:"6a5876f627d499e9c04464383463f97d5caa1272",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-4cec3345.entry.js.map
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 r=':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 a=r;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,r;this.htmlTag=e.url?"a":"span";const a=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))),((r=e.children)===null||r===void 0?void 0:r.length)>0&&i("z-list",{role:"group"},i("div",{class:"children-node"},e.children.map(((e,t)=>this.renderTreeList(e,`${t}`,l+1))))));return a}render(){const e=this.parsedItems.some((e=>!!e.url));return i(l,{key:"f6165d141d1ae1f40876c63f72ea0d196960f519",class:"tree-list",role:e?"navigation":"none","aria-hidden":e?undefined:"true","aria-labelledby":this.htmlAriaLabelledby},i("div",{key:"77ebd44ff71d71dc52b6a32fbc13232d0b6f93be",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=a;export{o as z_tree_list};
2
+ //# sourceMappingURL=p-3d02ad75.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as o,g as r}from"./p-75c4a726.js";import{J as a,M as i}from"./p-17af7fb2.js";const n=':host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot="cover"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container{height:100%}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant="overlay"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]:is([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .content-container{position:absolute;inset:0}:host([variant="overlay"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-default-text)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';const s=n;const c=class{constructor(t){e(this,t);this.variant=a.OVERLAY;this.contentPosition=i.TOP;this.preserveAspectRatio=true}onImgLoad({target:e}){if(e instanceof Image&&e.closest("[slot=cover]")){const t=e.naturalWidth/e.naturalHeight;this.host.style.setProperty("--image-aspect-ratio",t.toString())}}renderContent(){return t("div",{class:"content-container"},t("slot",{name:"content"}))}render(){return t(o,{key:"1eb5d39f26e19f213d435c185167eb83500225f3"},this.variant===a.STACKED&&this.contentPosition===i.TOP&&this.renderContent(),t("div",{key:"61c495773839b7741f674719325fe98a65956986",class:"main-container"},t("div",{key:"0ea2f83f40f60017fb2e7a4501cb67c34d954f6c",class:"cover-container"},t("slot",{key:"68a40d93440b22ce2afb9ff8db3cb9ca90ec7263",name:"cover"})),t("slot",{key:"c29feaf859382807e0e55bcf2db27a98387c2e96",name:"info-reveal"}),this.variant===a.OVERLAY&&this.renderContent()),this.variant===a.STACKED&&this.contentPosition===i.BOTTOM&&this.renderContent())}get host(){return r(this)}};c.style=s;export{c as z_cover_hero};
2
- //# sourceMappingURL=p-240de9aa.entry.js.map
1
+ import{r as t,h as e,a as o,g as r}from"./p-75c4a726.js";import{J as a,M as i}from"./p-86618221.js";const n=':host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot="cover"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container{height:100%}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant="overlay"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]:is([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .content-container{position:absolute;inset:0}:host([variant="overlay"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-default-text)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';const c=n;const s=class{constructor(e){t(this,e);this.variant=a.OVERLAY;this.contentPosition=i.TOP;this.preserveAspectRatio=true}onImgLoad({target:t}){if(t instanceof Image&&t.closest("[slot=cover]")){const e=t.naturalWidth/t.naturalHeight;this.host.style.setProperty("--image-aspect-ratio",e.toString())}}renderContent(){return e("div",{class:"content-container"},e("slot",{name:"content"}))}render(){return e(o,{key:"b10d16e5490c00d087ec8677e5453a989aca05cd"},this.variant===a.STACKED&&this.contentPosition===i.TOP&&this.renderContent(),e("div",{key:"c920eda8a79cd4b7f70f3cdc7e3690b57a117bd9",class:"main-container"},e("div",{key:"4b74fde8b3d196a772489f381e46ef5690f1d9cf",class:"cover-container"},e("slot",{key:"4a67176c23dd62d34bc69a0c236bf9adc3b5088c",name:"cover"})),e("slot",{key:"e71151ae06cc7c30436af153d6192fc2faf4f6ba",name:"info-reveal"}),this.variant===a.OVERLAY&&this.renderContent()),this.variant===a.STACKED&&this.contentPosition===i.BOTTOM&&this.renderContent())}get host(){return r(this)}};s.style=c;export{s as z_cover_hero};
2
+ //# sourceMappingURL=p-3f66654f.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as a,a as n,g as o}from"./p-75c4a726.js";import{I as s}from"./p-17af7fb2.js";const e="z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;--z-pagination-background-color:var(--color-background);--z-pagination-background-color-hover:var(--color-surface01);display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-primary01-icon)}z-pagination *:disabled z-icon{fill:var(--color-disabled03)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-default-text)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--z-pagination-background-color);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out,\n color 0.15s ease-out,\n border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out,\n font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-surface01);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface02)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--z-pagination-background-color-hover)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-primary);color:var(--color-hover-primary)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";const r=e;const l=class{constructor(a){t(this,a);this.pageChanged=i(this,"pageChanged",7);this.label=undefined;this.navArrows=true;this.totalPages=undefined;this.skip=0;this.edges=false;this.split=undefined;this.visiblePages=undefined;this.currentPage=1;this.goToPage=undefined;this._visiblePages=this.visiblePages;this.isMobile=false;this.goToPageValue=null}setPagesContainerWidth(){if(!this._visiblePages||this.split){this.host.style.setProperty("--z-pagination--pages-container-max-width","100%");return}const t=window.getComputedStyle(this.host);const i=t.getPropertyValue("--z-pagination--page-button-width");this.host.style.setProperty("--z-pagination--pages-container-max-width",`calc(${i} * ${this._visiblePages})`)}setVisiblePages(){this._visiblePages=Math.min(this.visiblePages||this.totalPages,this.totalPages)}onPageChanged(){this.pageChanged.emit(this.currentPage);this.scrollToPage()}onSplitChanged(){if(this.split){this.edges=false}}onResize(){this.setMobile()}setMobile(){const t="screen and (max-width: 767px)";this.isMobile=window.matchMedia(t).matches}getPagesChunks(){const t=Array.from({length:this.totalPages},((t,i)=>i+1));const i=[];const a=Math.ceil(t.length/this._visiblePages);for(let n=0;n<a;n++){i.push(t.slice(n*this._visiblePages,(n+1)*this._visiblePages))}return i}scrollToPage(){var t,i;const a=this.host.querySelector(".pages-container");const n=this.host.querySelector(`[data-page="${this.currentPage}"]`);const o=this.host.querySelector(".navigation-button");if(!n||!a){return}const s=a.getBoundingClientRect().width;const e=n.getBoundingClientRect().width;const r=(i=(t=o===null||o===void 0?void 0:o.getBoundingClientRect())===null||t===void 0?void 0:t.width)!==null&&i!==void 0?i:0;a.scrollLeft=this.currentPage*e-r-s/2}selectPage(t){this.currentPage=Math.min(Math.max(t,1),this.totalPages)}renderPage(t){return a("button",{class:"page-button",type:"button","aria-current":this.currentPage===t?"page":"false",title:`Vai alla pagina ${t}`,"data-page":t,"data-current":this.currentPage===t,onClick:()=>this.selectPage(t)},t)}renderEllipsisButton(t){return a("button",{class:"ellipsis-button",type:"button",title:`Vai alla pagina ${t}`,onClick:()=>this.selectPage(t)},"…")}renderPages(){const t=this.getPagesChunks();if(t.length<=0){return}return t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))}renderSplitPages(){if(this.totalPages<=this.split*2+5){return Array.from({length:this.totalPages},((t,i)=>this.renderPage(i+1)))}if(this.currentPage<=this.split*2+2){return[...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(i+1))),this.renderEllipsisButton(this.split*2+4),this.renderPage(this.totalPages)]}if(this.currentPage>this.split*2+2&&this.currentPage<this.totalPages-this.split*2-1){return[this.renderPage(1),this.renderEllipsisButton(this.currentPage-this.split-1),...Array.from({length:this.split*2+1},((t,i)=>this.renderPage(this.currentPage-this.split+i))),this.renderEllipsisButton(this.currentPage+this.split+1),this.renderPage(this.totalPages)]}return[this.renderPage(1),this.renderEllipsisButton(this.totalPages-this.split*2-3),...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(this.totalPages-this.split*2-2+i)))]}renderBackButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla pagina precedente",disabled:this.currentPage===1,onClick:()=>this.selectPage(this.currentPage-1)},a("z-icon",{name:"chevron-left"}))}renderForwardButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla prossima pagina",disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.currentPage+1)},a("z-icon",{name:"chevron-right"}))}renderMobile(){const t=this.getPagesChunks();return[this.label&&a("span",{class:"page-label body-1-sb"},this.label),a("div",{class:"pagination-bar"},this.renderBackButton(),!this.goToPage&&a("div",{class:"pages-container",role:"navigation",tabIndex:-1},t.length>0&&t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))),this.goToPage&&a("form",{class:"mobile-go-to-page",onSubmit:t=>{t.preventDefault();this.selectPage(this.goToPageValue)}},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,onInput:t=>{this.goToPageValue=t.target.value},placeholder:this.currentPage.toString(),hasclearicon:false}),a("span",null,`/${this.totalPages}`)),this.renderForwardButton())]}componentDidLoad(){this.setVisiblePages()}componentDidRender(){if(this.split){this.edges=false}this.setPagesContainerWidth();this.setMobile();this.scrollToPage()}render(){if(this.isMobile){return a(n,null,this.renderMobile())}return a(n,null,a("div",{class:"pagination-bar"},this.label&&a("span",{class:"page-label body-1-sb"},this.label),this.edges&&a("button",{class:"pagination-button",type:"button",title:"Vai alla pagina 1",disabled:this.currentPage===1,onClick:()=>this.selectPage(1)},"Pagina 1"),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage-this.skip}`,disabled:this.currentPage<=this.skip,onClick:()=>this.selectPage(this.currentPage-this.skip)},"-",this.skip),this.navArrows&&this.renderBackButton(),a("div",{class:"pages-container",role:"navigation",tabIndex:-1},this.split?this.renderSplitPages():this.renderPages()),this.navArrows&&this.renderForwardButton(),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage+this.skip}`,disabled:this.currentPage>this.totalPages-this.skip,onClick:()=>this.selectPage(this.currentPage+this.skip)},"+",this.skip),this.edges&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.totalPages}`,disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.totalPages)},"Pagina ",this.totalPages)),this.goToPage&&a("div",{class:"go-to-page"},a("span",{class:"z-label body-5-sb"},"Vai a pagina:"),a("div",{class:"inputs"},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,placeholder:"2",hasclearicon:false,onInput:t=>{this.goToPageValue=t.target.value},onKeyDown:t=>t.key==="Enter"&&this.selectPage(this.goToPageValue)}),a("z-button",{disabled:!this.goToPageValue,title:"Vai alla pagina inserita",onClick:()=>this.selectPage(this.goToPageValue)},"vai"))))}get host(){return o(this)}static get watchers(){return{_visiblePages:["setPagesContainerWidth"],visiblePages:["setVisiblePages"],currentPage:["onPageChanged"],split:["onSplitChanged"]}}};l.style=r;export{l as z_pagination};
2
- //# sourceMappingURL=p-8c164e0d.entry.js.map
1
+ import{r as t,c as i,h as a,a as n,g as o}from"./p-75c4a726.js";import{I as s}from"./p-86618221.js";const e="z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;--z-pagination-background-color:var(--color-background);--z-pagination-background-color-hover:var(--color-surface01);display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-primary01-icon)}z-pagination *:disabled z-icon{fill:var(--color-disabled03)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-default-text)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--z-pagination-background-color);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out,\n color 0.15s ease-out,\n border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out,\n font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-surface01);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface02)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--z-pagination-background-color-hover)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-primary);color:var(--color-hover-primary)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";const r=e;const l=class{constructor(a){t(this,a);this.pageChanged=i(this,"pageChanged",7);this.label=undefined;this.navArrows=true;this.totalPages=undefined;this.skip=0;this.edges=false;this.split=undefined;this.visiblePages=undefined;this.currentPage=1;this.goToPage=undefined;this._visiblePages=this.visiblePages;this.isMobile=false;this.goToPageValue=null}setPagesContainerWidth(){if(!this._visiblePages||this.split){this.host.style.setProperty("--z-pagination--pages-container-max-width","100%");return}const t=window.getComputedStyle(this.host);const i=t.getPropertyValue("--z-pagination--page-button-width");this.host.style.setProperty("--z-pagination--pages-container-max-width",`calc(${i} * ${this._visiblePages})`)}setVisiblePages(){this._visiblePages=Math.min(this.visiblePages||this.totalPages,this.totalPages)}onPageChanged(){this.pageChanged.emit(this.currentPage);this.scrollToPage()}onSplitChanged(){if(this.split){this.edges=false}}onResize(){this.setMobile()}setMobile(){const t="screen and (max-width: 767px)";this.isMobile=window.matchMedia(t).matches}getPagesChunks(){const t=Array.from({length:this.totalPages},((t,i)=>i+1));const i=[];const a=Math.ceil(t.length/this._visiblePages);for(let n=0;n<a;n++){i.push(t.slice(n*this._visiblePages,(n+1)*this._visiblePages))}return i}scrollToPage(){var t,i;const a=this.host.querySelector(".pages-container");const n=this.host.querySelector(`[data-page="${this.currentPage}"]`);const o=this.host.querySelector(".navigation-button");if(!n||!a){return}const s=a.getBoundingClientRect().width;const e=n.getBoundingClientRect().width;const r=(i=(t=o===null||o===void 0?void 0:o.getBoundingClientRect())===null||t===void 0?void 0:t.width)!==null&&i!==void 0?i:0;a.scrollLeft=this.currentPage*e-r-s/2}selectPage(t){this.currentPage=Math.min(Math.max(t,1),this.totalPages)}renderPage(t){return a("button",{class:"page-button",type:"button","aria-current":this.currentPage===t?"page":"false",title:`Vai alla pagina ${t}`,"data-page":t,"data-current":this.currentPage===t,onClick:()=>this.selectPage(t)},t)}renderEllipsisButton(t){return a("button",{class:"ellipsis-button",type:"button",title:`Vai alla pagina ${t}`,onClick:()=>this.selectPage(t)},"…")}renderPages(){const t=this.getPagesChunks();if(t.length<=0){return}return t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))}renderSplitPages(){if(this.totalPages<=this.split*2+5){return Array.from({length:this.totalPages},((t,i)=>this.renderPage(i+1)))}if(this.currentPage<=this.split*2+2){return[...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(i+1))),this.renderEllipsisButton(this.split*2+4),this.renderPage(this.totalPages)]}if(this.currentPage>this.split*2+2&&this.currentPage<this.totalPages-this.split*2-1){return[this.renderPage(1),this.renderEllipsisButton(this.currentPage-this.split-1),...Array.from({length:this.split*2+1},((t,i)=>this.renderPage(this.currentPage-this.split+i))),this.renderEllipsisButton(this.currentPage+this.split+1),this.renderPage(this.totalPages)]}return[this.renderPage(1),this.renderEllipsisButton(this.totalPages-this.split*2-3),...Array.from({length:this.split*2+3},((t,i)=>this.renderPage(this.totalPages-this.split*2-2+i)))]}renderBackButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla pagina precedente",disabled:this.currentPage===1,onClick:()=>this.selectPage(this.currentPage-1)},a("z-icon",{name:"chevron-left"}))}renderForwardButton(){return a("button",{class:"navigation-button",type:"button",title:"Vai alla prossima pagina",disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.currentPage+1)},a("z-icon",{name:"chevron-right"}))}renderMobile(){const t=this.getPagesChunks();return[this.label&&a("span",{class:"page-label body-1-sb"},this.label),a("div",{class:"pagination-bar"},this.renderBackButton(),!this.goToPage&&a("div",{class:"pages-container",role:"navigation",tabIndex:-1},t.length>0&&t.map((t=>a("div",{class:"pages-chunk"},t.map((t=>this.renderPage(t))))))),this.goToPage&&a("form",{class:"mobile-go-to-page",onSubmit:t=>{t.preventDefault();this.selectPage(this.goToPageValue)}},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,onInput:t=>{this.goToPageValue=t.target.value},placeholder:this.currentPage.toString(),hasclearicon:false}),a("span",null,`/${this.totalPages}`)),this.renderForwardButton())]}componentDidLoad(){this.setVisiblePages()}componentDidRender(){if(this.split){this.edges=false}this.setPagesContainerWidth();this.setMobile();this.scrollToPage()}render(){if(this.isMobile){return a(n,null,this.renderMobile())}return a(n,null,a("div",{class:"pagination-bar"},this.label&&a("span",{class:"page-label body-1-sb"},this.label),this.edges&&a("button",{class:"pagination-button",type:"button",title:"Vai alla pagina 1",disabled:this.currentPage===1,onClick:()=>this.selectPage(1)},"Pagina 1"),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage-this.skip}`,disabled:this.currentPage<=this.skip,onClick:()=>this.selectPage(this.currentPage-this.skip)},"-",this.skip),this.navArrows&&this.renderBackButton(),a("div",{class:"pages-container",role:"navigation",tabIndex:-1},this.split?this.renderSplitPages():this.renderPages()),this.navArrows&&this.renderForwardButton(),this.skip<this.totalPages&&this.skip>1&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.currentPage+this.skip}`,disabled:this.currentPage>this.totalPages-this.skip,onClick:()=>this.selectPage(this.currentPage+this.skip)},"+",this.skip),this.edges&&a("button",{class:"pagination-button",type:"button",title:`Vai alla pagina ${this.totalPages}`,disabled:this.currentPage===this.totalPages,onClick:()=>this.selectPage(this.totalPages)},"Pagina ",this.totalPages)),this.goToPage&&a("div",{class:"go-to-page"},a("span",{class:"z-label body-5-sb"},"Vai a pagina:"),a("div",{class:"inputs"},a("z-input",{class:"go-to-page-input",type:s.NUMBER,min:1,max:this.totalPages,message:false,placeholder:"2",hasclearicon:false,onInput:t=>{this.goToPageValue=t.target.value},onKeyDown:t=>t.key==="Enter"&&this.selectPage(this.goToPageValue)}),a("z-button",{disabled:!this.goToPageValue,title:"Vai alla pagina inserita",onClick:()=>this.selectPage(this.goToPageValue)},"vai"))))}get host(){return o(this)}static get watchers(){return{_visiblePages:["setPagesContainerWidth"],visiblePages:["setVisiblePages"],currentPage:["onPageChanged"],split:["onSplitChanged"]}}};l.style=r;export{l as z_pagination};
2
+ //# sourceMappingURL=p-41891d34.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as i,g as r}from"./p-75c4a726.js";import{Y as o}from"./p-17af7fb2.js";import{B as a}from"./p-5145a606.js";import{r as s}from"./p-e6778114.js";const n=':host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text-inverse);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover .ribbon.interactive:hover{cursor:pointer}:host>article div.cover .ribbon.interactive:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article div.cover .ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover .ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.cover .ribbon z-icon{margin-right:var(--space-unit)}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-default-text);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-default-text);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-primary01-icon)}:host>article ::slotted([slot="header-cta"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-text-link-blue);cursor:pointer;fill:var(--color-text-link-blue);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:616px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2)}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}';const d=n;const c=class{constructor(i){t(this,i);this.ribbonClick=e(this,"ribbonClick",7);this.variant=undefined;this.cover=undefined;this.operaTitle=undefined;this.volumeTitle=undefined;this.authors=undefined;this.isbn=undefined;this.isbnLabel="";this.ribbon=undefined;this.ribbonIcon=undefined;this.ribbonInteractive=undefined;this.borderless=undefined;this.fallbackCover=undefined;this.operaTitleTag=undefined;this.isMobile=false;this.hasResources=false;this.showResources=false}emitRibbonClick(){this.ribbonClick.emit()}componentWillLoad(){this.id=`id-${s()}`;const t=window.matchMedia(`(max-width: ${a.MOBILE}px)`);this.isMobile=t.matches;t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;if(this.variant!==o.EXPANDED||!this.isMobile){return}this.hasResources=((t=this.hostElement.querySelectorAll("[slot=resources]"))===null||t===void 0?void 0:t.length)>0}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case o.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case o.COMPACT:return this.renderCompactCard();case o.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},i("div",{class:"top"},i("div",{class:"info"},i("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),i("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),i("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&i("div",{class:{footer:true,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return i("div",{class:"wrapper-container"},i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return i("div",{class:"cover"},this.ribbon&&this.variant!==o.COMPACT&&this.renderRibbon(),i("div",{class:"img-wrapper"},i("img",{src:this.cover,onError:()=>{if(this.fallbackCover){this.cover=this.fallbackCover}},"aria-hidden":"true"})))}renderRibbon(){const t=[this.ribbonIcon&&i("z-icon",{name:this.ribbonIcon,width:16,height:16,fill:"color-inverse-icon"}),i("span",null,this.ribbon)];return this.ribbonInteractive?i("button",{class:"ribbon interactive",onClick:()=>this.emitRibbonClick()},t):i("div",{class:"ribbon"},t)}renderOperaTitle(){const t=this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle;return i("div",{class:"title",innerHTML:t})}renderVolumeTitle(){return this.volumeTitle?i("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?i("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?i("div",{class:"isbn"},i("span",{class:"code","aria-description":`ISBN ${this.isbnLabel}`},this.isbn),this.isbnLabel?i("span",{class:"label"}," ",this.isbnLabel):null):null}renderShowResources(){return i("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",i("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return i("div",{class:"tags"},i("slot",{name:"tags"}))}renderHeaderCtaSlot(){return i("slot",{name:"header-cta"})}renderResourcesSlot(){return i("div",{id:`resources-${this.id}`,class:"resources"},i("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return i("div",{class:"action-container"},i("slot",{name:"footer-cta"}))}render(){return i("article",{key:"237f8f14bccc2e44371b1a9f4cb08904802f1d2d",class:{[this.variant]:true,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return r(this)}};c.style=d;export{c as z_book_card_deprecated};
2
- //# sourceMappingURL=p-19f5b6a9.entry.js.map
1
+ import{r as t,c as e,h as i,g as r}from"./p-75c4a726.js";import{Y as o}from"./p-86618221.js";import{B as a}from"./p-5145a606.js";import{r as s}from"./p-061e28d6.js";const n=':host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text-inverse);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover .ribbon.interactive:hover{cursor:pointer}:host>article div.cover .ribbon.interactive:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article div.cover .ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover .ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.cover .ribbon z-icon{margin-right:var(--space-unit)}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-default-text);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-default-text);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-primary01-icon)}:host>article ::slotted([slot="header-cta"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-text-link-blue);cursor:pointer;fill:var(--color-text-link-blue);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:616px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2)}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}';const d=n;const c=class{constructor(i){t(this,i);this.ribbonClick=e(this,"ribbonClick",7);this.variant=undefined;this.cover=undefined;this.operaTitle=undefined;this.volumeTitle=undefined;this.authors=undefined;this.isbn=undefined;this.isbnLabel="";this.ribbon=undefined;this.ribbonIcon=undefined;this.ribbonInteractive=undefined;this.borderless=undefined;this.fallbackCover=undefined;this.operaTitleTag=undefined;this.isMobile=false;this.hasResources=false;this.showResources=false}emitRibbonClick(){this.ribbonClick.emit()}componentWillLoad(){this.id=`id-${s()}`;const t=window.matchMedia(`(max-width: ${a.MOBILE}px)`);this.isMobile=t.matches;t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;if(this.variant!==o.EXPANDED||!this.isMobile){return}this.hasResources=((t=this.hostElement.querySelectorAll("[slot=resources]"))===null||t===void 0?void 0:t.length)>0}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case o.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case o.COMPACT:return this.renderCompactCard();case o.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},i("div",{class:"top"},i("div",{class:"info"},i("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),i("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),i("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&i("div",{class:{footer:true,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return i("div",{class:"wrapper-container"},i("div",{class:"wrapper"},i("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),i("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return i("div",{class:"wrapper"},this.renderCover(),i("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return i("div",{class:"cover"},this.ribbon&&this.variant!==o.COMPACT&&this.renderRibbon(),i("div",{class:"img-wrapper"},i("img",{src:this.cover,onError:()=>{if(this.fallbackCover){this.cover=this.fallbackCover}},"aria-hidden":"true"})))}renderRibbon(){const t=[this.ribbonIcon&&i("z-icon",{name:this.ribbonIcon,width:16,height:16,fill:"color-inverse-icon"}),i("span",null,this.ribbon)];return this.ribbonInteractive?i("button",{class:"ribbon interactive",onClick:()=>this.emitRibbonClick()},t):i("div",{class:"ribbon"},t)}renderOperaTitle(){const t=this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle;return i("div",{class:"title",innerHTML:t})}renderVolumeTitle(){return this.volumeTitle?i("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?i("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?i("div",{class:"isbn"},i("span",{class:"code","aria-description":`ISBN ${this.isbnLabel}`},this.isbn),this.isbnLabel?i("span",{class:"label"}," ",this.isbnLabel):null):null}renderShowResources(){return i("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",i("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return i("div",{class:"tags"},i("slot",{name:"tags"}))}renderHeaderCtaSlot(){return i("slot",{name:"header-cta"})}renderResourcesSlot(){return i("div",{id:`resources-${this.id}`,class:"resources"},i("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return i("div",{class:"action-container"},i("slot",{name:"footer-cta"}))}render(){return i("article",{key:"6ece3ffbd418d55397039753ec7c6a8f4cc2b262",class:{[this.variant]:true,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return r(this)}};c.style=d;export{c as z_book_card_deprecated};
2
+ //# sourceMappingURL=p-47b7bc63.entry.js.map
@@ -1,2 +1,2 @@
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-17af7fb2.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:"4fbaa9a39d87fd247d605d32e81f37293671d95b",open:this.open},s("button",{key:"25b5f34bb741671781fddabe18694a92d19c06c9",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:"9ed5d1309acb2f8a17a583e7a96eddc8741da7c2",onSlotchange:this.onLabelSlotChange}),this.hasItems&&s("z-icon",{key:"1677b363b4894c04bee3cae53a604baad136236a",name:this.open?"chevron-up":"chevron-down"})),s("div",{key:"74f37c1f2850cca5bf7fe756107c6984f3a7dd13",class:"items",role:"menu",hidden:!this.open},s("slot",{key:"8382266ea2f2a3c04beab0d6304a459a5f56a48b",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-ceeb3e2a.entry.js.map
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:"a859947e3015a104f32db157c715982a1ed29cf5",open:this.open},s("button",{key:"5c130955c62fcce5d88b92312076da69f307eaee",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:"28557c741c733149ea51ca68f499374dcf2eb134",onSlotchange:this.onLabelSlotChange}),this.hasItems&&s("z-icon",{key:"bfa97fe61fde93902531e09dcdeb729066d2e66f",name:this.open?"chevron-up":"chevron-down"})),s("div",{key:"d9a7df39c426fecbc3beeefc2f5a08aed3f2ccbf",class:"items",role:"menu",hidden:!this.open},s("slot",{key:"e2f14a7cf055715bbbb8b712a3d112af3b712031",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-4df66afe.entry.js.map