@zanichelli/albe-web-components 21.0.0-RC5 → 21.0.0

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 (1130) hide show
  1. package/CHANGELOG.md +156 -0
  2. package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -3
  3. package/dist/cjs/breakpoints-B7vFm-3T.js +0 -3
  4. package/dist/cjs/dialog-polyfill.esm-D8Polhcd.js +0 -3
  5. package/dist/cjs/hammer-CJF2Ixtg.js +0 -3
  6. package/dist/cjs/iconset-BIdMT0Ke.js +0 -3
  7. package/dist/cjs/index-DppFfqsn.js +0 -3
  8. package/dist/cjs/{index-CZz7uP-M.js → index-ps8icjTZ.js} +37 -13
  9. package/dist/cjs/index.cjs.js +0 -3
  10. package/dist/cjs/loader.cjs.js +2 -5
  11. package/dist/cjs/{reactive-controller-DJkjAuqS.js → reactive-controller-B7HE6OC5.js} +1 -4
  12. package/dist/cjs/utils-BnCPu0Si.js +0 -3
  13. package/dist/cjs/utils-C6lcMaul.js +0 -3
  14. package/dist/cjs/web-components-library.cjs.js +3 -6
  15. package/dist/cjs/z-accordion.cjs.entry.js +2 -5
  16. package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -5
  17. package/dist/cjs/z-app-header_12.cjs.entry.js +89 -40
  18. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -5
  19. package/dist/cjs/z-avatar.cjs.entry.js +3 -6
  20. package/dist/cjs/z-book-card-app.cjs.entry.js +3 -6
  21. package/dist/cjs/z-book-card.cjs.entry.js +9 -12
  22. package/dist/cjs/z-book-cover.cjs.entry.js +2 -5
  23. package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -6
  24. package/dist/cjs/z-button-sort.cjs.entry.js +2 -5
  25. package/dist/cjs/z-card.cjs.entry.js +2 -5
  26. package/dist/cjs/z-carousel.cjs.entry.js +2 -5
  27. package/dist/cjs/z-chip.cjs.entry.js +3 -6
  28. package/dist/cjs/z-color-picker.cjs.entry.js +2 -5
  29. package/dist/cjs/z-combobox.cjs.entry.js +5 -8
  30. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -6
  31. package/dist/cjs/z-date-picker.cjs.entry.js +2 -5
  32. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -11
  33. package/dist/cjs/z-file-upload.cjs.entry.js +1 -4
  34. package/dist/cjs/z-file.cjs.entry.js +2 -6
  35. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -5
  36. package/dist/cjs/z-info-box.cjs.entry.js +2 -5
  37. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -5
  38. package/dist/cjs/z-input-range.cjs.entry.js +3 -6
  39. package/dist/cjs/z-logo.cjs.entry.js +2 -5
  40. package/dist/cjs/z-menu-section.cjs.entry.js +2 -5
  41. package/dist/cjs/z-menu.cjs.entry.js +1 -4
  42. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -6
  43. package/dist/cjs/z-notification.cjs.entry.js +2 -5
  44. package/dist/cjs/z-pagination.cjs.entry.js +1 -4
  45. package/dist/cjs/z-popover.cjs.entry.js +2 -5
  46. package/dist/cjs/z-range-picker.cjs.entry.js +4 -7
  47. package/dist/cjs/z-result-card.cjs.entry.js +1 -4
  48. package/dist/cjs/z-select.cjs.entry.js +16 -9
  49. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -5
  50. package/dist/cjs/z-stepper-item.cjs.entry.js +8 -9
  51. package/dist/cjs/z-stepper.cjs.entry.js +3 -6
  52. package/dist/cjs/z-table.cjs.entry.js +2 -5
  53. package/dist/cjs/z-tbody.cjs.entry.js +2 -5
  54. package/dist/cjs/z-td.cjs.entry.js +2 -5
  55. package/dist/cjs/z-tfoot.cjs.entry.js +2 -5
  56. package/dist/cjs/z-th.cjs.entry.js +2 -5
  57. package/dist/cjs/z-thead.cjs.entry.js +2 -5
  58. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -5
  59. package/dist/cjs/z-toast-notification.cjs.entry.js +4 -7
  60. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -8
  61. package/dist/cjs/z-tool.cjs.entry.js +4 -7
  62. package/dist/cjs/z-toolbar.cjs.entry.js +2 -5
  63. package/dist/cjs/z-tooltip.cjs.entry.js +2 -5
  64. package/dist/cjs/z-tr.cjs.entry.js +2 -5
  65. package/dist/cjs/z-tree-list.cjs.entry.js +2 -5
  66. package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -5
  67. package/dist/collection/beans/index.js +0 -1
  68. package/dist/collection/collection-manifest.json +2 -2
  69. package/dist/collection/components/book-card/z-book-card/index.js +6 -7
  70. package/dist/collection/components/book-card/z-book-card/styles.css +30 -6
  71. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -2
  72. package/dist/collection/components/css-components/z-label/styles.css +7 -3
  73. package/dist/collection/components/css-components/z-scrollbar/styles.css +53 -13
  74. package/dist/collection/components/date-picker/utils.js +0 -1
  75. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -2
  76. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -4
  77. package/dist/collection/components/deprecated/table/cells/z-td/index.js +1 -2
  78. package/dist/collection/components/deprecated/table/cells/z-th/index.js +1 -2
  79. package/dist/collection/components/deprecated/table/z-table/index.js +2 -2
  80. package/dist/collection/components/deprecated/table/z-tbody/index.js +1 -2
  81. package/dist/collection/components/deprecated/table/z-tfoot/index.js +1 -2
  82. package/dist/collection/components/deprecated/table/z-thead/index.js +1 -2
  83. package/dist/collection/components/deprecated/table/z-tr/index.js +1 -2
  84. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -3
  85. package/dist/collection/components/file-upload/z-file/index.js +1 -3
  86. package/dist/collection/components/file-upload/z-file-upload/index.js +0 -1
  87. package/dist/collection/components/index.js +0 -1
  88. package/dist/collection/components/list/z-list/index.js +1 -2
  89. package/dist/collection/components/list/z-list-element/index.js +1 -2
  90. package/dist/collection/components/list/z-list-group/index.js +2 -3
  91. package/dist/collection/components/list/z-tree-list/index.js +1 -2
  92. package/dist/collection/components/z-accordion/index.js +1 -2
  93. package/dist/collection/components/z-anchor-navigation/index.js +1 -2
  94. package/dist/collection/components/z-app-header/index.js +20 -11
  95. package/dist/collection/components/z-app-header/styles.css +35 -23
  96. package/dist/collection/components/z-aria-alert/index.js +1 -2
  97. package/dist/collection/components/z-avatar/index.js +2 -3
  98. package/dist/collection/components/z-book-cover/index.js +1 -2
  99. package/dist/collection/components/z-breadcrumb/index.js +2 -3
  100. package/dist/collection/components/z-button/index.js +0 -1
  101. package/dist/collection/components/z-button-sort/index.js +1 -2
  102. package/dist/collection/components/z-card/index.js +0 -1
  103. package/dist/collection/components/z-card/styles.css +1 -1
  104. package/dist/collection/components/z-carousel/index.js +0 -1
  105. package/dist/collection/components/z-chip/index.js +2 -3
  106. package/dist/collection/components/z-color-picker/index.js +1 -2
  107. package/dist/collection/components/z-combobox/index.js +2 -3
  108. package/dist/collection/components/z-combobox/styles.css +3 -11
  109. package/dist/collection/components/z-cover-hero/index.js +2 -3
  110. package/dist/collection/components/z-divider/index.js +1 -2
  111. package/dist/collection/components/z-ghost-loading/index.js +1 -2
  112. package/dist/collection/components/z-icon/index.js +1 -2
  113. package/dist/collection/components/z-info-box/index.js +1 -2
  114. package/dist/collection/components/z-info-reveal/index.js +1 -2
  115. package/dist/collection/components/z-input/index.js +50 -8
  116. package/dist/collection/components/z-input/styles-general.css +77 -24
  117. package/dist/collection/components/z-input/styles-text.css +13 -16
  118. package/dist/collection/components/z-input/styles-textarea.css +2 -1
  119. package/dist/collection/components/z-input-message/index.js +1 -2
  120. package/dist/collection/components/z-input-message/styles.css +13 -9
  121. package/dist/collection/components/z-input-range/index.js +1 -2
  122. package/dist/collection/components/z-logo/index.js +1 -2
  123. package/dist/collection/components/z-menu/index.js +0 -1
  124. package/dist/collection/components/z-menu-section/index.js +1 -2
  125. package/dist/collection/components/z-modal/index.js +4 -5
  126. package/dist/collection/components/z-navigation-tabs/index.js +2 -3
  127. package/dist/collection/components/z-notification/index.js +1 -2
  128. package/dist/collection/components/z-offcanvas/index.js +2 -3
  129. package/dist/collection/components/z-pagination/index.js +0 -1
  130. package/dist/collection/components/z-popover/index.js +1 -2
  131. package/dist/collection/components/z-result-card/index.js +0 -1
  132. package/dist/collection/components/z-searchbar/index.js +4 -5
  133. package/dist/collection/components/z-searchbar/styles.css +4 -0
  134. package/dist/collection/components/z-select/index.js +14 -5
  135. package/dist/collection/components/z-select/styles.css +4 -2
  136. package/dist/collection/components/z-skip-to-content/index.js +1 -2
  137. package/dist/collection/components/z-stepper/index.js +1 -2
  138. package/dist/collection/components/z-stepper/styles.css +7 -8
  139. package/dist/collection/components/z-stepper-item/index.js +25 -5
  140. package/dist/collection/components/z-stepper-item/styles.css +105 -72
  141. package/dist/collection/components/z-tag/index.js +2 -3
  142. package/dist/collection/components/z-toast-notification/index.js +3 -4
  143. package/dist/collection/components/z-toast-notification-list/index.js +1 -2
  144. package/dist/collection/components/z-toggle-switch/index.js +3 -4
  145. package/dist/collection/components/z-toggle-switch/styles.css +337 -4
  146. package/dist/collection/components/z-tool/index.js +2 -3
  147. package/dist/collection/components/z-toolbar/index.js +1 -2
  148. package/dist/collection/components/z-tooltip/index.js +1 -2
  149. package/dist/collection/components/z-visually-hidden/index.js +1 -2
  150. package/dist/collection/constants/breakpoints.js +0 -1
  151. package/dist/collection/constants/iconset.js +0 -1
  152. package/dist/collection/index.js +0 -1
  153. package/dist/collection/tokens/typography.css +537 -75
  154. package/dist/collection/utils/focus-trap-controller.js +0 -1
  155. package/dist/collection/utils/reactive-controller.js +0 -1
  156. package/dist/collection/utils/storybook-utils.js +0 -1
  157. package/dist/collection/utils/utils.js +0 -4
  158. package/dist/components/index.js +1 -2
  159. package/dist/components/p-8C_CrFxp.js +2 -3
  160. package/dist/components/p-B5m6684q.js +1 -0
  161. package/dist/components/p-B6jtvVtV.js +1 -2
  162. package/dist/components/p-B85MJLTf.js +1 -2
  163. package/dist/components/p-BDrfncDT.js +1 -0
  164. package/dist/components/p-BGiYVwHD.js +1 -0
  165. package/dist/components/p-BRkq64wS.js +1 -2
  166. package/dist/components/p-BihHIFu4.js +1 -0
  167. package/dist/components/p-Bt1M0wUw.js +2 -3
  168. package/dist/components/p-BwZVCPq0.js +1 -0
  169. package/dist/components/p-CIYmV_99.js +1 -0
  170. package/dist/components/p-CMTqkGWs.js +1 -0
  171. package/dist/components/p-CZ3QHznE.js +1 -0
  172. package/dist/components/p-CglJlGxH.js +1 -0
  173. package/dist/components/p-CoX2S0V8.js +1 -0
  174. package/dist/components/p-D1c5gR45.js +1 -2
  175. package/dist/components/p-D6k6v-AP.js +5 -0
  176. package/dist/components/p-DNApXlb1.js +1 -0
  177. package/dist/components/p-DdetsoIY.js +1 -2
  178. package/dist/components/p-DgIlbJTc.js +1 -0
  179. package/dist/components/p-DkX0yAsP.js +1 -0
  180. package/dist/components/p-DkjDQSsc.js +1 -0
  181. package/dist/components/p-ED-6bPry.js +1 -0
  182. package/dist/components/p-IhrHzJao.js +1 -0
  183. package/dist/components/p-JTib_ooI.js +1 -0
  184. package/dist/components/p-Q-tWjk7P.js +1 -2
  185. package/dist/components/{p-B5U9pSXR.js → p-VQUqWj8s.js} +1 -2
  186. package/dist/components/p-oST-gUyz.js +1 -0
  187. package/dist/components/p-qPOMLnS_.js +1 -0
  188. package/dist/components/z-accordion.js +1 -2
  189. package/dist/components/z-anchor-navigation.js +1 -2
  190. package/dist/components/z-app-header.js +1 -2
  191. package/dist/components/z-aria-alert.js +1 -2
  192. package/dist/components/z-avatar.js +1 -2
  193. package/dist/components/z-book-card-app.js +1 -2
  194. package/dist/components/z-book-card.js +1 -2
  195. package/dist/components/z-book-cover.js +1 -2
  196. package/dist/components/z-breadcrumb.js +1 -2
  197. package/dist/components/z-button-sort.js +1 -2
  198. package/dist/components/z-button.js +1 -2
  199. package/dist/components/z-card.js +1 -2
  200. package/dist/components/z-carousel.js +1 -2
  201. package/dist/components/z-chip.js +1 -2
  202. package/dist/components/z-color-picker.js +1 -2
  203. package/dist/components/z-combobox.js +1 -2
  204. package/dist/components/z-cover-hero.js +1 -2
  205. package/dist/components/z-date-picker.js +2 -3
  206. package/dist/components/z-divider.js +1 -2
  207. package/dist/components/z-dragdrop-area.js +1 -2
  208. package/dist/components/z-file-upload.js +1 -2
  209. package/dist/components/z-file.js +1 -2
  210. package/dist/components/z-ghost-loading.js +1 -2
  211. package/dist/components/z-icon.js +1 -2
  212. package/dist/components/z-info-box.js +1 -2
  213. package/dist/components/z-info-reveal.js +1 -2
  214. package/dist/components/z-input-message.js +1 -2
  215. package/dist/components/z-input-range.js +1 -2
  216. package/dist/components/z-input.js +1 -2
  217. package/dist/components/z-list-element.js +1 -2
  218. package/dist/components/z-list-group.js +1 -2
  219. package/dist/components/z-list.js +1 -2
  220. package/dist/components/z-logo.js +1 -2
  221. package/dist/components/z-menu-section.js +1 -2
  222. package/dist/components/z-menu.js +1 -2
  223. package/dist/components/z-modal.js +1 -2
  224. package/dist/components/z-navigation-tabs.js +1 -2
  225. package/dist/components/z-notification.js +1 -2
  226. package/dist/components/z-offcanvas.js +1 -2
  227. package/dist/components/z-pagination.js +1 -2
  228. package/dist/components/z-popover.js +1 -2
  229. package/dist/components/z-range-picker.js +1 -2
  230. package/dist/components/z-result-card.js +1 -2
  231. package/dist/components/z-searchbar.js +1 -2
  232. package/dist/components/z-select.js +1 -2
  233. package/dist/components/z-skip-to-content.js +1 -2
  234. package/dist/components/z-stepper-item.js +1 -2
  235. package/dist/components/z-stepper.js +1 -2
  236. package/dist/components/z-table.js +1 -2
  237. package/dist/components/z-tag.js +1 -2
  238. package/dist/components/z-tbody.js +1 -2
  239. package/dist/components/z-td.js +1 -2
  240. package/dist/components/z-tfoot.js +1 -2
  241. package/dist/components/z-th.js +1 -2
  242. package/dist/components/z-thead.js +1 -2
  243. package/dist/components/z-toast-notification-list.js +1 -2
  244. package/dist/components/z-toast-notification.js +2 -3
  245. package/dist/components/z-toggle-switch.js +1 -2
  246. package/dist/components/z-tool.js +1 -2
  247. package/dist/components/z-toolbar.js +1 -2
  248. package/dist/components/z-tooltip.js +1 -2
  249. package/dist/components/z-tr.js +1 -2
  250. package/dist/components/z-tree-list.js +1 -2
  251. package/dist/components/z-visually-hidden.js +1 -2
  252. package/dist/esm/_commonjsHelpers-B85MJLTf.js +0 -3
  253. package/dist/esm/breakpoints-Q-tWjk7P.js +0 -3
  254. package/dist/esm/dialog-polyfill.esm-BRkq64wS.js +0 -3
  255. package/dist/esm/hammer-C3JqVNyx.js +0 -3
  256. package/dist/esm/iconset-D1c5gR45.js +0 -3
  257. package/dist/esm/index-DdetsoIY.js +0 -3
  258. package/dist/esm/{index-BcDWN4F1.js → index-SFwvdS4t.js} +37 -13
  259. package/dist/esm/index.js +0 -3
  260. package/dist/esm/loader.js +3 -6
  261. package/dist/esm/{reactive-controller-CHemhYDp.js → reactive-controller-Bp_OSSRX.js} +1 -4
  262. package/dist/esm/utils-BO5sSCUY.js +0 -3
  263. package/dist/esm/utils-CJc3A9NX.js +0 -3
  264. package/dist/esm/web-components-library.js +4 -7
  265. package/dist/esm/z-accordion.entry.js +2 -5
  266. package/dist/esm/z-anchor-navigation.entry.js +2 -5
  267. package/dist/esm/z-app-header_12.entry.js +89 -40
  268. package/dist/esm/z-aria-alert.entry.js +2 -5
  269. package/dist/esm/z-avatar.entry.js +3 -6
  270. package/dist/esm/z-book-card-app.entry.js +3 -6
  271. package/dist/esm/z-book-card.entry.js +9 -12
  272. package/dist/esm/z-book-cover.entry.js +2 -5
  273. package/dist/esm/z-breadcrumb.entry.js +3 -6
  274. package/dist/esm/z-button-sort.entry.js +2 -5
  275. package/dist/esm/z-card.entry.js +2 -5
  276. package/dist/esm/z-carousel.entry.js +2 -5
  277. package/dist/esm/z-chip.entry.js +3 -6
  278. package/dist/esm/z-color-picker.entry.js +2 -5
  279. package/dist/esm/z-combobox.entry.js +5 -8
  280. package/dist/esm/z-cover-hero.entry.js +3 -6
  281. package/dist/esm/z-date-picker.entry.js +2 -5
  282. package/dist/esm/z-dragdrop-area_2.entry.js +8 -11
  283. package/dist/esm/z-file-upload.entry.js +1 -4
  284. package/dist/esm/z-file.entry.js +2 -6
  285. package/dist/esm/z-ghost-loading.entry.js +2 -5
  286. package/dist/esm/z-info-box.entry.js +2 -5
  287. package/dist/esm/z-info-reveal.entry.js +2 -5
  288. package/dist/esm/z-input-range.entry.js +3 -6
  289. package/dist/esm/z-logo.entry.js +2 -5
  290. package/dist/esm/z-menu-section.entry.js +2 -5
  291. package/dist/esm/z-menu.entry.js +1 -4
  292. package/dist/esm/z-navigation-tabs.entry.js +3 -6
  293. package/dist/esm/z-notification.entry.js +2 -5
  294. package/dist/esm/z-pagination.entry.js +1 -4
  295. package/dist/esm/z-popover.entry.js +2 -5
  296. package/dist/esm/z-range-picker.entry.js +4 -7
  297. package/dist/esm/z-result-card.entry.js +1 -4
  298. package/dist/esm/z-select.entry.js +16 -9
  299. package/dist/esm/z-skip-to-content.entry.js +2 -5
  300. package/dist/esm/z-stepper-item.entry.js +8 -9
  301. package/dist/esm/z-stepper.entry.js +3 -6
  302. package/dist/esm/z-table.entry.js +2 -5
  303. package/dist/esm/z-tbody.entry.js +2 -5
  304. package/dist/esm/z-td.entry.js +2 -5
  305. package/dist/esm/z-tfoot.entry.js +2 -5
  306. package/dist/esm/z-th.entry.js +2 -5
  307. package/dist/esm/z-thead.entry.js +2 -5
  308. package/dist/esm/z-toast-notification-list.entry.js +2 -5
  309. package/dist/esm/z-toast-notification.entry.js +4 -7
  310. package/dist/esm/z-toggle-switch.entry.js +5 -8
  311. package/dist/esm/z-tool.entry.js +4 -7
  312. package/dist/esm/z-toolbar.entry.js +2 -5
  313. package/dist/esm/z-tooltip.entry.js +2 -5
  314. package/dist/esm/z-tr.entry.js +2 -5
  315. package/dist/esm/z-tree-list.entry.js +2 -5
  316. package/dist/esm/z-visually-hidden.entry.js +2 -5
  317. package/dist/types/components/book-card/z-book-card/index.d.ts +0 -1
  318. package/dist/types/components/deprecated/table/z-table/index.d.ts +1 -0
  319. package/dist/types/components/z-app-header/index.d.ts +3 -2
  320. package/dist/types/components/z-input/index.d.ts +7 -0
  321. package/dist/types/components/z-select/index.d.ts +2 -0
  322. package/dist/types/components/z-stepper/index.d.ts +1 -1
  323. package/dist/types/components/z-stepper-item/index.d.ts +4 -0
  324. package/dist/types/components.d.ts +17 -4
  325. package/dist/types/stencil-public-runtime.d.ts +1 -0
  326. package/dist/types/utils/utils.d.ts +0 -1
  327. package/dist/web-components-library/index.esm.js +1 -2
  328. package/dist/web-components-library/p-01045d94.entry.js +1 -0
  329. package/dist/web-components-library/p-029b5462.entry.js +1 -0
  330. package/dist/web-components-library/p-0703825e.entry.js +1 -0
  331. package/dist/web-components-library/p-07ad2d64.entry.js +1 -0
  332. package/dist/web-components-library/p-12086d02.entry.js +1 -0
  333. package/dist/web-components-library/p-13ba9599.entry.js +1 -0
  334. package/dist/web-components-library/p-16d11cd8.entry.js +1 -0
  335. package/dist/web-components-library/p-18a1ae5c.entry.js +1 -0
  336. package/dist/web-components-library/p-1b5a788a.entry.js +1 -0
  337. package/dist/web-components-library/p-1e47d958.entry.js +1 -0
  338. package/dist/web-components-library/p-265691af.entry.js +1 -0
  339. package/dist/web-components-library/p-26f6964c.entry.js +1 -0
  340. package/dist/web-components-library/p-28056b47.entry.js +1 -0
  341. package/dist/web-components-library/p-282fec35.entry.js +1 -0
  342. package/dist/web-components-library/p-2a122434.entry.js +1 -0
  343. package/dist/web-components-library/p-30458bad.entry.js +1 -0
  344. package/dist/web-components-library/p-33e1ffe6.entry.js +1 -0
  345. package/dist/web-components-library/p-35f50eb5.entry.js +1 -0
  346. package/dist/web-components-library/p-3d72ab08.entry.js +1 -0
  347. package/dist/web-components-library/p-3fa6766d.entry.js +1 -0
  348. package/dist/web-components-library/p-417ff6c3.entry.js +16 -0
  349. package/dist/web-components-library/p-48da181b.entry.js +1 -0
  350. package/dist/web-components-library/{p-6af7c34f.entry.js → p-4b506603.entry.js} +1 -2
  351. package/dist/web-components-library/p-566141b5.entry.js +1 -0
  352. package/dist/web-components-library/p-5684466e.entry.js +1 -0
  353. package/dist/web-components-library/p-5b2d9cb2.entry.js +1 -0
  354. package/dist/web-components-library/p-5e1546ca.entry.js +1 -0
  355. package/dist/web-components-library/p-5e276f04.entry.js +1 -0
  356. package/dist/web-components-library/p-5fe609c7.entry.js +1 -0
  357. package/dist/web-components-library/p-6631dd57.entry.js +1 -0
  358. package/dist/web-components-library/p-67e6c437.entry.js +1 -0
  359. package/dist/web-components-library/p-74796120.entry.js +1 -0
  360. package/dist/web-components-library/p-74b66d40.entry.js +1 -0
  361. package/dist/web-components-library/p-755fbc56.entry.js +1 -0
  362. package/dist/web-components-library/p-76e5775e.entry.js +1 -0
  363. package/dist/web-components-library/p-7d7db1de.entry.js +1 -0
  364. package/dist/web-components-library/p-867029d2.entry.js +1 -0
  365. package/dist/web-components-library/p-899ef830.entry.js +1 -0
  366. package/dist/web-components-library/p-8a2dc548.entry.js +1 -0
  367. package/dist/web-components-library/p-B6jtvVtV.js +1 -2
  368. package/dist/web-components-library/p-B85MJLTf.js +1 -2
  369. package/dist/web-components-library/p-BRkq64wS.js +1 -2
  370. package/dist/web-components-library/p-Bt1M0wUw.js +2 -3
  371. package/dist/web-components-library/p-D1c5gR45.js +1 -2
  372. package/dist/web-components-library/p-DPrEzmhI.js +2 -3
  373. package/dist/web-components-library/p-DWyY-2H5.js +5 -0
  374. package/dist/web-components-library/p-DdetsoIY.js +1 -2
  375. package/dist/web-components-library/p-Q-tWjk7P.js +1 -2
  376. package/dist/web-components-library/p-SFwvdS4t.js +2 -0
  377. package/dist/web-components-library/p-b8e25468.entry.js +1 -0
  378. package/dist/web-components-library/p-c375c57c.entry.js +1 -0
  379. package/dist/web-components-library/p-c5dded69.entry.js +1 -0
  380. package/dist/web-components-library/p-c629fdb3.entry.js +1 -0
  381. package/dist/web-components-library/p-c8f7e7f1.entry.js +2 -0
  382. package/dist/web-components-library/p-d22f34ac.entry.js +1 -0
  383. package/dist/web-components-library/p-d8a35d7e.entry.js +1 -0
  384. package/dist/web-components-library/p-e06b3572.entry.js +1 -0
  385. package/dist/web-components-library/p-e0db0935.entry.js +1 -0
  386. package/dist/web-components-library/p-e18ead24.entry.js +1 -0
  387. package/dist/web-components-library/p-e69a2a0b.entry.js +1 -0
  388. package/dist/web-components-library/p-eb0bd443.entry.js +1 -0
  389. package/dist/web-components-library/p-fdb00ffd.entry.js +1 -0
  390. package/dist/web-components-library/web-components-library.css +1149 -91
  391. package/dist/web-components-library/web-components-library.esm.js +1 -2
  392. package/package.json +14 -15
  393. package/react/components.d.ts +64 -64
  394. package/react/components.js +64 -64
  395. package/react/z-accordion.d.ts +4 -8
  396. package/react/z-accordion.js +11 -4
  397. package/react/z-anchor-navigation.d.ts +2 -6
  398. package/react/z-anchor-navigation.js +8 -3
  399. package/react/z-app-header.d.ts +4 -8
  400. package/react/z-app-header.js +8 -3
  401. package/react/z-aria-alert.d.ts +2 -6
  402. package/react/z-aria-alert.js +8 -3
  403. package/react/z-avatar.d.ts +2 -6
  404. package/react/z-avatar.js +8 -3
  405. package/react/z-book-card-app.d.ts +4 -8
  406. package/react/z-book-card-app.js +11 -4
  407. package/react/z-book-card.d.ts +4 -8
  408. package/react/z-book-card.js +8 -3
  409. package/react/z-book-cover.d.ts +2 -6
  410. package/react/z-book-cover.js +8 -3
  411. package/react/z-breadcrumb.d.ts +4 -8
  412. package/react/z-breadcrumb.js +11 -4
  413. package/react/z-button-sort.d.ts +4 -8
  414. package/react/z-button-sort.js +11 -4
  415. package/react/z-button.d.ts +2 -6
  416. package/react/z-button.js +8 -3
  417. package/react/z-card.d.ts +2 -6
  418. package/react/z-card.js +8 -3
  419. package/react/z-carousel.d.ts +4 -8
  420. package/react/z-carousel.js +11 -4
  421. package/react/z-chip.d.ts +4 -8
  422. package/react/z-chip.js +11 -4
  423. package/react/z-color-picker.d.ts +4 -8
  424. package/react/z-color-picker.js +11 -4
  425. package/react/z-combobox.d.ts +4 -8
  426. package/react/z-combobox.js +11 -4
  427. package/react/z-cover-hero.d.ts +2 -6
  428. package/react/z-cover-hero.js +8 -3
  429. package/react/z-date-picker.d.ts +4 -8
  430. package/react/z-date-picker.js +11 -4
  431. package/react/z-divider.d.ts +2 -6
  432. package/react/z-divider.js +8 -3
  433. package/react/z-dragdrop-area.d.ts +4 -8
  434. package/react/z-dragdrop-area.js +11 -4
  435. package/react/z-file-upload.d.ts +4 -8
  436. package/react/z-file-upload.js +8 -3
  437. package/react/z-file.d.ts +4 -8
  438. package/react/z-file.js +11 -4
  439. package/react/z-ghost-loading.d.ts +2 -6
  440. package/react/z-ghost-loading.js +8 -3
  441. package/react/z-icon.d.ts +2 -6
  442. package/react/z-icon.js +8 -3
  443. package/react/z-info-box.d.ts +4 -8
  444. package/react/z-info-box.js +11 -4
  445. package/react/z-info-reveal.d.ts +2 -6
  446. package/react/z-info-reveal.js +8 -3
  447. package/react/z-input-message.d.ts +2 -6
  448. package/react/z-input-message.js +8 -3
  449. package/react/z-input-range.d.ts +4 -8
  450. package/react/z-input-range.js +8 -3
  451. package/react/z-input.d.ts +4 -8
  452. package/react/z-input.js +8 -3
  453. package/react/z-list-element.d.ts +4 -8
  454. package/react/z-list-element.js +8 -3
  455. package/react/z-list-group.d.ts +2 -6
  456. package/react/z-list-group.js +8 -3
  457. package/react/z-list.d.ts +2 -6
  458. package/react/z-list.js +8 -3
  459. package/react/z-logo.d.ts +2 -6
  460. package/react/z-logo.js +8 -3
  461. package/react/z-menu-section.d.ts +4 -8
  462. package/react/z-menu-section.js +8 -3
  463. package/react/z-menu.d.ts +4 -8
  464. package/react/z-menu.js +8 -3
  465. package/react/z-modal.d.ts +4 -8
  466. package/react/z-modal.js +8 -3
  467. package/react/z-navigation-tabs.d.ts +4 -8
  468. package/react/z-navigation-tabs.js +11 -4
  469. package/react/z-notification.d.ts +4 -8
  470. package/react/z-notification.js +8 -3
  471. package/react/z-offcanvas.d.ts +4 -8
  472. package/react/z-offcanvas.js +11 -4
  473. package/react/z-pagination.d.ts +4 -8
  474. package/react/z-pagination.js +11 -4
  475. package/react/z-popover.d.ts +4 -8
  476. package/react/z-popover.js +8 -3
  477. package/react/z-range-picker.d.ts +4 -8
  478. package/react/z-range-picker.js +11 -4
  479. package/react/z-result-card.d.ts +2 -6
  480. package/react/z-result-card.js +8 -3
  481. package/react/z-searchbar.d.ts +4 -8
  482. package/react/z-searchbar.js +8 -3
  483. package/react/z-select.d.ts +4 -8
  484. package/react/z-select.js +8 -3
  485. package/react/z-skip-to-content.d.ts +2 -6
  486. package/react/z-skip-to-content.js +8 -3
  487. package/react/z-stepper-item.d.ts +2 -6
  488. package/react/z-stepper-item.js +8 -3
  489. package/react/z-stepper.d.ts +2 -6
  490. package/react/z-stepper.js +8 -3
  491. package/react/z-table.d.ts +2 -6
  492. package/react/z-table.js +8 -3
  493. package/react/z-tag.d.ts +2 -6
  494. package/react/z-tag.js +8 -3
  495. package/react/z-tbody.d.ts +2 -6
  496. package/react/z-tbody.js +8 -3
  497. package/react/z-td.d.ts +4 -8
  498. package/react/z-td.js +11 -4
  499. package/react/z-tfoot.d.ts +2 -6
  500. package/react/z-tfoot.js +8 -3
  501. package/react/z-th.d.ts +4 -8
  502. package/react/z-th.js +11 -4
  503. package/react/z-thead.d.ts +2 -6
  504. package/react/z-thead.js +8 -3
  505. package/react/z-toast-notification-list.d.ts +2 -6
  506. package/react/z-toast-notification-list.js +8 -3
  507. package/react/z-toast-notification.d.ts +4 -8
  508. package/react/z-toast-notification.js +11 -4
  509. package/react/z-toggle-switch.d.ts +4 -8
  510. package/react/z-toggle-switch.js +11 -4
  511. package/react/z-tool.d.ts +4 -8
  512. package/react/z-tool.js +8 -3
  513. package/react/z-toolbar.d.ts +2 -6
  514. package/react/z-toolbar.js +8 -3
  515. package/react/z-tooltip.d.ts +4 -8
  516. package/react/z-tooltip.js +11 -4
  517. package/react/z-tr.d.ts +4 -8
  518. package/react/z-tr.js +11 -4
  519. package/react/z-tree-list.d.ts +4 -8
  520. package/react/z-tree-list.js +11 -4
  521. package/react/z-visually-hidden.d.ts +2 -6
  522. package/react/z-visually-hidden.js +8 -3
  523. package/readme.md +12 -12
  524. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +0 -1
  525. package/dist/cjs/breakpoints-B7vFm-3T.js.map +0 -1
  526. package/dist/cjs/dialog-polyfill.esm-D8Polhcd.js.map +0 -1
  527. package/dist/cjs/hammer-CJF2Ixtg.js.map +0 -1
  528. package/dist/cjs/iconset-BIdMT0Ke.js.map +0 -1
  529. package/dist/cjs/index-CZz7uP-M.js.map +0 -1
  530. package/dist/cjs/index-DppFfqsn.js.map +0 -1
  531. package/dist/cjs/index.cjs.js.map +0 -1
  532. package/dist/cjs/loader.cjs.js.map +0 -1
  533. package/dist/cjs/reactive-controller-DJkjAuqS.js.map +0 -1
  534. package/dist/cjs/utils-BnCPu0Si.js.map +0 -1
  535. package/dist/cjs/utils-C6lcMaul.js.map +0 -1
  536. package/dist/cjs/web-components-library.cjs.js.map +0 -1
  537. package/dist/cjs/z-accordion.cjs.entry.js.map +0 -1
  538. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +0 -1
  539. package/dist/cjs/z-app-header_12.cjs.entry.js.map +0 -1
  540. package/dist/cjs/z-aria-alert.cjs.entry.js.map +0 -1
  541. package/dist/cjs/z-avatar.cjs.entry.js.map +0 -1
  542. package/dist/cjs/z-book-card-app.cjs.entry.js.map +0 -1
  543. package/dist/cjs/z-book-card.cjs.entry.js.map +0 -1
  544. package/dist/cjs/z-book-cover.cjs.entry.js.map +0 -1
  545. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +0 -1
  546. package/dist/cjs/z-button-sort.cjs.entry.js.map +0 -1
  547. package/dist/cjs/z-card.cjs.entry.js.map +0 -1
  548. package/dist/cjs/z-carousel.cjs.entry.js.map +0 -1
  549. package/dist/cjs/z-chip.cjs.entry.js.map +0 -1
  550. package/dist/cjs/z-color-picker.cjs.entry.js.map +0 -1
  551. package/dist/cjs/z-combobox.cjs.entry.js.map +0 -1
  552. package/dist/cjs/z-cover-hero.cjs.entry.js.map +0 -1
  553. package/dist/cjs/z-date-picker.cjs.entry.js.map +0 -1
  554. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +0 -1
  555. package/dist/cjs/z-file-upload.cjs.entry.js.map +0 -1
  556. package/dist/cjs/z-file.cjs.entry.js.map +0 -1
  557. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +0 -1
  558. package/dist/cjs/z-info-box.cjs.entry.js.map +0 -1
  559. package/dist/cjs/z-info-reveal.cjs.entry.js.map +0 -1
  560. package/dist/cjs/z-input-range.cjs.entry.js.map +0 -1
  561. package/dist/cjs/z-logo.cjs.entry.js.map +0 -1
  562. package/dist/cjs/z-menu-section.cjs.entry.js.map +0 -1
  563. package/dist/cjs/z-menu.cjs.entry.js.map +0 -1
  564. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +0 -1
  565. package/dist/cjs/z-notification.cjs.entry.js.map +0 -1
  566. package/dist/cjs/z-pagination.cjs.entry.js.map +0 -1
  567. package/dist/cjs/z-popover.cjs.entry.js.map +0 -1
  568. package/dist/cjs/z-range-picker.cjs.entry.js.map +0 -1
  569. package/dist/cjs/z-result-card.cjs.entry.js.map +0 -1
  570. package/dist/cjs/z-select.cjs.entry.js.map +0 -1
  571. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +0 -1
  572. package/dist/cjs/z-stepper-item.cjs.entry.js.map +0 -1
  573. package/dist/cjs/z-stepper.cjs.entry.js.map +0 -1
  574. package/dist/cjs/z-table.cjs.entry.js.map +0 -1
  575. package/dist/cjs/z-tbody.cjs.entry.js.map +0 -1
  576. package/dist/cjs/z-td.cjs.entry.js.map +0 -1
  577. package/dist/cjs/z-tfoot.cjs.entry.js.map +0 -1
  578. package/dist/cjs/z-th.cjs.entry.js.map +0 -1
  579. package/dist/cjs/z-thead.cjs.entry.js.map +0 -1
  580. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +0 -1
  581. package/dist/cjs/z-toast-notification.cjs.entry.js.map +0 -1
  582. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +0 -1
  583. package/dist/cjs/z-tool.cjs.entry.js.map +0 -1
  584. package/dist/cjs/z-toolbar.cjs.entry.js.map +0 -1
  585. package/dist/cjs/z-tooltip.cjs.entry.js.map +0 -1
  586. package/dist/cjs/z-tr.cjs.entry.js.map +0 -1
  587. package/dist/cjs/z-tree-list.cjs.entry.js.map +0 -1
  588. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +0 -1
  589. package/dist/collection/beans/index.js.map +0 -1
  590. package/dist/collection/components/book-card/z-book-card/index.js.map +0 -1
  591. package/dist/collection/components/book-card/z-book-card-app/index.js.map +0 -1
  592. package/dist/collection/components/date-picker/utils.js.map +0 -1
  593. package/dist/collection/components/date-picker/z-date-picker/index.js.map +0 -1
  594. package/dist/collection/components/date-picker/z-range-picker/index.js.map +0 -1
  595. package/dist/collection/components/deprecated/table/cells/z-td/index.js.map +0 -1
  596. package/dist/collection/components/deprecated/table/cells/z-th/index.js.map +0 -1
  597. package/dist/collection/components/deprecated/table/z-table/index.js.map +0 -1
  598. package/dist/collection/components/deprecated/table/z-tbody/index.js.map +0 -1
  599. package/dist/collection/components/deprecated/table/z-tfoot/index.js.map +0 -1
  600. package/dist/collection/components/deprecated/table/z-thead/index.js.map +0 -1
  601. package/dist/collection/components/deprecated/table/z-tr/index.js.map +0 -1
  602. package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +0 -1
  603. package/dist/collection/components/file-upload/z-file/index.js.map +0 -1
  604. package/dist/collection/components/file-upload/z-file-upload/index.js.map +0 -1
  605. package/dist/collection/components/index.js.map +0 -1
  606. package/dist/collection/components/list/z-list/index.js.map +0 -1
  607. package/dist/collection/components/list/z-list-element/index.js.map +0 -1
  608. package/dist/collection/components/list/z-list-group/index.js.map +0 -1
  609. package/dist/collection/components/list/z-tree-list/index.js.map +0 -1
  610. package/dist/collection/components/z-accordion/index.js.map +0 -1
  611. package/dist/collection/components/z-anchor-navigation/index.js.map +0 -1
  612. package/dist/collection/components/z-app-header/index.js.map +0 -1
  613. package/dist/collection/components/z-aria-alert/index.js.map +0 -1
  614. package/dist/collection/components/z-avatar/index.js.map +0 -1
  615. package/dist/collection/components/z-book-cover/index.js.map +0 -1
  616. package/dist/collection/components/z-breadcrumb/index.js.map +0 -1
  617. package/dist/collection/components/z-button/index.js.map +0 -1
  618. package/dist/collection/components/z-button-sort/index.js.map +0 -1
  619. package/dist/collection/components/z-card/index.js.map +0 -1
  620. package/dist/collection/components/z-carousel/index.js.map +0 -1
  621. package/dist/collection/components/z-chip/index.js.map +0 -1
  622. package/dist/collection/components/z-color-picker/index.js.map +0 -1
  623. package/dist/collection/components/z-combobox/index.js.map +0 -1
  624. package/dist/collection/components/z-cover-hero/index.js.map +0 -1
  625. package/dist/collection/components/z-divider/index.js.map +0 -1
  626. package/dist/collection/components/z-ghost-loading/index.js.map +0 -1
  627. package/dist/collection/components/z-icon/index.js.map +0 -1
  628. package/dist/collection/components/z-info-box/index.js.map +0 -1
  629. package/dist/collection/components/z-info-reveal/index.js.map +0 -1
  630. package/dist/collection/components/z-input/index.js.map +0 -1
  631. package/dist/collection/components/z-input-message/index.js.map +0 -1
  632. package/dist/collection/components/z-input-range/index.js.map +0 -1
  633. package/dist/collection/components/z-logo/index.js.map +0 -1
  634. package/dist/collection/components/z-menu/index.js.map +0 -1
  635. package/dist/collection/components/z-menu-section/index.js.map +0 -1
  636. package/dist/collection/components/z-modal/index.js.map +0 -1
  637. package/dist/collection/components/z-navigation-tabs/index.js.map +0 -1
  638. package/dist/collection/components/z-notification/index.js.map +0 -1
  639. package/dist/collection/components/z-offcanvas/index.js.map +0 -1
  640. package/dist/collection/components/z-pagination/index.js.map +0 -1
  641. package/dist/collection/components/z-popover/index.js.map +0 -1
  642. package/dist/collection/components/z-result-card/index.js.map +0 -1
  643. package/dist/collection/components/z-searchbar/index.js.map +0 -1
  644. package/dist/collection/components/z-select/index.js.map +0 -1
  645. package/dist/collection/components/z-skip-to-content/index.js.map +0 -1
  646. package/dist/collection/components/z-stepper/index.js.map +0 -1
  647. package/dist/collection/components/z-stepper-item/index.js.map +0 -1
  648. package/dist/collection/components/z-tag/index.js.map +0 -1
  649. package/dist/collection/components/z-toast-notification/index.js.map +0 -1
  650. package/dist/collection/components/z-toast-notification-list/index.js.map +0 -1
  651. package/dist/collection/components/z-toggle-switch/index.js.map +0 -1
  652. package/dist/collection/components/z-tool/index.js.map +0 -1
  653. package/dist/collection/components/z-toolbar/index.js.map +0 -1
  654. package/dist/collection/components/z-tooltip/index.js.map +0 -1
  655. package/dist/collection/components/z-visually-hidden/index.js.map +0 -1
  656. package/dist/collection/constants/breakpoints.js.map +0 -1
  657. package/dist/collection/constants/icons.js +0 -7
  658. package/dist/collection/constants/icons.js.map +0 -1
  659. package/dist/collection/constants/iconset.js.map +0 -1
  660. package/dist/collection/index.js.map +0 -1
  661. package/dist/collection/utils/focus-trap-controller.js.map +0 -1
  662. package/dist/collection/utils/reactive-controller.js.map +0 -1
  663. package/dist/collection/utils/storybook-utils.js.map +0 -1
  664. package/dist/collection/utils/utils.js.map +0 -1
  665. package/dist/components/index.js.map +0 -1
  666. package/dist/components/p-8C_CrFxp.js.map +0 -1
  667. package/dist/components/p-B3VFztJH.js +0 -6
  668. package/dist/components/p-B3VFztJH.js.map +0 -1
  669. package/dist/components/p-B5U9pSXR.js.map +0 -1
  670. package/dist/components/p-B6jtvVtV.js.map +0 -1
  671. package/dist/components/p-B85MJLTf.js.map +0 -1
  672. package/dist/components/p-BAguKZnb.js +0 -2
  673. package/dist/components/p-BAguKZnb.js.map +0 -1
  674. package/dist/components/p-BRkq64wS.js.map +0 -1
  675. package/dist/components/p-BeSVHdId.js +0 -2
  676. package/dist/components/p-BeSVHdId.js.map +0 -1
  677. package/dist/components/p-Bj8MyegH.js +0 -2
  678. package/dist/components/p-Bj8MyegH.js.map +0 -1
  679. package/dist/components/p-BoiZb7m1.js +0 -2
  680. package/dist/components/p-BoiZb7m1.js.map +0 -1
  681. package/dist/components/p-BolVsvfr.js +0 -2
  682. package/dist/components/p-BolVsvfr.js.map +0 -1
  683. package/dist/components/p-Bt1M0wUw.js.map +0 -1
  684. package/dist/components/p-BvCsF6Eq.js +0 -2
  685. package/dist/components/p-BvCsF6Eq.js.map +0 -1
  686. package/dist/components/p-CGSP8diU.js +0 -2
  687. package/dist/components/p-CGSP8diU.js.map +0 -1
  688. package/dist/components/p-CJjo0ntH.js +0 -2
  689. package/dist/components/p-CJjo0ntH.js.map +0 -1
  690. package/dist/components/p-CaSvyuw6.js +0 -2
  691. package/dist/components/p-CaSvyuw6.js.map +0 -1
  692. package/dist/components/p-CbXEdwLi.js +0 -2
  693. package/dist/components/p-CbXEdwLi.js.map +0 -1
  694. package/dist/components/p-CdBqnUF6.js +0 -2
  695. package/dist/components/p-CdBqnUF6.js.map +0 -1
  696. package/dist/components/p-Ch6o4_VN.js +0 -2
  697. package/dist/components/p-Ch6o4_VN.js.map +0 -1
  698. package/dist/components/p-D1c5gR45.js.map +0 -1
  699. package/dist/components/p-D8wde41u.js +0 -2
  700. package/dist/components/p-D8wde41u.js.map +0 -1
  701. package/dist/components/p-DL2QAfIP.js +0 -2
  702. package/dist/components/p-DL2QAfIP.js.map +0 -1
  703. package/dist/components/p-DdetsoIY.js.map +0 -1
  704. package/dist/components/p-LXvmZzZa.js +0 -2
  705. package/dist/components/p-LXvmZzZa.js.map +0 -1
  706. package/dist/components/p-Q-tWjk7P.js.map +0 -1
  707. package/dist/components/p-RmbDDbWd.js +0 -2
  708. package/dist/components/p-RmbDDbWd.js.map +0 -1
  709. package/dist/components/p-VP75-vje.js +0 -2
  710. package/dist/components/p-VP75-vje.js.map +0 -1
  711. package/dist/components/p-cpTAMdcF.js +0 -2
  712. package/dist/components/p-cpTAMdcF.js.map +0 -1
  713. package/dist/components/p-mphirYN3.js +0 -2
  714. package/dist/components/p-mphirYN3.js.map +0 -1
  715. package/dist/components/z-accordion.js.map +0 -1
  716. package/dist/components/z-anchor-navigation.js.map +0 -1
  717. package/dist/components/z-app-header.js.map +0 -1
  718. package/dist/components/z-aria-alert.js.map +0 -1
  719. package/dist/components/z-avatar.js.map +0 -1
  720. package/dist/components/z-book-card-app.js.map +0 -1
  721. package/dist/components/z-book-card.js.map +0 -1
  722. package/dist/components/z-book-cover.js.map +0 -1
  723. package/dist/components/z-breadcrumb.js.map +0 -1
  724. package/dist/components/z-button-sort.js.map +0 -1
  725. package/dist/components/z-button.js.map +0 -1
  726. package/dist/components/z-card.js.map +0 -1
  727. package/dist/components/z-carousel.js.map +0 -1
  728. package/dist/components/z-chip.js.map +0 -1
  729. package/dist/components/z-color-picker.js.map +0 -1
  730. package/dist/components/z-combobox.js.map +0 -1
  731. package/dist/components/z-cover-hero.js.map +0 -1
  732. package/dist/components/z-date-picker.js.map +0 -1
  733. package/dist/components/z-divider.js.map +0 -1
  734. package/dist/components/z-dragdrop-area.js.map +0 -1
  735. package/dist/components/z-file-upload.js.map +0 -1
  736. package/dist/components/z-file.js.map +0 -1
  737. package/dist/components/z-ghost-loading.js.map +0 -1
  738. package/dist/components/z-icon.js.map +0 -1
  739. package/dist/components/z-info-box.js.map +0 -1
  740. package/dist/components/z-info-reveal.js.map +0 -1
  741. package/dist/components/z-input-message.js.map +0 -1
  742. package/dist/components/z-input-range.js.map +0 -1
  743. package/dist/components/z-input.js.map +0 -1
  744. package/dist/components/z-list-element.js.map +0 -1
  745. package/dist/components/z-list-group.js.map +0 -1
  746. package/dist/components/z-list.js.map +0 -1
  747. package/dist/components/z-logo.js.map +0 -1
  748. package/dist/components/z-menu-section.js.map +0 -1
  749. package/dist/components/z-menu.js.map +0 -1
  750. package/dist/components/z-modal.js.map +0 -1
  751. package/dist/components/z-navigation-tabs.js.map +0 -1
  752. package/dist/components/z-notification.js.map +0 -1
  753. package/dist/components/z-offcanvas.js.map +0 -1
  754. package/dist/components/z-pagination.js.map +0 -1
  755. package/dist/components/z-popover.js.map +0 -1
  756. package/dist/components/z-range-picker.js.map +0 -1
  757. package/dist/components/z-result-card.js.map +0 -1
  758. package/dist/components/z-searchbar.js.map +0 -1
  759. package/dist/components/z-select.js.map +0 -1
  760. package/dist/components/z-skip-to-content.js.map +0 -1
  761. package/dist/components/z-stepper-item.js.map +0 -1
  762. package/dist/components/z-stepper.js.map +0 -1
  763. package/dist/components/z-table.js.map +0 -1
  764. package/dist/components/z-tag.js.map +0 -1
  765. package/dist/components/z-tbody.js.map +0 -1
  766. package/dist/components/z-td.js.map +0 -1
  767. package/dist/components/z-tfoot.js.map +0 -1
  768. package/dist/components/z-th.js.map +0 -1
  769. package/dist/components/z-thead.js.map +0 -1
  770. package/dist/components/z-toast-notification-list.js.map +0 -1
  771. package/dist/components/z-toast-notification.js.map +0 -1
  772. package/dist/components/z-toggle-switch.js.map +0 -1
  773. package/dist/components/z-tool.js.map +0 -1
  774. package/dist/components/z-toolbar.js.map +0 -1
  775. package/dist/components/z-tooltip.js.map +0 -1
  776. package/dist/components/z-tr.js.map +0 -1
  777. package/dist/components/z-tree-list.js.map +0 -1
  778. package/dist/components/z-visually-hidden.js.map +0 -1
  779. package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +0 -1
  780. package/dist/esm/breakpoints-Q-tWjk7P.js.map +0 -1
  781. package/dist/esm/dialog-polyfill.esm-BRkq64wS.js.map +0 -1
  782. package/dist/esm/hammer-C3JqVNyx.js.map +0 -1
  783. package/dist/esm/iconset-D1c5gR45.js.map +0 -1
  784. package/dist/esm/index-BcDWN4F1.js.map +0 -1
  785. package/dist/esm/index-DdetsoIY.js.map +0 -1
  786. package/dist/esm/index.js.map +0 -1
  787. package/dist/esm/loader.js.map +0 -1
  788. package/dist/esm/reactive-controller-CHemhYDp.js.map +0 -1
  789. package/dist/esm/utils-BO5sSCUY.js.map +0 -1
  790. package/dist/esm/utils-CJc3A9NX.js.map +0 -1
  791. package/dist/esm/web-components-library.js.map +0 -1
  792. package/dist/esm/z-accordion.entry.js.map +0 -1
  793. package/dist/esm/z-anchor-navigation.entry.js.map +0 -1
  794. package/dist/esm/z-app-header_12.entry.js.map +0 -1
  795. package/dist/esm/z-aria-alert.entry.js.map +0 -1
  796. package/dist/esm/z-avatar.entry.js.map +0 -1
  797. package/dist/esm/z-book-card-app.entry.js.map +0 -1
  798. package/dist/esm/z-book-card.entry.js.map +0 -1
  799. package/dist/esm/z-book-cover.entry.js.map +0 -1
  800. package/dist/esm/z-breadcrumb.entry.js.map +0 -1
  801. package/dist/esm/z-button-sort.entry.js.map +0 -1
  802. package/dist/esm/z-card.entry.js.map +0 -1
  803. package/dist/esm/z-carousel.entry.js.map +0 -1
  804. package/dist/esm/z-chip.entry.js.map +0 -1
  805. package/dist/esm/z-color-picker.entry.js.map +0 -1
  806. package/dist/esm/z-combobox.entry.js.map +0 -1
  807. package/dist/esm/z-cover-hero.entry.js.map +0 -1
  808. package/dist/esm/z-date-picker.entry.js.map +0 -1
  809. package/dist/esm/z-dragdrop-area_2.entry.js.map +0 -1
  810. package/dist/esm/z-file-upload.entry.js.map +0 -1
  811. package/dist/esm/z-file.entry.js.map +0 -1
  812. package/dist/esm/z-ghost-loading.entry.js.map +0 -1
  813. package/dist/esm/z-info-box.entry.js.map +0 -1
  814. package/dist/esm/z-info-reveal.entry.js.map +0 -1
  815. package/dist/esm/z-input-range.entry.js.map +0 -1
  816. package/dist/esm/z-logo.entry.js.map +0 -1
  817. package/dist/esm/z-menu-section.entry.js.map +0 -1
  818. package/dist/esm/z-menu.entry.js.map +0 -1
  819. package/dist/esm/z-navigation-tabs.entry.js.map +0 -1
  820. package/dist/esm/z-notification.entry.js.map +0 -1
  821. package/dist/esm/z-pagination.entry.js.map +0 -1
  822. package/dist/esm/z-popover.entry.js.map +0 -1
  823. package/dist/esm/z-range-picker.entry.js.map +0 -1
  824. package/dist/esm/z-result-card.entry.js.map +0 -1
  825. package/dist/esm/z-select.entry.js.map +0 -1
  826. package/dist/esm/z-skip-to-content.entry.js.map +0 -1
  827. package/dist/esm/z-stepper-item.entry.js.map +0 -1
  828. package/dist/esm/z-stepper.entry.js.map +0 -1
  829. package/dist/esm/z-table.entry.js.map +0 -1
  830. package/dist/esm/z-tbody.entry.js.map +0 -1
  831. package/dist/esm/z-td.entry.js.map +0 -1
  832. package/dist/esm/z-tfoot.entry.js.map +0 -1
  833. package/dist/esm/z-th.entry.js.map +0 -1
  834. package/dist/esm/z-thead.entry.js.map +0 -1
  835. package/dist/esm/z-toast-notification-list.entry.js.map +0 -1
  836. package/dist/esm/z-toast-notification.entry.js.map +0 -1
  837. package/dist/esm/z-toggle-switch.entry.js.map +0 -1
  838. package/dist/esm/z-tool.entry.js.map +0 -1
  839. package/dist/esm/z-toolbar.entry.js.map +0 -1
  840. package/dist/esm/z-tooltip.entry.js.map +0 -1
  841. package/dist/esm/z-tr.entry.js.map +0 -1
  842. package/dist/esm/z-tree-list.entry.js.map +0 -1
  843. package/dist/esm/z-visually-hidden.entry.js.map +0 -1
  844. package/dist/types/constants/icons.d.ts +0 -6
  845. package/dist/web-components-library/index.esm.js.map +0 -1
  846. package/dist/web-components-library/p-0380c815.entry.js +0 -2
  847. package/dist/web-components-library/p-0380c815.entry.js.map +0 -1
  848. package/dist/web-components-library/p-059963b6.entry.js +0 -2
  849. package/dist/web-components-library/p-059963b6.entry.js.map +0 -1
  850. package/dist/web-components-library/p-06a196fb.entry.js +0 -2
  851. package/dist/web-components-library/p-06a196fb.entry.js.map +0 -1
  852. package/dist/web-components-library/p-08384d53.entry.js +0 -2
  853. package/dist/web-components-library/p-08384d53.entry.js.map +0 -1
  854. package/dist/web-components-library/p-0fb73edd.entry.js +0 -2
  855. package/dist/web-components-library/p-0fb73edd.entry.js.map +0 -1
  856. package/dist/web-components-library/p-1b562386.entry.js +0 -2
  857. package/dist/web-components-library/p-1b562386.entry.js.map +0 -1
  858. package/dist/web-components-library/p-229dd532.entry.js +0 -2
  859. package/dist/web-components-library/p-229dd532.entry.js.map +0 -1
  860. package/dist/web-components-library/p-2780f6d9.entry.js +0 -2
  861. package/dist/web-components-library/p-2780f6d9.entry.js.map +0 -1
  862. package/dist/web-components-library/p-2a74e691.entry.js +0 -2
  863. package/dist/web-components-library/p-2a74e691.entry.js.map +0 -1
  864. package/dist/web-components-library/p-2e4db422.entry.js +0 -2
  865. package/dist/web-components-library/p-2e4db422.entry.js.map +0 -1
  866. package/dist/web-components-library/p-2eaf4b9b.entry.js +0 -2
  867. package/dist/web-components-library/p-2eaf4b9b.entry.js.map +0 -1
  868. package/dist/web-components-library/p-315ca31f.entry.js +0 -2
  869. package/dist/web-components-library/p-315ca31f.entry.js.map +0 -1
  870. package/dist/web-components-library/p-350ea24f.entry.js +0 -2
  871. package/dist/web-components-library/p-350ea24f.entry.js.map +0 -1
  872. package/dist/web-components-library/p-3574a17e.entry.js +0 -2
  873. package/dist/web-components-library/p-3574a17e.entry.js.map +0 -1
  874. package/dist/web-components-library/p-368f7af9.entry.js +0 -2
  875. package/dist/web-components-library/p-368f7af9.entry.js.map +0 -1
  876. package/dist/web-components-library/p-3a9a120f.entry.js +0 -2
  877. package/dist/web-components-library/p-3a9a120f.entry.js.map +0 -1
  878. package/dist/web-components-library/p-41966ee6.entry.js +0 -2
  879. package/dist/web-components-library/p-41966ee6.entry.js.map +0 -1
  880. package/dist/web-components-library/p-42cfc136.entry.js +0 -2
  881. package/dist/web-components-library/p-42cfc136.entry.js.map +0 -1
  882. package/dist/web-components-library/p-47d4000c.entry.js +0 -2
  883. package/dist/web-components-library/p-47d4000c.entry.js.map +0 -1
  884. package/dist/web-components-library/p-55693913.entry.js +0 -2
  885. package/dist/web-components-library/p-55693913.entry.js.map +0 -1
  886. package/dist/web-components-library/p-55c3310f.entry.js +0 -2
  887. package/dist/web-components-library/p-55c3310f.entry.js.map +0 -1
  888. package/dist/web-components-library/p-5ae84959.entry.js +0 -2
  889. package/dist/web-components-library/p-5ae84959.entry.js.map +0 -1
  890. package/dist/web-components-library/p-668b9254.entry.js +0 -17
  891. package/dist/web-components-library/p-668b9254.entry.js.map +0 -1
  892. package/dist/web-components-library/p-67051e01.entry.js +0 -3
  893. package/dist/web-components-library/p-67051e01.entry.js.map +0 -1
  894. package/dist/web-components-library/p-6af7c34f.entry.js.map +0 -1
  895. package/dist/web-components-library/p-781d96de.entry.js +0 -2
  896. package/dist/web-components-library/p-781d96de.entry.js.map +0 -1
  897. package/dist/web-components-library/p-791a76d6.entry.js +0 -2
  898. package/dist/web-components-library/p-791a76d6.entry.js.map +0 -1
  899. package/dist/web-components-library/p-80f65c32.entry.js +0 -2
  900. package/dist/web-components-library/p-80f65c32.entry.js.map +0 -1
  901. package/dist/web-components-library/p-81c949eb.entry.js +0 -2
  902. package/dist/web-components-library/p-81c949eb.entry.js.map +0 -1
  903. package/dist/web-components-library/p-87be3ccc.entry.js +0 -2
  904. package/dist/web-components-library/p-87be3ccc.entry.js.map +0 -1
  905. package/dist/web-components-library/p-886382a7.entry.js +0 -2
  906. package/dist/web-components-library/p-886382a7.entry.js.map +0 -1
  907. package/dist/web-components-library/p-95af0156.entry.js +0 -2
  908. package/dist/web-components-library/p-95af0156.entry.js.map +0 -1
  909. package/dist/web-components-library/p-B6jtvVtV.js.map +0 -1
  910. package/dist/web-components-library/p-B85MJLTf.js.map +0 -1
  911. package/dist/web-components-library/p-BRkq64wS.js.map +0 -1
  912. package/dist/web-components-library/p-BcDWN4F1.js +0 -3
  913. package/dist/web-components-library/p-BcDWN4F1.js.map +0 -1
  914. package/dist/web-components-library/p-BjrC13Q0.js +0 -6
  915. package/dist/web-components-library/p-BjrC13Q0.js.map +0 -1
  916. package/dist/web-components-library/p-Bt1M0wUw.js.map +0 -1
  917. package/dist/web-components-library/p-D1c5gR45.js.map +0 -1
  918. package/dist/web-components-library/p-DPrEzmhI.js.map +0 -1
  919. package/dist/web-components-library/p-DdetsoIY.js.map +0 -1
  920. package/dist/web-components-library/p-Q-tWjk7P.js.map +0 -1
  921. package/dist/web-components-library/p-a4f5e7e9.entry.js +0 -2
  922. package/dist/web-components-library/p-a4f5e7e9.entry.js.map +0 -1
  923. package/dist/web-components-library/p-bc8eec12.entry.js +0 -2
  924. package/dist/web-components-library/p-bc8eec12.entry.js.map +0 -1
  925. package/dist/web-components-library/p-bdd9c781.entry.js +0 -2
  926. package/dist/web-components-library/p-bdd9c781.entry.js.map +0 -1
  927. package/dist/web-components-library/p-c15267bc.entry.js +0 -2
  928. package/dist/web-components-library/p-c15267bc.entry.js.map +0 -1
  929. package/dist/web-components-library/p-c3f69ac9.entry.js +0 -2
  930. package/dist/web-components-library/p-c3f69ac9.entry.js.map +0 -1
  931. package/dist/web-components-library/p-c983da75.entry.js +0 -2
  932. package/dist/web-components-library/p-c983da75.entry.js.map +0 -1
  933. package/dist/web-components-library/p-ce98069e.entry.js +0 -2
  934. package/dist/web-components-library/p-ce98069e.entry.js.map +0 -1
  935. package/dist/web-components-library/p-d4e212cc.entry.js +0 -2
  936. package/dist/web-components-library/p-d4e212cc.entry.js.map +0 -1
  937. package/dist/web-components-library/p-d4eb997c.entry.js +0 -2
  938. package/dist/web-components-library/p-d4eb997c.entry.js.map +0 -1
  939. package/dist/web-components-library/p-d8c06756.entry.js +0 -2
  940. package/dist/web-components-library/p-d8c06756.entry.js.map +0 -1
  941. package/dist/web-components-library/p-deed5153.entry.js +0 -2
  942. package/dist/web-components-library/p-deed5153.entry.js.map +0 -1
  943. package/dist/web-components-library/p-e160889a.entry.js +0 -2
  944. package/dist/web-components-library/p-e160889a.entry.js.map +0 -1
  945. package/dist/web-components-library/p-e1d1445c.entry.js +0 -2
  946. package/dist/web-components-library/p-e1d1445c.entry.js.map +0 -1
  947. package/dist/web-components-library/p-e2cdf19c.entry.js +0 -2
  948. package/dist/web-components-library/p-e2cdf19c.entry.js.map +0 -1
  949. package/dist/web-components-library/p-e972b9c2.entry.js +0 -2
  950. package/dist/web-components-library/p-e972b9c2.entry.js.map +0 -1
  951. package/dist/web-components-library/p-ee5ff565.entry.js +0 -2
  952. package/dist/web-components-library/p-ee5ff565.entry.js.map +0 -1
  953. package/dist/web-components-library/p-eea18ea6.entry.js +0 -2
  954. package/dist/web-components-library/p-eea18ea6.entry.js.map +0 -1
  955. package/dist/web-components-library/p-f7e11eab.entry.js +0 -2
  956. package/dist/web-components-library/p-f7e11eab.entry.js.map +0 -1
  957. package/dist/web-components-library/p-f8fd6f08.entry.js +0 -2
  958. package/dist/web-components-library/p-f8fd6f08.entry.js.map +0 -1
  959. package/dist/web-components-library/p-fdafba48.entry.js +0 -2
  960. package/dist/web-components-library/p-fdafba48.entry.js.map +0 -1
  961. package/dist/web-components-library/web-components-library.esm.js.map +0 -1
  962. package/www/assets/favicon.png +0 -0
  963. package/www/assets/images/png/arrowDown.png +0 -0
  964. package/www/assets/images/png/arrowUp.png +0 -0
  965. package/www/assets/images/png/back-button.png +0 -0
  966. package/www/assets/images/png/bovolenta-logo.png +0 -0
  967. package/www/assets/images/png/cart-icon.png +0 -0
  968. package/www/assets/images/png/cea-logo.png +0 -0
  969. package/www/assets/images/png/clitt-logo.png +0 -0
  970. package/www/assets/images/png/down-arrow.png +0 -0
  971. package/www/assets/images/png/download.png +0 -0
  972. package/www/assets/images/png/facebook.png +0 -0
  973. package/www/assets/images/png/gruoss.png +0 -0
  974. package/www/assets/images/png/instagram.png +0 -0
  975. package/www/assets/images/png/lucisano-logo.png +0 -0
  976. package/www/assets/images/png/myzanichelli-logo.png +0 -0
  977. package/www/assets/images/png/placeholder-cover.png +0 -0
  978. package/www/assets/images/png/question-mark.png +0 -0
  979. package/www/assets/images/png/suitcase-icon.png +0 -0
  980. package/www/assets/images/png/twitter.png +0 -0
  981. package/www/assets/images/png/up-arrow.png +0 -0
  982. package/www/assets/images/png/user.png +0 -0
  983. package/www/assets/images/png/user_transparent.png +0 -0
  984. package/www/assets/images/png/youtube.png +0 -0
  985. package/www/assets/images/png/zanichelli-add-book-gray@8x.png +0 -0
  986. package/www/assets/images/png/zanichelli-book-remove-gray@8x.png +0 -0
  987. package/www/assets/images/png/zanichelli-error-image.png +0 -0
  988. package/www/assets/images/png/zanichelli-external-link-2@8x.png +0 -0
  989. package/www/assets/images/png/zanichelli-external-link-3@8x.png +0 -0
  990. package/www/assets/images/png/zanichelli-external-link@8x.png +0 -0
  991. package/www/assets/images/png/zanichelli-logo-2.png +0 -0
  992. package/www/assets/images/png/zanichelli-logo-footer.png +0 -0
  993. package/www/assets/images/png/zanichelli-logo.png +0 -0
  994. package/www/build/index.esm.js +0 -2
  995. package/www/build/index.esm.js.map +0 -1
  996. package/www/build/p-0380c815.entry.js +0 -2
  997. package/www/build/p-0380c815.entry.js.map +0 -1
  998. package/www/build/p-059963b6.entry.js +0 -2
  999. package/www/build/p-059963b6.entry.js.map +0 -1
  1000. package/www/build/p-06a196fb.entry.js +0 -2
  1001. package/www/build/p-06a196fb.entry.js.map +0 -1
  1002. package/www/build/p-08384d53.entry.js +0 -2
  1003. package/www/build/p-08384d53.entry.js.map +0 -1
  1004. package/www/build/p-0fb73edd.entry.js +0 -2
  1005. package/www/build/p-0fb73edd.entry.js.map +0 -1
  1006. package/www/build/p-12d5cd09.js +0 -2
  1007. package/www/build/p-188d1101.css +0 -2716
  1008. package/www/build/p-1b562386.entry.js +0 -2
  1009. package/www/build/p-1b562386.entry.js.map +0 -1
  1010. package/www/build/p-229dd532.entry.js +0 -2
  1011. package/www/build/p-229dd532.entry.js.map +0 -1
  1012. package/www/build/p-2780f6d9.entry.js +0 -2
  1013. package/www/build/p-2780f6d9.entry.js.map +0 -1
  1014. package/www/build/p-2a74e691.entry.js +0 -2
  1015. package/www/build/p-2a74e691.entry.js.map +0 -1
  1016. package/www/build/p-2e4db422.entry.js +0 -2
  1017. package/www/build/p-2e4db422.entry.js.map +0 -1
  1018. package/www/build/p-2eaf4b9b.entry.js +0 -2
  1019. package/www/build/p-2eaf4b9b.entry.js.map +0 -1
  1020. package/www/build/p-315ca31f.entry.js +0 -2
  1021. package/www/build/p-315ca31f.entry.js.map +0 -1
  1022. package/www/build/p-350ea24f.entry.js +0 -2
  1023. package/www/build/p-350ea24f.entry.js.map +0 -1
  1024. package/www/build/p-3574a17e.entry.js +0 -2
  1025. package/www/build/p-3574a17e.entry.js.map +0 -1
  1026. package/www/build/p-368f7af9.entry.js +0 -2
  1027. package/www/build/p-368f7af9.entry.js.map +0 -1
  1028. package/www/build/p-3a9a120f.entry.js +0 -2
  1029. package/www/build/p-3a9a120f.entry.js.map +0 -1
  1030. package/www/build/p-41966ee6.entry.js +0 -2
  1031. package/www/build/p-41966ee6.entry.js.map +0 -1
  1032. package/www/build/p-42cfc136.entry.js +0 -2
  1033. package/www/build/p-42cfc136.entry.js.map +0 -1
  1034. package/www/build/p-47d4000c.entry.js +0 -2
  1035. package/www/build/p-47d4000c.entry.js.map +0 -1
  1036. package/www/build/p-55693913.entry.js +0 -2
  1037. package/www/build/p-55693913.entry.js.map +0 -1
  1038. package/www/build/p-55c3310f.entry.js +0 -2
  1039. package/www/build/p-55c3310f.entry.js.map +0 -1
  1040. package/www/build/p-5ae84959.entry.js +0 -2
  1041. package/www/build/p-5ae84959.entry.js.map +0 -1
  1042. package/www/build/p-668b9254.entry.js +0 -17
  1043. package/www/build/p-668b9254.entry.js.map +0 -1
  1044. package/www/build/p-67051e01.entry.js +0 -3
  1045. package/www/build/p-67051e01.entry.js.map +0 -1
  1046. package/www/build/p-6af7c34f.entry.js +0 -2
  1047. package/www/build/p-6af7c34f.entry.js.map +0 -1
  1048. package/www/build/p-781d96de.entry.js +0 -2
  1049. package/www/build/p-781d96de.entry.js.map +0 -1
  1050. package/www/build/p-791a76d6.entry.js +0 -2
  1051. package/www/build/p-791a76d6.entry.js.map +0 -1
  1052. package/www/build/p-80f65c32.entry.js +0 -2
  1053. package/www/build/p-80f65c32.entry.js.map +0 -1
  1054. package/www/build/p-81c949eb.entry.js +0 -2
  1055. package/www/build/p-81c949eb.entry.js.map +0 -1
  1056. package/www/build/p-87be3ccc.entry.js +0 -2
  1057. package/www/build/p-87be3ccc.entry.js.map +0 -1
  1058. package/www/build/p-886382a7.entry.js +0 -2
  1059. package/www/build/p-886382a7.entry.js.map +0 -1
  1060. package/www/build/p-95af0156.entry.js +0 -2
  1061. package/www/build/p-95af0156.entry.js.map +0 -1
  1062. package/www/build/p-B6jtvVtV.js +0 -2
  1063. package/www/build/p-B6jtvVtV.js.map +0 -1
  1064. package/www/build/p-B85MJLTf.js +0 -2
  1065. package/www/build/p-B85MJLTf.js.map +0 -1
  1066. package/www/build/p-BRkq64wS.js +0 -2
  1067. package/www/build/p-BRkq64wS.js.map +0 -1
  1068. package/www/build/p-BcDWN4F1.js +0 -3
  1069. package/www/build/p-BcDWN4F1.js.map +0 -1
  1070. package/www/build/p-BjrC13Q0.js +0 -6
  1071. package/www/build/p-BjrC13Q0.js.map +0 -1
  1072. package/www/build/p-Bt1M0wUw.js +0 -7
  1073. package/www/build/p-Bt1M0wUw.js.map +0 -1
  1074. package/www/build/p-D1c5gR45.js +0 -2
  1075. package/www/build/p-D1c5gR45.js.map +0 -1
  1076. package/www/build/p-DPrEzmhI.js +0 -7
  1077. package/www/build/p-DPrEzmhI.js.map +0 -1
  1078. package/www/build/p-DdetsoIY.js +0 -2
  1079. package/www/build/p-DdetsoIY.js.map +0 -1
  1080. package/www/build/p-Q-tWjk7P.js +0 -2
  1081. package/www/build/p-Q-tWjk7P.js.map +0 -1
  1082. package/www/build/p-a4f5e7e9.entry.js +0 -2
  1083. package/www/build/p-a4f5e7e9.entry.js.map +0 -1
  1084. package/www/build/p-bc8eec12.entry.js +0 -2
  1085. package/www/build/p-bc8eec12.entry.js.map +0 -1
  1086. package/www/build/p-bdd9c781.entry.js +0 -2
  1087. package/www/build/p-bdd9c781.entry.js.map +0 -1
  1088. package/www/build/p-c15267bc.entry.js +0 -2
  1089. package/www/build/p-c15267bc.entry.js.map +0 -1
  1090. package/www/build/p-c3f69ac9.entry.js +0 -2
  1091. package/www/build/p-c3f69ac9.entry.js.map +0 -1
  1092. package/www/build/p-c983da75.entry.js +0 -2
  1093. package/www/build/p-c983da75.entry.js.map +0 -1
  1094. package/www/build/p-ce98069e.entry.js +0 -2
  1095. package/www/build/p-ce98069e.entry.js.map +0 -1
  1096. package/www/build/p-d4e212cc.entry.js +0 -2
  1097. package/www/build/p-d4e212cc.entry.js.map +0 -1
  1098. package/www/build/p-d4eb997c.entry.js +0 -2
  1099. package/www/build/p-d4eb997c.entry.js.map +0 -1
  1100. package/www/build/p-d8c06756.entry.js +0 -2
  1101. package/www/build/p-d8c06756.entry.js.map +0 -1
  1102. package/www/build/p-deed5153.entry.js +0 -2
  1103. package/www/build/p-deed5153.entry.js.map +0 -1
  1104. package/www/build/p-e160889a.entry.js +0 -2
  1105. package/www/build/p-e160889a.entry.js.map +0 -1
  1106. package/www/build/p-e1d1445c.entry.js +0 -2
  1107. package/www/build/p-e1d1445c.entry.js.map +0 -1
  1108. package/www/build/p-e2cdf19c.entry.js +0 -2
  1109. package/www/build/p-e2cdf19c.entry.js.map +0 -1
  1110. package/www/build/p-e972b9c2.entry.js +0 -2
  1111. package/www/build/p-e972b9c2.entry.js.map +0 -1
  1112. package/www/build/p-ee5ff565.entry.js +0 -2
  1113. package/www/build/p-ee5ff565.entry.js.map +0 -1
  1114. package/www/build/p-eea18ea6.entry.js +0 -2
  1115. package/www/build/p-eea18ea6.entry.js.map +0 -1
  1116. package/www/build/p-f7e11eab.entry.js +0 -2
  1117. package/www/build/p-f7e11eab.entry.js.map +0 -1
  1118. package/www/build/p-f8fd6f08.entry.js +0 -2
  1119. package/www/build/p-f8fd6f08.entry.js.map +0 -1
  1120. package/www/build/p-fdafba48.entry.js +0 -2
  1121. package/www/build/p-fdafba48.entry.js.map +0 -1
  1122. package/www/build/web-components-library.css +0 -2716
  1123. package/www/build/web-components-library.esm.js +0 -2
  1124. package/www/build/web-components-library.esm.js.map +0 -1
  1125. package/www/build/web-components-library.js +0 -33
  1126. package/www/host.config.json +0 -15
  1127. package/www/index.html +0 -3
  1128. package/www/pages/book-cards.html +0 -345
  1129. package/www/pages/file-upload.html +0 -258
  1130. package/www/pages/notification.html +0 -299
@@ -1,2 +1 @@
1
- import{p as e,H as t,h as i,d as r,t as o}from"./p-RmbDDbWd.js";import{d as a}from"./p-CbXEdwLi.js";const c=()=>`:host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}`;const s=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return i(r,{key:"dd8a6a8aba1009e581a91944a84850f53e054dbd",role:"listitem"},i("button",Object.assign({key:"186641b0594970354812cf014f8565fda837d4eb",class:"stepper-item",disabled:this.disabled},this.getAttributes()),i("div",{key:"b27c548e3b9e670031ac095df8858c7fd864ac5e",class:"indicator"},this.checked?i("z-icon",{name:"checkmark"}):this.index),i("span",{key:"7d079d8f9eb730da9883735563dd57dfcc74259a"},i("slot",{key:"f8b378d874e958668b83dad6f4688b4590783198"}))))}static get style(){return c()}},[257,"z-stepper-item",{index:[514],href:[513],pressed:[516],checked:[516],disabled:[516]}]);function n(){if(typeof customElements==="undefined"){return}const e=["z-stepper-item","z-icon"];e.forEach((e=>{switch(e){case"z-stepper-item":if(!customElements.get(o(e))){customElements.define(o(e),s)}break;case"z-icon":if(!customElements.get(o(e))){a()}break}}))}const d=s;const l=n;export{d as ZStepperItem,l as defineCustomElement};
2
- //# sourceMappingURL=z-stepper-item.js.map
1
+ import{p as e,H as t,h as r,d as i,t as o}from"./p-BGiYVwHD.js";import{d as s}from"./p-BDrfncDT.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}getAttributes(){const e=this.href&&!this.disabled?{onClick:()=>location.href=this.href}:void 0,t=e?{role:"link"}:void 0,r=this.pressed&&!this.disabled?{"aria-current":"step"}:void 0,i=""===this.href?{tabIndex:-1}:void 0,o=t||void 0===this.pressed?void 0:{"aria-pressed":this.pressed+""},s=void 0!==this.disabled?{"aria-disabled":this.disabled+""}:void 0;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),r),i),o),s)}render(){return r(i,{key:"f0e472ab78706ca2595eab96be09b292e43b64a4",role:"listitem"},r("button",Object.assign({key:"431a21a0276ab381b90e53daa5d476107b162cbe",class:"stepper-item",disabled:this.disabled},this.getAttributes(),{"aria-label":this.htmlAriaLabel}),r("div",{key:"8a94e23b42d0aedea680f388ddc17832fbb97905",class:"indicator"},this.checked?r("z-icon",{name:"checkmark"}):r("span",{class:"indicator-number"},this.index)),r("span",{key:"5c331ddb88e08e7b492ba266126dea9722816d6f"},r("slot",{key:"5e2f815cd03d435054ab6083530ded9b08ea9b89"}))))}static get style(){return':host{position:relative;display:flex;font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:18px;--z-icon-height:18px;--indicator-size:calc(var(--space-unit) * 3.5);--stepper-item-size:calc(var(--space-unit) * 3.5);--indicator-overflow:calc((var(--indicator-size) - var(--stepper-item-size)) / 2);--connector-top:calc(var(--stepper-item-size) / 2)}:host(:not(:first-child)){flex:1;justify-content:flex-end}:host(:not(:first-child))::before{position:absolute;z-index:1;top:var(--connector-top);right:calc(var(--stepper-item-size) + var(--indicator-overflow));left:0;display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);content:"";transform:translateY(-50%)}:host(:not([disabled],:first-child))::before{border-bottom:var(--border-size-large) solid var(--color-primary01)}.stepper-item{display:grid;width:var(--stepper-item-size);align-items:center;padding:0;border:0;appearance:none;background:transparent;gap:10px;grid-template-columns:var(--stepper-item-size);grid-template-rows:var(--stepper-item-size) auto;justify-items:center;outline:0;text-decoration:none}.indicator{position:relative;z-index:2;display:flex;width:var(--indicator-size);min-width:0;height:var(--indicator-size);min-height:0;box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px}.indicator-number{display:block;transform:translateY(0.04em)}.stepper-item span:not(.indicator-number){min-width:50px;align-self:start;color:var(--color-default-text);font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4;text-align:center}:host([pressed]){--indicator-size:calc(var(--space-unit) * 4)}:host([pressed]) .stepper-item{gap:8px}:host([pressed]) .stepper-item .indicator{font-size:var(--font-size-4);font-weight:var(--font-sb)}:host([pressed]) .stepper-item span:not(.indicator-number){font-weight:var(--font-sb);line-height:1.5}:host([href]:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-form-disabled01-icon);color:var(--color-form-disabled01-icon)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-primary01);background-color:var(--color-primary01)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-white)}@media (min-width: 1152px){:host{--z-icon-width:24px;--z-icon-height:24px;--indicator-size:calc(var(--space-unit) * 4.5);--stepper-item-size:calc(var(--space-unit) * 4.5)}.stepper-item{gap:12px}.stepper-item .indicator,.stepper-item span:not(.indicator-number){font-size:var(--font-size-3);line-height:1.5}:host([pressed]){--indicator-size:calc(var(--space-unit) * 5)}:host([pressed]) .stepper-item{gap:10px}:host([pressed]) .stepper-item .indicator{font-size:var(--font-size-6)}}@supports (text-box-trim: trim-both){.indicator-number{text-box-edge:cap alphabetic;text-box-trim:trim-both;transform:none}}'}},[257,"z-stepper-item",{index:[514],href:[513],pressed:[516],checked:[516],disabled:[516],htmlAriaLabel:[1,"html-aria-label"]}]),n=a,c=function(){"undefined"!=typeof customElements&&["z-stepper-item","z-icon"].forEach((e=>{switch(e){case"z-stepper-item":customElements.get(o(e))||customElements.define(o(e),a);break;case"z-icon":customElements.get(o(e))||s()}}))};export{n as ZStepperItem,c as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as e,h as s,d as n,t as i}from"./p-RmbDDbWd.js";const o=()=>`:host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}`;const a=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow()}render(){return s(n,{key:"e2eae6f73c524f4a2c72861732bf03b17f23ca75",role:"navigation"},s("slot",{key:"567a94fe682d471b145e8519be859dd860bd6669"}))}static get style(){return o()}},[257,"z-stepper"]);function r(){if(typeof customElements==="undefined"){return}const t=["z-stepper"];t.forEach((t=>{switch(t){case"z-stepper":if(!customElements.get(i(t))){customElements.define(i(t),a)}break}}))}const c=a;const d=r;export{c as ZStepper,d as defineCustomElement};
2
- //# sourceMappingURL=z-stepper.js.map
1
+ import{p as e,H as t,h as s,d as i,t as r}from"./p-BGiYVwHD.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"1452eb9f08520efc9cef3ed933725bb11b631bcb",role:"navigation"},s("div",{key:"b2f7c6dc2e8e3912ae2f9344a3a2de06c47905c5",class:"stepper-list",role:"list"},s("slot",{key:"cfb5547bd5d129db5f0408bc5ae4802ba8d4aea8"})))}static get style(){return":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.stepper-list{display:flex;width:100%;box-sizing:border-box;flex-direction:row;padding:0 calc(var(--space-unit) * 3);margin:0}"}},[257,"z-stepper"]),a=o,n=function(){"undefined"!=typeof customElements&&["z-stepper"].forEach((e=>{"z-stepper"===e&&(customElements.get(r(e))||customElements.define(r(e),o))}))};export{a as ZStepper,n as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as e,h as r,d as a,t as o}from"./p-RmbDDbWd.js";import"./p-DdetsoIY.js";import"./p-Q-tWjk7P.js";import"./p-D1c5gR45.js";import"./p-D8wde41u.js";const l=()=>`:host{position:relative;display:block;overflow:auto;min-width:max-content;max-width:100%;box-sizing:border-box;padding:var(--space-unit)}:host([expandable]){--z-table--expand-button-size:40px}`;const b=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const s=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.bordered=false;this.expandable=false}updateExpandable(){this.expandable=this.host.querySelectorAll("z-tr[expandable]").length>0}componentWillLoad(){this.expandableMutationObserver=new MutationObserver((()=>{this.updateExpandable()}));this.expandableMutationObserver.observe(this.host,{childList:true,subtree:true,attributes:true,attributeFilter:["expandable"],attributeOldValue:false})}disconnectedCallback(){var t;(t=this.expandableMutationObserver)===null||t===void 0?void 0:t.disconnect()}render(){return r(a,{key:"07719fd45b5b0cc2e5d5798f397048b4e233ce88",expandable:this.expandable},r("div",{key:"f333241ac885ebdaeed659b2aeb1f6af811fa0ec",class:"table",role:"table"},r("slot",{key:"e9072d50375eb35757b393ec5a843459dafd4cc2"})))}get host(){return this}static get style(){return l()+b()}},[257,"z-table",{bordered:[516],expandable:[32]}]);function d(){if(typeof customElements==="undefined"){return}const t=["z-table"];t.forEach((t=>{switch(t){case"z-table":if(!customElements.get(o(t))){customElements.define(o(t),s)}break}}))}const i=s;const c=d;export{i as ZTable,c as defineCustomElement};
2
- //# sourceMappingURL=z-table.js.map
1
+ import{p as t,H as e,h as r,d as a,t as o}from"./p-BGiYVwHD.js";import"./p-DdetsoIY.js";import"./p-Q-tWjk7P.js";import"./p-D1c5gR45.js";import"./p-CglJlGxH.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),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(){var t;null===(t=this.expandableMutationObserver)||void 0===t||t.disconnect()}render(){return r(a,{key:"a02fb0983c15070f36aa843c48418bc8925817b9",expandable:this.expandable},r("div",{key:"d70e69d57f3e97d5c97e515563216a29e4a0a312",class:"table",role:"table"},r("slot",{key:"19dacd5a652ec5973282c8e5ed7eeb2cf909a50e"})))}get host(){return this}static get style(){return':host{position:relative;display:block;overflow:auto;min-width:max-content;max-width:100%;box-sizing:border-box;padding:var(--space-unit)}:host([expandable]){--z-table--expand-button-size:40px}z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}'}},[257,"z-table",{bordered:[516],expandable:[32]}]),b=l,s=function(){"undefined"!=typeof customElements&&["z-table"].forEach((t=>{"z-table"===t&&(customElements.get(o(t))||customElements.define(o(t),l))}))};export{b as ZTable,s as defineCustomElement}
@@ -1,2 +1 @@
1
- import{Z as o,d as s}from"./p-BoiZb7m1.js";const t=o;const m=s;export{t as ZTag,m as defineCustomElement};
2
- //# sourceMappingURL=z-tag.js.map
1
+ import{Z as o,d as s}from"./p-B5m6684q.js";const m=o,p=s;export{m as ZTag,p as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as e,h as r,d as o,t as a}from"./p-RmbDDbWd.js";const l=()=>`:host{display:block;box-sizing:border-box}`;const b=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const d=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow()}render(){return r(o,{key:"5dab686ef543637640d464ad532250d642f73508",role:"rowgroup"},r("slot",{key:"36c4272ae7ba5eee71ffc682ca0d086c1a6cdc07"}))}static get style(){return l()+b()}},[257,"z-tbody"]);function s(){if(typeof customElements==="undefined"){return}const t=["z-tbody"];t.forEach((t=>{switch(t){case"z-tbody":if(!customElements.get(a(t))){customElements.define(a(t),d)}break}}))}const c=d;const i=s;export{c as ZTbody,i as defineCustomElement};
2
- //# sourceMappingURL=z-tbody.js.map
1
+ import{p as t,H as e,h as r,d as o,t as a}from"./p-BGiYVwHD.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return r(o,{key:"9cae384882eb06e5e0ec93393ac6849e22da48c5",role:"rowgroup"},r("slot",{key:"64c4e7e784638e3f7319783429b29f1e2a38b584"}))}static get style(){return':host{display:block;box-sizing:border-box}z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}'}},[257,"z-tbody"]),b=l,d=function(){"undefined"!=typeof customElements&&["z-tbody"].forEach((t=>{"z-tbody"===t&&(customElements.get(a(t))||customElements.define(a(t),l))}))};export{b as ZTbody,d as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as e,H as t,c as o,h as a,d as r,t as s}from"./p-RmbDDbWd.js";import{P as l,e as n,B as i}from"./p-DdetsoIY.js";import{d as c}from"./p-BAguKZnb.js";import{d as b}from"./p-CbXEdwLi.js";import{d}from"./p-D8wde41u.js";const h=()=>`:host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}`;const p=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const u=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.colspanChange=o(this,"colspanChange",6);this.sticky=false;this.showMenu=null;this.popoverPosition=l.AUTO;this.isMenuOpen=false}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}this.colspanChange.emit(this.colspan||1)}onMenuButtonClick(e){e.stopPropagation();this.popoverEl.open=!this.popoverEl.open}componentWillLoad(){this.updateColspan()}render(){return a(r,{key:"4ea61b4c4d2e924b925e7b8f579e6827e0ee22c8",role:"cell","menu-open":this.isMenuOpen},a("div",{key:"98db4baee9fbf028c36f201b1fca8959bf955eb8",class:"cell--content"},a("slot",{key:"633725c94623d66b2e4c2820bfb0453d500b6ac6"}),this.showMenu&&a("div",{key:"61f2fb0cc589bc32acd0e51b7ddae92be78d18f0",class:"cell--menu-container prevent-expand"},a("z-button",{key:"86132a5a7762b97d0646071d54339930269d1ce3",variant:i.TERTIARY,icon:"contextual-menu",size:n.X_SMALL,ref:e=>this.menuTrigger=e,onClick:this.onMenuButtonClick.bind(this)}),a("z-popover",{key:"bf2d2b8f0114562d49cd4a88b895b2b9dca22389",class:"cell-popover",ref:e=>this.popoverEl=e,bindTo:this.menuTrigger,onOpenChange:e=>this.isMenuOpen=e.detail.open,position:this.popoverPosition},a("slot",{key:"f3512195bf82945f0fca0ca3c3c389d04b5d98c0",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return h()+p()}},[257,"z-td",{colspan:[2],sticky:[516],showMenu:[513,"show-menu"],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},undefined,{colspan:[{updateColspan:0}]}]);function f(){if(typeof customElements==="undefined"){return}const e=["z-td","z-button","z-icon","z-popover"];e.forEach((e=>{switch(e){case"z-td":if(!customElements.get(s(e))){customElements.define(s(e),u)}break;case"z-button":if(!customElements.get(s(e))){c()}break;case"z-icon":if(!customElements.get(s(e))){b()}break;case"z-popover":if(!customElements.get(s(e))){d()}break}}))}const m=u;const z=f;export{m as ZTd,z as defineCustomElement};
2
- //# sourceMappingURL=z-td.js.map
1
+ import{p as e,H as t,c as o,h as a,d as r,t as l}from"./p-BGiYVwHD.js";import{P as s,e as n,B as i}from"./p-DdetsoIY.js";import{d as c}from"./p-CIYmV_99.js";import{d}from"./p-BDrfncDT.js";import{d as b}from"./p-CglJlGxH.js";const h=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.colspanChange=o(this,"colspanChange",6),this.sticky=!1,this.showMenu=null,this.popoverPosition=s.AUTO,this.isMenuOpen=!1}updateColspan(){this.colspan?this.host.style.gridColumn="span "+this.colspan:this.host.style.removeProperty("grid-column"),this.colspanChange.emit(this.colspan||1)}onMenuButtonClick(e){e.stopPropagation(),this.popoverEl.open=!this.popoverEl.open}componentWillLoad(){this.updateColspan()}render(){return a(r,{key:"6f49c2168c28a2acd1eb77401b6664a909770330",role:"cell","menu-open":this.isMenuOpen},a("div",{key:"dca80731605efa309f88f6c4e5b3e05fc1b6f2d8",class:"cell--content"},a("slot",{key:"980d81d5d5296f41f535488dcad732e5d5eb58ce"}),this.showMenu&&a("div",{key:"f58e65a67d7a897be2bcbec22b50b8efb4d82995",class:"cell--menu-container prevent-expand"},a("z-button",{key:"3d701ae5ba5af6372fad70bc0582a46ac48b75c2",variant:i.TERTIARY,icon:"contextual-menu",size:n.X_SMALL,ref:e=>this.menuTrigger=e,onClick:this.onMenuButtonClick.bind(this)}),a("z-popover",{key:"5d5f94967a72ffdb7384c071d965e90abfb8ea0b",class:"cell-popover",ref:e=>this.popoverEl=e,bindTo:this.menuTrigger,onOpenChange:e=>this.isMenuOpen=e.detail.open,position:this.popoverPosition},a("slot",{key:"fef55973f37e93062c6e3229fdbdd5311d0f2920",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return':host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}'}},[257,"z-td",{colspan:[2],sticky:[516],showMenu:[513,"show-menu"],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},void 0,{colspan:[{updateColspan:0}]}]),p=h,u=function(){"undefined"!=typeof customElements&&["z-td","z-button","z-icon","z-popover"].forEach((e=>{switch(e){case"z-td":customElements.get(l(e))||customElements.define(l(e),h);break;case"z-button":customElements.get(l(e))||c();break;case"z-icon":customElements.get(l(e))||d();break;case"z-popover":customElements.get(l(e))||b()}}))};export{p as ZTd,u as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as e,h as o,d as r,t as a}from"./p-RmbDDbWd.js";const l=()=>`:host{display:block;box-sizing:border-box;margin-top:-1px}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}`;const b=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const s=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.sticky=false}render(){return o(r,{key:"a5e96868b6f2f28cd25fe134b8346f0f9d800de1",role:"rowgroup",tabIndex:-1},o("slot",{key:"bbb1478d0fdd700bf4e9601eb7d008f54ff02cb3"}))}static get style(){return l()+b()}},[257,"z-tfoot",{sticky:[516]}]);function d(){if(typeof customElements==="undefined"){return}const t=["z-tfoot"];t.forEach((t=>{switch(t){case"z-tfoot":if(!customElements.get(a(t))){customElements.define(a(t),s)}break}}))}const c=s;const i=d;export{c as ZTfoot,i as defineCustomElement};
2
- //# sourceMappingURL=z-tfoot.js.map
1
+ import{p as t,H as e,h as o,d as r,t as a}from"./p-BGiYVwHD.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.sticky=!1}render(){return o(r,{key:"760c32f2385aff5e84785bc1415b5cf29fd063da",role:"rowgroup",tabIndex:-1},o("slot",{key:"c36cf634b18c1216cfc6f31abe07b53600305737"}))}static get style(){return':host{display:block;box-sizing:border-box;margin-top:-1px}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}'}},[257,"z-tfoot",{sticky:[516]}]),b=l,s=function(){"undefined"!=typeof customElements&&["z-tfoot"].forEach((t=>{"z-tfoot"===t&&(customElements.get(a(t))||customElements.define(a(t),l))}))};export{b as ZTfoot,s as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as e,c as o,h as r,d as s,t as a}from"./p-RmbDDbWd.js";import{P as n,S as i,e as l,B as c}from"./p-DdetsoIY.js";import{d as h}from"./p-BAguKZnb.js";import{d}from"./p-CbXEdwLi.js";import{d as b}from"./p-D8wde41u.js";const u=()=>`:host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}`;const p=()=>`:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}.z-th--sort-button:focus,.z-th--sort-button:focus-visible{box-shadow:var(--shadow-focus-primary);opacity:1;outline:none;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-sorting="hover"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting="hover"]:hover) .z-th--sort-button,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting="always"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting="hover"]:hover) .z-th--sort-button::after,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting="always"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:""}`;const f=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const v=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.sort=o(this,"sort",7);this.showMenu=null;this.showSorting=null;this.sticky=false;this.sorted=false;this.popoverPosition=n.AUTO;this.isMenuOpen=false}get ariaSortDirection(){if(!this.sortDirection){return null}return this.sortDirection===i.ASC?"ascending":"descending"}handleSort(){if(!this.sortDirection){this.sorted=false;return}this.sortDirection=this.sortDirection===i.ASC?i.DESC:i.ASC;this.sorted=true;this.sort.emit({sortDirection:this.sortDirection})}updateColspan(){if(this.colspan){this.host.style.gridColumn=`span ${this.colspan}`}else{this.host.style.removeProperty("grid-column")}}componentWillLoad(){this.updateColspan()}render(){return r(s,{key:"d677564cf6d2351a9188098d58b98e4bf9ffbf9e",role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection,sortable:this.showSorting},r("div",{key:"267fd4a41682a6a1475ba74739ff148957dc6626",class:"cell--content"},r("slot",{key:"a77588e6dd5645f6b384a7564a06cffae72bed4e"}),this.showSorting&&r("button",{key:"8a565667e7bdbd223d38efe7be5128c69947577c",class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},r("z-icon",{key:"a527e6e217f5cbabf1baac1c292111ab406aa792",name:this.sortDirection===i.DESC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&r("div",{key:"396eb46a6aa10d47419cd437412ce69d797f2047",class:"cell--menu-container"},r("z-button",{key:"6e014d9922c15041950772ee0c377b9f31d4d743",variant:c.TERTIARY,icon:"contextual-menu",size:l.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),r("z-popover",{key:"11a7861d3151f616c9d9761709611bac37a02ec6",ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},r("slot",{key:"99545a1fb846906941ce882d6f21676de1fa7fb2",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return u()+(p()+f())}},[257,"z-th",{colspan:[2],showMenu:[513,"show-menu"],showSorting:[513,"show-sorting"],sticky:[516],sortDirection:[1025,"sort-direction"],sorted:[1540],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},undefined,{colspan:[{updateColspan:0}]}]);function z(){if(typeof customElements==="undefined"){return}const t=["z-th","z-button","z-icon","z-popover"];t.forEach((t=>{switch(t){case"z-th":if(!customElements.get(a(t))){customElements.define(a(t),v)}break;case"z-button":if(!customElements.get(a(t))){h()}break;case"z-icon":if(!customElements.get(a(t))){d()}break;case"z-popover":if(!customElements.get(a(t))){b()}break}}))}const m=v;const g=z;export{m as ZTh,g as defineCustomElement};
2
- //# sourceMappingURL=z-th.js.map
1
+ import{p as t,H as o,c as e,h as r,d as s,t as a}from"./p-BGiYVwHD.js";import{P as n,S as i,e as l,B as c}from"./p-DdetsoIY.js";import{d as h}from"./p-CIYmV_99.js";import{d}from"./p-BDrfncDT.js";import{d as b}from"./p-CglJlGxH.js";const u=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.sort=e(this,"sort",7),this.showMenu=null,this.showSorting=null,this.sticky=!1,this.sorted=!1,this.popoverPosition=n.AUTO,this.isMenuOpen=!1}get ariaSortDirection(){return this.sortDirection?this.sortDirection===i.ASC?"ascending":"descending":null}handleSort(){this.sortDirection?(this.sortDirection=this.sortDirection===i.ASC?i.DESC:i.ASC,this.sorted=!0,this.sort.emit({sortDirection:this.sortDirection})):this.sorted=!1}updateColspan(){this.colspan?this.host.style.gridColumn="span "+this.colspan:this.host.style.removeProperty("grid-column")}componentWillLoad(){this.updateColspan()}render(){return r(s,{key:"db3a788009481e7bf625db4787850ddfc9b65203",role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection,sortable:this.showSorting},r("div",{key:"b9e3d66c8b74bd054257deccf64575bad12166b4",class:"cell--content"},r("slot",{key:"b9297277121a0798491644ca9e7fd86e99766975"}),this.showSorting&&r("button",{key:"e2fa7f525d8138c95540ce5216e7d0df9fecdfd4",class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},r("z-icon",{key:"3c8b5d576386da794abdbc4ea48e9d9bab2ad1c9",name:this.sortDirection===i.DESC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&r("div",{key:"38a8b3f1cd7dd75c90953179c8527484f2c17fc7",class:"cell--menu-container"},r("z-button",{key:"f5ce6e168efba6c456a6fedad8a0103e37130d13",variant:c.TERTIARY,icon:"contextual-menu",size:l.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),r("z-popover",{key:"c989b847fa08f6b9f7a87a645c52a1163191b406",ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},r("slot",{key:"aac102b6bbc90923ce404a1b6499cf58c7277a00",name:"contextual-menu"})))))}get host(){return this}static get watchers(){return{colspan:[{updateColspan:0}]}}static get style(){return':host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}.z-th--sort-button:focus,.z-th--sort-button:focus-visible{box-shadow:var(--shadow-focus-primary);opacity:1;outline:none;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-sorting="hover"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting="hover"]:hover) .z-th--sort-button,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting="always"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting="hover"]:hover) .z-th--sort-button::after,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting="always"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:""}z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}'}},[257,"z-th",{colspan:[2],showMenu:[513,"show-menu"],showSorting:[513,"show-sorting"],sticky:[516],sortDirection:[1025,"sort-direction"],sorted:[1540],popoverPosition:[1,"popover-position"],isMenuOpen:[32]},void 0,{colspan:[{updateColspan:0}]}]),p=u,f=function(){"undefined"!=typeof customElements&&["z-th","z-button","z-icon","z-popover"].forEach((t=>{switch(t){case"z-th":customElements.get(a(t))||customElements.define(a(t),u);break;case"z-button":customElements.get(a(t))||h();break;case"z-icon":customElements.get(a(t))||d();break;case"z-popover":customElements.get(a(t))||b()}}))};export{p as ZTh,f as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as e,h as o,d as r,t as a}from"./p-RmbDDbWd.js";const l=()=>`:host{--z-table--cells-background:var( --color-background );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}`;const b=()=>`z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}`;const s=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.sticky=false;this.isFocusable=false}render(){return o(r,{key:"7344ed54861bf06e14d98898db49edb576668e9b",role:"rowgroup",tabIndex:this.isFocusable?0:-1},o("slot",{key:"72be057fd58c9da5280dee692324cb5192865dba"}))}get host(){return this}static get style(){return l()+b()}},[257,"z-thead",{sticky:[516],isFocusable:[516,"is-focusable"]}]);function d(){if(typeof customElements==="undefined"){return}const t=["z-thead"];t.forEach((t=>{switch(t){case"z-thead":if(!customElements.get(a(t))){customElements.define(a(t),s)}break}}))}const c=s;const i=d;export{c as ZThead,i as defineCustomElement};
2
- //# sourceMappingURL=z-thead.js.map
1
+ import{p as t,H as e,h as o,d as r,t as a}from"./p-BGiYVwHD.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.sticky=!1,this.isFocusable=!1}render(){return o(r,{key:"daa59cf6627acea2cbd48f1b56910a22146f90f3",role:"rowgroup",tabIndex:this.isFocusable?0:-1},o("slot",{key:"ba7897a89465398dff471d7eb9d7a0d276599269"}))}get host(){return this}static get style(){return':host{--z-table--cells-background:var( --color-background );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover>tbody>tr:hover>td,table.z-table-hover>tfoot>tr:hover>td{position:relative;background-color:var(--color-surface02)}table.z-table-hover>tbody>tr:hover>td::after,table.z-table-hover>tfoot>tr:hover>td::after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:-1px;box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04);content:""}table.z-table-hover>tbody>tr:hover>td:first-child::after,table.z-table-hover>thead>tr:hover>th:first-child::after,table.z-table-hover>tfoot>tr:hover>td:first-child::after{left:0}'}},[257,"z-thead",{sticky:[516],isFocusable:[516,"is-focusable"]}]),b=l,s=function(){"undefined"!=typeof customElements&&["z-thead"].forEach((t=>{"z-thead"===t&&(customElements.get(a(t))||customElements.define(a(t),l))}))};export{b as ZThead,s as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as t,H as o,h as s,t as i}from"./p-RmbDDbWd.js";import{s as e}from"./p-DdetsoIY.js";const n=()=>`: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}}`;const a=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.position=e.TOP_RIGHT;this.newestontop=true;this.notificationArray=[]}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse());if(t){this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}else{this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}}componentWillLoad(){if(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.bind(this))}slotChangeHandler(){const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));if(t){t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove();this.hostElement.prepend(o)}))}}render(){return s("slot",{key:"124469b727158c7221ff11aa3b0614bd28591a50",name:"toasts"})}get hostElement(){return this}static get watchers(){return{newestontop:[{watchPropNewestontop:0}]}}static get style(){return n()}},[257,"z-toast-notification-list",{position:[513],newestontop:[4]},undefined,{newestontop:[{watchPropNewestontop:0}]}]);function l(){if(typeof customElements==="undefined"){return}const t=["z-toast-notification-list"];t.forEach((t=>{switch(t){case"z-toast-notification-list":if(!customElements.get(i(t))){customElements.define(i(t),a)}break}}))}const r=a;const c=l;export{r as ZToastNotificationList,c as defineCustomElement};
2
- //# sourceMappingURL=z-toast-notification-list.js.map
1
+ import{p as t,H as o,h as s,t as i}from"./p-BGiYVwHD.js";import{s as e}from"./p-DdetsoIY.js";const n=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.position=e.TOP_RIGHT,this.newestontop=!0,this.notificationArray=[]}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.bind(this))}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 s("slot",{key:"ba72267ac380c3288ba5d0be6a6bc47e86e81f40",name:"toasts"})}get hostElement(){return this}static get watchers(){return{newestontop:[{watchPropNewestontop:0}]}}static get style(){return':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}}'}},[257,"z-toast-notification-list",{position:[513],newestontop:[4]},void 0,{newestontop:[{watchPropNewestontop:0}]}]),a=n,l=function(){"undefined"!=typeof customElements&&["z-toast-notification-list"].forEach((t=>{"z-toast-notification-list"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))};export{a as ZToastNotificationList,l as defineCustomElement}
@@ -1,3 +1,2 @@
1
- import{p as t,H as e,c as n,h as i,d as o,t as a}from"./p-RmbDDbWd.js";import{r,g as s}from"./p-DdetsoIY.js";import{d as l}from"./p-CbXEdwLi.js";
2
- /*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */const{entries:c,setPrototypeOf:f,isFrozen:u,getPrototypeOf:d,getOwnPropertyDescriptor:m}=Object;let{freeze:p,seal:h,create:g}=Object;let{apply:b,construct:y}=typeof Reflect!=="undefined"&&Reflect;if(!p){p=function t(e){return e}}if(!h){h=function t(e){return e}}if(!b){b=function t(e,n){for(var i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++){o[a-2]=arguments[a]}return e.apply(n,o)}}if(!y){y=function t(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++){i[o-1]=arguments[o]}return new e(...i)}}const w=M(Array.prototype.forEach);const v=M(Array.prototype.lastIndexOf);const x=M(Array.prototype.pop);const k=M(Array.prototype.push);const T=M(Array.prototype.splice);const A=M(String.prototype.toLowerCase);const E=M(String.prototype.toString);const S=M(String.prototype.match);const z=M(String.prototype.replace);const R=M(String.prototype.indexOf);const _=M(String.prototype.trim);const D=M(Object.prototype.hasOwnProperty);const P=M(RegExp.prototype.test);const L=O(TypeError);function M(t){return function(e){if(e instanceof RegExp){e.lastIndex=0}for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++){i[o-1]=arguments[o]}return b(t,e,i)}}function O(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++){n[i]=arguments[i]}return y(t,n)}}function I(t,e){let n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:A;if(f){f(t,null)}let i=e.length;while(i--){let o=e[i];if(typeof o==="string"){const t=n(o);if(t!==o){if(!u(e)){e[i]=t}o=t}}t[o]=true}return t}function C(t){for(let e=0;e<t.length;e++){const n=D(t,e);if(!n){t[e]=null}}return t}function F(t){const e=g(null);for(const[n,i]of c(t)){const o=D(t,n);if(o){if(Array.isArray(i)){e[n]=C(i)}else if(i&&typeof i==="object"&&i.constructor===Object){e[n]=F(i)}else{e[n]=i}}}return e}function N(t,e){while(t!==null){const n=m(t,e);if(n){if(n.get){return M(n.get)}if(typeof n.value==="function"){return M(n.value)}}t=d(t)}function n(){return null}return n}const j=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const B=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const U=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const X=p(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const Y=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const W=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const H=p(["#text"]);const $=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const q=p(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const G=p(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const K=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const V=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const J=h(/<%[\w\W]*|[\w\W]*%>/gm);const Q=h(/\$\{[\w\W]*/gm);const Z=h(/^data-[\-\w.\u00B7-\uFFFF]+$/);const tt=h(/^aria-[\-\w]+$/);const et=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const nt=h(/^(?:\w+script|data):/i);const it=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const ot=h(/^html$/i);const at=h(/^[a-z][.\w]*(-[.\w]+)+$/i);var rt=Object.freeze({__proto__:null,ARIA_ATTR:tt,ATTR_WHITESPACE:it,CUSTOM_ELEMENT:at,DATA_ATTR:Z,DOCTYPE_NAME:ot,ERB_EXPR:J,IS_ALLOWED_URI:et,IS_SCRIPT_OR_DATA:nt,MUSTACHE_EXPR:V,TMPLIT_EXPR:Q});const st={element:1,text:3,progressingInstruction:7,comment:8,document:9};const lt=function t(){return typeof window==="undefined"?null:window};const ct=function t(e,n){if(typeof e!=="object"||typeof e.createPolicy!=="function"){return null}let i=null;const o="data-tt-policy-suffix";if(n&&n.hasAttribute(o)){i=n.getAttribute(o)}const a="dompurify"+(i?"#"+i:"");try{return e.createPolicy(a,{createHTML(t){return t},createScriptURL(t){return t}})}catch(t){console.warn("TrustedTypes policy "+a+" could not be created.");return null}};const ft=function t(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ut(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:lt();const e=t=>ut(t);e.version="3.4.0";e.removed=[];if(!t||!t.document||t.document.nodeType!==st.document||!t.Element){e.isSupported=false;return e}let{document:n}=t;const i=n;const o=i.currentScript;const{DocumentFragment:a,HTMLTemplateElement:r,Node:s,Element:l,NodeFilter:f,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:m,trustedTypes:h}=t;const b=l.prototype;const y=N(b,"cloneNode");const M=N(b,"remove");const O=N(b,"nextSibling");const C=N(b,"childNodes");const V=N(b,"parentNode");if(typeof r==="function"){const t=n.createElement("template");if(t.content&&t.content.ownerDocument){n=t.content.ownerDocument}}let J;let Q="";const{implementation:Z,createNodeIterator:tt,createDocumentFragment:nt,getElementsByTagName:it}=n;const{importNode:at}=i;let dt=ft();e.isSupported=typeof c==="function"&&typeof V==="function"&&Z&&Z.createHTMLDocument!==undefined;const{MUSTACHE_EXPR:mt,ERB_EXPR:pt,TMPLIT_EXPR:ht,DATA_ATTR:gt,ARIA_ATTR:bt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:wt,CUSTOM_ELEMENT:vt}=rt;let{IS_ALLOWED_URI:xt}=rt;let kt=null;const Tt=I({},[...j,...B,...U,...Y,...H]);let At=null;const Et=I({},[...$,...q,...G,...K]);let St=Object.seal(g(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let zt=null;let Rt=null;const _t=Object.seal(g(null,{tagCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeCheck:{writable:true,configurable:false,enumerable:true,value:null}}));let Dt=true;let Pt=true;let Lt=false;let Mt=true;let Ot=false;let It=true;let Ct=false;let Ft=false;let Nt=false;let jt=false;let Bt=false;let Ut=false;let Xt=true;let Yt=false;const Wt="user-content-";let Ht=true;let $t=false;let qt={};let Gt=null;const Kt=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Jt=I({},["audio","video","img","source","image","track"]);let Qt=null;const Zt=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const te="http://www.w3.org/1998/Math/MathML";const ee="http://www.w3.org/2000/svg";const ne="http://www.w3.org/1999/xhtml";let ie=ne;let oe=false;let ae=null;const re=I({},[te,ee,ne],E);let se=I({},["mi","mo","mn","ms","mtext"]);let le=I({},["annotation-xml"]);const ce=I({},["title","style","font","a","script"]);let fe=null;const ue=["application/xhtml+xml","text/html"];const de="text/html";let me=null;let pe=null;const he=n.createElement("form");const ge=function t(e){return e instanceof RegExp||e instanceof Function};const be=function t(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(pe&&pe===e){return}if(!e||typeof e!=="object"){e={}}e=F(e);fe=ue.indexOf(e.PARSER_MEDIA_TYPE)===-1?de:e.PARSER_MEDIA_TYPE;me=fe==="application/xhtml+xml"?E:A;kt=D(e,"ALLOWED_TAGS")?I({},e.ALLOWED_TAGS,me):Tt;At=D(e,"ALLOWED_ATTR")?I({},e.ALLOWED_ATTR,me):Et;ae=D(e,"ALLOWED_NAMESPACES")?I({},e.ALLOWED_NAMESPACES,E):re;Qt=D(e,"ADD_URI_SAFE_ATTR")?I(F(Zt),e.ADD_URI_SAFE_ATTR,me):Zt;Vt=D(e,"ADD_DATA_URI_TAGS")?I(F(Jt),e.ADD_DATA_URI_TAGS,me):Jt;Gt=D(e,"FORBID_CONTENTS")?I({},e.FORBID_CONTENTS,me):Kt;zt=D(e,"FORBID_TAGS")?I({},e.FORBID_TAGS,me):F({});Rt=D(e,"FORBID_ATTR")?I({},e.FORBID_ATTR,me):F({});qt=D(e,"USE_PROFILES")?e.USE_PROFILES:false;Dt=e.ALLOW_ARIA_ATTR!==false;Pt=e.ALLOW_DATA_ATTR!==false;Lt=e.ALLOW_UNKNOWN_PROTOCOLS||false;Mt=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;Ot=e.SAFE_FOR_TEMPLATES||false;It=e.SAFE_FOR_XML!==false;Ct=e.WHOLE_DOCUMENT||false;jt=e.RETURN_DOM||false;Bt=e.RETURN_DOM_FRAGMENT||false;Ut=e.RETURN_TRUSTED_TYPE||false;Nt=e.FORCE_BODY||false;Xt=e.SANITIZE_DOM!==false;Yt=e.SANITIZE_NAMED_PROPS||false;Ht=e.KEEP_CONTENT!==false;$t=e.IN_PLACE||false;xt=e.ALLOWED_URI_REGEXP||et;ie=e.NAMESPACE||ne;se=e.MATHML_TEXT_INTEGRATION_POINTS||se;le=e.HTML_INTEGRATION_POINTS||le;St=e.CUSTOM_ELEMENT_HANDLING||g(null);if(e.CUSTOM_ELEMENT_HANDLING&&ge(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){St.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&ge(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){St.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){St.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(Ot){Pt=false}if(Bt){jt=true}if(qt){kt=I({},H);At=g(null);if(qt.html===true){I(kt,j);I(At,$)}if(qt.svg===true){I(kt,B);I(At,q);I(At,K)}if(qt.svgFilters===true){I(kt,U);I(At,q);I(At,K)}if(qt.mathMl===true){I(kt,Y);I(At,G);I(At,K)}}_t.tagCheck=null;_t.attributeCheck=null;if(e.ADD_TAGS){if(typeof e.ADD_TAGS==="function"){_t.tagCheck=e.ADD_TAGS}else{if(kt===Tt){kt=F(kt)}I(kt,e.ADD_TAGS,me)}}if(e.ADD_ATTR){if(typeof e.ADD_ATTR==="function"){_t.attributeCheck=e.ADD_ATTR}else{if(At===Et){At=F(At)}I(At,e.ADD_ATTR,me)}}if(e.ADD_URI_SAFE_ATTR){I(Qt,e.ADD_URI_SAFE_ATTR,me)}if(e.FORBID_CONTENTS){if(Gt===Kt){Gt=F(Gt)}I(Gt,e.FORBID_CONTENTS,me)}if(e.ADD_FORBID_CONTENTS){if(Gt===Kt){Gt=F(Gt)}I(Gt,e.ADD_FORBID_CONTENTS,me)}if(Ht){kt["#text"]=true}if(Ct){I(kt,["html","head","body"])}if(kt.table){I(kt,["tbody"]);delete zt.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}J=e.TRUSTED_TYPES_POLICY;Q=J.createHTML("")}else{if(J===undefined){J=ct(h,o)}if(J!==null&&typeof Q==="string"){Q=J.createHTML("")}}if(p){p(e)}pe=e};const ye=I({},[...B,...U,...X]);const we=I({},[...Y,...W]);const ve=function t(e){let n=V(e);if(!n||!n.tagName){n={namespaceURI:ie,tagName:"template"}}const i=A(e.tagName);const o=A(n.tagName);if(!ae[e.namespaceURI]){return false}if(e.namespaceURI===ee){if(n.namespaceURI===ne){return i==="svg"}if(n.namespaceURI===te){return i==="svg"&&(o==="annotation-xml"||se[o])}return Boolean(ye[i])}if(e.namespaceURI===te){if(n.namespaceURI===ne){return i==="math"}if(n.namespaceURI===ee){return i==="math"&&le[o]}return Boolean(we[i])}if(e.namespaceURI===ne){if(n.namespaceURI===ee&&!le[o]){return false}if(n.namespaceURI===te&&!se[o]){return false}return!we[i]&&(ce[i]||!ye[i])}if(fe==="application/xhtml+xml"&&ae[e.namespaceURI]){return true}return false};const xe=function t(n){k(e.removed,{element:n});try{V(n).removeChild(n)}catch(t){M(n)}};const ke=function t(n,i){try{k(e.removed,{attribute:i.getAttributeNode(n),from:i})}catch(t){k(e.removed,{attribute:null,from:i})}i.removeAttribute(n);if(n==="is"){if(jt||Bt){try{xe(i)}catch(t){}}else{try{i.setAttribute(n,"")}catch(t){}}}};const Te=function t(e){let i=null;let o=null;if(Nt){e="<remove></remove>"+e}else{const t=S(e,/^[\r\n\t ]+/);o=t&&t[0]}if(fe==="application/xhtml+xml"&&ie===ne){e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>"}const a=J?J.createHTML(e):e;if(ie===ne){try{i=(new m).parseFromString(a,fe)}catch(t){}}if(!i||!i.documentElement){i=Z.createDocument(ie,"template",null);try{i.documentElement.innerHTML=oe?Q:a}catch(t){}}const r=i.body||i.documentElement;if(e&&o){r.insertBefore(n.createTextNode(o),r.childNodes[0]||null)}if(ie===ne){return it.call(i,Ct?"html":"body")[0]}return Ct?i.documentElement:r};const Ae=function t(e){return tt.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)};const Ee=function t(e){return e instanceof d&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof u)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};const Se=function t(e){return typeof s==="function"&&e instanceof s};function ze(t,n,i){w(t,(t=>{t.call(e,n,i,pe)}))}const Re=function t(n){let i=null;ze(dt.beforeSanitizeElements,n,null);if(Ee(n)){xe(n);return true}const o=me(n.nodeName);ze(dt.uponSanitizeElement,n,{tagName:o,allowedTags:kt});if(It&&n.hasChildNodes()&&!Se(n.firstElementChild)&&P(/<[/\w!]/g,n.innerHTML)&&P(/<[/\w!]/g,n.textContent)){xe(n);return true}if(It&&n.namespaceURI===ne&&o==="style"&&Se(n.firstElementChild)){xe(n);return true}if(n.nodeType===st.progressingInstruction){xe(n);return true}if(It&&n.nodeType===st.comment&&P(/<[/\w]/g,n.data)){xe(n);return true}if(zt[o]||!(_t.tagCheck instanceof Function&&_t.tagCheck(o))&&!kt[o]){if(!zt[o]&&De(o)){if(St.tagNameCheck instanceof RegExp&&P(St.tagNameCheck,o)){return false}if(St.tagNameCheck instanceof Function&&St.tagNameCheck(o)){return false}}if(Ht&&!Gt[o]){const t=V(n)||n.parentNode;const e=C(n)||n.childNodes;if(e&&t){const i=e.length;for(let o=i-1;o>=0;--o){const i=y(e[o],true);i.__removalCount=(n.__removalCount||0)+1;t.insertBefore(i,O(n))}}}xe(n);return true}if(n instanceof l&&!ve(n)){xe(n);return true}if((o==="noscript"||o==="noembed"||o==="noframes")&&P(/<\/no(script|embed|frames)/i,n.innerHTML)){xe(n);return true}if(Ot&&n.nodeType===st.text){i=n.textContent;w([mt,pt,ht],(t=>{i=z(i,t," ")}));if(n.textContent!==i){k(e.removed,{element:n.cloneNode()});n.textContent=i}}ze(dt.afterSanitizeElements,n,null);return false};const _e=function t(e,i,o){if(Rt[i]){return false}if(Xt&&(i==="id"||i==="name")&&(o in n||o in he)){return false}if(Pt&&!Rt[i]&&P(gt,i));else if(Dt&&P(bt,i));else if(_t.attributeCheck instanceof Function&&_t.attributeCheck(i,e));else if(!At[i]||Rt[i]){if(De(e)&&(St.tagNameCheck instanceof RegExp&&P(St.tagNameCheck,e)||St.tagNameCheck instanceof Function&&St.tagNameCheck(e))&&(St.attributeNameCheck instanceof RegExp&&P(St.attributeNameCheck,i)||St.attributeNameCheck instanceof Function&&St.attributeNameCheck(i,e))||i==="is"&&St.allowCustomizedBuiltInElements&&(St.tagNameCheck instanceof RegExp&&P(St.tagNameCheck,o)||St.tagNameCheck instanceof Function&&St.tagNameCheck(o)));else{return false}}else if(Qt[i]);else if(P(xt,z(o,wt,"")));else if((i==="src"||i==="xlink:href"||i==="href")&&e!=="script"&&R(o,"data:")===0&&Vt[e]);else if(Lt&&!P(yt,z(o,wt,"")));else if(o){return false}else;return true};const De=function t(e){return e!=="annotation-xml"&&S(e,vt)};const Pe=function t(n){ze(dt.beforeSanitizeAttributes,n,null);const{attributes:i}=n;if(!i||Ee(n)){return}const o={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:At,forceKeepAttr:undefined};let a=i.length;while(a--){const t=i[a];const{name:r,namespaceURI:s,value:l}=t;const c=me(r);const f=l;let u=r==="value"?f:_(f);o.attrName=c;o.attrValue=u;o.keepAttr=true;o.forceKeepAttr=undefined;ze(dt.uponSanitizeAttribute,n,o);u=o.attrValue;if(Yt&&(c==="id"||c==="name")){ke(r,n);u=Wt+u}if(It&&P(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){ke(r,n);continue}if(c==="attributename"&&S(u,"href")){ke(r,n);continue}if(o.forceKeepAttr){continue}if(!o.keepAttr){ke(r,n);continue}if(!Mt&&P(/\/>/i,u)){ke(r,n);continue}if(Ot){w([mt,pt,ht],(t=>{u=z(u,t," ")}))}const d=me(n.nodeName);if(!_e(d,c,u)){ke(r,n);continue}if(J&&typeof h==="object"&&typeof h.getAttributeType==="function"){if(s);else{switch(h.getAttributeType(d,c)){case"TrustedHTML":{u=J.createHTML(u);break}case"TrustedScriptURL":{u=J.createScriptURL(u);break}}}}if(u!==f){try{if(s){n.setAttributeNS(s,r,u)}else{n.setAttribute(r,u)}if(Ee(n)){xe(n)}else{x(e.removed)}}catch(t){ke(r,n)}}}ze(dt.afterSanitizeAttributes,n,null)};const Le=function t(e){let n=null;const i=Ae(e);ze(dt.beforeSanitizeShadowDOM,e,null);while(n=i.nextNode()){ze(dt.uponSanitizeShadowNode,n,null);Re(n);Pe(n);if(n.content instanceof a){Le(n.content)}}ze(dt.afterSanitizeShadowDOM,e,null)};e.sanitize=function(t){let n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let o=null;let r=null;let l=null;let c=null;oe=!t;if(oe){t="\x3c!--\x3e"}if(typeof t!=="string"&&!Se(t)){if(typeof t.toString==="function"){t=t.toString();if(typeof t!=="string"){throw L("dirty is not a string, aborting")}}else{throw L("toString is not a function")}}if(!e.isSupported){return t}if(!Ft){be(n)}e.removed=[];if(typeof t==="string"){$t=false}if($t){if(t.nodeName){const e=me(t.nodeName);if(!kt[e]||zt[e]){throw L("root node is forbidden and cannot be sanitized in-place")}}}else if(t instanceof s){o=Te("\x3c!----\x3e");r=o.ownerDocument.importNode(t,true);if(r.nodeType===st.element&&r.nodeName==="BODY"){o=r}else if(r.nodeName==="HTML"){o=r}else{o.appendChild(r)}}else{if(!jt&&!Ot&&!Ct&&t.indexOf("<")===-1){return J&&Ut?J.createHTML(t):t}o=Te(t);if(!o){return jt?null:Ut?Q:""}}if(o&&Nt){xe(o.firstChild)}const f=Ae($t?t:o);while(l=f.nextNode()){Re(l);Pe(l);if(l.content instanceof a){Le(l.content)}}if($t){return t}if(jt){if(Ot){o.normalize();let t=o.innerHTML;w([mt,pt,ht],(e=>{t=z(t,e," ")}));o.innerHTML=t}if(Bt){c=nt.call(o.ownerDocument);while(o.firstChild){c.appendChild(o.firstChild)}}else{c=o}if(At.shadowroot||At.shadowrootmode){c=at.call(i,c,true)}return c}let u=Ct?o.outerHTML:o.innerHTML;if(Ct&&kt["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&P(ot,o.ownerDocument.doctype.name)){u="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+u}if(Ot){w([mt,pt,ht],(t=>{u=z(u,t," ")}))}return J&&Ut?J.createHTML(u):u};e.setConfig=function(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};be(t);Ft=true};e.clearConfig=function(){pe=null;Ft=false};e.isValidAttribute=function(t,e,n){if(!pe){be({})}const i=me(t);const o=me(e);return _e(i,o,n)};e.addHook=function(t,e){if(typeof e!=="function"){return}k(dt[t],e)};e.removeHook=function(t,e){if(e!==undefined){const n=v(dt[t],e);return n===-1?undefined:T(dt[t],n,1)[0]}return x(dt[t])};e.removeHooks=function(t){dt[t]=[]};e.removeAllHooks=function(){dt=ft()};return e}var dt=ut();const mt=()=>`:host{--percentuale:0;display:flex;width:100%;min-width:200px;max-width:100dvw;box-sizing:border-box;background:var(--color-surface01);border-radius:var(--border-size-large);box-shadow:var(--shadow-3);color:var(--color-default-text);fill:var(--color-primary01-icon);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-rg)}: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}.toast-notification-container{display:flex;width:100%;align-items:baseline;justify-content:space-between;padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);gap:calc(var(--space-unit) * 2)}.toast-notification-content{display:flex;width:100%;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:calc(var(--space-unit) * 2)}.toast-notification-content .toast-notification-text{color:inherit;letter-spacing:0.16px;line-height:1.25rem}.toast-notification-content .toast-notification-text .title{margin-right:calc(var(--space-unit) / 2);font-weight:var(--font-sb)}.close-button{height:1.125rem;padding:0;border:none;background-color:transparent;cursor:pointer}.close-button z-icon{--z-icon-width:1.125rem;--z-icon-height:1.125rem;display:inline-block;height:1.25rem}.close-button:focus:focus-visible{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none}:host(.dark){background:var(--color-surface05);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.dark) .close-button:focus:focus-visible{box-shadow:0 0 0 2px var(--gray900), 0 0 2px 5px var(--blue25)}:host(.accent){background:var(--color-primary01)}:host(.error){background:var(--color-default-error)}:host(.success){background:var(--color-default-success)}:host(.warning){background:var(--color-default-warning)}:host(.accent),:host(.error),:host(.success){color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.warning) .close-button{fill:var(--color-default-icon)}@media (min-width: 768px){:host{width:fit-content;max-width:50vw}.toast-notification-content{flex-wrap:nowrap}}@media (min-width: 1366px){:host{max-width:33vw}}@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%)}}`;const pt={[r.SLIDE_IN_DOWN]:r.SLIDE_OUT_UP,[r.SLIDE_IN_UP]:r.SLIDE_OUT_DOWN,[r.SLIDE_IN_LEFT]:r.SLIDE_OUT_RIGHT,[r.SLIDE_IN_RIGHT]:r.SLIDE_OUT_LEFT};const ht=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.toastClose=n(this,"toastClose",7);this.pauseonfocusloss=true;this.isdraggable=true;this.draggablepercentage=80;this.isCloseEventCalled=false}watchPropIsdraggable(t){if(t){this.sliderManager.get("pan").set({enable:true})}else{this.sliderManager.get("pan").set({enable:false})}}watchPropAutoclose(t){clearTimeout(this.timeoutHandle);this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){if(this.autoclose){if(t){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}else{document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler)}}}close(t,e){if(e&&this.timeoutHandle){clearTimeout(this.timeoutHandle)}this.timeoutHandle=null;this.elapsedTime=null;this.toastClose.emit();if(t){this.hostElement.classList.add(t)}else{this.hostElement.parentNode.removeChild(this.hostElement)}}visibilityChangeEventHandler(){if(document.visibilityState==="hidden"){if(this.timeoutHandle){this.onBlur()}}else if(this.elapsedTime){this.onFocus()}}validateAutoclose(){if(!this.autoclose&&!this.closebutton){console.error("At least one between autoclose and closebutton must be present")}}calculateDraggedPercentage(t){const e=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/e.width)}async handleSlideOutDragAnimation(){const{default:t}=await import("./p-Bt1M0wUw.js").then((function(t){return t.h}));this.sliderManager=new t(this.hostElement);this.sliderManager.get("pan").set({direction:t.DIRECTION_HORIZONTAL});this.sliderManager.on("pan",(e=>{this.percentage=this.calculateDraggedPercentage(e);this.hostElement.style.transition="none";if(this.transition){this.hostElement.classList.remove(this.transition)}const n={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=`${100-Math.abs(this.percentage)}%`;if(e.eventType===t.DIRECTION_LEFT||e.eventType===t.DIRECTION_RIGHT){this.hostElement.style.transform=n.translate;if(Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled){this.isCloseEventCalled=true;this.close(e.direction===t.DIRECTION_LEFT?r.SLIDE_OUT_LEFT:r.SLIDE_OUT_RIGHT,true)}}if(e.isFinal&&Math.abs(this.percentage)<this.draggablepercentage){this.hostElement.style.transform=n.translateBack;this.hostElement.style.transition="all 1s";this.hostElement.style.opacity="100%";this.percentage=0}}))}onFocus(){let t=this.autoclose;if(this.elapsedTime){t=this.autoclose-this.elapsedTime}if(t>0){this.startClosingTimeout(t)}}onBlur(){this.elapsedTime=Date.now()-this.startTime;clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=window.setTimeout((()=>this.close(pt[this.transition],false)),t)}checkSlottedButton(){this.hasSlottedButton=!!this.hostElement.querySelector("[slot='button']")}componentWillLoad(){this.validateAutoclose();this.checkSlottedButton();this.percentage=0}componentDidLoad(){this.startTime=Date.now();if(this.autoclose){if(this.pauseonfocusloss){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}if(!this.transition){this.startClosingTimeout(this.autoclose)}}if(this.isdraggable){this.handleSlideOutDragAnimation()}}render(){return i(o,{key:"c014f617bd53be486dda1fa2172130ef9be592a0",style:{"--percentuale":`${this.percentage}%`},class:{[this.transition]:!!this.transition,[this.type]:!!this.type},onAnimationEnd:t=>{if(this.autoclose&&t.animationName.includes("slidein")){this.startClosingTimeout(this.autoclose)}if(t.animationName.includes("slideout")){this.hostElement.parentNode.removeChild(this.hostElement)}}},i("div",{key:"2b0fc9855f7bc18b53993d86f57cd89b42c978a6",class:"toast-notification-container"},i("div",{key:"5c8b59419b7681de8f53f91008da3b518f50aa8d",class:"toast-notification-content"},i("div",{key:"529a5f030878dcd0bd5af77de5b173bca605ce6b",class:"toast-notification-text"},this.heading&&i("span",{key:"6d3f35baedee97f6dcfa724cf2a8c6e2fa2c0bd2",class:"title"},this.heading),i("span",{key:"436716a867110db25aaf9be5904a3569d4eba6a7",class:"message"},i("slot",{key:"495e77fd7d36993fbef8294aa53b7be36a9b36e8",name:"message"},this.message&&i("span",{key:"7444baa70ab2c51685f4d715d5613bf35722b7dd",innerHTML:dt.sanitize(this.message)})))),i("div",{key:"73b62f17af82468596a4c6156b8135d80f3db370",class:"button-container",hidden:!this.hasSlottedButton},i("slot",{key:"085054eff600b85556771740734f17ceab8d769a",name:"button",onSlotchange:()=>this.checkSlottedButton()}))),this.closebutton&&i("button",{key:"3145c42f74cabd0d29fc14840dbdcc7afeee6e83",class:"close-button","aria-label":"Chiudi notifica",onClick:()=>this.close(pt[this.transition],true),onKeyDown:t=>{if(t.code==s.SPACE||t.code==s.ENTER){t.preventDefault();this.close(pt[this.transition],true)}}},i("z-icon",{key:"0eb747dd65066e371130dbe79a41cecdedcdbe87",name:"multiply-circled"}))))}get hostElement(){return this}static get watchers(){return{isdraggable:[{watchPropIsdraggable:0}],autoclose:[{watchPropAutoclose:0}],pauseonfocusloss:[{watchPropPauseonfocusloss:0}]}}static get style(){return mt()}},[257,"z-toast-notification",{heading:[1],message:[1],closebutton:[4],autoclose:[2],pauseonfocusloss:[4],type:[1],isdraggable:[4],draggablepercentage:[2],transition:[1],percentage:[32],hasSlottedButton:[32]},undefined,{isdraggable:[{watchPropIsdraggable:0}],autoclose:[{watchPropAutoclose:0}],pauseonfocusloss:[{watchPropPauseonfocusloss:0}]}]);function gt(){if(typeof customElements==="undefined"){return}const t=["z-toast-notification","z-icon"];t.forEach((t=>{switch(t){case"z-toast-notification":if(!customElements.get(a(t))){customElements.define(a(t),ht)}break;case"z-icon":if(!customElements.get(a(t))){l()}break}}))}const bt=ht;const yt=gt;export{bt as ZToastNotification,yt as defineCustomElement};
3
- //# sourceMappingURL=z-toast-notification.js.map
1
+ import{p as t,H as e,c as n,h as i,d as o,t as a}from"./p-BGiYVwHD.js";import{r,g as s}from"./p-DdetsoIY.js";import{d as l}from"./p-BDrfncDT.js";
2
+ /*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */const{entries:c,setPrototypeOf:u,isFrozen:f,getPrototypeOf:d,getOwnPropertyDescriptor:m}=Object;let{freeze:p,seal:h,create:g}=Object,{apply:b,construct:y}="undefined"!=typeof Reflect&&Reflect;p||(p=function(t){return t}),h||(h=function(t){return t}),b||(b=function(t,e){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];return t.apply(e,i)}),y||(y=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return new t(...n)});const w=O(Array.prototype.forEach),v=O(Array.prototype.lastIndexOf),x=O(Array.prototype.pop),k=O(Array.prototype.push),T=O(Array.prototype.splice),A=O(String.prototype.toLowerCase),S=O(String.prototype.toString),E=O(String.prototype.match),z=O(String.prototype.replace),R=O(String.prototype.indexOf),_=O(String.prototype.trim),D=O(Object.prototype.hasOwnProperty),P=O(RegExp.prototype.test),M=function(t){return function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return y(t,n)}}(TypeError);function O(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return b(t,e,i)}}function L(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;u&&u(t,null);let i=e.length;for(;i--;){let o=e[i];if("string"==typeof o){const t=n(o);t!==o&&(f(e)||(e[i]=t),o=t)}t[o]=!0}return t}function I(t){for(let e=0;e<t.length;e++)D(t,e)||(t[e]=null);return t}function C(t){const e=g(null);for(const[n,i]of c(t))D(t,n)&&(e[n]=Array.isArray(i)?I(i):i&&"object"==typeof i&&i.constructor===Object?C(i):i);return e}function F(t,e){for(;null!==t;){const n=m(t,e);if(n){if(n.get)return O(n.get);if("function"==typeof n.value)return O(n.value)}t=d(t)}return function(){return null}}const N=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),j=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=p(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Y=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),X=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=p(["#text"]),W=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),q=p(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$=p(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=h(/<%[\w\W]*|[\w\W]*%>/gm),J=h(/\$\{[\w\W]*/gm),Q=h(/^data-[\-\w.\u00B7-\uFFFF]+$/),Z=h(/^aria-[\-\w]+$/),tt=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),et=h(/^(?:\w+script|data):/i),nt=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),it=h(/^html$/i),ot=h(/^[a-z][.\w]*(-[.\w]+)+$/i);var at=Object.freeze({__proto__:null,ARIA_ATTR:Z,ATTR_WHITESPACE:nt,CUSTOM_ELEMENT:ot,DATA_ATTR:Q,DOCTYPE_NAME:it,ERB_EXPR:V,IS_ALLOWED_URI:tt,IS_SCRIPT_OR_DATA:et,MUSTACHE_EXPR:K,TMPLIT_EXPR:J});const rt=function(){return"undefined"==typeof window?null:window};var st=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rt();const n=e=>t(e);if(n.version="3.4.0",n.removed=[],!e||!e.document||9!==e.document.nodeType||!e.Element)return n.isSupported=!1,n;let{document:i}=e;const o=i,a=o.currentScript,{DocumentFragment:r,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:f,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:m,DOMParser:h,trustedTypes:b}=e,y=u.prototype,O=F(y,"cloneNode"),I=F(y,"remove"),K=F(y,"nextSibling"),V=F(y,"childNodes"),J=F(y,"parentNode");if("function"==typeof s){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let Q,Z="";const{implementation:et,createNodeIterator:nt,createDocumentFragment:ot,getElementsByTagName:st}=i,{importNode:lt}=o;let ct={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof c&&"function"==typeof J&&et&&void 0!==et.createHTMLDocument;const{MUSTACHE_EXPR:ut,ERB_EXPR:ft,TMPLIT_EXPR:dt,DATA_ATTR:mt,ARIA_ATTR:pt,IS_SCRIPT_OR_DATA:ht,ATTR_WHITESPACE:gt,CUSTOM_ELEMENT:bt}=at;let{IS_ALLOWED_URI:yt}=at,wt=null;const vt=L({},[...N,...j,...B,...Y,...H]);let xt=null;const kt=L({},[...W,...q,...$,...G]);let Tt=Object.seal(g(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),At=null,St=null;const Et=Object.seal(g(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let zt=!0,Rt=!0,_t=!1,Dt=!0,Pt=!1,Mt=!0,Ot=!1,Lt=!1,It=!1,Ct=!1,Ft=!1,Nt=!1,jt=!0,Bt=!1,Ut=!0,Yt=!1,Xt={},Ht=null;const Wt=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let qt=null;const $t=L({},["audio","video","img","source","image","track"]);let Gt=null;const Kt=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vt="http://www.w3.org/1998/Math/MathML",Jt="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Zt=Qt,te=!1,ee=null;const ne=L({},[Vt,Jt,Qt],S);let ie=L({},["mi","mo","mn","ms","mtext"]),oe=L({},["annotation-xml"]);const ae=L({},["title","style","font","a","script"]);let re=null;const se=["application/xhtml+xml","text/html"];let le=null,ce=null;const ue=i.createElement("form"),fe=function(t){return t instanceof RegExp||t instanceof Function},de=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ce||ce!==t){if(t&&"object"==typeof t||(t={}),t=C(t),re=-1===se.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,le="application/xhtml+xml"===re?S:A,wt=D(t,"ALLOWED_TAGS")?L({},t.ALLOWED_TAGS,le):vt,xt=D(t,"ALLOWED_ATTR")?L({},t.ALLOWED_ATTR,le):kt,ee=D(t,"ALLOWED_NAMESPACES")?L({},t.ALLOWED_NAMESPACES,S):ne,Gt=D(t,"ADD_URI_SAFE_ATTR")?L(C(Kt),t.ADD_URI_SAFE_ATTR,le):Kt,qt=D(t,"ADD_DATA_URI_TAGS")?L(C($t),t.ADD_DATA_URI_TAGS,le):$t,Ht=D(t,"FORBID_CONTENTS")?L({},t.FORBID_CONTENTS,le):Wt,At=D(t,"FORBID_TAGS")?L({},t.FORBID_TAGS,le):C({}),St=D(t,"FORBID_ATTR")?L({},t.FORBID_ATTR,le):C({}),Xt=!!D(t,"USE_PROFILES")&&t.USE_PROFILES,zt=!1!==t.ALLOW_ARIA_ATTR,Rt=!1!==t.ALLOW_DATA_ATTR,_t=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Dt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Pt=t.SAFE_FOR_TEMPLATES||!1,Mt=!1!==t.SAFE_FOR_XML,Ot=t.WHOLE_DOCUMENT||!1,Ct=t.RETURN_DOM||!1,Ft=t.RETURN_DOM_FRAGMENT||!1,Nt=t.RETURN_TRUSTED_TYPE||!1,It=t.FORCE_BODY||!1,jt=!1!==t.SANITIZE_DOM,Bt=t.SANITIZE_NAMED_PROPS||!1,Ut=!1!==t.KEEP_CONTENT,Yt=t.IN_PLACE||!1,yt=t.ALLOWED_URI_REGEXP||tt,Zt=t.NAMESPACE||Qt,ie=t.MATHML_TEXT_INTEGRATION_POINTS||ie,oe=t.HTML_INTEGRATION_POINTS||oe,Tt=t.CUSTOM_ELEMENT_HANDLING||g(null),t.CUSTOM_ELEMENT_HANDLING&&fe(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Tt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&fe(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Tt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Tt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(Rt=!1),Ft&&(Ct=!0),Xt&&(wt=L({},H),xt=g(null),!0===Xt.html&&(L(wt,N),L(xt,W)),!0===Xt.svg&&(L(wt,j),L(xt,q),L(xt,G)),!0===Xt.svgFilters&&(L(wt,B),L(xt,q),L(xt,G)),!0===Xt.mathMl&&(L(wt,Y),L(xt,$),L(xt,G))),Et.tagCheck=null,Et.attributeCheck=null,t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?Et.tagCheck=t.ADD_TAGS:(wt===vt&&(wt=C(wt)),L(wt,t.ADD_TAGS,le))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?Et.attributeCheck=t.ADD_ATTR:(xt===kt&&(xt=C(xt)),L(xt,t.ADD_ATTR,le))),t.ADD_URI_SAFE_ATTR&&L(Gt,t.ADD_URI_SAFE_ATTR,le),t.FORBID_CONTENTS&&(Ht===Wt&&(Ht=C(Ht)),L(Ht,t.FORBID_CONTENTS,le)),t.ADD_FORBID_CONTENTS&&(Ht===Wt&&(Ht=C(Ht)),L(Ht,t.ADD_FORBID_CONTENTS,le)),Ut&&(wt["#text"]=!0),Ot&&L(wt,["html","head","body"]),wt.table&&(L(wt,["tbody"]),delete At.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=t.TRUSTED_TYPES_POLICY,Z=Q.createHTML("")}else void 0===Q&&(Q=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(b,a)),null!==Q&&"string"==typeof Z&&(Z=Q.createHTML(""));p&&p(t),ce=t}},me=L({},[...j,...B,...U]),pe=L({},[...Y,...X]),he=function(t){k(n.removed,{element:t});try{J(t).removeChild(t)}catch(e){I(t)}},ge=function(t,e){try{k(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){k(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(Ct||Ft)try{he(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},be=function(t){let e=null,n=null;if(It)t="<remove></remove>"+t;else{const e=E(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===re&&Zt===Qt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=Q?Q.createHTML(t):t;if(Zt===Qt)try{e=(new h).parseFromString(o,re)}catch(t){}if(!e||!e.documentElement){e=et.createDocument(Zt,"template",null);try{e.documentElement.innerHTML=te?Z:o}catch(t){}}const a=e.body||e.documentElement;return t&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Zt===Qt?st.call(e,Ot?"html":"body")[0]:Ot?e.documentElement:a},ye=function(t){return nt.call(t.ownerDocument||t,t,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},we=function(t){return t instanceof m&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof d)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"function"==typeof l&&t instanceof l};function xe(t,e,i){w(t,(t=>{t.call(n,e,i,ce)}))}const ke=function(t){let e=null;if(xe(ct.beforeSanitizeElements,t,null),we(t))return he(t),!0;const i=le(t.nodeName);if(xe(ct.uponSanitizeElement,t,{tagName:i,allowedTags:wt}),Mt&&t.hasChildNodes()&&!ve(t.firstElementChild)&&P(/<[/\w!]/g,t.innerHTML)&&P(/<[/\w!]/g,t.textContent))return he(t),!0;if(Mt&&t.namespaceURI===Qt&&"style"===i&&ve(t.firstElementChild))return he(t),!0;if(7===t.nodeType)return he(t),!0;if(Mt&&8===t.nodeType&&P(/<[/\w]/g,t.data))return he(t),!0;if(At[i]||!(Et.tagCheck instanceof Function&&Et.tagCheck(i))&&!wt[i]){if(!At[i]&&Ae(i)){if(Tt.tagNameCheck instanceof RegExp&&P(Tt.tagNameCheck,i))return!1;if(Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(i))return!1}if(Ut&&!Ht[i]){const e=J(t)||t.parentNode,n=V(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i){const o=O(n[i],!0);o.__removalCount=(t.__removalCount||0)+1,e.insertBefore(o,K(t))}}return he(t),!0}return t instanceof u&&!function(t){let e=J(t);e&&e.tagName||(e={namespaceURI:Zt,tagName:"template"});const n=A(t.tagName),i=A(e.tagName);return!!ee[t.namespaceURI]&&(t.namespaceURI===Jt?e.namespaceURI===Qt?"svg"===n:e.namespaceURI===Vt?"svg"===n&&("annotation-xml"===i||ie[i]):!!me[n]:t.namespaceURI===Vt?e.namespaceURI===Qt?"math"===n:e.namespaceURI===Jt?"math"===n&&oe[i]:!!pe[n]:t.namespaceURI===Qt?!(e.namespaceURI===Jt&&!oe[i])&&!(e.namespaceURI===Vt&&!ie[i])&&!pe[n]&&(ae[n]||!me[n]):!("application/xhtml+xml"!==re||!ee[t.namespaceURI]))}(t)?(he(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!P(/<\/no(script|embed|frames)/i,t.innerHTML)?(Pt&&3===t.nodeType&&(e=t.textContent,w([ut,ft,dt],(t=>{e=z(e,t," ")})),t.textContent!==e&&(k(n.removed,{element:t.cloneNode()}),t.textContent=e)),xe(ct.afterSanitizeElements,t,null),!1):(he(t),!0)},Te=function(t,e,n){if(St[e])return!1;if(jt&&("id"===e||"name"===e)&&(n in i||n in ue))return!1;if(Rt&&!St[e]&&P(mt,e));else if(zt&&P(pt,e));else if(Et.attributeCheck instanceof Function&&Et.attributeCheck(e,t));else if(!xt[e]||St[e]){if(!(Ae(t)&&(Tt.tagNameCheck instanceof RegExp&&P(Tt.tagNameCheck,t)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(t))&&(Tt.attributeNameCheck instanceof RegExp&&P(Tt.attributeNameCheck,e)||Tt.attributeNameCheck instanceof Function&&Tt.attributeNameCheck(e,t))||"is"===e&&Tt.allowCustomizedBuiltInElements&&(Tt.tagNameCheck instanceof RegExp&&P(Tt.tagNameCheck,n)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(n))))return!1}else if(Gt[e]);else if(P(yt,z(n,gt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==R(n,"data:")||!qt[t])if(_t&&!P(ht,z(n,gt,"")));else if(n)return!1;return!0},Ae=function(t){return"annotation-xml"!==t&&E(t,bt)},Se=function(t){xe(ct.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||we(t))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xt,forceKeepAttr:void 0};let o=e.length;for(;o--;){const a=e[o],{name:r,namespaceURI:s,value:l}=a,c=le(r),u=l;let f="value"===r?u:_(u);if(i.attrName=c,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,xe(ct.uponSanitizeAttribute,t,i),f=i.attrValue,!Bt||"id"!==c&&"name"!==c||(ge(r,t),f="user-content-"+f),Mt&&P(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){ge(r,t);continue}if("attributename"===c&&E(f,"href")){ge(r,t);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){ge(r,t);continue}if(!Dt&&P(/\/>/i,f)){ge(r,t);continue}Pt&&w([ut,ft,dt],(t=>{f=z(f,t," ")}));const d=le(t.nodeName);if(Te(d,c,f)){if(Q&&"object"==typeof b&&"function"==typeof b.getAttributeType)if(s);else switch(b.getAttributeType(d,c)){case"TrustedHTML":f=Q.createHTML(f);break;case"TrustedScriptURL":f=Q.createScriptURL(f)}if(f!==u)try{s?t.setAttributeNS(s,r,f):t.setAttribute(r,f),we(t)?he(t):x(n.removed)}catch(e){ge(r,t)}}else ge(r,t)}xe(ct.afterSanitizeAttributes,t,null)},Ee=function(t){let e=null;const n=ye(t);for(xe(ct.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)xe(ct.uponSanitizeShadowNode,e,null),ke(e),Se(e),e.content instanceof r&&Ee(e.content);xe(ct.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,s=null,c=null;if(te=!t,te&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw M("toString is not a function");if("string"!=typeof(t=""+t))throw M("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Lt||de(e),n.removed=[],"string"==typeof t&&(Yt=!1),Yt){if(t.nodeName){const e=le(t.nodeName);if(!wt[e]||At[e])throw M("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof l)i=be("\x3c!----\x3e"),a=i.ownerDocument.importNode(t,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!Ct&&!Pt&&!Ot&&-1===t.indexOf("<"))return Q&&Nt?Q.createHTML(t):t;if(i=be(t),!i)return Ct?null:Nt?Z:""}i&&It&&he(i.firstChild);const u=ye(Yt?t:i);for(;s=u.nextNode();)ke(s),Se(s),s.content instanceof r&&Ee(s.content);if(Yt)return t;if(Ct){if(Pt){i.normalize();let t=i.innerHTML;w([ut,ft,dt],(e=>{t=z(t,e," ")})),i.innerHTML=t}if(Ft)for(c=ot.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return(xt.shadowroot||xt.shadowrootmode)&&(c=lt.call(o,c,!0)),c}let f=Ot?i.outerHTML:i.innerHTML;return Ot&&wt["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&P(it,i.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+f),Pt&&w([ut,ft,dt],(t=>{f=z(f,t," ")})),Q&&Nt?Q.createHTML(f):f},n.setConfig=function(){de(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Lt=!0},n.clearConfig=function(){ce=null,Lt=!1},n.isValidAttribute=function(t,e,n){ce||de({});const i=le(t),o=le(e);return Te(i,o,n)},n.addHook=function(t,e){"function"==typeof e&&k(ct[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=v(ct[t],e);return-1===n?void 0:T(ct[t],n,1)[0]}return x(ct[t])},n.removeHooks=function(t){ct[t]=[]},n.removeAllHooks=function(){ct={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const lt={[r.SLIDE_IN_DOWN]:r.SLIDE_OUT_UP,[r.SLIDE_IN_UP]:r.SLIDE_OUT_DOWN,[r.SLIDE_IN_LEFT]:r.SLIDE_OUT_RIGHT,[r.SLIDE_IN_RIGHT]:r.SLIDE_OUT_LEFT},ct=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.toastClose=n(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))}close(t,e){e&&this.timeoutHandle&&clearTimeout(this.timeoutHandle),this.timeoutHandle=null,this.elapsedTime=null,this.toastClose.emit(),t?this.hostElement.classList.add(t):this.hostElement.parentNode.removeChild(this.hostElement)}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")}calculateDraggedPercentage(t){const e=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/e.width)}async handleSlideOutDragAnimation(){const{default:t}=await import("./p-Bt1M0wUw.js").then((function(t){return t.h}));this.sliderManager=new t(this.hostElement),this.sliderManager.get("pan").set({direction:t.DIRECTION_HORIZONTAL}),this.sliderManager.on("pan",(e=>{this.percentage=this.calculateDraggedPercentage(e),this.hostElement.style.transition="none",this.transition&&this.hostElement.classList.remove(this.transition);const n={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=100-Math.abs(this.percentage)+"%",e.eventType!==t.DIRECTION_LEFT&&e.eventType!==t.DIRECTION_RIGHT||(this.hostElement.style.transform=n.translate,Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled&&(this.isCloseEventCalled=!0,this.close(e.direction===t.DIRECTION_LEFT?r.SLIDE_OUT_LEFT:r.SLIDE_OUT_RIGHT,!0))),e.isFinal&&Math.abs(this.percentage)<this.draggablepercentage&&(this.hostElement.style.transform=n.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.close(lt[this.transition],!1)),t)}checkSlottedButton(){this.hasSlottedButton=!!this.hostElement.querySelector("[slot='button']")}componentWillLoad(){this.validateAutoclose(),this.checkSlottedButton(),this.percentage=0}componentDidLoad(){this.startTime=Date.now(),this.autoclose&&(this.pauseonfocusloss&&document.addEventListener("visibilitychange",this.visibilityChangeEventHandler),this.transition||this.startClosingTimeout(this.autoclose)),this.isdraggable&&this.handleSlideOutDragAnimation()}render(){return i(o,{key:"4aaf1119c59f715a61c7166bbbc9bd189af18e1e",style:{"--percentuale":this.percentage+"%"},class:{[this.transition]:!!this.transition,[this.type]:!!this.type},onAnimationEnd:t=>{this.autoclose&&t.animationName.includes("slidein")&&this.startClosingTimeout(this.autoclose),t.animationName.includes("slideout")&&this.hostElement.parentNode.removeChild(this.hostElement)}},i("div",{key:"d2702270e8bdb8639c9b6afbd5ff7d3ca4ac9c9d",class:"toast-notification-container"},i("div",{key:"67e11e15770412decbbe64587c6ee8d528cc6c64",class:"toast-notification-content"},i("div",{key:"27542d53ca61c56da7b692b686303ccc014b68c8",class:"toast-notification-text"},this.heading&&i("span",{key:"49952df6fc689787c8ce75c48341b0cf3d6abe30",class:"title"},this.heading),i("span",{key:"a0e1fabf7dc5b2b0f284dc70f302ab946167180b",class:"message"},i("slot",{key:"ad1bddbf338c2c721c2656dc76fb0c62134b9454",name:"message"},this.message&&i("span",{key:"7b2ceeaead8657f36ce78660c27f4df152451d61",innerHTML:st.sanitize(this.message)})))),i("div",{key:"1197c4ad9c9f40de7c7d177f8aaedc664a02600d",class:"button-container",hidden:!this.hasSlottedButton},i("slot",{key:"4f5823d34255e13455ed2b064717b6d1fdf6e4b3",name:"button",onSlotchange:()=>this.checkSlottedButton()}))),this.closebutton&&i("button",{key:"88bebb0906488a645aa4197b85b049c9abf3e894",class:"close-button","aria-label":"Chiudi notifica",onClick:()=>this.close(lt[this.transition],!0),onKeyDown:t=>{t.code!=s.SPACE&&t.code!=s.ENTER||(t.preventDefault(),this.close(lt[this.transition],!0))}},i("z-icon",{key:"187faa72db52ad9e2a45cadda8fd5e69797170b4",name:"multiply-circled"}))))}get hostElement(){return this}static get watchers(){return{isdraggable:[{watchPropIsdraggable:0}],autoclose:[{watchPropAutoclose:0}],pauseonfocusloss:[{watchPropPauseonfocusloss:0}]}}static get style(){return":host{--percentuale:0;display:flex;width:100%;min-width:200px;max-width:100dvw;box-sizing:border-box;background:var(--color-surface01);border-radius:var(--border-size-large);box-shadow:var(--shadow-3);color:var(--color-default-text);fill:var(--color-primary01-icon);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-rg)}: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}.toast-notification-container{display:flex;width:100%;align-items:baseline;justify-content:space-between;padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);gap:calc(var(--space-unit) * 2)}.toast-notification-content{display:flex;width:100%;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:calc(var(--space-unit) * 2)}.toast-notification-content .toast-notification-text{color:inherit;letter-spacing:0.16px;line-height:1.25rem}.toast-notification-content .toast-notification-text .title{margin-right:calc(var(--space-unit) / 2);font-weight:var(--font-sb)}.close-button{height:1.125rem;padding:0;border:none;background-color:transparent;cursor:pointer}.close-button z-icon{--z-icon-width:1.125rem;--z-icon-height:1.125rem;display:inline-block;height:1.25rem}.close-button:focus:focus-visible{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none}:host(.dark){background:var(--color-surface05);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.dark) .close-button:focus:focus-visible{box-shadow:0 0 0 2px var(--gray900), 0 0 2px 5px var(--blue25)}:host(.accent){background:var(--color-primary01)}:host(.error){background:var(--color-default-error)}:host(.success){background:var(--color-default-success)}:host(.warning){background:var(--color-default-warning)}:host(.accent),:host(.error),:host(.success){color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.warning) .close-button{fill:var(--color-default-icon)}@media (min-width: 768px){:host{width:fit-content;max-width:50vw}.toast-notification-content{flex-wrap:nowrap}}@media (min-width: 1366px){:host{max-width:33vw}}@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%)}}"}},[257,"z-toast-notification",{heading:[1],message:[1],closebutton:[4],autoclose:[2],pauseonfocusloss:[4],type:[1],isdraggable:[4],draggablepercentage:[2],transition:[1],percentage:[32],hasSlottedButton:[32]},void 0,{isdraggable:[{watchPropIsdraggable:0}],autoclose:[{watchPropAutoclose:0}],pauseonfocusloss:[{watchPropPauseonfocusloss:0}]}]),ut=ct,ft=function(){"undefined"!=typeof customElements&&["z-toast-notification","z-icon"].forEach((t=>{switch(t){case"z-toast-notification":customElements.get(a(t))||customElements.define(a(t),ct);break;case"z-icon":customElements.get(a(t))||l()}}))};export{ut as ZToastNotification,ft as defineCustomElement}
@@ -1,2 +1 @@
1
- import{p as e,H as t,c as s,h as c,d as i,t as a}from"./p-RmbDDbWd.js";import{k as o}from"./p-DdetsoIY.js";import{r as l}from"./p-8C_CrFxp.js";import{d as r}from"./p-CbXEdwLi.js";const n=()=>`.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type="checkbox"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}`;const g=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.toggleClick=s(this,"toggleClick",7);this.disabled=false;this.labelPosition=o.LEFT;this.checked=false;this.htmlid=`toggle-switch-id-${l()}`}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(e){if(this.disabled){return}this.checked=e.target.checked;this.emitToggleClick()}render(){return c(i,{key:"c682159ebad808a9e448a1a200fcc9ce49e3a2ad"},c("input",{key:"5a22ee912aeb8a212820d8d3f7b41a6029bfa530",id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),c("label",{key:"6c36dd15bc8fa1fcd1443cb01fe442644de8d87d",htmlFor:this.htmlid,class:{[this.labelPosition]:true,disabled:this.disabled}},c("span",{key:"b9cbb73e0de30c219443c2430fb7cb09a03ffa32"},c("slot",{key:"6b73da88f943d4c304ff3cd22c99145b2393541e"})),c("span",{key:"d7ecff8d30e2f6a43c3f010c53a6fb5fd00f7a78",class:{container:true,disabled:this.disabled,checked:this.checked}},c("span",{key:"5d4c5aba273711d3f06b6622e119bd6e81137e3d",class:"circle"},this.checked&&c("z-icon",{key:"c6dfea8a74fc0ef446588ac7c36bf06e3549f814",width:12,height:12,name:"checkmark"})))))}static get style(){return n()}},[262,"z-toggle-switch",{disabled:[516],labelPosition:[513,"label-position"],checked:[1028],htmlid:[1]}]);function h(){if(typeof customElements==="undefined"){return}const e=["z-toggle-switch","z-icon"];e.forEach((e=>{switch(e){case"z-toggle-switch":if(!customElements.get(a(e))){customElements.define(a(e),g)}break;case"z-icon":if(!customElements.get(a(e))){r()}break}}))}const d=g;const f=h;export{d as ZToggleSwitch,f as defineCustomElement};
2
- //# sourceMappingURL=z-toggle-switch.js.map
1
+ import{p as c,H as e,c as l,h as o,d as t,t as a}from"./p-BGiYVwHD.js";import{k as s}from"./p-DdetsoIY.js";import{r}from"./p-8C_CrFxp.js";import{d as g}from"./p-BDrfncDT.js";const i=c(class extends e{constructor(c){super(),!1!==c&&this.__registerHost(),this.toggleClick=l(this,"toggleClick",7),this.disabled=!1,this.labelPosition=s.LEFT,this.checked=!1,this.htmlid="toggle-switch-id-"+r()}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(c){this.disabled||(this.checked=c.target.checked,this.emitToggleClick())}render(){return o(t,{key:"2af0e6991e384960fcd80acf8f5bfaefe3b7b472"},o("input",{key:"e462fa59aaefc149c9ca69451c66240f0901698e",id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),o("label",{key:"e99e0a62bdd5f55f704d0bd1a5e72cfd2cb8e8fc",htmlFor:this.htmlid,class:{[this.labelPosition]:!0,disabled:this.disabled}},o("span",{key:"8107c045f6ff9011205ed2c69ac2d1c39a845094"},o("slot",{key:"ce3100d20bbd1d86584a6279fdbfc9821ce7a8a3"})),o("span",{key:"dd86e6f64912d5d2bdb89708501b27144aa83fa3",class:{container:!0,disabled:this.disabled,checked:this.checked}},o("span",{key:"e6207655a0986f5ee10dd809a95ace50337f1baa",class:"circle"},this.checked&&o("z-icon",{key:"5f8ccde6506935b0b5607aab3ea27a50181b7a37",width:12,height:12,name:"checkmark"})))))}static get style(){return'.sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--color-surface03);border-radius:var(--space-unit);color:var(--color-surface03);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>span.container.sc-z-toggle-switch:not(.disabled,.checked).sc-z-toggle-switch:hover{background-color:var(--color-surface04);fill:var(--color-surface04)}label.sc-z-toggle-switch>span.container.checked.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-surface01);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}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text-inverse)}.theme-black .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch{background-color:var(--gray500);color:var(--gray500);fill:var(--gray500)}.theme-black .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--gray900)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled){background-color:var(--color-surface01);color:var(--color-surface01);fill:var(--color-primary01)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch{background-color:var(--color-primary01)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-surface01)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked){background-color:var(--color-hover-primary);color:var(--color-hover-primary);cursor:default;fill:var(--color-hover-primary)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked)>span.circle.sc-z-toggle-switch{background-color:var(--gray900)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-hover-primary);color:var(--color-hover-primary);cursor:default;fill:var(--color-hover-primary)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black .sc-z-toggle-switch-h 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-hover-primary)}.theme-black .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:hover{background-color:var(--color-hover-secondary);color:var(--color-hover-secondary);fill:var(--color-hover-secondary)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-secondary03);color:var(--color-secondary03);fill:var(--color-secondary03)}.theme-black .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:active{background-color:var(--color-secondary01);color:var(--color-secondary01);fill:var(--color-secondary01)}.theme-black .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):active{background-color:var(--color-surface01);color:var(--color-surface01);fill:var(--color-hover-primary)}.theme-red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch{background-color:var(--gray600);color:var(--gray600);fill:var(--gray600)}.theme-red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled){background-color:var(--color-active-primary);color:var(--color-active-primary);fill:var(--color-surface01)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--red300)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked){background-color:var(--gray200);color:var(--gray200);cursor:default;fill:var(--gray200)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked)>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--gray200);color:var(--gray200);cursor:default;fill:var(--gray200)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-red .sc-z-toggle-switch-h 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(--gray200)}.theme-red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:hover{background-color:var(--gray400);color:var(--gray400);fill:var(--gray400)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--red400);color:var(--red400);fill:var(--red400)}.theme-red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:active{background-color:var(--gray300);color:var(--gray300);fill:var(--gray300)}.theme-red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):active{background-color:var(--red300);color:var(--red300);fill:var(--color-surface01)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-default-text)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch{background-color:var(--gray500);color:var(--gray500);fill:var(--gray500)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled){background-color:var(--gray900);color:var(--gray900);fill:var(--color-surface01)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--gray950)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked){background-color:var(--gray200);color:var(--gray200);cursor:default;fill:var(--gray200)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked)>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--gray600);color:var(--gray600);cursor:default;fill:var(--gray600)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h 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(--gray600)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:hover{background-color:var(--gray600);color:var(--gray600);fill:var(--gray600)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--gray800);color:var(--gray800);fill:var(--gray800)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:active{background-color:var(--gray700);color:var(--gray700);fill:var(--gray700)}.theme-black.theme-black--yellow .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):active{background-color:var(--gray950);color:var(--gray950);fill:var(--color-surface01)}.theme-black.theme-black--red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch{background-color:var(--gray700);color:var(--gray700);fill:var(--gray700)}.theme-black.theme-black--red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled){background-color:var(--gray950);color:var(--gray950);fill:var(--color-surface01)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled)>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--gray950)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked){background-color:var(--gray600);color:var(--gray600);cursor:default;fill:var(--gray600)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch:not(.checked)>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--gray600);color:var(--gray600);cursor:default;fill:var(--gray600)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{background-color:var(--color-surface01)}.theme-black.theme-black--red .sc-z-toggle-switch-h 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(--gray600)}.theme-black.theme-black--red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:hover{background-color:var(--gray600);color:var(--gray600);fill:var(--gray600)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--gray800);color:var(--gray800);fill:var(--gray800)}.theme-black.theme-black--red .sc-z-toggle-switch-h label>span.container:not(.checked,.disabled).sc-z-toggle-switch:active{background-color:var(--gray700);color:var(--gray700);fill:var(--gray700)}.theme-black.theme-black--red .sc-z-toggle-switch-h label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch:not(.disabled):active{background-color:var(--gray950);color:var(--gray950);fill:var(--color-surface01)}'}},[262,"z-toggle-switch",{disabled:[516],labelPosition:[513,"label-position"],checked:[1028],htmlid:[1]}]),h=i,n=function(){"undefined"!=typeof customElements&&["z-toggle-switch","z-icon"].forEach((c=>{switch(c){case"z-toggle-switch":customElements.get(a(c))||customElements.define(a(c),i);break;case"z-icon":customElements.get(a(c))||g()}}))};export{h as ZToggleSwitch,n as defineCustomElement}