@zanichelli/albe-web-components 9.2.1 → 9.2.2

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 (753) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{breakpoints-0faa0935.js → breakpoints-ebe1a437.js} +2 -2
  3. package/dist/cjs/{icons-f6b0756a.js → icons-7da210ed.js} +776 -774
  4. package/dist/cjs/{index-b9d9b420.js → index-01b0dfae.js} +32 -32
  5. package/dist/cjs/{index-614b08fc.js → index-06609e4d.js} +8 -8
  6. package/dist/cjs/{index-d56eba15.js → index-1f3f3a0c.js} +58 -58
  7. package/dist/cjs/{index-149b2bb5.js → index-23d8692f.js} +13 -13
  8. package/dist/cjs/{index-dd00eeb6.js → index-2b53b57b.js} +13 -13
  9. package/dist/cjs/{index-5df91dd3.js → index-4edb3854.js} +61 -61
  10. package/dist/cjs/{index-3c5fc624.js → index-92a9f89e.js} +12 -12
  11. package/dist/cjs/{index-1a54d3b4.js → index-9648272b.js} +12 -12
  12. package/dist/cjs/{index-7ddce77e.js → index-98273e3d.js} +25 -25
  13. package/dist/cjs/{index-6ce8bfd4.js → index-a9764c98.js} +8 -8
  14. package/dist/cjs/{index-af5982d0.js → index-bbd48475.js} +11 -11
  15. package/dist/cjs/{index-67bc899f.js → index-ddde2452.js} +40 -40
  16. package/dist/cjs/{index-3a67f552.js → index-e5daa5a5.js} +8 -8
  17. package/dist/cjs/{index-23b07d69.js → index-e63d6d36.js} +70 -70
  18. package/dist/cjs/{index-419ee40f.js → index-e8ce94a1.js} +342 -342
  19. package/dist/cjs/{index-fc66f7fd.js → index-ebbadaf8.js} +12 -12
  20. package/dist/cjs/{index-3a6b2c79.js → index-f43320ff.js} +21 -21
  21. package/dist/cjs/index.cjs.js +5 -5
  22. package/dist/cjs/{utils-3fc57dbb.js → utils-4ac02425.js} +96 -96
  23. package/dist/cjs/{utils-b1944ce3.js → utils-4caf6fab.js} +75 -75
  24. package/dist/cjs/z-accordion.cjs.entry.js +56 -56
  25. package/dist/cjs/z-alert.cjs.entry.js +8 -8
  26. package/dist/cjs/z-anchor-navigation.cjs.entry.js +42 -42
  27. package/dist/cjs/z-app-header_11.cjs.entry.js +995 -995
  28. package/dist/cjs/z-aria-alert.cjs.entry.js +10 -10
  29. package/dist/cjs/z-avatar.cjs.entry.js +33 -33
  30. package/dist/cjs/z-body.cjs.entry.js +9 -9
  31. package/dist/cjs/z-book-card.cjs.entry.js +101 -101
  32. package/dist/cjs/z-breadcrumb.cjs.entry.js +221 -221
  33. package/dist/cjs/z-button-sort.cjs.entry.js +42 -42
  34. package/dist/cjs/z-card.cjs.entry.js +42 -42
  35. package/dist/cjs/z-carousel.cjs.entry.js +135 -135
  36. package/dist/cjs/z-chip.cjs.entry.js +29 -29
  37. package/dist/cjs/z-combobox.cjs.entry.js +190 -190
  38. package/dist/cjs/z-contextual-menu.cjs.entry.js +35 -35
  39. package/dist/cjs/z-cover-hero.cjs.entry.js +46 -46
  40. package/dist/cjs/z-date-picker.cjs.entry.js +164 -164
  41. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +129 -129
  42. package/dist/cjs/z-file-upload.cjs.entry.js +174 -174
  43. package/dist/cjs/z-file.cjs.entry.js +37 -37
  44. package/dist/cjs/z-ghost-loading.cjs.entry.js +9 -9
  45. package/dist/cjs/z-heading.cjs.entry.js +9 -9
  46. package/dist/cjs/z-info-box.cjs.entry.js +14 -14
  47. package/dist/cjs/z-info-reveal.cjs.entry.js +54 -54
  48. package/dist/cjs/z-link.cjs.entry.js +63 -63
  49. package/dist/cjs/z-logo.cjs.entry.js +15 -15
  50. package/dist/cjs/z-menu-section.cjs.entry.js +43 -43
  51. package/dist/cjs/z-menu.cjs.entry.js +108 -108
  52. package/dist/cjs/z-messages-pocket.cjs.entry.js +36 -36
  53. package/dist/cjs/z-myz-card-alert.cjs.entry.js +52 -52
  54. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +25 -25
  55. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +8 -8
  56. package/dist/cjs/z-myz-card-footer.cjs.entry.js +58 -58
  57. package/dist/cjs/z-myz-card-icon.cjs.entry.js +12 -12
  58. package/dist/cjs/z-myz-card-info.cjs.entry.js +118 -118
  59. package/dist/cjs/z-myz-card-list.cjs.entry.js +27 -27
  60. package/dist/cjs/z-myz-card_4.cjs.entry.js +82 -82
  61. package/dist/cjs/z-myz-list-item.cjs.entry.js +26 -26
  62. package/dist/cjs/z-myz-list.cjs.entry.js +24 -24
  63. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +60 -60
  64. package/dist/cjs/z-navigation-tab.cjs.entry.js +62 -62
  65. package/dist/cjs/z-navigation-tabs.cjs.entry.js +187 -187
  66. package/dist/cjs/z-notification.cjs.entry.js +30 -30
  67. package/dist/cjs/z-otp.cjs.entry.js +30 -30
  68. package/dist/cjs/z-pagination.cjs.entry.js +219 -219
  69. package/dist/cjs/z-panel-elem.cjs.entry.js +19 -19
  70. package/dist/cjs/z-pocket-message.cjs.entry.js +8 -8
  71. package/dist/cjs/z-pocket_3.cjs.entry.js +102 -102
  72. package/dist/cjs/z-popover.cjs.entry.js +317 -317
  73. package/dist/cjs/z-range-picker.cjs.entry.js +331 -331
  74. package/dist/cjs/z-section-title.cjs.entry.js +22 -22
  75. package/dist/cjs/z-select.cjs.entry.js +322 -322
  76. package/dist/cjs/z-skip-to-content.cjs.entry.js +55 -55
  77. package/dist/cjs/z-slideshow.cjs.entry.js +118 -118
  78. package/dist/cjs/z-stepper-item.cjs.entry.js +11 -11
  79. package/dist/cjs/z-stepper.cjs.entry.js +8 -8
  80. package/dist/cjs/z-table-body.cjs.entry.js +1 -1
  81. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  82. package/dist/cjs/z-table-deprecated.cjs.entry.js +80 -80
  83. package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
  84. package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
  85. package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
  86. package/dist/cjs/z-table-head.cjs.entry.js +1 -1
  87. package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
  88. package/dist/cjs/z-table-header.cjs.entry.js +4 -4
  89. package/dist/cjs/z-table-row.cjs.entry.js +2 -2
  90. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
  91. package/dist/cjs/z-table.cjs.entry.js +47 -47
  92. package/dist/cjs/z-tag.cjs.entry.js +11 -11
  93. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  94. package/dist/cjs/z-td.cjs.entry.js +2 -2
  95. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  96. package/dist/cjs/z-th.cjs.entry.js +2 -2
  97. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  98. package/dist/cjs/z-toast-notification-list.cjs.entry.js +45 -45
  99. package/dist/cjs/z-toast-notification.cjs.entry.js +187 -187
  100. package/dist/cjs/z-toggle-button.cjs.entry.js +25 -25
  101. package/dist/cjs/z-toggle-switch.cjs.entry.js +40 -40
  102. package/dist/cjs/z-tooltip.cjs.entry.js +26 -26
  103. package/dist/cjs/z-tr.cjs.entry.js +6 -6
  104. package/dist/cjs/z-typography.cjs.entry.js +19 -19
  105. package/dist/cjs/z-visually-hidden.cjs.entry.js +8 -8
  106. package/dist/collection/beans/index.js +343 -343
  107. package/dist/collection/components/buttons/z-button/index.js +245 -245
  108. package/dist/collection/components/buttons/z-button/styles.css +149 -149
  109. package/dist/collection/components/buttons/z-button-sort/index.js +220 -220
  110. package/dist/collection/components/buttons/z-button-sort/styles.css +101 -101
  111. package/dist/collection/components/buttons/z-chip/index.js +155 -155
  112. package/dist/collection/components/buttons/z-chip/styles.css +138 -138
  113. package/dist/collection/components/buttons/z-toggle-button/index.js +146 -146
  114. package/dist/collection/components/buttons/z-toggle-button/styles.css +60 -60
  115. package/dist/collection/components/buttons/z-toggle-switch/index.js +144 -144
  116. package/dist/collection/components/buttons/z-toggle-switch/styles.css +104 -104
  117. package/dist/collection/components/date-picker/styles.css +436 -436
  118. package/dist/collection/components/date-picker/utils.js +76 -76
  119. package/dist/collection/components/date-picker/z-date-picker/index.js +295 -295
  120. package/dist/collection/components/date-picker/z-range-picker/index.js +499 -499
  121. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +53 -53
  122. package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +51 -51
  123. package/dist/collection/components/file-upload/z-file/index.js +131 -131
  124. package/dist/collection/components/file-upload/z-file/styles.css +23 -23
  125. package/dist/collection/components/file-upload/z-file-upload/index.js +363 -363
  126. package/dist/collection/components/file-upload/z-file-upload/styles.css +84 -84
  127. package/dist/collection/components/icons/icons.js +777 -775
  128. package/dist/collection/components/icons/z-icon/index.js +114 -114
  129. package/dist/collection/components/icons/z-icon/styles.css +14 -14
  130. package/dist/collection/components/index.js +8 -8
  131. package/dist/collection/components/indicators/z-stepper/index.js +21 -21
  132. package/dist/collection/components/indicators/z-stepper/styles.css +19 -19
  133. package/dist/collection/components/indicators/z-stepper-item/index.js +93 -93
  134. package/dist/collection/components/indicators/z-stepper-item/styles.css +114 -114
  135. package/dist/collection/components/inputs/z-combobox/index.js +570 -570
  136. package/dist/collection/components/inputs/z-combobox/styles.css +197 -197
  137. package/dist/collection/components/inputs/z-input/index.js +768 -768
  138. package/dist/collection/components/inputs/z-input/styles.css +402 -402
  139. package/dist/collection/components/inputs/z-input-message/index.js +89 -89
  140. package/dist/collection/components/inputs/z-input-message/styles.css +48 -48
  141. package/dist/collection/components/inputs/z-searchbar/index.js +599 -599
  142. package/dist/collection/components/inputs/z-searchbar/styles.css +185 -185
  143. package/dist/collection/components/inputs/z-select/index.js +754 -754
  144. package/dist/collection/components/inputs/z-select/styles.css +123 -123
  145. package/dist/collection/components/list/z-list/index.js +91 -91
  146. package/dist/collection/components/list/z-list/styles.css +6 -6
  147. package/dist/collection/components/list/z-list-element/index.js +508 -508
  148. package/dist/collection/components/list/z-list-element/styles.css +121 -121
  149. package/dist/collection/components/list/z-list-group/index.js +175 -175
  150. package/dist/collection/components/list/z-list-group/styles.css +21 -21
  151. package/dist/collection/components/list/z-toast-notification-list/index.js +105 -105
  152. package/dist/collection/components/list/z-toast-notification-list/styles.css +100 -100
  153. package/dist/collection/components/logo/z-logo/index.js +131 -131
  154. package/dist/collection/components/logo/z-logo/styles.css +29 -29
  155. package/dist/collection/components/modal/z-modal/index.js +319 -319
  156. package/dist/collection/components/modal/z-modal/styles.css +193 -193
  157. package/dist/collection/components/navigation/tabs/navigation-tab.css +136 -136
  158. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +276 -276
  159. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +298 -298
  160. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +296 -296
  161. package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +104 -104
  162. package/dist/collection/components/navigation/z-app-header/index.js +448 -448
  163. package/dist/collection/components/navigation/z-app-header/index.stories.js +393 -393
  164. package/dist/collection/components/navigation/z-app-header/styles.css +429 -429
  165. package/dist/collection/components/navigation/z-link/index.js +317 -317
  166. package/dist/collection/components/navigation/z-link/styles.css +167 -167
  167. package/dist/collection/components/navigation/z-menu/index.js +250 -250
  168. package/dist/collection/components/navigation/z-menu/styles.css +213 -213
  169. package/dist/collection/components/navigation/z-menu-section/index.js +125 -125
  170. package/dist/collection/components/navigation/z-menu-section/styles.css +123 -123
  171. package/dist/collection/components/notification/z-info-box/index.js +85 -85
  172. package/dist/collection/components/notification/z-info-box/styles.css +23 -23
  173. package/dist/collection/components/notification/z-notification/index.js +195 -195
  174. package/dist/collection/components/notification/z-notification/styles.css +114 -114
  175. package/dist/collection/components/notification/z-toast-notification/index.js +399 -399
  176. package/dist/collection/components/notification/z-toast-notification/styles.css +254 -254
  177. package/dist/collection/components/notification/z-tooltip/index.js +157 -157
  178. package/dist/collection/components/notification/z-tooltip/styles.css +17 -17
  179. package/dist/collection/components/panel/z-panel-elem/index.js +193 -193
  180. package/dist/collection/components/panel/z-panel-elem/styles.css +39 -39
  181. package/dist/collection/components/table/cells/z-td/index.js +143 -143
  182. package/dist/collection/components/table/cells/z-td/styles.css +59 -59
  183. package/dist/collection/components/table/cells/z-th/index.js +187 -187
  184. package/dist/collection/components/table/cells/z-th/styles.css +88 -88
  185. package/dist/collection/components/table/z-table/index.js +86 -86
  186. package/dist/collection/components/table/z-table/styles.css +22 -22
  187. package/dist/collection/components/table/z-tbody/index.js +22 -22
  188. package/dist/collection/components/table/z-tbody/styles.css +4 -4
  189. package/dist/collection/components/table/z-tfoot/index.js +50 -50
  190. package/dist/collection/components/table/z-tfoot/styles.css +13 -13
  191. package/dist/collection/components/table/z-thead/index.js +50 -50
  192. package/dist/collection/components/table/z-thead/styles.css +19 -19
  193. package/dist/collection/components/table/z-tr/index.js +133 -133
  194. package/dist/collection/components/table/z-tr/styles.css +87 -87
  195. package/dist/collection/components/z-accordion/index.js +247 -247
  196. package/dist/collection/components/z-anchor-navigation/index.js +95 -95
  197. package/dist/collection/components/z-anchor-navigation/styles.css +128 -128
  198. package/dist/collection/components/z-aria-alert/index.js +39 -39
  199. package/dist/collection/components/z-avatar/index.js +142 -142
  200. package/dist/collection/components/z-avatar/styles.css +32 -32
  201. package/dist/collection/components/z-book-card/index.js +308 -308
  202. package/dist/collection/components/z-book-card/styles.css +468 -469
  203. package/dist/collection/components/z-breadcrumb/index.js +392 -392
  204. package/dist/collection/components/z-breadcrumb/styles.css +146 -146
  205. package/dist/collection/components/z-card/index.js +148 -148
  206. package/dist/collection/components/z-card/styles.css +213 -213
  207. package/dist/collection/components/z-carousel/index.js +300 -300
  208. package/dist/collection/components/z-carousel/styles.css +129 -129
  209. package/dist/collection/components/z-contextual-menu/index.js +126 -126
  210. package/dist/collection/components/z-contextual-menu/styles.css +60 -60
  211. package/dist/collection/components/z-cover-hero/index.js +146 -146
  212. package/dist/collection/components/z-cover-hero/styles.css +93 -93
  213. package/dist/collection/components/z-divider/index.js +95 -95
  214. package/dist/collection/components/z-divider/styles.css +37 -37
  215. package/dist/collection/components/z-ghost-loading/index.js +18 -18
  216. package/dist/collection/components/z-ghost-loading/styles.css +34 -34
  217. package/dist/collection/components/z-info-reveal/index.js +147 -147
  218. package/dist/collection/components/z-info-reveal/styles.css +103 -103
  219. package/dist/collection/components/z-offcanvas/index.js +162 -162
  220. package/dist/collection/components/z-offcanvas/styles.css +182 -182
  221. package/dist/collection/components/z-pagination/index.js +435 -435
  222. package/dist/collection/components/z-pagination/styles.css +199 -199
  223. package/dist/collection/components/z-popover/index.js +513 -513
  224. package/dist/collection/components/z-popover/styles.css +147 -147
  225. package/dist/collection/components/z-section-title/index.js +88 -88
  226. package/dist/collection/components/z-section-title/styles.css +45 -45
  227. package/dist/collection/components/z-skip-to-content/index.js +139 -139
  228. package/dist/collection/components/z-skip-to-content/styles.css +80 -80
  229. package/dist/collection/components/z-tag/index.js +65 -65
  230. package/dist/collection/components/z-tag/styles.css +46 -46
  231. package/dist/collection/components/z-visually-hidden/index.js +18 -18
  232. package/dist/collection/components/z-visually-hidden/styles.css +12 -12
  233. package/dist/collection/constants/breakpoints.js +4 -4
  234. package/dist/collection/constants/icons.js +6 -6
  235. package/dist/collection/deprecated/typography/z-body/index.js +68 -68
  236. package/dist/collection/deprecated/typography/z-heading/index.js +68 -68
  237. package/dist/collection/deprecated/typography/z-typography/index.js +91 -91
  238. package/dist/collection/deprecated/typography/z-typography/styles.css +65 -65
  239. package/dist/collection/deprecated/z-table-deprecated/z-table-body/index.js +26 -26
  240. package/dist/collection/deprecated/z-table-deprecated/z-table-body/styles.css +9 -9
  241. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/index.js +84 -84
  242. package/dist/collection/deprecated/z-table-deprecated/z-table-cell/styles.css +58 -58
  243. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/index.js +363 -363
  244. package/dist/collection/deprecated/z-table-deprecated/z-table-deprecated/styles.css +115 -115
  245. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/index.js +75 -75
  246. package/dist/collection/deprecated/z-table-deprecated/z-table-empty-box/styles.css +38 -38
  247. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/index.js +42 -42
  248. package/dist/collection/deprecated/z-table-deprecated/z-table-expanded-row/styles.css +9 -9
  249. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/index.js +25 -25
  250. package/dist/collection/deprecated/z-table-deprecated/z-table-footer/styles.css +5 -5
  251. package/dist/collection/deprecated/z-table-deprecated/z-table-head/index.js +25 -25
  252. package/dist/collection/deprecated/z-table-deprecated/z-table-head/styles.css +5 -5
  253. package/dist/collection/deprecated/z-table-deprecated/z-table-header/index.js +226 -226
  254. package/dist/collection/deprecated/z-table-deprecated/z-table-header/styles.css +71 -71
  255. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/index.js +44 -44
  256. package/dist/collection/deprecated/z-table-deprecated/z-table-header-row/styles.css +13 -13
  257. package/dist/collection/deprecated/z-table-deprecated/z-table-row/index.js +95 -95
  258. package/dist/collection/deprecated/z-table-deprecated/z-table-row/styles.css +45 -45
  259. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/index.js +22 -22
  260. package/dist/collection/deprecated/z-table-deprecated/z-table-sticky-footer/styles.css +11 -11
  261. package/dist/collection/index.js +7 -7
  262. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +129 -129
  263. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -44
  264. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +151 -151
  265. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -62
  266. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +22 -22
  267. package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -13
  268. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +93 -93
  269. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -11
  270. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +177 -177
  271. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +72 -72
  272. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +219 -219
  273. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +182 -182
  274. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +22 -22
  275. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -20
  276. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +109 -109
  277. package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +59 -59
  278. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +81 -81
  279. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -69
  280. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +199 -199
  281. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -93
  282. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +60 -60
  283. package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +41 -41
  284. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +78 -78
  285. package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -4
  286. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +192 -192
  287. package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +66 -66
  288. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +120 -120
  289. package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +102 -102
  290. package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +191 -191
  291. package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +44 -44
  292. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +84 -84
  293. package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +41 -41
  294. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +93 -93
  295. package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +27 -27
  296. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +22 -22
  297. package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +44 -44
  298. package/dist/collection/snowflakes/myz/z-alert/index.js +47 -47
  299. package/dist/collection/snowflakes/myz/z-alert/styles.css +28 -28
  300. package/dist/collection/snowflakes/myz/z-otp/index.js +120 -120
  301. package/dist/collection/snowflakes/myz/z-otp/styles.css +47 -47
  302. package/dist/collection/snowflakes/myz/z-slideshow/index.js +180 -180
  303. package/dist/collection/snowflakes/myz/z-slideshow/styles.css +127 -127
  304. package/dist/collection/utils/storybook-utils.js +76 -76
  305. package/dist/collection/utils/utils.js +115 -115
  306. package/dist/esm/{breakpoints-572720f6.js → breakpoints-9b81eb1b.js} +2 -2
  307. package/dist/esm/{icons-6da784ba.js → icons-4b57811d.js} +776 -774
  308. package/dist/esm/{index-a8cda90b.js → index-03c8b0f0.js} +342 -342
  309. package/dist/esm/{index-50c0cb7b.js → index-0e0fa88d.js} +12 -12
  310. package/dist/esm/{index-30b4bebe.js → index-1ae1c122.js} +8 -8
  311. package/dist/esm/{index-66c5b3f9.js → index-1b2e3e53.js} +58 -58
  312. package/dist/esm/{index-6d4bf248.js → index-2c800f19.js} +13 -13
  313. package/dist/esm/{index-96a7afbc.js → index-2cdac489.js} +21 -21
  314. package/dist/esm/{index-ae1ae86b.js → index-49dfba34.js} +40 -40
  315. package/dist/esm/{index-77e69f82.js → index-6d83248c.js} +13 -13
  316. package/dist/esm/{index-ffdc3d9c.js → index-83736b34.js} +8 -8
  317. package/dist/esm/{index-06314271.js → index-8c7b48bc.js} +12 -12
  318. package/dist/esm/{index-334ed186.js → index-c84fca22.js} +32 -32
  319. package/dist/esm/{index-742e8d56.js → index-cfd94e05.js} +61 -61
  320. package/dist/esm/{index-baf19a24.js → index-d117d464.js} +25 -25
  321. package/dist/esm/{index-8d78e837.js → index-d3dfe710.js} +70 -70
  322. package/dist/esm/{index-fe569c26.js → index-e2c8b8b5.js} +11 -11
  323. package/dist/esm/{index-d6436cad.js → index-f171ca51.js} +8 -8
  324. package/dist/esm/{index-33f3f896.js → index-f98f4ad3.js} +12 -12
  325. package/dist/esm/index.js +5 -5
  326. package/dist/esm/polyfills/core-js.js +0 -0
  327. package/dist/esm/polyfills/dom.js +0 -0
  328. package/dist/esm/polyfills/es5-html-element.js +0 -0
  329. package/dist/esm/polyfills/index.js +0 -0
  330. package/dist/esm/polyfills/system.js +0 -0
  331. package/dist/esm/{utils-3ef75653.js → utils-14a10b2b.js} +75 -75
  332. package/dist/esm/{utils-2f109041.js → utils-4d2d99d9.js} +96 -96
  333. package/dist/esm/z-accordion.entry.js +56 -56
  334. package/dist/esm/z-alert.entry.js +8 -8
  335. package/dist/esm/z-anchor-navigation.entry.js +42 -42
  336. package/dist/esm/z-app-header_11.entry.js +995 -995
  337. package/dist/esm/z-aria-alert.entry.js +10 -10
  338. package/dist/esm/z-avatar.entry.js +33 -33
  339. package/dist/esm/z-body.entry.js +9 -9
  340. package/dist/esm/z-book-card.entry.js +101 -101
  341. package/dist/esm/z-breadcrumb.entry.js +221 -221
  342. package/dist/esm/z-button-sort.entry.js +42 -42
  343. package/dist/esm/z-card.entry.js +42 -42
  344. package/dist/esm/z-carousel.entry.js +135 -135
  345. package/dist/esm/z-chip.entry.js +29 -29
  346. package/dist/esm/z-combobox.entry.js +190 -190
  347. package/dist/esm/z-contextual-menu.entry.js +35 -35
  348. package/dist/esm/z-cover-hero.entry.js +46 -46
  349. package/dist/esm/z-date-picker.entry.js +164 -164
  350. package/dist/esm/z-dragdrop-area_2.entry.js +129 -129
  351. package/dist/esm/z-file-upload.entry.js +174 -174
  352. package/dist/esm/z-file.entry.js +37 -37
  353. package/dist/esm/z-ghost-loading.entry.js +9 -9
  354. package/dist/esm/z-heading.entry.js +9 -9
  355. package/dist/esm/z-info-box.entry.js +14 -14
  356. package/dist/esm/z-info-reveal.entry.js +54 -54
  357. package/dist/esm/z-link.entry.js +63 -63
  358. package/dist/esm/z-logo.entry.js +15 -15
  359. package/dist/esm/z-menu-section.entry.js +43 -43
  360. package/dist/esm/z-menu.entry.js +108 -108
  361. package/dist/esm/z-messages-pocket.entry.js +36 -36
  362. package/dist/esm/z-myz-card-alert.entry.js +52 -52
  363. package/dist/esm/z-myz-card-dictionary.entry.js +25 -25
  364. package/dist/esm/z-myz-card-footer-sections.entry.js +8 -8
  365. package/dist/esm/z-myz-card-footer.entry.js +58 -58
  366. package/dist/esm/z-myz-card-icon.entry.js +12 -12
  367. package/dist/esm/z-myz-card-info.entry.js +118 -118
  368. package/dist/esm/z-myz-card-list.entry.js +27 -27
  369. package/dist/esm/z-myz-card_4.entry.js +82 -82
  370. package/dist/esm/z-myz-list-item.entry.js +26 -26
  371. package/dist/esm/z-myz-list.entry.js +24 -24
  372. package/dist/esm/z-navigation-tab-link.entry.js +60 -60
  373. package/dist/esm/z-navigation-tab.entry.js +62 -62
  374. package/dist/esm/z-navigation-tabs.entry.js +187 -187
  375. package/dist/esm/z-notification.entry.js +30 -30
  376. package/dist/esm/z-otp.entry.js +30 -30
  377. package/dist/esm/z-pagination.entry.js +219 -219
  378. package/dist/esm/z-panel-elem.entry.js +19 -19
  379. package/dist/esm/z-pocket-message.entry.js +8 -8
  380. package/dist/esm/z-pocket_3.entry.js +102 -102
  381. package/dist/esm/z-popover.entry.js +317 -317
  382. package/dist/esm/z-range-picker.entry.js +331 -331
  383. package/dist/esm/z-section-title.entry.js +22 -22
  384. package/dist/esm/z-select.entry.js +322 -322
  385. package/dist/esm/z-skip-to-content.entry.js +55 -55
  386. package/dist/esm/z-slideshow.entry.js +118 -118
  387. package/dist/esm/z-stepper-item.entry.js +11 -11
  388. package/dist/esm/z-stepper.entry.js +8 -8
  389. package/dist/esm/z-table-body.entry.js +1 -1
  390. package/dist/esm/z-table-cell.entry.js +2 -2
  391. package/dist/esm/z-table-deprecated.entry.js +80 -80
  392. package/dist/esm/z-table-empty-box.entry.js +1 -1
  393. package/dist/esm/z-table-expanded-row.entry.js +1 -1
  394. package/dist/esm/z-table-footer.entry.js +1 -1
  395. package/dist/esm/z-table-head.entry.js +1 -1
  396. package/dist/esm/z-table-header-row.entry.js +1 -1
  397. package/dist/esm/z-table-header.entry.js +4 -4
  398. package/dist/esm/z-table-row.entry.js +2 -2
  399. package/dist/esm/z-table-sticky-footer.entry.js +1 -1
  400. package/dist/esm/z-table.entry.js +47 -47
  401. package/dist/esm/z-tag.entry.js +11 -11
  402. package/dist/esm/z-tbody.entry.js +1 -1
  403. package/dist/esm/z-td.entry.js +2 -2
  404. package/dist/esm/z-tfoot.entry.js +1 -1
  405. package/dist/esm/z-th.entry.js +2 -2
  406. package/dist/esm/z-thead.entry.js +1 -1
  407. package/dist/esm/z-toast-notification-list.entry.js +45 -45
  408. package/dist/esm/z-toast-notification.entry.js +187 -187
  409. package/dist/esm/z-toggle-button.entry.js +25 -25
  410. package/dist/esm/z-toggle-switch.entry.js +40 -40
  411. package/dist/esm/z-tooltip.entry.js +26 -26
  412. package/dist/esm/z-tr.entry.js +6 -6
  413. package/dist/esm/z-typography.entry.js +19 -19
  414. package/dist/esm/z-visually-hidden.entry.js +8 -8
  415. package/dist/types/beans/index.d.ts +399 -399
  416. package/dist/types/components/buttons/z-button/index.d.ts +29 -29
  417. package/dist/types/components/buttons/z-button-sort/index.d.ts +28 -28
  418. package/dist/types/components/buttons/z-chip/index.d.ts +20 -20
  419. package/dist/types/components/buttons/z-toggle-button/index.d.ts +17 -17
  420. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +17 -17
  421. package/dist/types/components/date-picker/utils.d.ts +4 -4
  422. package/dist/types/components/date-picker/z-date-picker/index.d.ts +29 -29
  423. package/dist/types/components/date-picker/z-range-picker/index.d.ts +42 -42
  424. package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -9
  425. package/dist/types/components/file-upload/z-file/index.d.ts +22 -22
  426. package/dist/types/components/file-upload/z-file-upload/index.d.ts +52 -52
  427. package/dist/types/components/icons/icons.d.ts +1388 -1384
  428. package/dist/types/components/icons/z-icon/index.d.ts +14 -14
  429. package/dist/types/components/indicators/z-stepper/index.d.ts +6 -6
  430. package/dist/types/components/indicators/z-stepper-item/index.d.ts +19 -19
  431. package/dist/types/components/inputs/z-combobox/index.d.ts +71 -71
  432. package/dist/types/components/inputs/z-input/index.d.ts +87 -87
  433. package/dist/types/components/inputs/z-input-message/index.d.ts +12 -12
  434. package/dist/types/components/inputs/z-searchbar/index.d.ts +73 -73
  435. package/dist/types/components/inputs/z-select/index.d.ts +82 -82
  436. package/dist/types/components/list/z-list/index.d.ts +15 -15
  437. package/dist/types/components/list/z-list-element/index.d.ts +95 -95
  438. package/dist/types/components/list/z-list-group/index.d.ts +28 -28
  439. package/dist/types/components/list/z-toast-notification-list/index.d.ts +14 -14
  440. package/dist/types/components/logo/z-logo/index.d.ts +15 -15
  441. package/dist/types/components/modal/z-modal/index.d.ts +47 -47
  442. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +62 -62
  443. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +72 -72
  444. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +88 -88
  445. package/dist/types/components/navigation/z-app-header/index.d.ts +148 -148
  446. package/dist/types/components/navigation/z-link/index.d.ts +40 -40
  447. package/dist/types/components/navigation/z-menu/index.d.ts +61 -61
  448. package/dist/types/components/navigation/z-menu-section/index.d.ts +31 -31
  449. package/dist/types/components/notification/z-info-box/index.d.ts +14 -14
  450. package/dist/types/components/notification/z-notification/index.d.ts +32 -32
  451. package/dist/types/components/notification/z-toast-notification/index.d.ts +56 -56
  452. package/dist/types/components/notification/z-tooltip/index.d.ts +32 -32
  453. package/dist/types/components/panel/z-panel-elem/index.d.ts +25 -25
  454. package/dist/types/components/table/cells/z-td/index.d.ts +36 -36
  455. package/dist/types/components/table/cells/z-th/index.d.ts +52 -52
  456. package/dist/types/components/table/z-table/index.d.ts +28 -28
  457. package/dist/types/components/table/z-tbody/index.d.ts +7 -7
  458. package/dist/types/components/table/z-tfoot/index.d.ts +11 -11
  459. package/dist/types/components/table/z-thead/index.d.ts +11 -11
  460. package/dist/types/components/table/z-tr/index.d.ts +41 -41
  461. package/dist/types/components/z-accordion/index.d.ts +57 -57
  462. package/dist/types/components/z-anchor-navigation/index.d.ts +39 -39
  463. package/dist/types/components/z-aria-alert/index.d.ts +6 -6
  464. package/dist/types/components/z-avatar/index.d.ts +16 -16
  465. package/dist/types/components/z-book-card/index.d.ts +78 -78
  466. package/dist/types/components/z-breadcrumb/index.d.ts +56 -56
  467. package/dist/types/components/z-card/index.d.ts +38 -38
  468. package/dist/types/components/z-carousel/index.d.ts +63 -63
  469. package/dist/types/components/z-contextual-menu/index.d.ts +26 -26
  470. package/dist/types/components/z-cover-hero/index.d.ts +41 -41
  471. package/dist/types/components/z-divider/index.d.ts +10 -10
  472. package/dist/types/components/z-ghost-loading/index.d.ts +3 -3
  473. package/dist/types/components/z-info-reveal/index.d.ts +29 -29
  474. package/dist/types/components/z-offcanvas/index.d.ts +27 -27
  475. package/dist/types/components/z-pagination/index.d.ts +109 -109
  476. package/dist/types/components/z-popover/index.d.ts +69 -69
  477. package/dist/types/components/z-section-title/index.d.ts +25 -25
  478. package/dist/types/components/z-skip-to-content/index.d.ts +21 -21
  479. package/dist/types/components/z-tag/index.d.ts +13 -13
  480. package/dist/types/components/z-visually-hidden/index.d.ts +3 -3
  481. package/dist/types/constants/breakpoints.d.ts +4 -4
  482. package/dist/types/constants/icons.d.ts +6 -6
  483. package/dist/types/deprecated/typography/z-body/index.d.ts +9 -9
  484. package/dist/types/deprecated/typography/z-heading/index.d.ts +9 -9
  485. package/dist/types/deprecated/typography/z-typography/index.d.ts +11 -11
  486. package/dist/types/deprecated/z-table-deprecated/z-table-body/index.d.ts +8 -8
  487. package/dist/types/deprecated/z-table-deprecated/z-table-cell/index.d.ts +14 -14
  488. package/dist/types/deprecated/z-table-deprecated/z-table-deprecated/index.d.ts +59 -59
  489. package/dist/types/deprecated/z-table-deprecated/z-table-empty-box/index.d.ts +15 -15
  490. package/dist/types/deprecated/z-table-deprecated/z-table-expanded-row/index.d.ts +8 -8
  491. package/dist/types/deprecated/z-table-deprecated/z-table-footer/index.d.ts +8 -8
  492. package/dist/types/deprecated/z-table-deprecated/z-table-head/index.d.ts +8 -8
  493. package/dist/types/deprecated/z-table-deprecated/z-table-header/index.d.ts +31 -31
  494. package/dist/types/deprecated/z-table-deprecated/z-table-header-row/index.d.ts +9 -9
  495. package/dist/types/deprecated/z-table-deprecated/z-table-row/index.d.ts +16 -16
  496. package/dist/types/deprecated/z-table-deprecated/z-table-sticky-footer/index.d.ts +7 -7
  497. package/dist/types/index.d.ts +7 -7
  498. package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +16 -16
  499. package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +19 -19
  500. package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +7 -7
  501. package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +12 -12
  502. package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +24 -24
  503. package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +34 -34
  504. package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +7 -7
  505. package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +19 -19
  506. package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +9 -9
  507. package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +36 -36
  508. package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +9 -9
  509. package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +11 -11
  510. package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +25 -25
  511. package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +16 -16
  512. package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +25 -25
  513. package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +12 -12
  514. package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +18 -18
  515. package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +7 -7
  516. package/dist/types/snowflakes/myz/z-alert/index.d.ts +9 -9
  517. package/dist/types/snowflakes/myz/z-otp/index.d.ts +17 -17
  518. package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +30 -30
  519. package/dist/types/utils/storybook-utils.d.ts +50 -50
  520. package/dist/types/utils/utils.d.ts +24 -24
  521. package/dist/web-components-library/index.esm.js +1 -1
  522. package/dist/web-components-library/{p-d8ef97da.js → p-02e9b4fa.js} +1 -1
  523. package/dist/web-components-library/p-051b9116.entry.js +1 -0
  524. package/{www/build/p-c9eac6c5.entry.js → dist/web-components-library/p-06d2f371.entry.js} +1 -1
  525. package/{www/build/p-1b7b10fe.entry.js → dist/web-components-library/p-09be4e46.entry.js} +1 -1
  526. package/dist/web-components-library/p-0d38e9a8.js +1 -0
  527. package/dist/web-components-library/{p-5012c9d8.entry.js → p-14db3f16.entry.js} +1 -1
  528. package/dist/web-components-library/{p-2ae405b7.js → p-154596ad.js} +1 -1
  529. package/{www/build/p-b4d54364.entry.js → dist/web-components-library/p-1cbd8a5f.entry.js} +1 -1
  530. package/dist/web-components-library/p-22c29e0b.entry.js +1 -0
  531. package/dist/web-components-library/{p-837d9c29.entry.js → p-291bbca3.entry.js} +1 -1
  532. package/dist/web-components-library/{p-0441c402.entry.js → p-293e2bfc.entry.js} +1 -1
  533. package/dist/web-components-library/{p-dc16d2ae.entry.js → p-2d0ac109.entry.js} +1 -1
  534. package/dist/web-components-library/{p-4e6088ef.entry.js → p-2d600a28.entry.js} +1 -1
  535. package/dist/web-components-library/{p-7bed3156.entry.js → p-2f013f10.entry.js} +1 -1
  536. package/dist/web-components-library/p-2fab41fb.entry.js +1 -0
  537. package/dist/web-components-library/{p-18b15bde.entry.js → p-327ddafe.entry.js} +1 -1
  538. package/dist/web-components-library/{p-ec00fcea.js → p-3347a3ba.js} +1 -1
  539. package/dist/web-components-library/{p-ddff6bf7.entry.js → p-37e8194f.entry.js} +1 -1
  540. package/dist/web-components-library/p-386bdb7f.entry.js +1 -0
  541. package/dist/web-components-library/p-38f19b72.entry.js +1 -0
  542. package/dist/web-components-library/{p-3f913141.entry.js → p-398e1834.entry.js} +1 -1
  543. package/dist/web-components-library/p-3e61bad0.entry.js +1 -0
  544. package/dist/web-components-library/p-43478f5b.entry.js +1 -0
  545. package/dist/web-components-library/{p-0fdfb35a.entry.js → p-4b2683b2.entry.js} +1 -1
  546. package/dist/web-components-library/{p-ceeead94.entry.js → p-4bb4a199.entry.js} +1 -1
  547. package/{www/build/p-cae9bff7.entry.js → dist/web-components-library/p-4cc4d0c1.entry.js} +1 -1
  548. package/dist/web-components-library/{p-7ef2b6d6.entry.js → p-5e990049.entry.js} +1 -1
  549. package/dist/web-components-library/{p-416c2676.entry.js → p-625d603e.entry.js} +1 -1
  550. package/dist/web-components-library/{p-4b9298f9.entry.js → p-62f687bc.entry.js} +1 -1
  551. package/dist/web-components-library/p-6302304b.entry.js +1 -0
  552. package/dist/web-components-library/p-64759e9f.js +1 -0
  553. package/dist/web-components-library/p-64d902c6.entry.js +1 -0
  554. package/dist/web-components-library/{p-a9b6ecb4.js → p-65dd23d7.js} +1 -1
  555. package/dist/web-components-library/p-67703416.entry.js +1 -0
  556. package/{www/build/p-639ca520.entry.js → dist/web-components-library/p-69bde29c.entry.js} +1 -1
  557. package/{www/build/p-989fbd90.entry.js → dist/web-components-library/p-6ff71404.entry.js} +1 -1
  558. package/dist/web-components-library/{p-c5e5dd5f.entry.js → p-8b2bf3b4.entry.js} +1 -1
  559. package/dist/web-components-library/p-8e334a37.entry.js +1 -0
  560. package/dist/web-components-library/{p-33a922eb.entry.js → p-903e12df.entry.js} +1 -1
  561. package/dist/web-components-library/{p-8b7c4150.js → p-9076ccc9.js} +1 -1
  562. package/{www/build/p-924ab522.entry.js → dist/web-components-library/p-9829f5bd.entry.js} +1 -1
  563. package/dist/web-components-library/{p-0f21c603.js → p-9b505408.js} +1 -1
  564. package/dist/web-components-library/{p-25678da1.entry.js → p-9d57a84c.entry.js} +1 -1
  565. package/dist/web-components-library/p-9e33bfcd.entry.js +1 -0
  566. package/dist/web-components-library/p-a13b6a71.entry.js +1 -0
  567. package/dist/web-components-library/p-a4254712.entry.js +1 -0
  568. package/dist/web-components-library/{p-e4a7cdaf.entry.js → p-a6a09ce6.entry.js} +1 -1
  569. package/dist/web-components-library/{p-7591cd84.entry.js → p-a9610c6a.entry.js} +1 -1
  570. package/{www/build/p-7d9cd5e8.entry.js → dist/web-components-library/p-ab11f2e1.entry.js} +1 -1
  571. package/dist/web-components-library/p-ac9881cd.entry.js +1 -0
  572. package/{www/build/p-b7ad13c0.entry.js → dist/web-components-library/p-bbeb69ae.entry.js} +1 -1
  573. package/{www/build/p-6f511d95.entry.js → dist/web-components-library/p-c1f20cec.entry.js} +1 -1
  574. package/dist/web-components-library/{p-0b942ef3.js → p-c250c443.js} +1 -1
  575. package/dist/web-components-library/{p-fa7fa70f.entry.js → p-c2e32adf.entry.js} +1 -1
  576. package/dist/web-components-library/{p-dbfffa35.entry.js → p-c5634f85.entry.js} +1 -1
  577. package/dist/web-components-library/p-c76e27b4.entry.js +1 -0
  578. package/dist/web-components-library/{p-474e024e.entry.js → p-c877bb1e.entry.js} +1 -1
  579. package/dist/web-components-library/{p-24920ca3.entry.js → p-cb07de86.entry.js} +1 -1
  580. package/dist/web-components-library/p-cd14f3f5.entry.js +1 -0
  581. package/dist/web-components-library/{p-e0ba6ee7.entry.js → p-d082b344.entry.js} +1 -1
  582. package/dist/web-components-library/{p-12a80f86.entry.js → p-d147e995.entry.js} +1 -1
  583. package/dist/web-components-library/{p-766d9faa.js → p-d7668580.js} +1 -1
  584. package/{www/build/p-f69bfda5.entry.js → dist/web-components-library/p-d8de02a7.entry.js} +1 -1
  585. package/dist/web-components-library/{p-9718b060.js → p-dd3e0b4e.js} +1 -1
  586. package/dist/web-components-library/{p-1a0a6e6d.entry.js → p-e47526aa.entry.js} +1 -1
  587. package/{www/build/p-e320f343.entry.js → dist/web-components-library/p-f182d723.entry.js} +1 -1
  588. package/dist/web-components-library/{p-2a124a35.entry.js → p-f2eaa685.entry.js} +1 -1
  589. package/dist/web-components-library/{p-7119bf08.entry.js → p-f3408275.entry.js} +1 -1
  590. package/{www/build/p-643dfe5f.entry.js → dist/web-components-library/p-f678a469.entry.js} +1 -1
  591. package/{www/build/p-355615d0.entry.js → dist/web-components-library/p-fa7b1ee3.entry.js} +1 -1
  592. package/dist/web-components-library/{p-ac5efe28.entry.js → p-fc8f0f1a.entry.js} +1 -1
  593. package/dist/web-components-library/{p-e052bfbe.entry.js → p-fc97fa81.entry.js} +1 -1
  594. package/dist/web-components-library/web-components-library.esm.js +1 -1
  595. package/package.json +106 -106
  596. package/react/components.d.ts +100 -100
  597. package/react/components.js +106 -106
  598. package/react/index.d.ts +1 -1
  599. package/react/index.js +13 -13
  600. package/react/react-component-lib/createComponent.d.ts +10 -10
  601. package/react/react-component-lib/createComponent.js +97 -97
  602. package/react/react-component-lib/createOverlayComponent.d.ts +21 -21
  603. package/react/react-component-lib/createOverlayComponent.js +115 -115
  604. package/react/react-component-lib/index.d.ts +2 -2
  605. package/react/react-component-lib/index.js +7 -7
  606. package/react/react-component-lib/interfaces.d.ts +29 -29
  607. package/react/react-component-lib/interfaces.js +2 -2
  608. package/react/react-component-lib/utils/attachProps.d.ts +12 -12
  609. package/react/react-component-lib/utils/attachProps.js +104 -104
  610. package/react/react-component-lib/utils/case.d.ts +2 -2
  611. package/react/react-component-lib/utils/case.js +11 -11
  612. package/react/react-component-lib/utils/dev.d.ts +2 -2
  613. package/react/react-component-lib/utils/dev.js +17 -17
  614. package/react/react-component-lib/utils/index.d.ts +10 -10
  615. package/react/react-component-lib/utils/index.js +53 -53
  616. package/readme.md +280 -280
  617. package/www/build/index.esm.js +1 -1
  618. package/www/build/{p-d8ef97da.js → p-02e9b4fa.js} +1 -1
  619. package/www/build/p-051b9116.entry.js +1 -0
  620. package/{dist/web-components-library/p-c9eac6c5.entry.js → www/build/p-06d2f371.entry.js} +1 -1
  621. package/{dist/web-components-library/p-1b7b10fe.entry.js → www/build/p-09be4e46.entry.js} +1 -1
  622. package/www/build/p-0d38e9a8.js +1 -0
  623. package/www/build/{p-5012c9d8.entry.js → p-14db3f16.entry.js} +1 -1
  624. package/www/build/{p-2ae405b7.js → p-154596ad.js} +1 -1
  625. package/{dist/web-components-library/p-b4d54364.entry.js → www/build/p-1cbd8a5f.entry.js} +1 -1
  626. package/www/build/p-22c29e0b.entry.js +1 -0
  627. package/www/build/{p-837d9c29.entry.js → p-291bbca3.entry.js} +1 -1
  628. package/www/build/{p-0441c402.entry.js → p-293e2bfc.entry.js} +1 -1
  629. package/www/build/{p-dc16d2ae.entry.js → p-2d0ac109.entry.js} +1 -1
  630. package/www/build/{p-4e6088ef.entry.js → p-2d600a28.entry.js} +1 -1
  631. package/www/build/{p-7bed3156.entry.js → p-2f013f10.entry.js} +1 -1
  632. package/www/build/p-2fab41fb.entry.js +1 -0
  633. package/www/build/{p-18b15bde.entry.js → p-327ddafe.entry.js} +1 -1
  634. package/www/build/{p-ec00fcea.js → p-3347a3ba.js} +1 -1
  635. package/www/build/{p-ddff6bf7.entry.js → p-37e8194f.entry.js} +1 -1
  636. package/www/build/p-386bdb7f.entry.js +1 -0
  637. package/www/build/p-38f19b72.entry.js +1 -0
  638. package/www/build/{p-3f913141.entry.js → p-398e1834.entry.js} +1 -1
  639. package/www/build/p-3e61bad0.entry.js +1 -0
  640. package/www/build/p-43478f5b.entry.js +1 -0
  641. package/www/build/{p-0fdfb35a.entry.js → p-4b2683b2.entry.js} +1 -1
  642. package/www/build/{p-ceeead94.entry.js → p-4bb4a199.entry.js} +1 -1
  643. package/{dist/web-components-library/p-cae9bff7.entry.js → www/build/p-4cc4d0c1.entry.js} +1 -1
  644. package/www/build/{p-7ef2b6d6.entry.js → p-5e990049.entry.js} +1 -1
  645. package/www/build/{p-416c2676.entry.js → p-625d603e.entry.js} +1 -1
  646. package/www/build/{p-4b9298f9.entry.js → p-62f687bc.entry.js} +1 -1
  647. package/www/build/p-6302304b.entry.js +1 -0
  648. package/www/build/p-64759e9f.js +1 -0
  649. package/www/build/p-64d902c6.entry.js +1 -0
  650. package/www/build/{p-a9b6ecb4.js → p-65dd23d7.js} +1 -1
  651. package/www/build/p-67703416.entry.js +1 -0
  652. package/{dist/web-components-library/p-639ca520.entry.js → www/build/p-69bde29c.entry.js} +1 -1
  653. package/{dist/web-components-library/p-989fbd90.entry.js → www/build/p-6ff71404.entry.js} +1 -1
  654. package/www/build/{p-c5e5dd5f.entry.js → p-8b2bf3b4.entry.js} +1 -1
  655. package/www/build/p-8e334a37.entry.js +1 -0
  656. package/www/build/{p-33a922eb.entry.js → p-903e12df.entry.js} +1 -1
  657. package/www/build/{p-8b7c4150.js → p-9076ccc9.js} +1 -1
  658. package/{dist/web-components-library/p-924ab522.entry.js → www/build/p-9829f5bd.entry.js} +1 -1
  659. package/www/build/{p-0f21c603.js → p-9b505408.js} +1 -1
  660. package/www/build/{p-25678da1.entry.js → p-9d57a84c.entry.js} +1 -1
  661. package/www/build/p-9e33bfcd.entry.js +1 -0
  662. package/www/build/p-a13b6a71.entry.js +1 -0
  663. package/www/build/p-a4254712.entry.js +1 -0
  664. package/www/build/{p-e4a7cdaf.entry.js → p-a6a09ce6.entry.js} +1 -1
  665. package/www/build/{p-7591cd84.entry.js → p-a9610c6a.entry.js} +1 -1
  666. package/{dist/web-components-library/p-7d9cd5e8.entry.js → www/build/p-ab11f2e1.entry.js} +1 -1
  667. package/www/build/p-ac9881cd.entry.js +1 -0
  668. package/{dist/web-components-library/p-b7ad13c0.entry.js → www/build/p-bbeb69ae.entry.js} +1 -1
  669. package/{dist/web-components-library/p-6f511d95.entry.js → www/build/p-c1f20cec.entry.js} +1 -1
  670. package/www/build/{p-0b942ef3.js → p-c250c443.js} +1 -1
  671. package/www/build/{p-fa7fa70f.entry.js → p-c2e32adf.entry.js} +1 -1
  672. package/www/build/{p-dbfffa35.entry.js → p-c5634f85.entry.js} +1 -1
  673. package/www/build/p-c76e27b4.entry.js +1 -0
  674. package/www/build/{p-474e024e.entry.js → p-c877bb1e.entry.js} +1 -1
  675. package/www/build/{p-24920ca3.entry.js → p-cb07de86.entry.js} +1 -1
  676. package/www/build/p-cd14f3f5.entry.js +1 -0
  677. package/www/build/{p-e0ba6ee7.entry.js → p-d082b344.entry.js} +1 -1
  678. package/www/build/{p-12a80f86.entry.js → p-d147e995.entry.js} +1 -1
  679. package/www/build/{p-766d9faa.js → p-d7668580.js} +1 -1
  680. package/{dist/web-components-library/p-f69bfda5.entry.js → www/build/p-d8de02a7.entry.js} +1 -1
  681. package/www/build/{p-9718b060.js → p-dd3e0b4e.js} +1 -1
  682. package/www/build/{p-1a0a6e6d.entry.js → p-e47526aa.entry.js} +1 -1
  683. package/{dist/web-components-library/p-e320f343.entry.js → www/build/p-f182d723.entry.js} +1 -1
  684. package/www/build/{p-2a124a35.entry.js → p-f2eaa685.entry.js} +1 -1
  685. package/www/build/{p-7119bf08.entry.js → p-f3408275.entry.js} +1 -1
  686. package/{dist/web-components-library/p-643dfe5f.entry.js → www/build/p-f678a469.entry.js} +1 -1
  687. package/www/build/{p-99586661.js → p-f70f9e04.js} +1 -1
  688. package/{dist/web-components-library/p-355615d0.entry.js → www/build/p-fa7b1ee3.entry.js} +1 -1
  689. package/www/build/{p-ac5efe28.entry.js → p-fc8f0f1a.entry.js} +1 -1
  690. package/www/build/{p-e052bfbe.entry.js → p-fc97fa81.entry.js} +1 -1
  691. package/www/build/web-components-library.esm.js +1 -1
  692. package/www/index.html +1 -1
  693. package/www/pages/book-cards.html +595 -595
  694. package/www/pages/file-upload.html +258 -258
  695. package/www/pages/notification.html +299 -299
  696. package/dist/web-components-library/p-1286f8d5.entry.js +0 -1
  697. package/dist/web-components-library/p-1f29a72f.entry.js +0 -1
  698. package/dist/web-components-library/p-32c35c74.entry.js +0 -1
  699. package/dist/web-components-library/p-5aa7a151.js +0 -1
  700. package/dist/web-components-library/p-660e86f4.entry.js +0 -1
  701. package/dist/web-components-library/p-6b5e12c3.entry.js +0 -1
  702. package/dist/web-components-library/p-6bec47c3.entry.js +0 -1
  703. package/dist/web-components-library/p-6f172f88.entry.js +0 -1
  704. package/dist/web-components-library/p-715c4b12.entry.js +0 -1
  705. package/dist/web-components-library/p-83f1f83e.entry.js +0 -1
  706. package/dist/web-components-library/p-92323d2d.entry.js +0 -1
  707. package/dist/web-components-library/p-b0678fbb.entry.js +0 -1
  708. package/dist/web-components-library/p-b198f17c.entry.js +0 -1
  709. package/dist/web-components-library/p-b92e9444.entry.js +0 -1
  710. package/dist/web-components-library/p-d24f9faa.entry.js +0 -1
  711. package/dist/web-components-library/p-d94bd52c.js +0 -1
  712. package/dist/web-components-library/p-db662a47.entry.js +0 -1
  713. package/dist/web-components-library/p-ef3bdc76.entry.js +0 -1
  714. package/dist/web-components-library/p-fe02209d.entry.js +0 -1
  715. package/www/build/p-1286f8d5.entry.js +0 -1
  716. package/www/build/p-1f29a72f.entry.js +0 -1
  717. package/www/build/p-32c35c74.entry.js +0 -1
  718. package/www/build/p-5aa7a151.js +0 -1
  719. package/www/build/p-660e86f4.entry.js +0 -1
  720. package/www/build/p-6b5e12c3.entry.js +0 -1
  721. package/www/build/p-6bec47c3.entry.js +0 -1
  722. package/www/build/p-6f172f88.entry.js +0 -1
  723. package/www/build/p-715c4b12.entry.js +0 -1
  724. package/www/build/p-83f1f83e.entry.js +0 -1
  725. package/www/build/p-92323d2d.entry.js +0 -1
  726. package/www/build/p-b0678fbb.entry.js +0 -1
  727. package/www/build/p-b198f17c.entry.js +0 -1
  728. package/www/build/p-b92e9444.entry.js +0 -1
  729. package/www/build/p-d24f9faa.entry.js +0 -1
  730. package/www/build/p-d94bd52c.js +0 -1
  731. package/www/build/p-db662a47.entry.js +0 -1
  732. package/www/build/p-ef3bdc76.entry.js +0 -1
  733. package/www/build/p-fe02209d.entry.js +0 -1
  734. /package/dist/web-components-library/{p-9fd60dd8.js → p-2773516d.js} +0 -0
  735. /package/dist/web-components-library/{p-01f1bdd5.js → p-2b3cf51a.js} +0 -0
  736. /package/dist/web-components-library/{p-8539a4cf.js → p-30771d25.js} +0 -0
  737. /package/dist/web-components-library/{p-87f0297b.js → p-4ae2fe27.js} +0 -0
  738. /package/dist/web-components-library/{p-65faafdd.js → p-62b89a37.js} +0 -0
  739. /package/dist/web-components-library/{p-dcdb2dee.js → p-75b94adb.js} +0 -0
  740. /package/dist/web-components-library/{p-b35b3d91.js → p-ab4773c6.js} +0 -0
  741. /package/dist/web-components-library/{p-37037d9d.js → p-b497e33e.js} +0 -0
  742. /package/dist/web-components-library/{p-74a062db.js → p-c9d57d05.js} +0 -0
  743. /package/dist/web-components-library/{p-1b0964b5.js → p-f6a7b40e.js} +0 -0
  744. /package/www/build/{p-9fd60dd8.js → p-2773516d.js} +0 -0
  745. /package/www/build/{p-01f1bdd5.js → p-2b3cf51a.js} +0 -0
  746. /package/www/build/{p-8539a4cf.js → p-30771d25.js} +0 -0
  747. /package/www/build/{p-87f0297b.js → p-4ae2fe27.js} +0 -0
  748. /package/www/build/{p-65faafdd.js → p-62b89a37.js} +0 -0
  749. /package/www/build/{p-dcdb2dee.js → p-75b94adb.js} +0 -0
  750. /package/www/build/{p-b35b3d91.js → p-ab4773c6.js} +0 -0
  751. /package/www/build/{p-37037d9d.js → p-b497e33e.js} +0 -0
  752. /package/www/build/{p-74a062db.js → p-c9d57d05.js} +0 -0
  753. /package/www/build/{p-1b0964b5.js → p-f6a7b40e.js} +0 -0
@@ -1 +1 @@
1
- import{r as t,c as r,h as i}from"./p-d17ebc2f.js";import{t as o}from"./p-37037d9d.js";const s=class{constructor(i){t(this,i),this.buttonSortClick=r(this,"buttonSortClick",7),this.sortlabelasc="A-Z",this.sortlabeldesc="Z-A",this.isselected=!1,this.sortasc=!0,this.allowTooltip=!1}emitButtonSortClick(){this.isselected?this.sortasc=!this.sortasc:this.isselected=!0,this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){this.elementHasEllipsis()&&window.innerWidth>o&&(this.allowTooltip=!0)}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return i("button",{title:this.setButtonTitle(),id:this.buttonid,class:this.isselected&&"selected",onClick:()=>this.emitButtonSortClick()},i("label",null,i("span",{ref:t=>this.ellipsis=t,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),i("span",{class:"counter"},this.counter&&` (${this.counter})`),i("span",{class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),i("z-icon",{name:"caret-up-down",width:16,height:16})))}};s.style=":host,button{max-width:100%}button{height:36px;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--myz-blue);background-color:var(--bg-white);border-radius:var(--border-radius);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:var(--shadow-focus-primary);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{display:flex;align-items:center;cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}button>label>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>label>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) * 0.5);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-rg)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";export{s as z_button_sort}
1
+ import{r as t,c as r,h as i}from"./p-d17ebc2f.js";import{t as o}from"./p-b497e33e.js";const s=class{constructor(i){t(this,i),this.buttonSortClick=r(this,"buttonSortClick",7),this.sortlabelasc="A-Z",this.sortlabeldesc="Z-A",this.isselected=!1,this.sortasc=!0,this.allowTooltip=!1}emitButtonSortClick(){this.isselected?this.sortasc=!this.sortasc:this.isselected=!0,this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){this.elementHasEllipsis()&&window.innerWidth>o&&(this.allowTooltip=!0)}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return i("button",{title:this.setButtonTitle(),id:this.buttonid,class:this.isselected&&"selected",onClick:()=>this.emitButtonSortClick()},i("label",null,i("span",{ref:t=>this.ellipsis=t,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),i("span",{class:"counter"},this.counter&&` (${this.counter})`),i("span",{class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),i("z-icon",{name:"caret-up-down",width:16,height:16})))}};s.style=":host,button{max-width:100%}button{height:36px;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--myz-blue);background-color:var(--bg-white);border-radius:var(--border-radius);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);box-shadow:var(--shadow-focus-primary);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{display:flex;align-items:center;cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}button>label>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>label>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) * 0.5);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-rg)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";export{s as z_button_sort}
@@ -1 +1 @@
1
- import{r as a,h as t,H as c,g as s}from"./p-d17ebc2f.js";const e=class{constructor(t){a(this,t),this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare.",this.subtitle=""}componentWillLoad(){this.hasCta1Slot=!!this.hostElement.querySelector('[slot="cta1"]'),this.hasCta2Slot=!!this.hostElement.querySelector('[slot="cta2"]')}render(){return t(c,null,t("span",{class:"body-3-sb"},this.message),t("br",null),!!this.subtitle&&t("span",{class:"body-4"},this.subtitle),(!!this.hasCta1Slot||!!this.hasCta2Slot)&&t("div",{class:{cta:!0,"has-2-cta":!!this.hasCta1Slot&&!!this.hasCta2Slot}},t("slot",{name:"cta1"}),t("slot",{name:"cta2"})))}get hostElement(){return s(this)}};e.style=".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7) calc(var(--space-unit) * 3)\r\n calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:row}}";export{e as Z}
1
+ import{r as a,h as t,H as c,g as s}from"./p-d17ebc2f.js";const e=class{constructor(t){a(this,t),this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare.",this.subtitle=""}componentWillLoad(){this.hasCta1Slot=!!this.hostElement.querySelector('[slot="cta1"]'),this.hasCta2Slot=!!this.hostElement.querySelector('[slot="cta2"]')}render(){return t(c,null,t("span",{class:"body-3-sb"},this.message),t("br",null),!!this.subtitle&&t("span",{class:"body-4"},this.subtitle),(!!this.hasCta1Slot||!!this.hasCta2Slot)&&t("div",{class:{cta:!0,"has-2-cta":!!this.hasCta1Slot&&!!this.hasCta2Slot}},t("slot",{name:"cta1"}),t("slot",{name:"cta2"})))}get hostElement(){return s(this)}};e.style=".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7) calc(var(--space-unit) * 3)\n calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:row}}";export{e as Z}
@@ -1 +1 @@
1
- import{r as i,c as t,h as e}from"./p-d17ebc2f.js";import{e as s,I as r,K as a,l as o}from"./p-74a062db.js";import{a as h}from"./p-766d9faa.js";import"./p-37037d9d.js";const d=class{constructor(e){i(this,e),this.comboboxChange=t(this,"comboboxChange",7),this.disabled=!1,this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.size=s.BIG,this.renderItemsList=[],this.itemsList=[],this.inputType=r.TEXT,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((i=>i.checked)).length,this.updateRenderItemsList()}watchSearchValue(){this.filterItems(this.searchValue)}inputCheckListener(i){const t=i.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===t&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(i.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===t&&(e.checked=i.detail.checked),e))),this.updateRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((i=>i.checked)).length}updateRenderItemsList(){this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}resetRenderItemsList(){const i=[];this.itemsList.forEach((t=>{i.push(Object.assign({},t))})),this.renderItemsList=i}filterItems(i){if(!i)return this.closeFilterItems();this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((t=>{const e=t.name.toUpperCase().indexOf(i.toUpperCase()),s=e+i.length,r=t.name.substring(0,e)+t.name.substring(e,s).bold()+t.name.substring(s,t.name.length);return t.name=r,e>=0}))}checkAll(i=!0){this.itemsList=this.itemsList.map((t=>Object.assign(Object.assign({},t),{checked:i}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:i=>{i.keyCode===a.SPACE&&i.preventDefault()},onKeyUp:i=>h(i,this.toggleComboBox),role:"button",tabindex:0},e("p",{class:"body-3"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",class:this.size}))}renderContent(){if(this.isopen)return e("div",{class:"open-combo-data"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderItem(i,t,a){return e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:t!==a-1,class:this.size},e("z-input",{type:r.CHECKBOX,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter,size:this.size===s.X_SMALL?s.SMALL:this.size}))}renderList(i){if(i)return!i.length&&this.searchValue?this.renderNoSearchResults():this.hasgroupitems?this.renderGroups(this.itemsList):e("ul",null,i.map(((t,e)=>this.renderItem(t,e,i.length))))}renderGroups(i){const t=i.reduce(((t,e,s)=>{var r;const{category:a}=e,o=this.renderItem(e,s,i.length);return t[a]=null!==(r=t[a])&&void 0!==r?r:[],t[a].push(o),t}),{}),s=Object.entries(t).map((([i,t])=>e("z-list-group",{"divider-type":o.ELEMENT},e("span",{class:"body-3-sb z-list-group-title",slot:"header-title"},i),t.map((i=>i)))));return e("ul",null,s)}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle",class:this.size}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:i=>h(i,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,message:!1,size:this.size,onInputChange:i=>{if(27===i.detail.keycode)return this.closeFilterItems();this.searchValue=i.detail.value}})}renderCheckAll(){if(this.searchValue)return;const i=this.selectedCounter===this.itemsList.length;return e("div",{class:"check-all-wrapper"},e("z-input",{type:r.CHECKBOX,checked:i,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:i?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length,size:this.size===s.X_SMALL?s.SMALL:this.size}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:{open:this.isopen,fixed:this.isfixed,disabled:this.disabled},id:this.inputid},this.renderHeader(),!this.disabled&&this.renderContent())}static get watchers(){return{items:["watchItems"],searchValue:["watchSearchValue"]}}};d.style=':host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host([size="small"])>div>.header{min-height:34px;font-size:var(--font-size-2)}:host([size="x-small"])>div>.header{min-height:30px;font-size:var(--font-size-2)}:host([size="x-small"])>div>.header p.body-3{padding:calc(var(--space-unit) * 0.5) 0}:host>div>.header:hover{outline:var(--border-size-medium) solid var(--gray700);outline-offset:-2px}:host>div.open>div.header:focus:focus-visible{box-shadow:none}:host>div>div.header:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>p.body-3{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>p.body-3>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div>.header>z-icon.small,:host>div>.header>z-icon.x-small{--z-icon-width:16px;--z-icon-height:16px}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-disabled01);fill:var(--color-disabled01)}:host>div.disabled .header>p.body-3{color:var(--text-grey-700)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-disabled01)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--gray800);margin-bottom:var(--space-unit);text-align:left}:host([size="small"])>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 0.5)}:host([size="x-small"])>div.open>div.open-combo-data>div.check-all-wrapper{padding:var(--space-unit) calc(var(--space-unit) * 0.5)}';export{d as z_combobox}
1
+ import{r as i,c as t,h as e}from"./p-d17ebc2f.js";import{e as s,I as r,K as a,l as o}from"./p-c9d57d05.js";import{a as h}from"./p-d7668580.js";import"./p-b497e33e.js";const d=class{constructor(e){i(this,e),this.comboboxChange=t(this,"comboboxChange",7),this.disabled=!1,this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.size=s.BIG,this.renderItemsList=[],this.itemsList=[],this.inputType=r.TEXT,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((i=>i.checked)).length,this.updateRenderItemsList()}watchSearchValue(){this.filterItems(this.searchValue)}inputCheckListener(i){const t=i.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===t&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(i.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===t&&(e.checked=i.detail.checked),e))),this.updateRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((i=>i.checked)).length}updateRenderItemsList(){this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}resetRenderItemsList(){const i=[];this.itemsList.forEach((t=>{i.push(Object.assign({},t))})),this.renderItemsList=i}filterItems(i){if(!i)return this.closeFilterItems();this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((t=>{const e=t.name.toUpperCase().indexOf(i.toUpperCase()),s=e+i.length,r=t.name.substring(0,e)+t.name.substring(e,s).bold()+t.name.substring(s,t.name.length);return t.name=r,e>=0}))}checkAll(i=!0){this.itemsList=this.itemsList.map((t=>Object.assign(Object.assign({},t),{checked:i}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:i=>{i.keyCode===a.SPACE&&i.preventDefault()},onKeyUp:i=>h(i,this.toggleComboBox),role:"button",tabindex:0},e("p",{class:"body-3"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",class:this.size}))}renderContent(){if(this.isopen)return e("div",{class:"open-combo-data"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderItem(i,t,a){return e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:t!==a-1,class:this.size},e("z-input",{type:r.CHECKBOX,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter,size:this.size===s.X_SMALL?s.SMALL:this.size}))}renderList(i){if(i)return!i.length&&this.searchValue?this.renderNoSearchResults():this.hasgroupitems?this.renderGroups(this.itemsList):e("ul",null,i.map(((t,e)=>this.renderItem(t,e,i.length))))}renderGroups(i){const t=i.reduce(((t,e,s)=>{var r;const{category:a}=e,o=this.renderItem(e,s,i.length);return t[a]=null!==(r=t[a])&&void 0!==r?r:[],t[a].push(o),t}),{}),s=Object.entries(t).map((([i,t])=>e("z-list-group",{"divider-type":o.ELEMENT},e("span",{class:"body-3-sb z-list-group-title",slot:"header-title"},i),t.map((i=>i)))));return e("ul",null,s)}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle",class:this.size}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:i=>h(i,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,message:!1,size:this.size,onInputChange:i=>{if(27===i.detail.keycode)return this.closeFilterItems();this.searchValue=i.detail.value}})}renderCheckAll(){if(this.searchValue)return;const i=this.selectedCounter===this.itemsList.length;return e("div",{class:"check-all-wrapper"},e("z-input",{type:r.CHECKBOX,checked:i,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:i?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length,size:this.size===s.X_SMALL?s.SMALL:this.size}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:{open:this.isopen,fixed:this.isfixed,disabled:this.disabled},id:this.inputid},this.renderHeader(),!this.disabled&&this.renderContent())}static get watchers(){return{items:["watchItems"],searchValue:["watchSearchValue"]}}};d.style=':host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host([size="small"])>div>.header{min-height:34px;font-size:var(--font-size-2)}:host([size="x-small"])>div>.header{min-height:30px;font-size:var(--font-size-2)}:host([size="x-small"])>div>.header p.body-3{padding:calc(var(--space-unit) * 0.5) 0}:host>div>.header:hover{outline:var(--border-size-medium) solid var(--gray700);outline-offset:-2px}:host>div.open>div.header:focus:focus-visible{box-shadow:none}:host>div>div.header:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>p.body-3{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>p.body-3>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div>.header>z-icon.small,:host>div>.header>z-icon.x-small{--z-icon-width:16px;--z-icon-height:16px}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-disabled01);fill:var(--color-disabled01)}:host>div.disabled .header>p.body-3{color:var(--text-grey-700)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-disabled01)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--gray800);margin-bottom:var(--space-unit);text-align:left}:host([size="small"])>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 0.5)}:host([size="x-small"])>div.open>div.open-combo-data>div.check-all-wrapper{padding:var(--space-unit) calc(var(--space-unit) * 0.5)}';export{d as z_combobox}
@@ -0,0 +1 @@
1
+ import{r as i,c as e,h as t,H as s,g as o}from"./p-d17ebc2f.js";import{x as n,P as l}from"./p-c9d57d05.js";import{t as r}from"./p-b497e33e.js";const h=class{constructor(t){i(this,t),this.removeFile=e(this,"removeFile",7),this.allowPopover=!1,this.popoverVisible=!1}removeFileHandler(){this.removeFile.emit({fileName:this.fileName}),this.el.remove()}onMouseOver(){this.popoverVisible=!0}onMouseLeave(){this.popoverVisible=!1}onInteractiveIconClick(){this.removeFileHandler()}componentDidLoad(){var i,e;this.elementHasEllipsis()&&window.innerWidth>r&&(this.allowPopover=!0),null===(e=null===(i=this.icon)||void 0===i?void 0:i.focus)||void 0===e||e.call(i)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return t(s,null,this.allowPopover&&t("z-popover",{open:this.popoverVisible,position:l.AUTO,bindTo:this.chip},t("span",{class:"body-5 tooltip-content"},this.ellipsis.innerText)),t("z-chip",{ref:i=>this.chip=i,id:`chip-${this.fileNumber}`,interactiveIcon:"multiply-circled",type:n.DEFAULT},t("span",{ref:i=>this.ellipsis=i,tabIndex:-1},this.fileName)))}get el(){return o(this)}};h.style=".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";export{h as z_file}
@@ -1 +1 @@
1
- import{r,h as a,H as t}from"./p-d17ebc2f.js";import{u as s}from"./p-74a062db.js";const i=class{constructor(a){r(this,a),this.mode=s.POLITE}render(){return a(t,{"aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},a("slot",null))}};export{i as z_aria_alert}
1
+ import{r,h as a,H as t}from"./p-d17ebc2f.js";import{u as s}from"./p-c9d57d05.js";const i=class{constructor(a){r(this,a),this.mode=s.POLITE}render(){return a(t,{"aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},a("slot",null))}};export{i as z_aria_alert}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,g as o}from"./p-d17ebc2f.js";import{R as r,U as n,d as a,B as l}from"./p-74a062db.js";const c=class{constructor(i){t(this,i),this.indexChange=s(this,"indexChange",7),this.single=!1,this.ghostLoadingHeight=100,this.current=0,this.scrollingTo=null}onIndexChange(){this.indexChange.emit({currentItem:this.current})}onSingleModeChange(){this.single&&!this.intersectionObserver&&this.setIntersectionObserver()}setIntersectionObserver(){this.intersectionObserver=new window.IntersectionObserver((t=>{const s=t.find((t=>t.isIntersecting));if(!s)return;const i=this.items.findIndex((t=>t===s.target));this.highlightedIndicator=i,null!==this.scrollingTo&&i!==this.scrollingTo||(this.scrollingTo=null,this.current=i)}),{root:this.itemsContainer,threshold:.5}),this.items.forEach((t=>this.intersectionObserver.observe(t)))}onPrev(){if(this.single)return void this.goTo(Math.max(0,this.current-1));const t=this.itemsContainer;t&&t.scrollBy({left:-t.clientWidth/2,behavior:"smooth"})}onNext(){if(this.single)return void this.goTo(Math.min(this.current+1,this.items.length-1));const t=this.itemsContainer;t&&t.scrollBy({left:t.clientWidth/2,behavior:"smooth"})}checkNavigationValidity(){this.single&&(this.canNavigatePrev=this.current>1,this.canNavigateNext=this.current<this.items.length-1),this.canNavigatePrev=this.itemsContainer.scrollLeft>0,this.canNavigateNext=this.itemsContainer.scrollLeft<this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth}canShowFooter(){return this.arrowsPosition===r.BOTTOM||this.progressMode===n.DOTS||this.progressMode===n.NUMBERS}goTo(t){this.current!==t&&(this.scrollingTo=t,this.itemsContainer.scroll({left:this.items[t].offsetLeft,behavior:"smooth"}))}componentDidLoad(){this.itemsContainer=this.hostElement.querySelector(".z-carousel-items-container"),this.itemsContainer&&(this.items=Array.from(this.itemsContainer.querySelectorAll(":scope > li")),this.single&&this.setIntersectionObserver(),this.itemsContainer.addEventListener("scroll",this.checkNavigationValidity.bind(this),{passive:!0}),this.checkNavigationValidity())}render(){return this.isLoading?i(e,null,this.label&&i("div",{class:"heading-4 z-carousel-title"},this.label),i("div",{style:{height:`${this.ghostLoadingHeight}px`}},i("z-ghost-loading",null),i("div",{class:"loading-items-container"},i("slot",null)))):i(e,null,i("div",{class:"z-carousel-container"},this.label&&i("div",{class:"heading-4 z-carousel-title"},this.label),i("div",{class:"z-carousel-wrapper"},this.arrowsPosition===r.OVER&&i("z-button",{size:a.SMALL,"data-direction":"prev",icon:"chevron-left",onClick:this.onPrev.bind(this),disabled:!this.canNavigatePrev}),i("ul",{class:"z-carousel-items-container"},i("slot",null)),this.arrowsPosition===r.OVER&&i("z-button",{size:a.SMALL,"data-direction":"next",icon:"chevron-right",onClick:this.onNext.bind(this),disabled:!this.canNavigateNext}))),this.canShowFooter()&&i("div",{class:"z-carousel-footer"},this.arrowsPosition===r.BOTTOM&&i("z-button",{size:a.SMALL,variant:l.TERTIARY,icon:"arrow-simple-left-filled",onClick:this.onPrev.bind(this),disabled:!this.canNavigatePrev}),this.progressMode===n.DOTS&&this.single&&this.items&&i("div",{class:"dots-progress"},this.items.map(((t,s)=>i("button",{type:"button",class:{current:this.highlightedIndicator===s},onClick:()=>this.goTo(s)},i("z-icon",{name:this.highlightedIndicator===s?"white-circle-filled":"black-circle-filled"}))))),this.progressMode===n.NUMBERS&&this.single&&this.items&&i("div",{class:"numbers-progress interactive-3"},i("span",{class:"current"},this.current+1),i("span",null,"di"),i("span",null,this.items.length)),this.arrowsPosition===r.BOTTOM&&i("z-button",{size:a.SMALL,variant:l.TERTIARY,icon:"arrow-simple-right-filled",onClick:this.onNext.bind(this),disabled:!this.canNavigateNext})))}get hostElement(){return o(this)}static get watchers(){return{current:["onIndexChange"],single:["onSingleModeChange"]}}};c.style='z-carousel{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}z-carousel[single],z-carousel[single="true"]{display:flex;flex-direction:column;align-items:center;justify-content:center}z-carousel[single="true"] .z-carousel-container,z-carousel[single] .z-carousel-container{width:fit-content;max-width:100%}z-carousel .loading-items-container{display:none}z-carousel .z-carousel-container{display:flex;flex-direction:column}z-carousel .z-carousel-wrapper{position:relative}z-carousel .z-carousel-title{margin-bottom:var(--space-unit);color:var(--gray800)}z-carousel .z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-snap-type:x mandatory;scrollbar-width:none;}z-carousel .z-carousel-items-container::-webkit-scrollbar{display:none}z-carousel .z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}z-carousel[single="true"] .z-carousel-items-container>*:not(:last-child),z-carousel[single] .z-carousel-items-container>*:not(:last-child){margin-right:0}z-carousel .z-carousel-items-container>li{scroll-snap-align:center}z-button[data-direction]{--z-icon-width:32px;--z-icon-height:32px;position:absolute;bottom:50%;transform:translateY(50%)}z-button[data-direction="next"]{right:0}z-carousel .z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;margin-top:var(--space-unit)}z-carousel .z-carousel-footer .numbers-progress,z-carousel .z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}z-carousel .z-carousel-footer .dots-progress button{display:flex;align-items:center;padding:0;border:none;margin:0;background-color:transparent}z-carousel .z-carousel-footer .dots-progress button:not(.current){cursor:pointer}z-carousel .z-carousel-footer .numbers-progress{margin:0 calc(var(--space-unit) / 2);column-gap:calc(var(--space-unit) / 2)}z-carousel .z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}z-carousel .z-carousel-footer .dots-progress button.current z-icon{fill:var(--gray800)}z-carousel .z-carousel-footer .dots-progress button:not(.current) z-icon{fill:var(--gray200)}';export{c as z_carousel}
1
+ import{r as t,c as s,h as i,H as e,g as o}from"./p-d17ebc2f.js";import{R as r,U as n,d as a,B as l}from"./p-c9d57d05.js";const c=class{constructor(i){t(this,i),this.indexChange=s(this,"indexChange",7),this.single=!1,this.ghostLoadingHeight=100,this.current=0,this.scrollingTo=null}onIndexChange(){this.indexChange.emit({currentItem:this.current})}onSingleModeChange(){this.single&&!this.intersectionObserver&&this.setIntersectionObserver()}setIntersectionObserver(){this.intersectionObserver=new window.IntersectionObserver((t=>{const s=t.find((t=>t.isIntersecting));if(!s)return;const i=this.items.findIndex((t=>t===s.target));this.highlightedIndicator=i,null!==this.scrollingTo&&i!==this.scrollingTo||(this.scrollingTo=null,this.current=i)}),{root:this.itemsContainer,threshold:.5}),this.items.forEach((t=>this.intersectionObserver.observe(t)))}onPrev(){if(this.single)return void this.goTo(Math.max(0,this.current-1));const t=this.itemsContainer;t&&t.scrollBy({left:-t.clientWidth/2,behavior:"smooth"})}onNext(){if(this.single)return void this.goTo(Math.min(this.current+1,this.items.length-1));const t=this.itemsContainer;t&&t.scrollBy({left:t.clientWidth/2,behavior:"smooth"})}checkNavigationValidity(){this.single&&(this.canNavigatePrev=this.current>1,this.canNavigateNext=this.current<this.items.length-1),this.canNavigatePrev=this.itemsContainer.scrollLeft>0,this.canNavigateNext=this.itemsContainer.scrollLeft<this.itemsContainer.scrollWidth-this.itemsContainer.clientWidth}canShowFooter(){return this.arrowsPosition===r.BOTTOM||this.progressMode===n.DOTS||this.progressMode===n.NUMBERS}goTo(t){this.current!==t&&(this.scrollingTo=t,this.itemsContainer.scroll({left:this.items[t].offsetLeft,behavior:"smooth"}))}componentDidLoad(){this.itemsContainer=this.hostElement.querySelector(".z-carousel-items-container"),this.itemsContainer&&(this.items=Array.from(this.itemsContainer.querySelectorAll(":scope > li")),this.single&&this.setIntersectionObserver(),this.itemsContainer.addEventListener("scroll",this.checkNavigationValidity.bind(this),{passive:!0}),this.checkNavigationValidity())}render(){return this.isLoading?i(e,null,this.label&&i("div",{class:"heading-4 z-carousel-title"},this.label),i("div",{style:{height:`${this.ghostLoadingHeight}px`}},i("z-ghost-loading",null),i("div",{class:"loading-items-container"},i("slot",null)))):i(e,null,i("div",{class:"z-carousel-container"},this.label&&i("div",{class:"heading-4 z-carousel-title"},this.label),i("div",{class:"z-carousel-wrapper"},this.arrowsPosition===r.OVER&&i("z-button",{size:a.SMALL,"data-direction":"prev",icon:"chevron-left",onClick:this.onPrev.bind(this),disabled:!this.canNavigatePrev}),i("ul",{class:"z-carousel-items-container"},i("slot",null)),this.arrowsPosition===r.OVER&&i("z-button",{size:a.SMALL,"data-direction":"next",icon:"chevron-right",onClick:this.onNext.bind(this),disabled:!this.canNavigateNext}))),this.canShowFooter()&&i("div",{class:"z-carousel-footer"},this.arrowsPosition===r.BOTTOM&&i("z-button",{size:a.SMALL,variant:l.TERTIARY,icon:"arrow-simple-left-filled",onClick:this.onPrev.bind(this),disabled:!this.canNavigatePrev}),this.progressMode===n.DOTS&&this.single&&this.items&&i("div",{class:"dots-progress"},this.items.map(((t,s)=>i("button",{type:"button",class:{current:this.highlightedIndicator===s},onClick:()=>this.goTo(s)},i("z-icon",{name:this.highlightedIndicator===s?"white-circle-filled":"black-circle-filled"}))))),this.progressMode===n.NUMBERS&&this.single&&this.items&&i("div",{class:"numbers-progress interactive-3"},i("span",{class:"current"},this.current+1),i("span",null,"di"),i("span",null,this.items.length)),this.arrowsPosition===r.BOTTOM&&i("z-button",{size:a.SMALL,variant:l.TERTIARY,icon:"arrow-simple-right-filled",onClick:this.onNext.bind(this),disabled:!this.canNavigateNext})))}get hostElement(){return o(this)}static get watchers(){return{current:["onIndexChange"],single:["onSingleModeChange"]}}};c.style='z-carousel{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}z-carousel[single],z-carousel[single="true"]{display:flex;flex-direction:column;align-items:center;justify-content:center}z-carousel[single="true"] .z-carousel-container,z-carousel[single] .z-carousel-container{width:fit-content;max-width:100%}z-carousel .loading-items-container{display:none}z-carousel .z-carousel-container{display:flex;flex-direction:column}z-carousel .z-carousel-wrapper{position:relative}z-carousel .z-carousel-title{margin-bottom:var(--space-unit);color:var(--gray800)}z-carousel .z-carousel-items-container{display:flex;max-width:100%;flex-direction:row;margin:0;list-style:none;-ms-overflow-style:none;overflow-x:scroll;padding-inline-start:0;scroll-snap-type:x mandatory;scrollbar-width:none;}z-carousel .z-carousel-items-container::-webkit-scrollbar{display:none}z-carousel .z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}z-carousel[single="true"] .z-carousel-items-container>*:not(:last-child),z-carousel[single] .z-carousel-items-container>*:not(:last-child){margin-right:0}z-carousel .z-carousel-items-container>li{scroll-snap-align:center}z-button[data-direction]{--z-icon-width:32px;--z-icon-height:32px;position:absolute;bottom:50%;transform:translateY(50%)}z-button[data-direction="next"]{right:0}z-carousel .z-carousel-footer{display:flex;flex-direction:row;align-items:center;justify-content:center;margin-top:var(--space-unit)}z-carousel .z-carousel-footer .numbers-progress,z-carousel .z-carousel-footer .dots-progress{display:flex;align-items:center;justify-content:center}z-carousel .z-carousel-footer .dots-progress button{display:flex;align-items:center;padding:0;border:none;margin:0;background-color:transparent}z-carousel .z-carousel-footer .dots-progress button:not(.current){cursor:pointer}z-carousel .z-carousel-footer .numbers-progress{margin:0 calc(var(--space-unit) / 2);column-gap:calc(var(--space-unit) / 2)}z-carousel .z-carousel-footer .numbers-progress .current{font-weight:var(--font-sb)}z-carousel .z-carousel-footer .dots-progress button.current z-icon{fill:var(--gray800)}z-carousel .z-carousel-footer .dots-progress button:not(.current) z-icon{fill:var(--gray200)}';export{c as z_carousel}
@@ -1 +1 @@
1
- import{r as t,h as e,H as a,g as s}from"./p-d17ebc2f.js";import"./p-d94bd52c.js";import"./p-65faafdd.js";import"./p-9718b060.js";import"./p-8539a4cf.js";import"./p-766d9faa.js";import"./p-74a062db.js";import"./p-37037d9d.js";import"./p-0b942ef3.js";import"./p-d8ef97da.js";const o=class{constructor(e){t(this,e),this.bordered=!1,this.expandable=!1}updateExpandable(){this.expandable=this.host.querySelectorAll("z-tr[expandable]").length>0}componentWillLoad(){this.expandableMutationObserver=new MutationObserver((()=>{this.updateExpandable()})),this.expandableMutationObserver.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["expandable"],attributeOldValue:!1})}disconnectedCallback(){this.expandableMutationObserver.disconnect()}render(){return e(a,{expandable:this.expandable},e("div",{class:"table",role:"table"},e("slot",null)))}get host(){return s(this)}};o.style=":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}.table{min-width:max-content}";export{o as z_table}
1
+ import{r as t,h as e,H as s,g as a}from"./p-d17ebc2f.js";import"./p-64759e9f.js";import"./p-62b89a37.js";import"./p-dd3e0b4e.js";import"./p-30771d25.js";import"./p-d7668580.js";import"./p-c9d57d05.js";import"./p-b497e33e.js";import"./p-c250c443.js";import"./p-02e9b4fa.js";const o=class{constructor(e){t(this,e),this.bordered=!1,this.expandable=!1}updateExpandable(){this.expandable=this.host.querySelectorAll("z-tr[expandable]").length>0}componentWillLoad(){this.expandableMutationObserver=new MutationObserver((()=>{this.updateExpandable()})),this.expandableMutationObserver.observe(this.host,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["expandable"],attributeOldValue:!1})}disconnectedCallback(){this.expandableMutationObserver.disconnect()}render(){return e(s,{expandable:this.expandable},e("div",{class:"table",role:"table"},e("slot",null)))}get host(){return a(this)}};o.style=":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}.table{min-width:max-content}";export{o as z_table}
@@ -1 +1 @@
1
- import{r as i,c,h,g as s}from"./p-d17ebc2f.js";import{x as r,p as a}from"./p-74a062db.js";import{g as t}from"./p-766d9faa.js";import"./p-37037d9d.js";const e=class{constructor(h){i(this,h),this.interactiveIconClick=c(this,"interactiveIconClick",7),this.type=r.DEFAULT,this.disabled=!1,this.ariaLabel=""}emitinteractiveIconClick(){this.interactiveIconClick.emit()}getIconSize(){return t()!==a.DESKTOP&&t()!==a.DESKTOP_WIDE?22:14}render(){return this.interactiveIcon?h("div",{class:`z-chip-container ${this.type}`,"aria-disabled":this.disabled},this.icon&&h("z-icon",{class:"icon-sx",name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null),h("button",{type:"button",onClick:()=>this.emitinteractiveIconClick(),onKeyUp:()=>{},"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{name:this.interactiveIcon,width:this.getIconSize(),height:this.getIconSize()}))):h("div",{class:`${this.type}`},this.icon&&h("z-icon",{name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null))}get el(){return s(this)}};e.style=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) button.sc-z-chip>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container.sc-z-chip:hover:not([aria-disabled])>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.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.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip:last-child{fill:var(--color-primary01)}.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,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip{cursor:auto}.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:hover:not(:disabled):active:hover>button.sc-z-chip>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";export{e as z_chip}
1
+ import{r as i,c,h,g as s}from"./p-d17ebc2f.js";import{x as r,p as a}from"./p-c9d57d05.js";import{g as t}from"./p-d7668580.js";import"./p-b497e33e.js";const e=class{constructor(h){i(this,h),this.interactiveIconClick=c(this,"interactiveIconClick",7),this.type=r.DEFAULT,this.disabled=!1,this.ariaLabel=""}emitinteractiveIconClick(){this.interactiveIconClick.emit()}getIconSize(){return t()!==a.DESKTOP&&t()!==a.DESKTOP_WIDE?22:14}render(){return this.interactiveIcon?h("div",{class:`z-chip-container ${this.type}`,"aria-disabled":this.disabled},this.icon&&h("z-icon",{class:"icon-sx",name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null),h("button",{type:"button",onClick:()=>this.emitinteractiveIconClick(),onKeyUp:()=>{},"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{name:this.interactiveIcon,width:this.getIconSize(),height:this.getIconSize()}))):h("div",{class:`${this.type}`},this.icon&&h("z-icon",{name:this.icon,width:this.getIconSize(),height:this.getIconSize()}),h("slot",null))}get el(){return s(this)}};e.style=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) button.sc-z-chip>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container.sc-z-chip:hover:not([aria-disabled])>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.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.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip:last-child{fill:var(--color-primary01)}.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,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip>button.sc-z-chip>z-icon.sc-z-chip{cursor:auto}.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:hover:not(:disabled):active:hover>button.sc-z-chip>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";export{e as z_chip}
@@ -1 +1 @@
1
- import{r as s,c as t,h as i,H as c}from"./p-d17ebc2f.js";import{r as e}from"./p-766d9faa.js";import{k as l}from"./p-74a062db.js";import"./p-37037d9d.js";const o=class{constructor(i){s(this,i),this.toggleClick=t(this,"toggleClick",7),this.disabled=!1,this.labelPosition=l.LEFT,this.checked=!1,this.htmlid=`toggle-switch-id-${e()}`}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(s){this.disabled||(this.checked=s.target.checked,this.emitToggleClick())}render(){return i(c,null,i("input",{id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),i("label",{htmlFor:this.htmlid,class:{[this.labelPosition]:!0,disabled:this.disabled}},i("span",null,i("slot",null)),i("span",{class:{container:!0,disabled:this.disabled,checked:this.checked}},i("span",{class:"circle"},this.checked&&i("z-icon",{width:12,height:12,name:"checkmark"})))))}};o.style='.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}';export{o as z_toggle_switch}
1
+ import{r as s,c as t,h as e,H as i}from"./p-d17ebc2f.js";import{r as c}from"./p-d7668580.js";import{k as l}from"./p-c9d57d05.js";import"./p-b497e33e.js";const o=class{constructor(e){s(this,e),this.toggleClick=t(this,"toggleClick",7),this.disabled=!1,this.labelPosition=l.LEFT,this.checked=!1,this.htmlid=`toggle-switch-id-${c()}`}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(s){this.disabled||(this.checked=s.target.checked,this.emitToggleClick())}render(){return e(i,null,e("input",{id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),e("label",{htmlFor:this.htmlid,class:{[this.labelPosition]:!0,disabled:this.disabled}},e("span",null,e("slot",null)),e("span",{class:{container:!0,disabled:this.disabled,checked:this.checked}},e("span",{class:"circle"},this.checked&&e("z-icon",{width:12,height:12,name:"checkmark"})))))}};o.style='.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}';export{o as z_toggle_switch}
@@ -0,0 +1 @@
1
+ export{Z as z_table_expanded_row}from"./p-2b3cf51a.js";import"./p-d17ebc2f.js";
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as a,g as s}from"./p-d17ebc2f.js";import{s as n}from"./p-74a062db.js";import{m as r}from"./p-37037d9d.js";import{h as o}from"./p-e43e61ac.js";import"./p-112455b1.js";const l=class{constructor(e){t(this,e),this.toastClose=i(this,"toastClose",7),this.pauseonfocusloss=!0,this.isdraggable=!0,this.draggablepercentage=80,this.isCloseEventCalled=!1}watchPropIsdraggable(t){t?this.sliderManager.get("pan").set({enable:!0}):this.sliderManager.get("pan").set({enable:!1})}watchPropAutoclose(t){clearTimeout(this.timeoutHandle),this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){this.autoclose&&(t?document.addEventListener("visibilitychange",this.visibilityChangeEventHandler):document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler))}emitToastClose(t){this.timeoutHandle=null,this.elapsedTime=null,this.hostElement.classList.add(t),this.toastClose.emit()}componentWillLoad(){this.isMobile=window.innerWidth<=r,this.validateAutoclose(),this.percentage=0}componentDidLoad(){this.isTextLong=this.detectWrap()||this.toastText.offsetHeight>20,this.startTime=Date.now(),this.autoclose&&this.pauseonfocusloss&&document.addEventListener("visibilitychange",this.visibilityChangeEventHandler),this.isdraggable&&this.handleSlideOutDragAnimation()}visibilityChangeEventHandler(){"hidden"===document.visibilityState?this.timeoutHandle&&this.onBlur():this.elapsedTime&&this.onFocus()}validateAutoclose(){this.autoclose||this.closebutton||console.error("At least one between autoclose and closebutton must be present")}mapSlideOutClass(){switch(this.transition){case n.SLIDE_IN_DOWN:return n.SLIDE_OUT_UP;case n.SLIDE_IN_UP:return n.SLIDE_OUT_DOWN;case n.SLIDE_IN_LEFT:return n.SLIDE_OUT_RIGHT;case n.SLIDE_IN_RIGHT:return n.SLIDE_OUT_LEFT}}calculateDraggedPercentage(t){const i=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/i.width)}handleSlideOutDragAnimation(){this.sliderManager=new o(this.hostElement),this.sliderManager.get("pan").set({direction:o.DIRECTION_HORIZONTAL}),this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t),this.hostElement.style.transition="none",this.hostElement.classList.remove(this.transition);const i={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=100-Math.abs(this.percentage)+"%",t.eventType!==o.DIRECTION_LEFT&&t.eventType!==o.DIRECTION_RIGHT||(this.hostElement.style.transform=i.translate,Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled&&(this.isCloseEventCalled=!0,this.emitToastClose(t.direction===o.DIRECTION_LEFT?"slide-out-left":"slide-out-right"))),t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage&&(this.hostElement.style.transform=i.translateBack,this.hostElement.style.transition="all 1s",this.hostElement.style.opacity="100%",this.percentage=0)}))}onFocus(){let t=this.autoclose;this.elapsedTime&&(t=this.autoclose-this.elapsedTime),t>0&&this.startClosingTimeout(t)}onBlur(){this.elapsedTime=Date.now()-this.startTime,clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=window.setTimeout((()=>this.emitToastClose(this.mapSlideOutClass())),t)}detectWrap(){const t=this.container.offsetWidth,i=this.container.children;let e=0;for(let t=0;t<i.length;t++)e+=i[t].offsetWidth;return e>t}renderText(){return e("div",{id:"text",ref:t=>this.toastText=t},e("span",{class:"title"},this.heading),e("span",{class:"message"},this.message))}renderButton(){return e("div",{id:"button"},e("slot",{name:"button"}))}renderCloseIcon(){if(this.closebutton)return e("div",{id:"icon"},e("z-icon",{tabIndex:0,name:"multiply-circled",width:15,height:15,onClick:()=>this.emitToastClose(this.mapSlideOutClass()),onKeyPress:t=>{32!=t.keyCode&&13!=t.keyCode||(t.preventDefault(),this.emitToastClose(this.mapSlideOutClass()))}}))}renderContainer(){return e("div",{tabIndex:0,id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong},ref:t=>this.container=t},this.renderText(),this.renderButton(),this.renderCloseIcon())}renderMobileContainer(){return e("div",{id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong,"mobile-wrapped":this.isTextLong}},e("div",{id:"flex-container",ref:t=>this.container=t},this.renderText(),this.renderButton()),this.renderCloseIcon())}render(){return e(a,{style:{"--percentuale":`${this.percentage}%`},class:this.transition?this.transition:n.SLIDE_IN_DOWN,onAnimationEnd:t=>{this.autoclose&&t.animationName.includes("slidein")&&this.startClosingTimeout(this.autoclose),t.animationName.includes("slideout")&&this.hostElement.parentNode.removeChild(this.hostElement)}},this.isMobile?this.renderMobileContainer():this.renderContainer())}get hostElement(){return s(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};l.style=":host{display:inline-block;width:100vw;min-width:200px;--percentuale:0}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}:host>#external-container{display:flex;min-height:52px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);border-radius:4px;box-shadow:var(--shadow-3);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);letter-spacing:0.16px}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between}:host>#external-container #text{margin-right:calc(var(--space-unit) * 2);color:var(--color-white);letter-spacing:0.16px;line-height:20px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--color-white)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--gray800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";export{l as z_toast_notification}
1
+ import{r as t,c as e,h as i,H as a,g as s}from"./p-d17ebc2f.js";import{s as n}from"./p-c9d57d05.js";import{m as r}from"./p-b497e33e.js";import{h as o}from"./p-e43e61ac.js";import"./p-112455b1.js";const l=class{constructor(i){t(this,i),this.toastClose=e(this,"toastClose",7),this.pauseonfocusloss=!0,this.isdraggable=!0,this.draggablepercentage=80,this.isCloseEventCalled=!1}watchPropIsdraggable(t){t?this.sliderManager.get("pan").set({enable:!0}):this.sliderManager.get("pan").set({enable:!1})}watchPropAutoclose(t){clearTimeout(this.timeoutHandle),this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){this.autoclose&&(t?document.addEventListener("visibilitychange",this.visibilityChangeEventHandler):document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler))}emitToastClose(t){this.timeoutHandle=null,this.elapsedTime=null,this.hostElement.classList.add(t),this.toastClose.emit()}componentWillLoad(){this.isMobile=window.innerWidth<=r,this.validateAutoclose(),this.percentage=0}componentDidLoad(){this.isTextLong=this.detectWrap()||this.toastText.offsetHeight>20,this.startTime=Date.now(),this.autoclose&&this.pauseonfocusloss&&document.addEventListener("visibilitychange",this.visibilityChangeEventHandler),this.isdraggable&&this.handleSlideOutDragAnimation()}visibilityChangeEventHandler(){"hidden"===document.visibilityState?this.timeoutHandle&&this.onBlur():this.elapsedTime&&this.onFocus()}validateAutoclose(){this.autoclose||this.closebutton||console.error("At least one between autoclose and closebutton must be present")}mapSlideOutClass(){switch(this.transition){case n.SLIDE_IN_DOWN:return n.SLIDE_OUT_UP;case n.SLIDE_IN_UP:return n.SLIDE_OUT_DOWN;case n.SLIDE_IN_LEFT:return n.SLIDE_OUT_RIGHT;case n.SLIDE_IN_RIGHT:return n.SLIDE_OUT_LEFT}}calculateDraggedPercentage(t){const e=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/e.width)}handleSlideOutDragAnimation(){this.sliderManager=new o(this.hostElement),this.sliderManager.get("pan").set({direction:o.DIRECTION_HORIZONTAL}),this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t),this.hostElement.style.transition="none",this.hostElement.classList.remove(this.transition);const e={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=100-Math.abs(this.percentage)+"%",t.eventType!==o.DIRECTION_LEFT&&t.eventType!==o.DIRECTION_RIGHT||(this.hostElement.style.transform=e.translate,Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled&&(this.isCloseEventCalled=!0,this.emitToastClose(t.direction===o.DIRECTION_LEFT?"slide-out-left":"slide-out-right"))),t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage&&(this.hostElement.style.transform=e.translateBack,this.hostElement.style.transition="all 1s",this.hostElement.style.opacity="100%",this.percentage=0)}))}onFocus(){let t=this.autoclose;this.elapsedTime&&(t=this.autoclose-this.elapsedTime),t>0&&this.startClosingTimeout(t)}onBlur(){this.elapsedTime=Date.now()-this.startTime,clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=window.setTimeout((()=>this.emitToastClose(this.mapSlideOutClass())),t)}detectWrap(){const t=this.container.offsetWidth,e=this.container.children;let i=0;for(let t=0;t<e.length;t++)i+=e[t].offsetWidth;return i>t}renderText(){return i("div",{id:"text",ref:t=>this.toastText=t},i("span",{class:"title"},this.heading),i("span",{class:"message"},this.message))}renderButton(){return i("div",{id:"button"},i("slot",{name:"button"}))}renderCloseIcon(){if(this.closebutton)return i("div",{id:"icon"},i("z-icon",{tabIndex:0,name:"multiply-circled",width:15,height:15,onClick:()=>this.emitToastClose(this.mapSlideOutClass()),onKeyPress:t=>{32!=t.keyCode&&13!=t.keyCode||(t.preventDefault(),this.emitToastClose(this.mapSlideOutClass()))}}))}renderContainer(){return i("div",{tabIndex:0,id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong},ref:t=>this.container=t},this.renderText(),this.renderButton(),this.renderCloseIcon())}renderMobileContainer(){return i("div",{id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong,"mobile-wrapped":this.isTextLong}},i("div",{id:"flex-container",ref:t=>this.container=t},this.renderText(),this.renderButton()),this.renderCloseIcon())}render(){return i(a,{style:{"--percentuale":`${this.percentage}%`},class:this.transition?this.transition:n.SLIDE_IN_DOWN,onAnimationEnd:t=>{this.autoclose&&t.animationName.includes("slidein")&&this.startClosingTimeout(this.autoclose),t.animationName.includes("slideout")&&this.hostElement.parentNode.removeChild(this.hostElement)}},this.isMobile?this.renderMobileContainer():this.renderContainer())}get hostElement(){return s(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};l.style=":host{display:inline-block;width:100vw;min-width:200px;--percentuale:0}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}:host>#external-container{display:flex;min-height:52px;box-sizing:border-box;align-items:center;justify-content:space-between;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);border-radius:4px;box-shadow:var(--shadow-3);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);letter-spacing:0.16px}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between}:host>#external-container #text{margin-right:calc(var(--space-unit) * 2);color:var(--color-white);letter-spacing:0.16px;line-height:20px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--color-white)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--gray800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";export{l as z_toast_notification}
@@ -1 +1 @@
1
- import{r as t,h as n,H as i,g as a}from"./p-d17ebc2f.js";import{B as o,d as s}from"./p-74a062db.js";const e=class{constructor(n){t(this,n),this.padding="medium",this.isMenuOpened=!1}handleMenu(){this.isMenuOpened=!this.isMenuOpened}componentWillRender(){this.host.setAttribute("role","cell")}render(){return n(i,null,this.showButton&&n("div",{class:{"button-container":!0,visible:this.isMenuOpened}},n("div",{class:"button-content"},n("z-button",{icon:"contextual-menu",variant:o.TERTIARY,size:s.X_SMALL,onClick:()=>this.handleMenu()}),n("div",{class:{"contextual-menu-container":!0,visible:this.isMenuOpened}},n("slot",{name:"contextual-menu"})))),n("slot",null))}get host(){return a(this)}};e.style=':host{display:table-cell;border-bottom:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}';export{e as Z}
1
+ import{r as t,h as n,H as i,g as a}from"./p-d17ebc2f.js";import{B as o,d as s}from"./p-c9d57d05.js";const e=class{constructor(n){t(this,n),this.padding="medium",this.isMenuOpened=!1}handleMenu(){this.isMenuOpened=!this.isMenuOpened}componentWillRender(){this.host.setAttribute("role","cell")}render(){return n(i,null,this.showButton&&n("div",{class:{"button-container":!0,visible:this.isMenuOpened}},n("div",{class:"button-content"},n("z-button",{icon:"contextual-menu",variant:o.TERTIARY,size:s.X_SMALL,onClick:()=>this.handleMenu()}),n("div",{class:{"contextual-menu-container":!0,visible:this.isMenuOpened}},n("slot",{name:"contextual-menu"})))),n("slot",null))}get host(){return a(this)}};e.style=':host{display:table-cell;border-bottom:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}';export{e as Z}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-d17ebc2f.js";import{p as r}from"./p-74a062db.js";import{f as s,g as o,a as n}from"./p-766d9faa.js";import"./p-37037d9d.js";const a=class{constructor(e){t(this,e),this.currentSlide=0}watchData(){this.parseLinks()}componentWillLoad(){this.parseLinks(),this.setDevice(),window.addEventListener("resize",this.handleResize.bind(this))}componentDidRender(){this.setStyle()}handleResize(){this.setDevice(),this.setStyle()}parseLinks(){var t,e;switch(typeof this.data){case"string":{const i=null!==(t=s(this.data))&&void 0!==t?t:[];if(e=i,!Array.isArray(e)||!e.every((t=>"string"==typeof t)))throw new Error("Passed data is invalid");this.links=i;break}default:this.links=this.data}}setStyle(){const t=this.el.shadowRoot.querySelector("#slides");if(!t)return;const e=this.el.shadowRoot.querySelectorAll(".slide"),i=this.el.offsetWidth;t.style.width=i*this.links.length+"px",t.style.transform=`translate(-${i*this.currentSlide}px)`,e.forEach((t=>{t.querySelector("img").style.width=`${i}px`}))}setDevice(){this.device=o()}setCurrentSlide(t){this.currentSlide=t}getBulletDimension(){switch(this.device){case r.MOBILE:return 24;case r.TABLET:return 32;default:return 40}}renderSlides(t){return e("div",{id:"slides"},t.map(((t,i)=>e("div",{id:"slide"+i,class:`slide ${this.currentSlide!==i&&"hide"}`},e("img",{src:t})))))}renderScroll(t){let i=!1,r=this.currentSlide;return"left"===t?(i=0===this.currentSlide,r--):"right"===t&&(i=this.currentSlide===this.links.length-1,r++),e("z-icon",{class:`scroll ${t} ${i&&"disabled"}`,width:this.getBulletDimension(),height:this.getBulletDimension(),name:`chevron-${t}-circle`,onClick:()=>{!i&&this.setCurrentSlide(r)},onKeyUp:t=>!i&&n(t,(()=>{this.setCurrentSlide(r)})),tabindex:0,role:"button"})}renderSlideshowMain(){return e("main",null,this.renderScroll("left"),this.renderSlides(this.links),this.renderScroll("right"))}renderBullet(t){return e("a",{class:`bullet ${this.currentSlide===t&&"selected"}`,onClick:()=>this.setCurrentSlide(t),onKeyUp:e=>n(e,(()=>this.setCurrentSlide(t))),tabindex:0,role:"button"})}renderSlideshowFooter(){return e("footer",null,e("div",{class:"footer-left"},e("slot",{name:"footer-left"})),e("div",{class:"footer-center"},e("div",{class:"bullet-container"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footer-right"},e("slot",{name:"footer-right"})))}render(){return this.links&&this.links.length?e("div",{id:this.slideshowid},this.renderSlideshowMain(),this.renderSlideshowFooter()):e("div",null)}get el(){return i(this)}static get watchers(){return{data:["watchData"]}}};a.style=':host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-base) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--bg-neutral-150);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-base) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}';export{a as z_slideshow}
1
+ import{r as t,h as e,g as i}from"./p-d17ebc2f.js";import{p as r}from"./p-c9d57d05.js";import{f as s,g as o,a as n}from"./p-d7668580.js";import"./p-b497e33e.js";const a=class{constructor(e){t(this,e),this.currentSlide=0}watchData(){this.parseLinks()}componentWillLoad(){this.parseLinks(),this.setDevice(),window.addEventListener("resize",this.handleResize.bind(this))}componentDidRender(){this.setStyle()}handleResize(){this.setDevice(),this.setStyle()}parseLinks(){var t,e;switch(typeof this.data){case"string":{const i=null!==(t=s(this.data))&&void 0!==t?t:[];if(e=i,!Array.isArray(e)||!e.every((t=>"string"==typeof t)))throw new Error("Passed data is invalid");this.links=i;break}default:this.links=this.data}}setStyle(){const t=this.el.shadowRoot.querySelector("#slides");if(!t)return;const e=this.el.shadowRoot.querySelectorAll(".slide"),i=this.el.offsetWidth;t.style.width=i*this.links.length+"px",t.style.transform=`translate(-${i*this.currentSlide}px)`,e.forEach((t=>{t.querySelector("img").style.width=`${i}px`}))}setDevice(){this.device=o()}setCurrentSlide(t){this.currentSlide=t}getBulletDimension(){switch(this.device){case r.MOBILE:return 24;case r.TABLET:return 32;default:return 40}}renderSlides(t){return e("div",{id:"slides"},t.map(((t,i)=>e("div",{id:"slide"+i,class:`slide ${this.currentSlide!==i&&"hide"}`},e("img",{src:t})))))}renderScroll(t){let i=!1,r=this.currentSlide;return"left"===t?(i=0===this.currentSlide,r--):"right"===t&&(i=this.currentSlide===this.links.length-1,r++),e("z-icon",{class:`scroll ${t} ${i&&"disabled"}`,width:this.getBulletDimension(),height:this.getBulletDimension(),name:`chevron-${t}-circle`,onClick:()=>{!i&&this.setCurrentSlide(r)},onKeyUp:t=>!i&&n(t,(()=>{this.setCurrentSlide(r)})),tabindex:0,role:"button"})}renderSlideshowMain(){return e("main",null,this.renderScroll("left"),this.renderSlides(this.links),this.renderScroll("right"))}renderBullet(t){return e("a",{class:`bullet ${this.currentSlide===t&&"selected"}`,onClick:()=>this.setCurrentSlide(t),onKeyUp:e=>n(e,(()=>this.setCurrentSlide(t))),tabindex:0,role:"button"})}renderSlideshowFooter(){return e("footer",null,e("div",{class:"footer-left"},e("slot",{name:"footer-left"})),e("div",{class:"footer-center"},e("div",{class:"bullet-container"},Object.keys(this.links).map((t=>this.renderBullet(parseInt(t)))))),e("div",{class:"footer-right"},e("slot",{name:"footer-right"})))}render(){return this.links&&this.links.length?e("div",{id:this.slideshowid},this.renderSlideshowMain(),this.renderSlideshowFooter()):e("div",null)}get el(){return i(this)}static get watchers(){return{data:["watchData"]}}};a.style=':host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-base) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:"center center" "left right"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--bg-neutral-150);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-base) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:"left center right"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}';export{a as z_slideshow}
@@ -0,0 +1 @@
1
+ export{Z as z_tr}from"./p-dd3e0b4e.js";import"./p-d17ebc2f.js";import"./p-d7668580.js";import"./p-c9d57d05.js";import"./p-b497e33e.js";import"./p-c250c443.js";import"./p-02e9b4fa.js";
@@ -0,0 +1 @@
1
+ export{Z as z_table_cell}from"./p-3347a3ba.js";import"./p-d17ebc2f.js";import"./p-c9d57d05.js";
@@ -1 +1 @@
1
- import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{B as o,d as a}from"./p-74a062db.js";const e=class{constructor(s){t(this,s),this.cardFlipped=i(this,"cardFlipped",7),this.disabled=!1,this.flipped=!1,this.flipbuttonlabel="INFO",this.hideinfobtn=!1}handleFlipCard(t){this.flipCard(t.detail)}flipCard(t=!0){this.flipped=t,this.cardFlipped.emit(t)}render(){return s("div",null,s("z-myz-card",null,s("z-myz-card-header",{titolo:this.name}),s("div",{class:"content "+(this.flipped?"flipped":"")},s("div",{class:"front"},s("z-myz-card-body",null,s("z-myz-card-cover",{slot:"cover",titolo:this.name,img:this.cover,faded:this.disabled})),s("z-button",{class:{"hide-info":this.hideinfobtn},variant:o.SECONDARY,icon:"informationsource",size:a.X_SMALL,onClick:()=>this.flipCard(!0),disabled:this.flipped},this.flipbuttonlabel)),s("div",{class:"back"},s("slot",{name:"info"}))),s("slot",null)))}};e.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";export{e as z_myz_card_dictionary}
1
+ import{r as t,c as i,h as s}from"./p-d17ebc2f.js";import{B as o,d as a}from"./p-c9d57d05.js";const e=class{constructor(s){t(this,s),this.cardFlipped=i(this,"cardFlipped",7),this.disabled=!1,this.flipped=!1,this.flipbuttonlabel="INFO",this.hideinfobtn=!1}handleFlipCard(t){this.flipCard(t.detail)}flipCard(t=!0){this.flipped=t,this.cardFlipped.emit(t)}render(){return s("div",null,s("z-myz-card",null,s("z-myz-card-header",{titolo:this.name}),s("div",{class:"content "+(this.flipped?"flipped":"")},s("div",{class:"front"},s("z-myz-card-body",null,s("z-myz-card-cover",{slot:"cover",titolo:this.name,img:this.cover,faded:this.disabled})),s("z-button",{class:{"hide-info":this.hideinfobtn},variant:o.SECONDARY,icon:"informationsource",size:a.X_SMALL,onClick:()=>this.flipCard(!0),disabled:this.flipped},this.flipbuttonlabel)),s("div",{class:"back"},s("slot",{name:"info"}))),s("slot",null)))}};e.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host z-myz-card{--card-overflow:visible}:host>div{position:relative;width:100%;height:522px;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;z-index:2;width:100%;height:522px;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content.flipped{margin-top:-2px;transform:rotateY(180deg)}:host>div .front,:host>div .back{position:absolute;top:0;left:0;width:100%;height:100%;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{z-index:1;top:0;left:0;display:flex;justify-content:center;padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));transform:rotateY(180deg)}.hide-info{display:none}";export{e as z_myz_card_dictionary}
@@ -0,0 +1 @@
1
+ export{Z as z_table_header}from"./p-65dd23d7.js";import"./p-d17ebc2f.js";import"./p-c9d57d05.js";import"./p-d7668580.js";import"./p-b497e33e.js";
@@ -0,0 +1 @@
1
+ export{Z as z_tfoot}from"./p-30771d25.js";import"./p-d17ebc2f.js";
@@ -1 +1 @@
1
- import{r,h as e}from"./p-d17ebc2f.js";import{L as t}from"./p-74a062db.js";const a=class{constructor(e){r(this,e),this.ispressed=!1,this.ishighlighted=!1}retrieveClass(){let r="";return this.cardtype===t.REAL?r+="real":this.cardtype===t.TRIAL?r+="trial":this.cardtype===t.TEMP&&(r+="temp"),this.faded?r+=" faded":this.ispressed?r+=" pressed":this.ishighlighted&&(r+=" highlighted"),r}render(){return e("div",{class:this.retrieveClass(),tabindex:"0"},e("slot",null))}};a.style=":host{--card-overflow:hidden}div{display:flex;overflow:var(--card-overflow);width:auto;width:256px;height:522px;box-sizing:border-box;flex-direction:column;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}div.real,div.trial,div.temp{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";const i=class{constructor(e){r(this,e)}render(){return e("div",null,e("slot",{name:"alert"}),e("slot",{name:"cover"}))}};i.style=":host{width:auto;height:340px}:host>div{position:relative;display:flex;width:auto;height:340px;align-items:center;justify-content:center}";const o=class{constructor(e){r(this,e)}hadleOnImageError(){this.img=this.defaultimg}render(){return e("img",{class:this.faded&&"faded",onError:this.hadleOnImageError.bind(this),alt:this.titolo,src:this.img})}};o.style="img{display:block;max-width:100%;height:340px;margin:auto;object-fit:cover}img.faded{opacity:0.3}";const s=class{constructor(e){r(this,e),this.allowTooltip=!1}getTitle(){return this.allowTooltip?this.titolo:""}componentDidLoad(){this.elementHasEllipsis()&&(this.allowTooltip=!0)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}retrieveClass(){return{real:this.cardtype===t.REAL,trial:this.cardtype===t.TRIAL,temp:this.cardtype===t.TEMP,faded:this.faded}}render(){return e("header",{class:this.retrieveClass()},e("slot",{name:"aria-heading"}),e("span",{class:"card-title",ref:r=>this.ellipsis=r,title:this.getTitle()},this.titolo),e("slot",{name:"icon"}))}};s.style='header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}slot[name="aria-heading"]::slotted(*){position:absolute;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 none !important;margin:-1px !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--accent);background-color:var(--accent-lighter)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}';export{a as z_myz_card,i as z_myz_card_body,o as z_myz_card_cover,s as z_myz_card_header}
1
+ import{r,h as e}from"./p-d17ebc2f.js";import{L as t}from"./p-c9d57d05.js";const i=class{constructor(e){r(this,e),this.ispressed=!1,this.ishighlighted=!1}retrieveClass(){let r="";return this.cardtype===t.REAL?r+="real":this.cardtype===t.TRIAL?r+="trial":this.cardtype===t.TEMP&&(r+="temp"),this.faded?r+=" faded":this.ispressed?r+=" pressed":this.ishighlighted&&(r+=" highlighted"),r}render(){return e("div",{class:this.retrieveClass(),tabindex:"0"},e("slot",null))}};i.style=":host{--card-overflow:hidden}div{display:flex;overflow:var(--card-overflow);width:auto;width:256px;height:522px;box-sizing:border-box;flex-direction:column;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}div.real,div.trial,div.temp{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";const a=class{constructor(e){r(this,e)}render(){return e("div",null,e("slot",{name:"alert"}),e("slot",{name:"cover"}))}};a.style=":host{width:auto;height:340px}:host>div{position:relative;display:flex;width:auto;height:340px;align-items:center;justify-content:center}";const o=class{constructor(e){r(this,e)}hadleOnImageError(){this.img=this.defaultimg}render(){return e("img",{class:this.faded&&"faded",onError:this.hadleOnImageError.bind(this),alt:this.titolo,src:this.img})}};o.style="img{display:block;max-width:100%;height:340px;margin:auto;object-fit:cover}img.faded{opacity:0.3}";const s=class{constructor(e){r(this,e),this.allowTooltip=!1}getTitle(){return this.allowTooltip?this.titolo:""}componentDidLoad(){this.elementHasEllipsis()&&(this.allowTooltip=!0)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}retrieveClass(){return{real:this.cardtype===t.REAL,trial:this.cardtype===t.TRIAL,temp:this.cardtype===t.TEMP,faded:this.faded}}render(){return e("header",{class:this.retrieveClass()},e("slot",{name:"aria-heading"}),e("span",{class:"card-title",ref:r=>this.ellipsis=r,title:this.getTitle()},this.titolo),e("slot",{name:"icon"}))}};s.style='header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}slot[name="aria-heading"]::slotted(*){position:absolute;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 none !important;margin:-1px !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--accent);background-color:var(--accent-lighter)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}';export{i as z_myz_card,a as z_myz_card_body,o as z_myz_card_cover,s as z_myz_card_header}
@@ -1 +1 @@
1
- import{r as t,h as o,H as i,g as e}from"./p-d17ebc2f.js";import{J as n}from"./p-74a062db.js";const r=class{constructor(o){t(this,o),this.icon="informationsource",this.position=n.BOTTOM_RIGHT,this.open=!1,this.currentIndex=null}watchItems(){Array.from(this.el.children).forEach(((t,o)=>{this.currentIndex===o?t.setAttribute("data-current",""):t.removeAttribute("data-current")}))}openInfoBox(){this.currentIndex=0,this.open=!0}closeInfoBox(){this.open=!1}next(){this.currentIndex=this.currentIndex+1,this.currentIndex===this.el.children.length&&this.closeInfoBox()}render(){return o(i,{open:this.open},o("button",{class:"z-info-reveal-trigger",onClick:this.openInfoBox.bind(this)},this.label&&o("span",{class:"z-info-reveal-label"},this.label),o("z-icon",{name:this.icon})),this.open&&o("div",{class:"info-box",onClick:this.next.bind(this),tabIndex:0},o("slot",null),o("button",{class:"z-info-reveal-close",onClick:this.closeInfoBox.bind(this)},o("z-icon",{name:"close"}))))}get el(){return e(this)}static get watchers(){return{currentIndex:["watchItems"]}}};r.style=':host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position="top_left"]) .z-info-reveal-trigger,:host([position="bottom_left"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position="bottom_left"]) .info-box,:host([position="bottom_right"]) .info-box{bottom:0}:host([position="top_right"]) .info-box,:host([position="bottom_right"]) .info-box{right:0}:host([position="top_left"]) .info-box,:host([position="bottom_left"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position="top_left"]) .z-info-reveal-close,:host([position="top_right"]) .z-info-reveal-close{align-self:flex-start}:host([position="bottom_left"]) .z-info-reveal-close,:host([position="bottom_right"]) .z-info-reveal-close{align-self:flex-end}';export{r as z_info_reveal}
1
+ import{r as t,h as o,H as i,g as e}from"./p-d17ebc2f.js";import{J as n}from"./p-c9d57d05.js";const r=class{constructor(o){t(this,o),this.icon="informationsource",this.position=n.BOTTOM_RIGHT,this.open=!1,this.currentIndex=null}watchItems(){Array.from(this.el.children).forEach(((t,o)=>{this.currentIndex===o?t.setAttribute("data-current",""):t.removeAttribute("data-current")}))}openInfoBox(){this.currentIndex=0,this.open=!0}closeInfoBox(){this.open=!1}next(){this.currentIndex=this.currentIndex+1,this.currentIndex===this.el.children.length&&this.closeInfoBox()}render(){return o(i,{open:this.open},o("button",{class:"z-info-reveal-trigger",onClick:this.openInfoBox.bind(this)},this.label&&o("span",{class:"z-info-reveal-label"},this.label),o("z-icon",{name:this.icon})),this.open&&o("div",{class:"info-box",onClick:this.next.bind(this),tabIndex:0},o("slot",null),o("button",{class:"z-info-reveal-close",onClick:this.closeInfoBox.bind(this)},o("z-icon",{name:"close"}))))}get el(){return e(this)}static get watchers(){return{currentIndex:["watchItems"]}}};r.style=':host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position="top_left"]) .z-info-reveal-trigger,:host([position="bottom_left"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position="bottom_left"]) .info-box,:host([position="bottom_right"]) .info-box{bottom:0}:host([position="top_right"]) .info-box,:host([position="bottom_right"]) .info-box{right:0}:host([position="top_left"]) .info-box,:host([position="bottom_left"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position="top_left"]) .z-info-reveal-close,:host([position="top_right"]) .z-info-reveal-close{align-self:flex-start}:host([position="bottom_left"]) .z-info-reveal-close,:host([position="bottom_right"]) .z-info-reveal-close{align-self:flex-end}';export{r as z_info_reveal}
@@ -1 +1 @@
1
- import{r as t,h as o,g as s}from"./p-d17ebc2f.js";import{t as i}from"./p-74a062db.js";const n=class{constructor(o){t(this,o),this.position=i.TOP_RIGHT,this.newestontop=!0}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse()),t?this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler):this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}componentWillLoad(){this.newestontop&&this.handleNewestOnTop()}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children),this.hostElement.append(...this.notificationArray.reverse()),this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}slotChangeHandler(){const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));t&&t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove(),this.hostElement.prepend(o)}))}render(){return o("slot",{name:"toasts"})}get hostElement(){return s(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};n.style=':host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position="bottom-centre"]),:host([position="bottom-right"]),:host([position="bottom-left"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="top-left"]),:host([position="top-right"]),:host([position="top-centre"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position="top-centre"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position="top-left"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position="top-right"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position="bottom-centre"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position="bottom-right"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="bottom-left"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}';export{n as z_toast_notification_list}
1
+ import{r as t,h as o,g as s}from"./p-d17ebc2f.js";import{t as i}from"./p-c9d57d05.js";const n=class{constructor(o){t(this,o),this.position=i.TOP_RIGHT,this.newestontop=!0}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse()),t?this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler):this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}componentWillLoad(){this.newestontop&&this.handleNewestOnTop()}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children),this.hostElement.append(...this.notificationArray.reverse()),this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}slotChangeHandler(){const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));t&&t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove(),this.hostElement.prepend(o)}))}render(){return o("slot",{name:"toasts"})}get hostElement(){return s(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};n.style=':host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position="bottom-centre"]),:host([position="bottom-right"]),:host([position="bottom-left"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="top-left"]),:host([position="top-right"]),:host([position="top-centre"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position="top-centre"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position="top-left"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position="top-right"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position="bottom-centre"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position="bottom-right"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="bottom-left"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}';export{n as z_toast_notification_list}
@@ -1 +1 @@
1
- import{r as o,h as n,H as a}from"./p-d17ebc2f.js";import{B as i}from"./p-74a062db.js";const t=class{constructor(n){o(this,n),this.hideUnselected=!1,this.collapsed=!1}setAriaCurrent(){Array.from(this.nav.children).forEach((o=>{const n=o instanceof HTMLAnchorElement?o:o.querySelector("a"),a=window.location.href===n.href;n.setAttribute("aria-current",a.toString()),o.toggleAttribute("current",a)}))}toggleCollapsed(){this.collapsed=!this.collapsed}componentDidLoad(){window.addEventListener("hashchange",this.setAriaCurrent.bind(this)),this.setAriaCurrent()}disconnectedCallback(){window.removeEventListener("hashchange",this.setAriaCurrent)}render(){return n(a,{collapsed:this.collapsed},n("z-button",{class:"toggle",variant:i.SECONDARY,icon:this.collapsed?"chevron-up":"chevron-down",onClick:this.toggleCollapsed.bind(this)},"salta a"),n("nav",{ref:o=>this.nav=o},n("slot",null)))}};t.style="html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-text01);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-icon02)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";export{t as z_anchor_navigation}
1
+ import{r as o,h as n,H as a}from"./p-d17ebc2f.js";import{B as i}from"./p-c9d57d05.js";const t=class{constructor(n){o(this,n),this.hideUnselected=!1,this.collapsed=!1}setAriaCurrent(){Array.from(this.nav.children).forEach((o=>{const n=o instanceof HTMLAnchorElement?o:o.querySelector("a"),a=window.location.href===n.href;n.setAttribute("aria-current",a.toString()),o.toggleAttribute("current",a)}))}toggleCollapsed(){this.collapsed=!this.collapsed}componentDidLoad(){window.addEventListener("hashchange",this.setAriaCurrent.bind(this)),this.setAriaCurrent()}disconnectedCallback(){window.removeEventListener("hashchange",this.setAriaCurrent)}render(){return n(a,{collapsed:this.collapsed},n("z-button",{class:"toggle",variant:i.SECONDARY,icon:this.collapsed?"chevron-up":"chevron-down",onClick:this.toggleCollapsed.bind(this)},"salta a"),n("nav",{ref:o=>this.nav=o},n("slot",null)))}};t.style="html{scroll-behavior:smooth}z-anchor-navigation nav{display:none;flex-direction:column;justify-content:flex-start;row-gap:calc(var(--space-unit) / 2)}z-anchor-navigation[collapsed] nav{display:flex;margin-top:var(--space-unit)}z-anchor-navigation nav a{display:-webkit-box;overflow:clip;width:100%;box-sizing:border-box;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);-webkit-box-orient:vertical;color:inherit;font-weight:inherit;-webkit-line-clamp:2;overflow-clip-margin:content-box;text-decoration:none}z-anchor-navigation nav * a:not(:only-child){padding-right:calc(var(--space-unit) * 5)}@supports not (overflow-clip-margin: content-box){z-anchor-navigation nav a{display:inline-block;overflow:hidden;-webkit-line-clamp:none;text-overflow:ellipsis;white-space:nowrap}}z-anchor-navigation nav>*{position:relative;border-left:var(--border-size-large) solid var(--color-surface04);color:var(--color-text01);font-family:var(--font-family-sans);transition:background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out}z-anchor-navigation nav>[current]{border-left-color:var(--color-primary01);color:var(--color-link-primary);font-weight:var(--font-sb)}z-anchor-navigation nav>*>*:is(z-button,button,z-icon){position:absolute;top:50%;right:0;transform:translateY(-50%);transition:opacity 0.3s ease-in-out}z-anchor-navigation nav button{padding:0;border:none;margin:0;background-color:transparent}z-anchor-navigation nav z-icon{--z-icon-width:16px;--z-icon-height:16px;display:flex;padding:calc(var(--space-unit) * 1.5);fill:var(--color-icon02)}@media (min-width: 768px){z-anchor-navigation z-button.toggle{display:none !important}z-anchor-navigation nav{display:flex}z-anchor-navigation nav a{outline:none}@media (hover: hover){z-anchor-navigation nav>*:hover{border-left-color:var(--color-hover-secondary);background-color:var(--color-hover-surface);color:var(--color-hover-link)}}z-anchor-navigation nav>*:is(:focus,:focus-within),z-anchor-navigation nav :is(z-icon,button):focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}z-anchor-navigation[hide-unselected] nav>*:not([current],:hover,:focus,:focus-within){color:transparent}z-anchor-navigation nav>*:not([current],:hover,:focus,:focus-within)>*:is(z-button,button,z-icon):not(:focus:focus-visible){opacity:0;pointer-events:none}@media (hover: none){z-anchor-navigation:not([hide-unselected]) nav>*>*:is(z-button,button,z-icon){opacity:1;pointer-events:all}}}";export{t as z_anchor_navigation}
@@ -1 +1 @@
1
- import{r as i,c as t,h as a}from"./p-d17ebc2f.js";import{N as n,a as o}from"./p-74a062db.js";import{I as e}from"./p-5aa7a151.js";const r=class{constructor(a){i(this,a),this.selectedEvent=t(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=n.HORIZONTAL,this.size=o.BIG}scrollToTab({target:i}){i.scrollIntoView(Object.assign({behavior:"smooth"},this.orientation===n.HORIZONTAL?{block:"nearest",inline:"center"}:{block:"center",inline:"nearest"}))}onClick(){this.selected=!0}onSelected(){this.selected&&this.selectedEvent.emit()}renderIcon(){let i=this.icon;const t=`${i.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(e).includes(t)&&(i=t),a("z-icon",{name:i})}render(){return a("a",{role:"tab",id:this.tabId,href:!this.disabled&&this.href,title:this.htmlTitle,target:this.target,onFocus:this.scrollToTab.bind(this),"aria-selected":this.selected?"true":"false","aria-controls":this.ariaControls,tabindex:this.selected?"0":"-1"},this.icon&&this.renderIcon(),"horizontal"===this.orientation&&this.label)}static get watchers(){return{selected:["onSelected"]}}};r.style='z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:""}z-navigation-tab[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[orientation="horizontal"][selected]>*::after,z-navigation-tab-link[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation="horizontal"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation="horizontal"] z-icon,z-navigation-tab-link[orientation="horizontal"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size="small"]>*,z-navigation-tab-link[size="small"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size="small"][orientation="horizontal"]>*,z-navigation-tab-link[size="small"][orientation="horizontal"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size="small"][orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[size="small"][orientation="horizontal"][selected]>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"]:hover>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size="small"]:not([orientation="vertical"]) z-icon,z-navigation-tab-link[size="small"]:not([orientation="vertical"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation="vertical"]>*,z-navigation-tab-link[orientation="vertical"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation="vertical"]:hover:not([disabled])>*::after,z-navigation-tab[orientation="vertical"][selected]>*::after,z-navigation-tab-link[orientation="vertical"]:hover>*::after,z-navigation-tab-link[orientation="vertical"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}';export{r as z_navigation_tab_link}
1
+ import{r as i,c as t,h as a}from"./p-d17ebc2f.js";import{N as n,a as o}from"./p-c9d57d05.js";import{I as e}from"./p-0d38e9a8.js";const r=class{constructor(a){i(this,a),this.selectedEvent=t(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=n.HORIZONTAL,this.size=o.BIG}scrollToTab({target:i}){i.scrollIntoView(Object.assign({behavior:"smooth"},this.orientation===n.HORIZONTAL?{block:"nearest",inline:"center"}:{block:"center",inline:"nearest"}))}onClick(){this.selected=!0}onSelected(){this.selected&&this.selectedEvent.emit()}renderIcon(){let i=this.icon;const t=`${i.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(e).includes(t)&&(i=t),a("z-icon",{name:i})}render(){return a("a",{role:"tab",id:this.tabId,href:!this.disabled&&this.href,title:this.htmlTitle,target:this.target,onFocus:this.scrollToTab.bind(this),"aria-selected":this.selected?"true":"false","aria-controls":this.ariaControls,tabindex:this.selected?"0":"-1"},this.icon&&this.renderIcon(),"horizontal"===this.orientation&&this.label)}static get watchers(){return{selected:["onSelected"]}}};r.style='z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:""}z-navigation-tab[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[orientation="horizontal"][selected]>*::after,z-navigation-tab-link[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation="horizontal"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation="horizontal"] z-icon,z-navigation-tab-link[orientation="horizontal"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size="small"]>*,z-navigation-tab-link[size="small"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size="small"][orientation="horizontal"]>*,z-navigation-tab-link[size="small"][orientation="horizontal"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size="small"][orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[size="small"][orientation="horizontal"][selected]>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"]:hover>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size="small"]:not([orientation="vertical"]) z-icon,z-navigation-tab-link[size="small"]:not([orientation="vertical"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation="vertical"]>*,z-navigation-tab-link[orientation="vertical"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation="vertical"]:hover:not([disabled])>*::after,z-navigation-tab[orientation="vertical"][selected]>*::after,z-navigation-tab-link[orientation="vertical"]:hover>*::after,z-navigation-tab-link[orientation="vertical"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}';export{r as z_navigation_tab_link}
@@ -1 +1 @@
1
- import{r as e,c as t,h as i,H as o}from"./p-d17ebc2f.js";import{P as n}from"./p-74a062db.js";const l=class{constructor(i){e(this,i),this.clickContextualMenu=t(this,"clickContextualMenu",7),this.color="color-primary01",this.popoverPosition=n.BOTTOM_RIGHT}componentWillRender(){this.elements&&(this.jsonElements=JSON.parse(this.elements.replace(/&quot;/g,'"')))}componentDidLoad(){this.popoverEl.bindTo=this.triggerButton}showIcon(){return!this.jsonElements.some((e=>!e.icon))}togglePopover(){this.popoverEl.open||(this.popoverEl.open=!0)}render(){var e,t;return i(o,null,i("button",{ref:e=>this.triggerButton=e,"aria-label":(null===(e=this.popoverEl)||void 0===e?void 0:e.open)?"chiudi menu contestuale":"apri menu contestuale",onClick:()=>this.togglePopover()},i("z-icon",{name:"contextual-menu",fill:this.color})),i("z-popover",{ref:e=>this.popoverEl=e,position:this.popoverPosition},i("div",{class:"popover-content-container"},i("z-list",null,i("z-list-group",{"divider-type":"element"},null===(t=this.jsonElements)||void 0===t?void 0:t.map(((e,t)=>i("z-list-element",{clickable:!e.disabled,class:"my-z-list-element","align-button":"left","expandable-style":"accordion",color:e.disabled?"color-disabled03":this.color,isContextualMenu:!0,listElementId:t,onClickItem:e=>this.clickContextualMenu.emit(e.detail)},i("div",{class:e.disabled?"disabled-element-container":"element-container"},this.showIcon()&&i("div",{class:"element-icon"},i("z-icon",{name:e.icon,width:16,height:16})),i("div",{class:"element-text"},i("span",null,e.text)))))))))))}};l.style=":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";export{l as z_contextual_menu}
1
+ import{r as e,c as t,h as i,H as o}from"./p-d17ebc2f.js";import{P as n}from"./p-c9d57d05.js";const l=class{constructor(i){e(this,i),this.clickContextualMenu=t(this,"clickContextualMenu",7),this.color="color-primary01",this.popoverPosition=n.BOTTOM_RIGHT}componentWillRender(){this.elements&&(this.jsonElements=JSON.parse(this.elements.replace(/&quot;/g,'"')))}componentDidLoad(){this.popoverEl.bindTo=this.triggerButton}showIcon(){return!this.jsonElements.some((e=>!e.icon))}togglePopover(){this.popoverEl.open||(this.popoverEl.open=!0)}render(){var e,t;return i(o,null,i("button",{ref:e=>this.triggerButton=e,"aria-label":(null===(e=this.popoverEl)||void 0===e?void 0:e.open)?"chiudi menu contestuale":"apri menu contestuale",onClick:()=>this.togglePopover()},i("z-icon",{name:"contextual-menu",fill:this.color})),i("z-popover",{ref:e=>this.popoverEl=e,position:this.popoverPosition},i("div",{class:"popover-content-container"},i("z-list",null,i("z-list-group",{"divider-type":"element"},null===(t=this.jsonElements)||void 0===t?void 0:t.map(((e,t)=>i("z-list-element",{clickable:!e.disabled,class:"my-z-list-element","align-button":"left","expandable-style":"accordion",color:e.disabled?"color-disabled03":this.color,isContextualMenu:!0,listElementId:t,onClickItem:e=>this.clickContextualMenu.emit(e.detail)},i("div",{class:e.disabled?"disabled-element-container":"element-container"},this.showIcon()&&i("div",{class:"element-icon"},i("z-icon",{name:e.icon,width:16,height:16})),i("div",{class:"element-text"},i("span",null,e.text)))))))))))}};l.style=":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";export{l as z_contextual_menu}
@@ -0,0 +1 @@
1
+ export{Z as z_td}from"./p-c250c443.js";import"./p-d17ebc2f.js";import"./p-c9d57d05.js";
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as s}from"./p-d17ebc2f.js";const e=class{constructor(r){o(this,r),this.sticky=!1}render(){return r(s,{role:"rowgroup"},r("slot",null))}};e.style=":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-surface02\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}";export{e as Z}
@@ -0,0 +1 @@
1
+ export{Z as z_tbody}from"./p-62b89a37.js";import"./p-d17ebc2f.js";
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as a,g as o}from"./p-d17ebc2f.js";import{B as e,d as n,P as r}from"./p-74a062db.js";import{d as c}from"./p-766d9faa.js";const l=class{constructor(i){t(this,i),this.sort=s(this,"sort",7),this.padding="medium",this.defaultSortDirection="asc",this.sortDirection="none",this.emitOnSort=this.emitOnSort.bind(this)}emitOnSort(){this.sort.emit({columnId:this.columnId,sortDirection:this.sortDirection})}handleSort(){this.sortable&&(this.sortDirection=(()=>{switch(this.sortDirection){case"asc":return"desc";case"desc":return"asc";case"none":return this.defaultSortDirection;default:return"none"}})(),this.emitOnSort())}handleMenuClick(){this.popover.open=!this.popover.open}handleOutsideClick(t){!c(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))&&this.popover&&(this.popover.open=!1)}handleClickHeaders(t){const s=t.target,i=c(s).find((t=>"z-table-header"===t.nodeName.toLowerCase()));this.sortable&&i&&i.attributes.getNamedItem("column-id").value!==this.columnId&&(s.parentNode.sortable||s.sortable)&&(this.sortDirection="none")}componentWillRender(){this.host.setAttribute("role","columnheader")}render(){return i(a,{class:{sortable:this.sortable},onClick:()=>this.handleSort()},i("div",{class:"container"},i("slot",null),this.sortable&&"none"!==this.sortDirection&&i("z-icon",{name:"asc"===this.sortDirection?"arrow-up":"arrow-down",class:"arrow"})),this.showButton&&i("div",{class:"popover-container"},i("z-button",{ref:t=>this.triggerButton=t,class:"contextual-popover-button",icon:"contextual-menu",variant:e.TERTIARY,size:n.X_SMALL,onClick:()=>this.handleMenuClick()}),i("z-popover",{ref:t=>this.popover=t,position:r.BOTTOM,center:!0,bindTo:this.triggerButton},i("div",null,i("slot",{name:"contextual-menu"})))))}get host(){return o(this)}};l.style=':host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}';export{l as Z}
1
+ import{r as t,c as s,h as i,H as o,g as a}from"./p-d17ebc2f.js";import{B as e,d as n,P as r}from"./p-c9d57d05.js";import{d as c}from"./p-d7668580.js";const l=class{constructor(i){t(this,i),this.sort=s(this,"sort",7),this.padding="medium",this.defaultSortDirection="asc",this.sortDirection="none",this.emitOnSort=this.emitOnSort.bind(this)}emitOnSort(){this.sort.emit({columnId:this.columnId,sortDirection:this.sortDirection})}handleSort(){this.sortable&&(this.sortDirection=(()=>{switch(this.sortDirection){case"asc":return"desc";case"desc":return"asc";case"none":return this.defaultSortDirection;default:return"none"}})(),this.emitOnSort())}handleMenuClick(){this.popover.open=!this.popover.open}handleOutsideClick(t){!c(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))&&this.popover&&(this.popover.open=!1)}handleClickHeaders(t){const s=t.target,i=c(s).find((t=>"z-table-header"===t.nodeName.toLowerCase()));this.sortable&&i&&i.attributes.getNamedItem("column-id").value!==this.columnId&&(s.parentNode.sortable||s.sortable)&&(this.sortDirection="none")}componentWillRender(){this.host.setAttribute("role","columnheader")}render(){return i(o,{class:{sortable:this.sortable},onClick:()=>this.handleSort()},i("div",{class:"container"},i("slot",null),this.sortable&&"none"!==this.sortDirection&&i("z-icon",{name:"asc"===this.sortDirection?"arrow-up":"arrow-down",class:"arrow"})),this.showButton&&i("div",{class:"popover-container"},i("z-button",{ref:t=>this.triggerButton=t,class:"contextual-popover-button",icon:"contextual-menu",variant:e.TERTIARY,size:n.X_SMALL,onClick:()=>this.handleMenuClick()}),i("z-popover",{ref:t=>this.popover=t,position:r.BOTTOM,center:!0,bindTo:this.triggerButton},i("div",null,i("slot",{name:"contextual-menu"})))))}get host(){return a(this)}};l.style=':host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}';export{l as Z}
@@ -0,0 +1 @@
1
+ export{Z as z_th}from"./p-02e9b4fa.js";import"./p-d17ebc2f.js";import"./p-c9d57d05.js";
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-d17ebc2f.js";import{q as o}from"./p-74a062db.js";import{a}from"./p-766d9faa.js";import{h as r}from"./p-e43e61ac.js";import"./p-37037d9d.js";import"./p-112455b1.js";const n=class{constructor(s){t(this,s),this.pocketToggle=i(this,"pocketToggle",7),this.status=o.PREVIEW}async open(){this.status=o.OPEN}async close(){this.status=o.CLOSED}emitPocketToggle(t,i){this.pocketToggle.emit({id:t,status:i})}handlePocketHeaderClick(t){if(t.detail.id&&t.detail.id===this.pocketid)switch(this.status){case o.PREVIEW:case o.CLOSED:this.status=o.OPEN;break;case o.OPEN:this.status=o.CLOSED}}handlePocketHeaderPan(t){t.detail.id&&t.detail.id===this.pocketid&&("up"===t.detail.direction?this.status=o.OPEN:"down"===t.detail.direction&&(this.status=o.CLOSED))}watchStatusHandler(t){this.emitPocketToggle(this.pocketid,t)}componentWillLoad(){this.emitPocketToggle(this.pocketid,this.status)}handleBackgroundClick(t){"pocketBackground"==t.target.dataset.action&&this.close()}render(){return s("div",null,s("div",{"data-action":"pocketBackground","data-pocket":this.pocketid,class:`background ${this.status}`,onClick:t=>this.handleBackgroundClick(t)}),s("div",{id:this.pocketid,class:"content-wrapper"},s("div",null,s("slot",null))))}get hostElement(){return e(this)}static get watchers(){return{status:["watchStatusHandler"]}}};n.style=":host{width:inherit;height:100%;margin:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:0;height:0}:host>div>div.background.open{width:100%;height:100%}:host>div>div.content-wrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.content-wrapper>div{margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5);border-radius:var(--space-unit) var(--space-unit) 0 0;box-shadow:0 -2px calc(var(--space-unit) * 0.5) 0 rgb(66 69 72 / 40%)}";const h=class{constructor(i){t(this,i),this.status=o.PREVIEW}handlePocketToggle(t){t.detail.id&&t.detail.id===this.pocketid&&(this.status=t.detail.status)}render(){return s("main",{class:this.status},s("slot",null))}};h.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>main{overflow:auto;border-right:var(--border-size-small) solid var(--color-surface03);border-left:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";const c=class{constructor(s){t(this,s),this.pocketHeaderClick=i(this,"pocketHeaderClick",7),this.pocketHeaderPan=i(this,"pocketHeaderPan",7),this.emitPocketHeaderClick=this.emitPocketHeaderClick.bind(this)}emitPocketHeaderClick(){this.pocketHeaderClick.emit({id:this.pocketid})}emitPocketHeaderPan(t){this.pocketHeaderPan.emit({id:this.pocketid,direction:t})}componentDidLoad(){const t=new r(this.swipeWrap);t.get("pan").set({direction:r.DIRECTION_VERTICAL}),t.on("panup",(()=>this.emitPocketHeaderPan("up"))),t.on("pandown",(()=>this.emitPocketHeaderPan("down")))}render(){return s("header",{role:"button",tabindex:0,onClick:()=>this.emitPocketHeaderClick(),onKeyPress:t=>a(t,this.emitPocketHeaderClick),ref:t=>this.swipeWrap=t},s("slot",null))}};c.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>header{display:flex;height:36px;flex-flow:row nowrap;align-items:center;justify-content:center;border:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);border-radius:var(--space-unit) var(--space-unit) 0 0;cursor:pointer}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";export{n as z_pocket,h as z_pocket_body,c as z_pocket_header}
1
+ import{r as t,c as i,h as e,g as s}from"./p-d17ebc2f.js";import{q as o}from"./p-c9d57d05.js";import{a}from"./p-d7668580.js";import{h as r}from"./p-e43e61ac.js";import"./p-b497e33e.js";import"./p-112455b1.js";const n=class{constructor(e){t(this,e),this.pocketToggle=i(this,"pocketToggle",7),this.status=o.PREVIEW}async open(){this.status=o.OPEN}async close(){this.status=o.CLOSED}emitPocketToggle(t,i){this.pocketToggle.emit({id:t,status:i})}handlePocketHeaderClick(t){if(t.detail.id&&t.detail.id===this.pocketid)switch(this.status){case o.PREVIEW:case o.CLOSED:this.status=o.OPEN;break;case o.OPEN:this.status=o.CLOSED}}handlePocketHeaderPan(t){t.detail.id&&t.detail.id===this.pocketid&&("up"===t.detail.direction?this.status=o.OPEN:"down"===t.detail.direction&&(this.status=o.CLOSED))}watchStatusHandler(t){this.emitPocketToggle(this.pocketid,t)}componentWillLoad(){this.emitPocketToggle(this.pocketid,this.status)}handleBackgroundClick(t){"pocketBackground"==t.target.dataset.action&&this.close()}render(){return e("div",null,e("div",{"data-action":"pocketBackground","data-pocket":this.pocketid,class:`background ${this.status}`,onClick:t=>this.handleBackgroundClick(t)}),e("div",{id:this.pocketid,class:"content-wrapper"},e("div",null,e("slot",null))))}get hostElement(){return s(this)}static get watchers(){return{status:["watchStatusHandler"]}}};n.style=":host{width:inherit;height:100%;margin:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{width:inherit;height:100%;margin:inherit}:host>div>div.background{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:0;height:0}:host>div>div.background.open{width:100%;height:100%}:host>div>div.content-wrapper{position:fixed;z-index:999;bottom:0;left:0;width:inherit;margin:inherit}:host>div>div.content-wrapper>div{margin:calc(var(--space-unit) * 0.5) calc(var(--space-unit) * 0.5) 0 calc(var(--space-unit) * 0.5);border-radius:var(--space-unit) var(--space-unit) 0 0;box-shadow:0 -2px calc(var(--space-unit) * 0.5) 0 rgb(66 69 72 / 40%)}";const h=class{constructor(i){t(this,i),this.status=o.PREVIEW}handlePocketToggle(t){t.detail.id&&t.detail.id===this.pocketid&&(this.status=t.detail.status)}render(){return e("main",{class:this.status},e("slot",null))}};h.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>main{overflow:auto;border-right:var(--border-size-small) solid var(--color-surface03);border-left:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);scrollbar-width:none}:host>main.preview{max-height:225px;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.open{max-height:calc(100vh - 48px);transition:all 200ms ease-in-out, top 200ms ease-in-out}:host>main.closed{height:0;transition:all 200ms ease-in-out, top 200ms ease-in-out}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>main.preview{max-height:157px}}";const c=class{constructor(e){t(this,e),this.pocketHeaderClick=i(this,"pocketHeaderClick",7),this.pocketHeaderPan=i(this,"pocketHeaderPan",7),this.emitPocketHeaderClick=this.emitPocketHeaderClick.bind(this)}emitPocketHeaderClick(){this.pocketHeaderClick.emit({id:this.pocketid})}emitPocketHeaderPan(t){this.pocketHeaderPan.emit({id:this.pocketid,direction:t})}componentDidLoad(){const t=new r(this.swipeWrap);t.get("pan").set({direction:r.DIRECTION_VERTICAL}),t.on("panup",(()=>this.emitPocketHeaderPan("up"))),t.on("pandown",(()=>this.emitPocketHeaderPan("down")))}render(){return e("header",{role:"button",tabindex:0,onClick:()=>this.emitPocketHeaderClick(),onKeyPress:t=>a(t,this.emitPocketHeaderClick),ref:t=>this.swipeWrap=t},e("slot",null))}};c.style=":host{display:block;width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>header{display:flex;height:36px;flex-flow:row nowrap;align-items:center;justify-content:center;border:var(--border-size-small) solid var(--color-surface03);background:var(--color-surface01);border-radius:var(--space-unit) var(--space-unit) 0 0;cursor:pointer}:host>header:focus{outline:none}:host>header::-moz-focus-inner{border:0}";export{n as z_pocket,h as z_pocket_body,c as z_pocket_header}
@@ -1 +1 @@
1
- import{r as t,h as e,H as o,g as r}from"./p-d17ebc2f.js";import{M as a,Q as i}from"./p-74a062db.js";const n=class{constructor(e){t(this,e),this.variant=a.OVERLAY,this.contentPosition=i.TOP,this.preserveAspectRatio=!0}onImgLoad({target:t}){t instanceof Image&&t.closest("[slot=cover]")&&this.host.style.setProperty("--image-aspect-ratio",(t.naturalWidth/t.naturalHeight).toString())}renderContent(){return e("div",{class:"content-container"},e("slot",{name:"content"}))}render(){return e(o,null,this.variant===a.STACKED&&this.contentPosition===i.TOP&&this.renderContent(),e("div",{class:"main-container"},e("div",{class:"cover-container"},e("slot",{name:"cover"})),e("slot",{name:"info-reveal"}),this.variant===a.OVERLAY&&this.renderContent()),this.variant===a.STACKED&&this.contentPosition===i.BOTTOM&&this.renderContent())}get host(){return r(this)}};n.style=':host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot="cover"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container{height:100%}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant="overlay"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]:is([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .content-container{position:absolute;inset:0}:host([variant="overlay"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-text01)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';export{n as z_cover_hero}
1
+ import{r as t,h as e,H as o,g as r}from"./p-d17ebc2f.js";import{M as a,Q as i}from"./p-c9d57d05.js";const n=class{constructor(e){t(this,e),this.variant=a.OVERLAY,this.contentPosition=i.TOP,this.preserveAspectRatio=!0}onImgLoad({target:t}){t instanceof Image&&t.closest("[slot=cover]")&&this.host.style.setProperty("--image-aspect-ratio",(t.naturalWidth/t.naturalHeight).toString())}renderContent(){return e("div",{class:"content-container"},e("slot",{name:"content"}))}render(){return e(o,null,this.variant===a.STACKED&&this.contentPosition===i.TOP&&this.renderContent(),e("div",{class:"main-container"},e("div",{class:"cover-container"},e("slot",{name:"cover"})),e("slot",{name:"info-reveal"}),this.variant===a.OVERLAY&&this.renderContent()),this.variant===a.STACKED&&this.contentPosition===i.BOTTOM&&this.renderContent())}get host(){return r(this)}};n.style=':host{--cover-hero-overlay:linear-gradient(270deg, #0000 0%, #000000e6 100%);--cover-hero-text-color:var(--color-text-inverse);display:block;overflow:hidden}:host,*{box-sizing:border-box}:host .main-container{position:relative;width:100%;align-items:baseline}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .main-container .cover-container{position:relative;width:100%;padding-top:calc(100% / (var(--cover-hero-aspect-ratio, var(--image-aspect-ratio, 16/9))));background-color:var(--gray600)}::slotted([slot="cover"]){position:absolute;display:block;width:100%;height:100%;inset:0;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container{height:100%}:host([variant="overlay"]:not([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .cover-container{position:absolute;z-index:-1;height:100%;padding:0}:host([variant="overlay"]) .main-container .cover-container::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]:is([preserve-aspect-ratio=""],[preserve-aspect-ratio="true"])) .main-container .content-container{position:absolute;inset:0}:host([variant="overlay"]) .main-container .content-container{height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-text01)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';export{n as z_cover_hero}
@@ -1 +1 @@
1
- import{r as i,c as t,h as s}from"./p-d17ebc2f.js";import{a}from"./p-766d9faa.js";import"./p-74a062db.js";import"./p-37037d9d.js";const e=class{constructor(s){i(this,s),this.zListItemLinkClick=t(this,"zListItemLinkClick",7),this.zListItemClick=t(this,"zListItemClick",7),this.linktarget="_self",this.underlined=!0,this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this),this.emitZListItemClick=this.emitZListItemClick.bind(this)}emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>a(i,this.emitZListItemClick,this.listitemid)},s("span",{class:this.underlined&&"border"},this.icon&&s("z-icon",{name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>a(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",null)))}};e.style=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";export{e as z_myz_list_item}
1
+ import{r as i,c as t,h as s}from"./p-d17ebc2f.js";import{a}from"./p-d7668580.js";import"./p-c9d57d05.js";import"./p-b497e33e.js";const e=class{constructor(s){i(this,s),this.zListItemLinkClick=t(this,"zListItemLinkClick",7),this.zListItemClick=t(this,"zListItemClick",7),this.linktarget="_self",this.underlined=!0,this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this),this.emitZListItemClick=this.emitZListItemClick.bind(this)}emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>a(i,this.emitZListItemClick,this.listitemid)},s("span",{class:this.underlined&&"border"},this.icon&&s("z-icon",{name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>a(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",null)))}};e.style=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--myz-blue);fill:var(--myz-blue)}";export{e as z_myz_list_item}
@@ -0,0 +1 @@
1
+ export{Z as z_table_empty_box}from"./p-154596ad.js";import"./p-d17ebc2f.js";
@@ -1 +1 @@
1
- import{r as t,h as s,H as i}from"./p-d17ebc2f.js";import{A as a}from"./p-74a062db.js";const e=class{constructor(s){var i,e;t(this,s),this.size=a.MEDIUM,this.textColor="text-white",this.backgroundColor="bg-grey-700",0===(null===(i=this.text)||void 0===i?void 0:i.length)&&0===(null===(e=this.image)||void 0===e?void 0:e.length)&&console.warn("z-avatar must contain at least one prop between text and image")}getTextSize(){return this.size===a.SMALL?"5":this.size===a.MEDIUM?"4":this.size===a.LARGE?"2":void 0}render(){return s(i,{class:{[this.size]:!0,[`body-${this.getTextSize()}-sb`]:!0},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&s("span",null,this.text.substring(0,2)),this.image&&s("img",{src:this.image,onError:()=>this.image=""}))}};e.style=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";export{e as z_avatar}
1
+ import{r as t,h as s,H as i}from"./p-d17ebc2f.js";import{A as a}from"./p-c9d57d05.js";const e=class{constructor(s){var i,e;t(this,s),this.size=a.MEDIUM,this.textColor="text-white",this.backgroundColor="bg-grey-700",0===(null===(i=this.text)||void 0===i?void 0:i.length)&&0===(null===(e=this.image)||void 0===e?void 0:e.length)&&console.warn("z-avatar must contain at least one prop between text and image")}getTextSize(){return this.size===a.SMALL?"5":this.size===a.MEDIUM?"4":this.size===a.LARGE?"2":void 0}render(){return s(i,{class:{[this.size]:!0,[`body-${this.getTextSize()}-sb`]:!0},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&s("span",null,this.text.substring(0,2)),this.image&&s("img",{src:this.image,onError:()=>this.image=""}))}};e.style=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--bg-grey-700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";export{e as z_avatar}