@zanichelli/albe-web-components 18.4.3 → 18.5.1-RC

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 (423) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/{index-f67078cb.js → index-339004f9.js} +6 -6
  3. package/dist/cjs/index-339004f9.js.map +1 -0
  4. package/dist/cjs/index-6ba31c6e.js +47 -0
  5. package/dist/cjs/index-6ba31c6e.js.map +1 -0
  6. package/dist/cjs/{index-be0b8cf5.js → index-97a4c18d.js} +6 -1
  7. package/dist/cjs/index-97a4c18d.js.map +1 -0
  8. package/dist/cjs/{index-443b084a.js → index-aeea3159.js} +3 -3
  9. package/dist/cjs/index-aeea3159.js.map +1 -0
  10. package/dist/cjs/index.cjs.js +8 -2
  11. package/dist/cjs/index.cjs.js.map +1 -1
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/cjs/{utils-714b7a92.js → utils-93961cb6.js} +2 -2
  14. package/dist/cjs/{utils-714b7a92.js.map → utils-93961cb6.js.map} +1 -1
  15. package/dist/cjs/{utils-eacc6b3a.js → utils-a3588d4a.js} +2 -2
  16. package/dist/cjs/{utils-eacc6b3a.js.map → utils-a3588d4a.js.map} +1 -1
  17. package/dist/cjs/web-components-library.cjs.js +1 -1
  18. package/dist/cjs/z-accordion.cjs.entry.js +1 -1
  19. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  20. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  21. package/dist/cjs/z-app-header_12.cjs.entry.js +9 -5
  22. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  23. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  24. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  25. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  26. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +2 -2
  27. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  28. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  29. package/dist/cjs/z-card.cjs.entry.js +1 -1
  30. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  31. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  32. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  33. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  34. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  35. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  36. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  37. package/dist/cjs/z-file.cjs.entry.js +1 -1
  38. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  39. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  40. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  41. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  42. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  43. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  44. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  45. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  46. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  47. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  48. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  49. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  50. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  51. package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
  52. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  53. package/dist/cjs/z-select.cjs.entry.js +2 -2
  54. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
  55. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  56. package/dist/cjs/z-table.cjs.entry.js +5 -5
  57. package/dist/cjs/z-td.cjs.entry.js +2 -2
  58. package/dist/cjs/z-th.cjs.entry.js +2 -2
  59. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  60. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  61. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
  62. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  63. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  64. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  65. package/dist/collection/beans/index.js +5 -0
  66. package/dist/collection/beans/index.js.map +1 -1
  67. package/dist/collection/components/file-upload/z-file-upload/index.js +1 -1
  68. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  69. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  70. package/dist/collection/components/table/cells/z-td/styles.css +6 -0
  71. package/dist/collection/components/table/cells/z-th/styles.css +6 -5
  72. package/dist/collection/components/table/z-tr/index.js +1 -1
  73. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  74. package/dist/collection/components/table/z-tr/styles.css +13 -0
  75. package/dist/collection/components/z-button/index.js +31 -3
  76. package/dist/collection/components/z-button/index.js.map +1 -1
  77. package/dist/collection/components/z-button/index.stories.js +15 -1
  78. package/dist/collection/components/z-button/index.stories.js.map +1 -1
  79. package/dist/collection/components/z-button/styles.css +4 -2
  80. package/dist/collection/components/z-toast-notification/index.stories.js +5 -1
  81. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
  82. package/dist/components/index.js +1 -1
  83. package/dist/components/index2.js +6 -1
  84. package/dist/components/index2.js.map +1 -1
  85. package/dist/components/index4.js +9 -4
  86. package/dist/components/index4.js.map +1 -1
  87. package/dist/components/z-td.js +2 -2
  88. package/dist/components/z-td.js.map +1 -1
  89. package/dist/components/z-th.js +1 -1
  90. package/dist/components/z-th.js.map +1 -1
  91. package/dist/components/z-tr.js +2 -2
  92. package/dist/components/z-tr.js.map +1 -1
  93. package/dist/esm/{index-9f584e0a.js → index-2a6324f8.js} +7 -2
  94. package/dist/esm/index-2a6324f8.js.map +1 -0
  95. package/dist/esm/{index-be3c8aaa.js → index-3e140e28.js} +6 -6
  96. package/dist/esm/index-3e140e28.js.map +1 -0
  97. package/dist/esm/{index-2a26d10b.js → index-5e18fc4b.js} +3 -3
  98. package/dist/esm/index-5e18fc4b.js.map +1 -0
  99. package/dist/esm/index-eb99d165.js +45 -0
  100. package/dist/esm/index-eb99d165.js.map +1 -0
  101. package/dist/esm/index.js +2 -2
  102. package/dist/esm/loader.js +1 -1
  103. package/dist/esm/{utils-50e4c211.js → utils-39d26f54.js} +2 -2
  104. package/dist/esm/{utils-50e4c211.js.map → utils-39d26f54.js.map} +1 -1
  105. package/dist/esm/{utils-6e83ba99.js → utils-c8abef2f.js} +2 -2
  106. package/dist/esm/{utils-6e83ba99.js.map → utils-c8abef2f.js.map} +1 -1
  107. package/dist/esm/web-components-library.js +1 -1
  108. package/dist/esm/z-accordion.entry.js +1 -1
  109. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  110. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  111. package/dist/esm/z-app-header_12.entry.js +9 -5
  112. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  113. package/dist/esm/z-aria-alert.entry.js +1 -1
  114. package/dist/esm/z-avatar.entry.js +1 -1
  115. package/dist/esm/z-book-card-app.entry.js +1 -1
  116. package/dist/esm/z-book-card-deprecated.entry.js +2 -2
  117. package/dist/esm/z-book-card.entry.js +1 -1
  118. package/dist/esm/z-breadcrumb.entry.js +2 -2
  119. package/dist/esm/z-card.entry.js +1 -1
  120. package/dist/esm/z-carousel.entry.js +1 -1
  121. package/dist/esm/z-chip.entry.js +1 -1
  122. package/dist/esm/z-combobox.entry.js +2 -2
  123. package/dist/esm/z-cover-hero.entry.js +1 -1
  124. package/dist/esm/z-date-picker.entry.js +2 -2
  125. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  126. package/dist/esm/z-file-upload.entry.js +1 -1
  127. package/dist/esm/z-file.entry.js +1 -1
  128. package/dist/esm/z-info-reveal.entry.js +1 -1
  129. package/dist/esm/z-menu-section.entry.js +1 -1
  130. package/dist/esm/z-menu.entry.js +2 -2
  131. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  132. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  133. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  134. package/dist/esm/z-myz-card-info.entry.js +2 -2
  135. package/dist/esm/z-myz-card_4.entry.js +1 -1
  136. package/dist/esm/z-myz-list-item.entry.js +2 -2
  137. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  138. package/dist/esm/z-otp.entry.js +1 -1
  139. package/dist/esm/z-pagination.entry.js +1 -1
  140. package/dist/esm/z-popover.entry.js +1 -1
  141. package/dist/esm/z-range-picker.entry.js +2 -2
  142. package/dist/esm/z-section-title.entry.js +1 -1
  143. package/dist/esm/z-select.entry.js +2 -2
  144. package/dist/esm/z-skip-to-content.entry.js +2 -2
  145. package/dist/esm/z-slideshow.entry.js +2 -2
  146. package/dist/esm/z-table.entry.js +5 -5
  147. package/dist/esm/z-td.entry.js +2 -2
  148. package/dist/esm/z-th.entry.js +2 -2
  149. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  150. package/dist/esm/z-toast-notification.entry.js +1 -1
  151. package/dist/esm/z-toggle-switch.entry.js +2 -2
  152. package/dist/esm/z-tooltip.entry.js +1 -1
  153. package/dist/esm/z-tr.entry.js +5 -5
  154. package/dist/esm/z-tree-list.entry.js +1 -1
  155. package/dist/types/beans/index.d.ts +4 -0
  156. package/dist/types/components/z-button/index.d.ts +4 -1
  157. package/dist/types/components/z-button/index.stories.d.ts +14 -1
  158. package/dist/types/components/z-toast-notification/index.stories.d.ts +5 -1
  159. package/dist/types/components.d.ts +10 -2
  160. package/dist/web-components-library/index.esm.js +1 -1
  161. package/dist/web-components-library/index.esm.js.map +1 -1
  162. package/dist/web-components-library/p-05348da8.entry.js +2 -0
  163. package/{www/build/p-e5ac7dfc.entry.js → dist/web-components-library/p-0df112c4.entry.js} +2 -2
  164. package/dist/web-components-library/{p-7934dde1.entry.js → p-1174942e.entry.js} +2 -2
  165. package/dist/web-components-library/p-12900bf7.js +2 -0
  166. package/dist/web-components-library/p-12900bf7.js.map +1 -0
  167. package/dist/web-components-library/{p-512a8f43.entry.js → p-1477f263.entry.js} +2 -2
  168. package/dist/web-components-library/{p-137c2618.js → p-17af7fb2.js} +2 -2
  169. package/dist/web-components-library/p-17af7fb2.js.map +1 -0
  170. package/{www/build/p-9f506297.entry.js → dist/web-components-library/p-252ef047.entry.js} +2 -2
  171. package/dist/web-components-library/{p-7248bddb.entry.js → p-2fb52cd0.entry.js} +2 -2
  172. package/{www/build/p-dd021fcb.entry.js → dist/web-components-library/p-342b0eb0.entry.js} +2 -2
  173. package/dist/web-components-library/{p-5123ff9e.entry.js → p-3a9405b3.entry.js} +2 -2
  174. package/dist/web-components-library/{p-b256f1e9.entry.js → p-42819df4.entry.js} +2 -2
  175. package/{www/build/p-3fe267a1.entry.js → dist/web-components-library/p-4cec3345.entry.js} +2 -2
  176. package/dist/web-components-library/{p-ee8c03e3.entry.js → p-4cfe0f87.entry.js} +2 -2
  177. package/dist/web-components-library/{p-d9f9d864.entry.js → p-512033d3.entry.js} +2 -2
  178. package/{www/build/p-7e554fad.entry.js → dist/web-components-library/p-57b8bd19.entry.js} +2 -2
  179. package/{www/build/p-c2fc251c.entry.js → dist/web-components-library/p-5f44ced1.entry.js} +2 -2
  180. package/{www/build/p-359fddfd.entry.js → dist/web-components-library/p-757415e9.entry.js} +2 -2
  181. package/dist/web-components-library/p-7ad751e7.entry.js +2 -0
  182. package/dist/web-components-library/{p-e540d235.entry.js → p-7c69b70a.entry.js} +2 -2
  183. package/dist/web-components-library/{p-9c3cea8c.entry.js → p-7fbdf8f9.entry.js} +2 -2
  184. package/{www/build/p-e7270ec2.entry.js → dist/web-components-library/p-8b0c8e6d.entry.js} +2 -2
  185. package/dist/web-components-library/{p-353952ef.entry.js → p-8c164e0d.entry.js} +2 -2
  186. package/dist/web-components-library/p-8f4a90dc.entry.js +2 -0
  187. package/dist/web-components-library/p-8f4a90dc.entry.js.map +1 -0
  188. package/dist/web-components-library/{p-a33b1a31.entry.js → p-9047fe2a.entry.js} +2 -2
  189. package/dist/web-components-library/{p-77b02b31.entry.js → p-914f9d32.entry.js} +2 -2
  190. package/dist/web-components-library/p-92cc912e.entry.js +2 -0
  191. package/{www/build/p-12a7af3b.entry.js → dist/web-components-library/p-956d977d.entry.js} +2 -2
  192. package/dist/web-components-library/p-97294823.entry.js +2 -0
  193. package/{www/build/p-b6de2c30.entry.js.map → dist/web-components-library/p-97294823.entry.js.map} +1 -1
  194. package/{www/build/p-5f5fd804.entry.js → dist/web-components-library/p-98fdc6b5.entry.js} +2 -2
  195. package/dist/web-components-library/{p-8c322c9a.js → p-a06fbbc0.js} +2 -2
  196. package/dist/web-components-library/p-a35c1fab.js +2 -0
  197. package/dist/web-components-library/p-a35c1fab.js.map +1 -0
  198. package/dist/web-components-library/{p-5f58b59c.entry.js → p-a905df88.entry.js} +2 -2
  199. package/{www/build/p-f0dd44c4.entry.js → dist/web-components-library/p-ac888c48.entry.js} +2 -2
  200. package/dist/web-components-library/{p-cdd36026.entry.js → p-ae82ba49.entry.js} +2 -2
  201. package/dist/web-components-library/{p-26ea588a.entry.js → p-ae8b17a1.entry.js} +2 -2
  202. package/{www/build/p-245a7cf6.entry.js → dist/web-components-library/p-afc9e99e.entry.js} +2 -2
  203. package/dist/web-components-library/{p-6ba34f6e.entry.js → p-afea8173.entry.js} +2 -2
  204. package/{www/build/p-84fe65a8.entry.js → dist/web-components-library/p-b63c8e8b.entry.js} +2 -2
  205. package/dist/web-components-library/{p-2dee7eef.entry.js → p-c2ba8a6c.entry.js} +2 -2
  206. package/{www/build/p-9dc90af3.entry.js → dist/web-components-library/p-c4b78535.entry.js} +2 -2
  207. package/dist/web-components-library/{p-f7d3e1cc.entry.js → p-c74ea645.entry.js} +2 -2
  208. package/dist/web-components-library/p-ca525798.js +2 -0
  209. package/dist/web-components-library/p-ca525798.js.map +1 -0
  210. package/dist/web-components-library/{p-f7461e10.entry.js → p-cebc9451.entry.js} +2 -2
  211. package/dist/web-components-library/{p-74301de8.entry.js → p-dc566d6d.entry.js} +2 -2
  212. package/dist/web-components-library/{p-0084024e.entry.js → p-def1bcc7.entry.js} +2 -2
  213. package/dist/web-components-library/{p-37d31461.entry.js → p-e1687f75.entry.js} +2 -2
  214. package/{www/build/p-0e91e5b6.entry.js → dist/web-components-library/p-eb6f59a8.entry.js} +2 -2
  215. package/dist/web-components-library/{p-610207c1.entry.js → p-ee08aec0.entry.js} +2 -2
  216. package/{www/build/p-a55dce3e.js → dist/web-components-library/p-eef153fa.js} +2 -2
  217. package/dist/web-components-library/{p-93bea5f7.entry.js → p-f36d7044.entry.js} +2 -2
  218. package/{www/build/p-bba086fb.entry.js → dist/web-components-library/p-f5efb3fc.entry.js} +2 -2
  219. package/dist/web-components-library/{p-1252814d.entry.js → p-fb232d07.entry.js} +2 -2
  220. package/dist/web-components-library/web-components-library.css +1 -2690
  221. package/dist/web-components-library/web-components-library.esm.js +1 -1
  222. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  223. package/package.json +1 -1
  224. package/www/build/index.esm.js +1 -1
  225. package/www/build/index.esm.js.map +1 -1
  226. package/www/build/p-05348da8.entry.js +2 -0
  227. package/{dist/web-components-library/p-e5ac7dfc.entry.js → www/build/p-0df112c4.entry.js} +2 -2
  228. package/www/build/{p-7934dde1.entry.js → p-1174942e.entry.js} +2 -2
  229. package/www/build/p-12900bf7.js +2 -0
  230. package/www/build/p-12900bf7.js.map +1 -0
  231. package/www/build/{p-512a8f43.entry.js → p-1477f263.entry.js} +2 -2
  232. package/www/build/{p-137c2618.js → p-17af7fb2.js} +2 -2
  233. package/www/build/p-17af7fb2.js.map +1 -0
  234. package/{dist/web-components-library/p-9f506297.entry.js → www/build/p-252ef047.entry.js} +2 -2
  235. package/www/build/{p-7248bddb.entry.js → p-2fb52cd0.entry.js} +2 -2
  236. package/{dist/web-components-library/p-dd021fcb.entry.js → www/build/p-342b0eb0.entry.js} +2 -2
  237. package/www/build/{p-5123ff9e.entry.js → p-3a9405b3.entry.js} +2 -2
  238. package/www/build/{p-b256f1e9.entry.js → p-42819df4.entry.js} +2 -2
  239. package/{dist/web-components-library/p-3fe267a1.entry.js → www/build/p-4cec3345.entry.js} +2 -2
  240. package/www/build/{p-ee8c03e3.entry.js → p-4cfe0f87.entry.js} +2 -2
  241. package/www/build/{p-d9f9d864.entry.js → p-512033d3.entry.js} +2 -2
  242. package/{dist/web-components-library/p-7e554fad.entry.js → www/build/p-57b8bd19.entry.js} +2 -2
  243. package/{dist/web-components-library/p-c2fc251c.entry.js → www/build/p-5f44ced1.entry.js} +2 -2
  244. package/{dist/web-components-library/p-359fddfd.entry.js → www/build/p-757415e9.entry.js} +2 -2
  245. package/www/build/p-7ad751e7.entry.js +2 -0
  246. package/www/build/{p-e540d235.entry.js → p-7c69b70a.entry.js} +2 -2
  247. package/www/build/{p-9c3cea8c.entry.js → p-7fbdf8f9.entry.js} +2 -2
  248. package/{dist/web-components-library/p-e7270ec2.entry.js → www/build/p-8b0c8e6d.entry.js} +2 -2
  249. package/www/build/{p-353952ef.entry.js → p-8c164e0d.entry.js} +2 -2
  250. package/www/build/p-8f4a90dc.entry.js +2 -0
  251. package/www/build/p-8f4a90dc.entry.js.map +1 -0
  252. package/www/build/{p-a33b1a31.entry.js → p-9047fe2a.entry.js} +2 -2
  253. package/www/build/{p-77b02b31.entry.js → p-914f9d32.entry.js} +2 -2
  254. package/www/build/p-92cc912e.entry.js +2 -0
  255. package/www/build/p-93fa3f25.css +1 -0
  256. package/{dist/web-components-library/p-12a7af3b.entry.js → www/build/p-956d977d.entry.js} +2 -2
  257. package/www/build/p-97294823.entry.js +2 -0
  258. package/{dist/web-components-library/p-b6de2c30.entry.js.map → www/build/p-97294823.entry.js.map} +1 -1
  259. package/{dist/web-components-library/p-5f5fd804.entry.js → www/build/p-98fdc6b5.entry.js} +2 -2
  260. package/www/build/{p-8c322c9a.js → p-a06fbbc0.js} +2 -2
  261. package/www/build/p-a35c1fab.js +2 -0
  262. package/www/build/p-a35c1fab.js.map +1 -0
  263. package/www/build/{p-5f58b59c.entry.js → p-a905df88.entry.js} +2 -2
  264. package/{dist/web-components-library/p-f0dd44c4.entry.js → www/build/p-ac888c48.entry.js} +2 -2
  265. package/www/build/{p-cdd36026.entry.js → p-ae82ba49.entry.js} +2 -2
  266. package/www/build/{p-26ea588a.entry.js → p-ae8b17a1.entry.js} +2 -2
  267. package/{dist/web-components-library/p-245a7cf6.entry.js → www/build/p-afc9e99e.entry.js} +2 -2
  268. package/www/build/{p-6ba34f6e.entry.js → p-afea8173.entry.js} +2 -2
  269. package/{dist/web-components-library/p-84fe65a8.entry.js → www/build/p-b63c8e8b.entry.js} +2 -2
  270. package/www/build/{p-2dee7eef.entry.js → p-c2ba8a6c.entry.js} +2 -2
  271. package/{dist/web-components-library/p-9dc90af3.entry.js → www/build/p-c4b78535.entry.js} +2 -2
  272. package/www/build/{p-f7d3e1cc.entry.js → p-c74ea645.entry.js} +2 -2
  273. package/www/build/p-ca525798.js +2 -0
  274. package/www/build/p-ca525798.js.map +1 -0
  275. package/www/build/{p-f7461e10.entry.js → p-cebc9451.entry.js} +2 -2
  276. package/www/build/{p-74301de8.entry.js → p-dc566d6d.entry.js} +2 -2
  277. package/www/build/{p-0084024e.entry.js → p-def1bcc7.entry.js} +2 -2
  278. package/www/build/{p-37d31461.entry.js → p-e1687f75.entry.js} +2 -2
  279. package/{dist/web-components-library/p-0e91e5b6.entry.js → www/build/p-eb6f59a8.entry.js} +2 -2
  280. package/www/build/{p-610207c1.entry.js → p-ee08aec0.entry.js} +2 -2
  281. package/{dist/web-components-library/p-a55dce3e.js → www/build/p-eef153fa.js} +2 -2
  282. package/www/build/{p-93bea5f7.entry.js → p-f36d7044.entry.js} +2 -2
  283. package/{dist/web-components-library/p-bba086fb.entry.js → www/build/p-f5efb3fc.entry.js} +2 -2
  284. package/www/build/p-fa5ca79c.js +2 -0
  285. package/www/build/{p-1252814d.entry.js → p-fb232d07.entry.js} +2 -2
  286. package/www/build/web-components-library.css +1 -2690
  287. package/www/build/web-components-library.esm.js +1 -1
  288. package/www/build/web-components-library.esm.js.map +1 -1
  289. package/www/index.html +1 -1
  290. package/dist/cjs/index-443b084a.js.map +0 -1
  291. package/dist/cjs/index-be0b8cf5.js.map +0 -1
  292. package/dist/cjs/index-e98b419e.js +0 -47
  293. package/dist/cjs/index-e98b419e.js.map +0 -1
  294. package/dist/cjs/index-f67078cb.js.map +0 -1
  295. package/dist/esm/index-2a26d10b.js.map +0 -1
  296. package/dist/esm/index-406138db.js +0 -45
  297. package/dist/esm/index-406138db.js.map +0 -1
  298. package/dist/esm/index-9f584e0a.js.map +0 -1
  299. package/dist/esm/index-be3c8aaa.js.map +0 -1
  300. package/dist/web-components-library/p-06b31bf5.js +0 -2
  301. package/dist/web-components-library/p-06b31bf5.js.map +0 -1
  302. package/dist/web-components-library/p-137c2618.js.map +0 -1
  303. package/dist/web-components-library/p-36e71b13.js +0 -2
  304. package/dist/web-components-library/p-36e71b13.js.map +0 -1
  305. package/dist/web-components-library/p-5ba4f3cf.entry.js +0 -2
  306. package/dist/web-components-library/p-5ba4f3cf.entry.js.map +0 -1
  307. package/dist/web-components-library/p-725b253d.entry.js +0 -2
  308. package/dist/web-components-library/p-84635654.js +0 -2
  309. package/dist/web-components-library/p-84635654.js.map +0 -1
  310. package/dist/web-components-library/p-a4e05ee2.entry.js +0 -2
  311. package/dist/web-components-library/p-b6de2c30.entry.js +0 -2
  312. package/dist/web-components-library/p-f20f1ed3.entry.js +0 -2
  313. package/www/build/p-06b31bf5.js +0 -2
  314. package/www/build/p-06b31bf5.js.map +0 -1
  315. package/www/build/p-137c2618.js.map +0 -1
  316. package/www/build/p-36e71b13.js +0 -2
  317. package/www/build/p-36e71b13.js.map +0 -1
  318. package/www/build/p-5ba4f3cf.entry.js +0 -2
  319. package/www/build/p-5ba4f3cf.entry.js.map +0 -1
  320. package/www/build/p-725b253d.entry.js +0 -2
  321. package/www/build/p-84635654.js +0 -2
  322. package/www/build/p-84635654.js.map +0 -1
  323. package/www/build/p-92615446.css +0 -2690
  324. package/www/build/p-a4e05ee2.entry.js +0 -2
  325. package/www/build/p-b6de2c30.entry.js +0 -2
  326. package/www/build/p-f20f1ed3.entry.js +0 -2
  327. package/www/build/p-f62a0bc9.js +0 -2
  328. /package/dist/types/home/{runner/work/design-system → hellofriend/Progetti/myz_docker}/design-system/.stencil/docs/grid/index.stories.d.ts +0 -0
  329. /package/dist/types/home/{runner/work/design-system → hellofriend/Progetti/myz_docker}/design-system/.stencil/docs/iconset/index.stories.d.ts +0 -0
  330. /package/dist/types/home/{runner/work/design-system → hellofriend/Progetti/myz_docker}/design-system/.stencil/docs/themes/index.stories.d.ts +0 -0
  331. /package/dist/types/home/{runner/work/design-system → hellofriend/Progetti/myz_docker}/design-system/.stencil/docs/typography/index.stories.d.ts +0 -0
  332. /package/dist/web-components-library/{p-725b253d.entry.js.map → p-05348da8.entry.js.map} +0 -0
  333. /package/dist/web-components-library/{p-e5ac7dfc.entry.js.map → p-0df112c4.entry.js.map} +0 -0
  334. /package/dist/web-components-library/{p-7934dde1.entry.js.map → p-1174942e.entry.js.map} +0 -0
  335. /package/dist/web-components-library/{p-512a8f43.entry.js.map → p-1477f263.entry.js.map} +0 -0
  336. /package/dist/web-components-library/{p-9f506297.entry.js.map → p-252ef047.entry.js.map} +0 -0
  337. /package/dist/web-components-library/{p-7248bddb.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
  338. /package/dist/web-components-library/{p-dd021fcb.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
  339. /package/dist/web-components-library/{p-5123ff9e.entry.js.map → p-3a9405b3.entry.js.map} +0 -0
  340. /package/dist/web-components-library/{p-b256f1e9.entry.js.map → p-42819df4.entry.js.map} +0 -0
  341. /package/dist/web-components-library/{p-3fe267a1.entry.js.map → p-4cec3345.entry.js.map} +0 -0
  342. /package/dist/web-components-library/{p-ee8c03e3.entry.js.map → p-4cfe0f87.entry.js.map} +0 -0
  343. /package/dist/web-components-library/{p-d9f9d864.entry.js.map → p-512033d3.entry.js.map} +0 -0
  344. /package/dist/web-components-library/{p-7e554fad.entry.js.map → p-57b8bd19.entry.js.map} +0 -0
  345. /package/dist/web-components-library/{p-c2fc251c.entry.js.map → p-5f44ced1.entry.js.map} +0 -0
  346. /package/dist/web-components-library/{p-359fddfd.entry.js.map → p-757415e9.entry.js.map} +0 -0
  347. /package/dist/web-components-library/{p-a4e05ee2.entry.js.map → p-7ad751e7.entry.js.map} +0 -0
  348. /package/dist/web-components-library/{p-e540d235.entry.js.map → p-7c69b70a.entry.js.map} +0 -0
  349. /package/dist/web-components-library/{p-9c3cea8c.entry.js.map → p-7fbdf8f9.entry.js.map} +0 -0
  350. /package/dist/web-components-library/{p-e7270ec2.entry.js.map → p-8b0c8e6d.entry.js.map} +0 -0
  351. /package/dist/web-components-library/{p-353952ef.entry.js.map → p-8c164e0d.entry.js.map} +0 -0
  352. /package/dist/web-components-library/{p-a33b1a31.entry.js.map → p-9047fe2a.entry.js.map} +0 -0
  353. /package/dist/web-components-library/{p-77b02b31.entry.js.map → p-914f9d32.entry.js.map} +0 -0
  354. /package/dist/web-components-library/{p-f20f1ed3.entry.js.map → p-92cc912e.entry.js.map} +0 -0
  355. /package/dist/web-components-library/{p-12a7af3b.entry.js.map → p-956d977d.entry.js.map} +0 -0
  356. /package/dist/web-components-library/{p-5f5fd804.entry.js.map → p-98fdc6b5.entry.js.map} +0 -0
  357. /package/dist/web-components-library/{p-8c322c9a.js.map → p-a06fbbc0.js.map} +0 -0
  358. /package/dist/web-components-library/{p-5f58b59c.entry.js.map → p-a905df88.entry.js.map} +0 -0
  359. /package/dist/web-components-library/{p-f0dd44c4.entry.js.map → p-ac888c48.entry.js.map} +0 -0
  360. /package/dist/web-components-library/{p-cdd36026.entry.js.map → p-ae82ba49.entry.js.map} +0 -0
  361. /package/dist/web-components-library/{p-26ea588a.entry.js.map → p-ae8b17a1.entry.js.map} +0 -0
  362. /package/dist/web-components-library/{p-245a7cf6.entry.js.map → p-afc9e99e.entry.js.map} +0 -0
  363. /package/dist/web-components-library/{p-6ba34f6e.entry.js.map → p-afea8173.entry.js.map} +0 -0
  364. /package/dist/web-components-library/{p-84fe65a8.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
  365. /package/dist/web-components-library/{p-2dee7eef.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
  366. /package/dist/web-components-library/{p-9dc90af3.entry.js.map → p-c4b78535.entry.js.map} +0 -0
  367. /package/dist/web-components-library/{p-f7d3e1cc.entry.js.map → p-c74ea645.entry.js.map} +0 -0
  368. /package/dist/web-components-library/{p-f7461e10.entry.js.map → p-cebc9451.entry.js.map} +0 -0
  369. /package/dist/web-components-library/{p-74301de8.entry.js.map → p-dc566d6d.entry.js.map} +0 -0
  370. /package/dist/web-components-library/{p-0084024e.entry.js.map → p-def1bcc7.entry.js.map} +0 -0
  371. /package/dist/web-components-library/{p-37d31461.entry.js.map → p-e1687f75.entry.js.map} +0 -0
  372. /package/dist/web-components-library/{p-0e91e5b6.entry.js.map → p-eb6f59a8.entry.js.map} +0 -0
  373. /package/dist/web-components-library/{p-610207c1.entry.js.map → p-ee08aec0.entry.js.map} +0 -0
  374. /package/dist/web-components-library/{p-a55dce3e.js.map → p-eef153fa.js.map} +0 -0
  375. /package/dist/web-components-library/{p-93bea5f7.entry.js.map → p-f36d7044.entry.js.map} +0 -0
  376. /package/dist/web-components-library/{p-bba086fb.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
  377. /package/dist/web-components-library/{p-1252814d.entry.js.map → p-fb232d07.entry.js.map} +0 -0
  378. /package/www/build/{p-725b253d.entry.js.map → p-05348da8.entry.js.map} +0 -0
  379. /package/www/build/{p-e5ac7dfc.entry.js.map → p-0df112c4.entry.js.map} +0 -0
  380. /package/www/build/{p-7934dde1.entry.js.map → p-1174942e.entry.js.map} +0 -0
  381. /package/www/build/{p-512a8f43.entry.js.map → p-1477f263.entry.js.map} +0 -0
  382. /package/www/build/{p-9f506297.entry.js.map → p-252ef047.entry.js.map} +0 -0
  383. /package/www/build/{p-7248bddb.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
  384. /package/www/build/{p-dd021fcb.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
  385. /package/www/build/{p-5123ff9e.entry.js.map → p-3a9405b3.entry.js.map} +0 -0
  386. /package/www/build/{p-b256f1e9.entry.js.map → p-42819df4.entry.js.map} +0 -0
  387. /package/www/build/{p-3fe267a1.entry.js.map → p-4cec3345.entry.js.map} +0 -0
  388. /package/www/build/{p-ee8c03e3.entry.js.map → p-4cfe0f87.entry.js.map} +0 -0
  389. /package/www/build/{p-d9f9d864.entry.js.map → p-512033d3.entry.js.map} +0 -0
  390. /package/www/build/{p-7e554fad.entry.js.map → p-57b8bd19.entry.js.map} +0 -0
  391. /package/www/build/{p-c2fc251c.entry.js.map → p-5f44ced1.entry.js.map} +0 -0
  392. /package/www/build/{p-359fddfd.entry.js.map → p-757415e9.entry.js.map} +0 -0
  393. /package/www/build/{p-a4e05ee2.entry.js.map → p-7ad751e7.entry.js.map} +0 -0
  394. /package/www/build/{p-e540d235.entry.js.map → p-7c69b70a.entry.js.map} +0 -0
  395. /package/www/build/{p-9c3cea8c.entry.js.map → p-7fbdf8f9.entry.js.map} +0 -0
  396. /package/www/build/{p-e7270ec2.entry.js.map → p-8b0c8e6d.entry.js.map} +0 -0
  397. /package/www/build/{p-353952ef.entry.js.map → p-8c164e0d.entry.js.map} +0 -0
  398. /package/www/build/{p-a33b1a31.entry.js.map → p-9047fe2a.entry.js.map} +0 -0
  399. /package/www/build/{p-77b02b31.entry.js.map → p-914f9d32.entry.js.map} +0 -0
  400. /package/www/build/{p-f20f1ed3.entry.js.map → p-92cc912e.entry.js.map} +0 -0
  401. /package/www/build/{p-12a7af3b.entry.js.map → p-956d977d.entry.js.map} +0 -0
  402. /package/www/build/{p-5f5fd804.entry.js.map → p-98fdc6b5.entry.js.map} +0 -0
  403. /package/www/build/{p-8c322c9a.js.map → p-a06fbbc0.js.map} +0 -0
  404. /package/www/build/{p-5f58b59c.entry.js.map → p-a905df88.entry.js.map} +0 -0
  405. /package/www/build/{p-f0dd44c4.entry.js.map → p-ac888c48.entry.js.map} +0 -0
  406. /package/www/build/{p-cdd36026.entry.js.map → p-ae82ba49.entry.js.map} +0 -0
  407. /package/www/build/{p-26ea588a.entry.js.map → p-ae8b17a1.entry.js.map} +0 -0
  408. /package/www/build/{p-245a7cf6.entry.js.map → p-afc9e99e.entry.js.map} +0 -0
  409. /package/www/build/{p-6ba34f6e.entry.js.map → p-afea8173.entry.js.map} +0 -0
  410. /package/www/build/{p-84fe65a8.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
  411. /package/www/build/{p-2dee7eef.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
  412. /package/www/build/{p-9dc90af3.entry.js.map → p-c4b78535.entry.js.map} +0 -0
  413. /package/www/build/{p-f7d3e1cc.entry.js.map → p-c74ea645.entry.js.map} +0 -0
  414. /package/www/build/{p-f7461e10.entry.js.map → p-cebc9451.entry.js.map} +0 -0
  415. /package/www/build/{p-74301de8.entry.js.map → p-dc566d6d.entry.js.map} +0 -0
  416. /package/www/build/{p-0084024e.entry.js.map → p-def1bcc7.entry.js.map} +0 -0
  417. /package/www/build/{p-37d31461.entry.js.map → p-e1687f75.entry.js.map} +0 -0
  418. /package/www/build/{p-0e91e5b6.entry.js.map → p-eb6f59a8.entry.js.map} +0 -0
  419. /package/www/build/{p-610207c1.entry.js.map → p-ee08aec0.entry.js.map} +0 -0
  420. /package/www/build/{p-a55dce3e.js.map → p-eef153fa.js.map} +0 -0
  421. /package/www/build/{p-93bea5f7.entry.js.map → p-f36d7044.entry.js.map} +0 -0
  422. /package/www/build/{p-bba086fb.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
  423. /package/www/build/{p-1252814d.entry.js.map → p-fb232d07.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- export{Z as z_th}from"./p-36e71b13.js";import"./p-75c4a726.js";import"./p-137c2618.js";
2
- //# sourceMappingURL=p-725b253d.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as o,a,g as n}from"./p-75c4a726.js";import{r}from"./p-8c322c9a.js";import"./p-06b31bf5.js";import"./p-36e71b13.js";const s=":host{--columns:1;display:grid;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr))}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-background)}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button:focus{box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}";const i=s;const d=class{constructor(o){t(this,o);this.expand=e(this,"expand",7);this.expandable=false;this.expanded=false;this.expandableContentId=undefined}updateColumns(){const t=Array.from(this.host.querySelectorAll("z-td, z-th"));if(this.expandable){t.pop()}const e=t.map((t=>t.colspan||1)).reduce(((t,e)=>t+e),0);this.host.style.setProperty("--columns",`${e}`);if(this.expandable){const e=t.pop();e.id=e.id||`z-tr-expandable-content-${r()}`;this.expandableContentId=e.id}}onRowClick(t){const e=t.target.closest(".prevent-expand");if(!this.expandable||e){return}this.expanded=!this.expanded;this.expand.emit({expanded:this.expanded})}componentWillLoad(){this.updateColumns()}render(){return o(a,{key:"c7aef75dce7ad486aa08145e3df1a9a4fbc0a086",role:"row",onClick:this.onRowClick.bind(this),expanded:this.expanded},o("div",{key:"474efb8147efb3045b2d671081674330209674ae",class:"z-tr--expand-button-container"},this.expandable&&o("button",{key:"d4f77c52514979ee1e52483d1031d222f8b60dfd","aria-expanded":this.expanded?"true":"false","aria-label":this.expanded?"Comprimi riga":"Espandi riga","aria-controls":this.expandableContentId,type:"button"},o("z-icon",{key:"a488e44b2b9119f2b96aeb42c2880f16650685a6",name:this.expanded?"minus-circled":"plus-circled"}))),o("slot",{key:"03ec3ec33b29e7ec504282289fa0daf8990deef5",onSlotchange:this.updateColumns.bind(this)}))}get host(){return n(this)}static get watchers(){return{expandable:["updateColumns"]}}};d.style=i;export{d as Z};
2
- //# sourceMappingURL=p-84635654.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZTrStyle0","ZTr","updateColumns","cells","Array","from","this","host","querySelectorAll","expandable","pop","columns","map","cell","colspan","reduce","a","b","style","setProperty","expandableContent","id","randomId","expandableContentId","onRowClick","event","preventExpand","target","closest","expanded","expand","emit","componentWillLoad","render","h","Host","key","role","onClick","bind","class","type","name","onSlotchange"],"sources":["src/components/table/z-tr/styles.css?tag=z-tr&encapsulation=shadow","src/components/table/z-tr/index.tsx"],"sourcesContent":[":host {\n /* number of columns of the row. will be set in component's ts code */\n --columns: 1;\n\n display: grid;\n box-sizing: border-box;\n grid-auto-flow: column;\n grid-template-columns: var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr));\n}\n\n* {\n box-sizing: border-box;\n}\n\n.z-tr--expand-button-container,\n::slotted(*) {\n border-bottom: var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03);\n}\n\n::slotted(*:not(:last-child)) {\n border-right: var(--z-table--cell-left-border, none);\n}\n\n:host([expandable]) {\n --show-expandable-button: visible;\n\n cursor: pointer;\n}\n\n:host([expandable]) ::slotted(*) {\n grid-row: 1;\n}\n\n:host([expandable]) ::slotted(:nth-last-child(2)) {\n border-right: none;\n}\n\n:host([expandable]) ::slotted(*:last-child) {\n border-left: 0;\n grid-column: 1 / span calc(var(--columns) + 1);\n grid-row: 2;\n}\n\n:host([expandable]:not([expanded])) ::slotted(*:last-child) {\n display: none;\n}\n\n:host([expanded]) {\n margin-bottom: 4px; /* prevents shadow to be cut by the next element */\n box-shadow: 0 4px 4px -2px var(--shadow-color-base);\n}\n\n:host([expanded]) .z-tr--expand-button-container,\n:host([expanded]) ::slotted(*) {\n background-color: var(--color-background);\n}\n\n.z-tr--expand-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--z-table--cells-background, var(--color-surface01));\n}\n\n.z-tr--expand-button-container button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: auto;\n appearance: none;\n background: transparent;\n cursor: pointer;\n visibility: var(--show-expandable-button, hidden);\n}\n\n.z-tr--expand-button-container button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n.z-tr--expand-button-container button z-icon {\n --z-icon-width: 16px;\n --z-icon-height: 16px;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {randomId} from \"../../../utils/utils\";\nimport \"../cells/z-td/index\";\nimport \"../cells/z-th/index\";\n\n/**\n * ZTr component.\n * When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row\n * to prevent the row from expanding.\n * @slot - ZTr content (`z-td` or `z-th`).\n */\n@Component({\n tag: \"z-tr\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTr {\n @Element() host: HTMLZTrElement;\n\n /**\n * Whether the row is expandable.\n * Use a `z-td` as the last cell of the row for the additional content.\n * It will show a button to expand/collapse the row.\n * The last cell will be hidden until the button or row is clicked.\n *\n * If some element inside the expandable row contains the `prevent-expand` css class,\n * the row will not expand by clicking that element.\n */\n @Prop({reflect: true})\n expandable = false;\n\n /**\n * Whether the row is currently expanded.\n */\n @State()\n expanded = false;\n\n /**\n * HTML Id of the expandable content.\n * It is used to link the button to the content through the `aria-controls` attribute.\n */\n @State()\n expandableContentId: string;\n\n /** Row has been expanded */\n @Event()\n expand: EventEmitter;\n\n @Watch(\"expandable\")\n @Listen(\"colspanchange\")\n protected updateColumns(): void {\n const cells = Array.from(this.host.querySelectorAll<HTMLZTdElement | HTMLZThElement>(\"z-td, z-th\"));\n if (this.expandable) {\n cells.pop();\n }\n\n const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);\n this.host.style.setProperty(\"--columns\", `${columns}`);\n\n if (this.expandable) {\n const expandableContent = cells.pop();\n expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;\n this.expandableContentId = expandableContent.id;\n }\n }\n\n /**\n * Handle click on row.\n * Skip expansion if the click is on a element with `prevent-expand` css class.\n */\n private onRowClick(event: MouseEvent): void {\n const preventExpand = (event.target as HTMLElement).closest(\".prevent-expand\");\n if (!this.expandable || preventExpand) {\n return;\n }\n\n this.expanded = !this.expanded;\n this.expand.emit({expanded: this.expanded});\n }\n\n componentWillLoad(): void {\n this.updateColumns();\n }\n\n render(): HTMLZTrElement {\n return (\n <Host\n role=\"row\"\n onClick={this.onRowClick.bind(this)}\n expanded={this.expanded}\n >\n <div class=\"z-tr--expand-button-container\">\n {this.expandable && (\n <button\n aria-expanded={this.expanded ? \"true\" : \"false\"}\n aria-label={this.expanded ? \"Comprimi riga\" : \"Espandi riga\"}\n aria-controls={this.expandableContentId}\n type=\"button\"\n >\n <z-icon name={this.expanded ? \"minus-circled\" : \"plus-circled\"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aAAcrC,KAAKJ,cAAcqC,KAAKjC,Q","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export{Z as z_td}from"./p-06b31bf5.js";import"./p-75c4a726.js";import"./p-137c2618.js";
2
- //# sourceMappingURL=p-a4e05ee2.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as s,a as e}from"./p-75c4a726.js";import{A as i}from"./p-137c2618.js";const a=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";const r=a;const c=class{constructor(s){t(this,s);var e,a;this.size=i.MEDIUM;this.text=undefined;this.textColor="color-white";this.backgroundColor="gray700";this.image=undefined;if(((e=this.text)===null||e===void 0?void 0:e.length)===0&&((a=this.image)===null||a===void 0?void 0:a.length)===0){console.warn("z-avatar must contain at least one prop between text and image")}}getTextSize(){if(this.size===i.SMALL){return"5"}else if(this.size===i.MEDIUM){return"4"}else if(this.size===i.LARGE){return"2"}}render(){return s(e,{key:"bf7dc11b7c8aea57303ce02812fd487a78248d46",class:{[this.size]:true,[`body-${this.getTextSize()}-sb`]:true},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&s("span",{key:"f5ff0b0ef02d7d69ada96f344f32dc8daccd5437"},this.text.substring(0,2)),this.image&&s("img",{key:"7df4cda5d4028d7397b70e1181c846bc9f84e19d",src:this.image,onError:()=>this.image=""}))}};c.style=r;export{c as z_avatar};
2
- //# sourceMappingURL=p-b6de2c30.entry.js.map
@@ -1,2 +0,0 @@
1
- export{Z as z_tr}from"./p-84635654.js";import"./p-75c4a726.js";import"./p-8c322c9a.js";import"./p-137c2618.js";import"./p-5145a606.js";import"./p-06b31bf5.js";import"./p-36e71b13.js";
2
- //# sourceMappingURL=p-f20f1ed3.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as n,a as o,g as s}from"./p-75c4a726.js";import{P as a,B as i,e as c}from"./p-137c2618.js";const l=':host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));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 h=l;const r=class{constructor(n){e(this,n);this.colspanChange=t(this,"colspanChange",6);this.colspan=undefined;this.sticky=false;this.showMenu=null;this.popoverPosition=a.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 n(o,{key:"c9c2a31f99dc72acd54744c8c1abdbb56b0a7df3",role:"cell","menu-open":this.isMenuOpen},n("div",{key:"f503630802052c5c3566b725aba40ea0923d60da",class:"cell--content"},n("slot",{key:"e26dc22a7b21eef5475d10124312384593957bf8"}),this.showMenu&&n("div",{key:"4c7204766c53e4502ff24e51e9ea751620246278",class:"cell--menu-container prevent-expand"},n("z-button",{key:"3d0f59414241c2b195dd45cf74f678b15e957cac",variant:i.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:e=>this.menuTrigger=e,onClick:this.onMenuButtonClick.bind(this)}),n("z-popover",{key:"68d2f577c442c9a72009dd6365cd4182e9333d5a",class:"cell-popover",ref:e=>this.popoverEl=e,bindTo:this.menuTrigger,onOpenChange:e=>this.isMenuOpen=e.detail.open,position:this.popoverPosition},n("slot",{key:"c90cf570174b2e2af659ae02e217d725a1951cb4",name:"contextual-menu"})))))}get host(){return s(this)}static get watchers(){return{colspan:["updateColspan"]}}};r.style=h;export{r as Z};
2
- //# sourceMappingURL=p-06b31bf5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZTdStyle0","ZTd","PopoverPosition","AUTO","updateColspan","this","colspan","host","style","gridColumn","removeProperty","colspanChange","emit","onMenuButtonClick","ev","stopPropagation","popoverEl","open","componentWillLoad","render","h","Host","key","role","isMenuOpen","class","showMenu","variant","ButtonVariant","TERTIARY","icon","size","ControlSize","X_SMALL","ref","el","menuTrigger","onClick","bind","bindTo","onOpenChange","event","detail","position","popoverPosition","name"],"sources":["src/components/table/cells/z-td/styles.css?tag=z-td&encapsulation=shadow","src/components/table/cells/z-td/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTd component.\n * @slot - ZTd content.\n */\n@Component({\n tag: \"z-td\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTd {\n @Element() host: HTMLZTdElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Set the popover position, the default is \"auto\".\n */\n @Prop()\n popoverPosition?: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n private menuTrigger: HTMLZButtonElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Emitted when the value of the `colspan` changes.\n */\n @Event({\n bubbles: true,\n cancelable: false,\n })\n colspanChange: EventEmitter<number>;\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n\n this.colspanChange.emit(this.colspan || 1);\n }\n\n private onMenuButtonClick(ev: MouseEvent): void {\n ev.stopPropagation();\n this.popoverEl.open = !this.popoverEl.open;\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZTdElement {\n return (\n <Host\n role=\"cell\"\n menu-open={this.isMenuOpen}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showMenu && (\n <div class=\"cell--menu-container prevent-expand\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLZButtonElement)}\n onClick={this.onMenuButtonClick.bind(this)}\n />\n <z-popover\n class=\"cell-popover\"\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger as HTMLElement}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kHAAA,MAAMA,EAAY,whCAClB,MAAAC,EAAeD,E,MCWFE,EAAG,M,yGAaL,M,cAQuB,K,qBAMIC,EAAgBC,K,gBAMvC,K,CAgBH,aAAAC,GACR,GAAIC,KAAKC,QAAS,CAChBD,KAAKE,KAAKC,MAAMC,WAAa,QAAQJ,KAAKC,S,KACrC,CACLD,KAAKE,KAAKC,MAAME,eAAe,c,CAGjCL,KAAKM,cAAcC,KAAKP,KAAKC,SAAW,E,CAGlC,iBAAAO,CAAkBC,GACxBA,EAAGC,kBACHV,KAAKW,UAAUC,MAAQZ,KAAKW,UAAUC,I,CAGxC,iBAAAC,GACEb,KAAKD,e,CAGP,MAAAe,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,OAAM,YACAlB,KAAKmB,YAEhBJ,EAAA,OAAAE,IAAA,2CAAKG,MAAM,iBACTL,EAAA,QAAAE,IAAA,6CACCjB,KAAKqB,UACJN,EAAA,OAAAE,IAAA,2CAAKG,MAAM,uCACTL,EAAA,YAAAE,IAAA,2CACEK,QAASC,EAAcC,SACvBC,KAAK,kBACLC,KAAMC,EAAYC,QAClBC,IAAMC,GAAQ9B,KAAK+B,YAAcD,EACjCE,QAAShC,KAAKQ,kBAAkByB,KAAKjC,QAEvCe,EAAA,aAAAE,IAAA,2CACEG,MAAM,eACNS,IAAMC,GAAQ9B,KAAKW,UAAYmB,EAC/BI,OAAQlC,KAAK+B,YACbI,aAAeC,GAAWpC,KAAKmB,WAAaiB,EAAMC,OAAOzB,KACzD0B,SAAUtC,KAAKuC,iBAEfxB,EAAA,QAAAE,IAAA,2CAAMuB,KAAK,uB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["LicenseType","CardVariant","NavigationTabsOrientation","NavigationTabsSize","NavigationTabsKeyboardEvents","ButtonVariant","ButtonType","ButtonSize","ControlSize","InputType","InputStatus","PopoverPosition","KeyboardKeyCode","KeyboardCode","ThemeVariant","DividerSize","DividerOrientation","SortDirection","AvatarSize","ListSize","ExpandableListStyle","ExpandableListButtonAlign","LabelPosition","ListDividerType","ListType","NotificationType","AlertType","Device","ToastNotification","ToastNotificationTransition","ToastNotificationPosition","ZTableRowExpandedType","ZAriaAlertMode","TransitionDirection","OffCanvasVariant","ZFileUploadType","ZChipType","ZSectionTitleDividerPosition","ZDatePickerMode","ZDatePickerModeValue","ZDatePickerPosition","ZRangePickerMode","InfoRevealPosition","CoverHeroVariant","CoverHeroContentPosition","CarouselArrowsPosition","CarouselProgressMode","BreadcrumbPathStyle","BreadcrumbHomepageVariant","VisibilityCondition","BookCardVariant","BookCardDeprecatedVariant","AccordionVariant"],"sources":["src/beans/index.tsx"],"sourcesContent":["export type MyzLink = {\n label: string;\n img: string;\n link: string;\n};\n\nexport enum LicenseType {\n REAL = \"reale\",\n VIRTUAL = \"virtuale\",\n TRIAL = \"saggio\",\n TEMP = \"reale_temp\",\n}\n\nexport type Card = {\n id: string;\n isbn: string;\n volumeTitle: string;\n operaTitle: string;\n img: string;\n authors: string;\n actions: Action[];\n isBookmark: boolean;\n licenseType: LicenseType;\n};\n\nexport enum CardVariant {\n BORDER = \"border\",\n SHADOW = \"shadow\",\n OVERLAY = \"overlay\",\n TEXT = \"text\",\n}\n\nexport type Action = {\n isLink: boolean;\n value: string;\n url?: string;\n};\n\nexport type ListItem = {\n text: string;\n link?: string;\n linktarget?: string;\n icon?: string;\n listitemid?: string;\n};\n\nexport type FilterItem = {\n name: string;\n id: string;\n isActive: boolean;\n isfixed: boolean;\n};\n\nexport type MenuItem = {\n id: string;\n label: string;\n link?: string;\n icon?: string;\n target?: string;\n subMenu?: MenuItem[];\n};\n\nexport type TabItem = {\n id: string;\n label: string;\n icon?: string;\n size?: string;\n selected?: boolean;\n disabled?: boolean;\n};\n\nexport enum NavigationTabsOrientation {\n HORIZONTAL = \"horizontal\",\n VERTICAL = \"vertical\",\n}\n\nexport enum NavigationTabsSize {\n BIG = \"big\",\n SMALL = \"small\",\n}\n\nexport enum NavigationTabsKeyboardEvents {\n LEFT = \"ArrowLeft\",\n RIGHT = \"ArrowRight\",\n UP = \"ArrowUp\",\n DOWN = \"ArrowDown\",\n}\n\nexport type HeaderUserData = {\n islogged: boolean;\n id?: number;\n name?: string;\n usergroup: number;\n userlinks: MenuItem[];\n};\n\nexport type ComboItem = {\n id: string;\n name: string;\n checked: boolean;\n category?: string;\n};\n\nexport enum ButtonVariant {\n PRIMARY = \"primary\",\n SECONDARY = \"secondary\",\n TERTIARY = \"tertiary\",\n}\n\nexport enum ButtonType {\n SUBMIT = \"submit\",\n RESET = \"reset\",\n BUTTON = \"button\",\n}\n\n/**\n * @deprecated Use ControlSize instead\n */\nexport enum ButtonSize {\n BIG = \"big\",\n SMALL = \"small\",\n X_SMALL = \"x-small\",\n}\n\nexport enum ControlSize {\n BIG = \"big\",\n SMALL = \"small\",\n X_SMALL = \"x-small\",\n}\n\nexport enum InputType {\n TEXT = \"text\",\n PASSWORD = \"password\",\n NUMBER = \"number\",\n EMAIL = \"email\",\n TEXTAREA = \"textarea\",\n CHECKBOX = \"checkbox\",\n RADIO = \"radio\",\n TEL = \"tel\",\n URL = \"url\",\n SEARCH = \"search\",\n}\n\nexport enum InputStatus {\n SUCCESS = \"success\",\n ERROR = \"error\",\n WARNING = \"warning\",\n}\n\nexport enum PopoverPosition {\n /** @deprecated This value is not needed anymore as the popover will always try to position itself automatically based on available space.\n *\n * Passing `AUTO` is the same as not passing any position value.\n * Use any of the other values to explicitly set the preferred position of the popover.\n */\n AUTO = \"auto\",\n TOP = \"top\",\n RIGHT = \"right\",\n BOTTOM = \"bottom\",\n LEFT = \"left\",\n TOP_RIGHT = \"top_right\",\n TOP_LEFT = \"top_left\",\n BOTTOM_RIGHT = \"bottom_right\",\n BOTTOM_LEFT = \"bottom_left\",\n RIGHT_TOP = \"right_top\",\n RIGHT_BOTTOM = \"right_bottom\",\n LEFT_TOP = \"left_top\",\n LEFT_BOTTOM = \"left_bottom\",\n}\n\nexport enum KeyboardKeyCode {\n TAB = 9,\n SPACE = 32,\n ESC = 27,\n ENTER = 13,\n ARROW_UP = 38,\n ARROW_DOWN = 40,\n BACKSPACE = 8,\n DELETE = 46,\n}\n\nexport enum KeyboardCode {\n TAB = \"Tab\",\n SPACE = \"Space\",\n ESC = \"Escape\",\n ENTER = \"Enter\",\n ARROW_UP = \"ArrowUp\",\n ARROW_DOWN = \"ArrowDown\",\n BACKSPACE = \"Backspace\",\n DELETE = \"Delete\",\n ARROW_RIGHT = \"ArrowRight\",\n ARROW_LEFT = \"ArrowLeft\",\n}\n\nexport type SelectItem = {\n id: string;\n name: string;\n selected: boolean;\n icon?: string;\n disabled?: boolean;\n category?: string;\n children?: SelectItem[];\n};\n\nexport enum ThemeVariant {\n DARK = \"dark\",\n LIGHT = \"light\",\n}\n\nexport enum DividerSize {\n SMALL = \"small\",\n MEDIUM = \"medium\",\n LARGE = \"large\",\n}\n\nexport enum DividerOrientation {\n HORIZONTAL = \"horizontal\",\n VERTICAL = \"vertical\",\n}\n\nexport enum SortDirection {\n ASC = \"asc\",\n DESC = \"desc\",\n}\n\nexport enum AvatarSize {\n SMALL = \"small\",\n MEDIUM = \"medium\",\n LARGE = \"large\",\n}\n\nexport enum ListSize {\n SMALL = \"small\",\n MEDIUM = \"medium\",\n LARGE = \"large\",\n X_LARGE = \"x-large\",\n NONE = \"none\",\n}\n\nexport enum ExpandableListStyle {\n ACCORDION = \"accordion\",\n MENU = \"menu\",\n}\n\nexport enum ExpandableListButtonAlign {\n RIGHT = \"right\",\n LEFT = \"left\",\n}\n\nexport enum LabelPosition {\n RIGHT = \"right\",\n LEFT = \"left\",\n}\n\nexport enum ListDividerType {\n NONE = \"none\",\n HEADER = \"header\",\n ELEMENT = \"element\",\n}\n\nexport enum ListType {\n NONE = \"none\",\n ORDERED = \"ordered\",\n UNORDERED = \"unordered\",\n}\n\nexport enum NotificationType {\n SUCCESS = \"success\",\n WARNING = \"warning\",\n ERROR = \"error\",\n}\n\nexport enum AlertType {\n SUCCESS = \"success\",\n WARNING = \"warning\",\n ERROR = \"error\",\n}\n\nexport enum Device {\n MOBILE = \"mobile\",\n TABLET = \"tablet\",\n DESKTOP = \"desktop\",\n DESKTOP_WIDE = \"desktop-wide\",\n}\n\nexport type DictionaryData = {\n author: string;\n year: string;\n title: string;\n description: string;\n onlineLicense: DictionaryLicenseData;\n offlineLicense: DictionaryLicenseData;\n};\n\nexport type DictionaryLicenseData = {\n expiration: string;\n expired: boolean;\n expiring: boolean;\n installations: string;\n};\n\nexport enum ToastNotification {\n DARK = \"dark\",\n LIGHT = \"light\",\n ACCENT = \"accent\",\n ERROR = \"error\",\n SUCCESS = \"success\",\n WARNING = \"warning\",\n}\n\nexport enum ToastNotificationTransition {\n SLIDE_IN_LEFT = \"slide-in-left\",\n SLIDE_IN_RIGHT = \"slide-in-right\",\n SLIDE_IN_DOWN = \"slide-in-down\",\n SLIDE_IN_UP = \"slide-in-up\",\n SLIDE_OUT_LEFT = \"slide-out-left\",\n SLIDE_OUT_RIGHT = \"slide-out-right\",\n SLIDE_OUT_DOWN = \"slide-out-down\",\n SLIDE_OUT_UP = \"slide-out-up\",\n}\n\nexport enum ToastNotificationPosition {\n TOP_RIGHT = \"top-right\",\n TOP_LEFT = \"top-left\",\n TOP_CENTRE = \"top-centre\",\n BOTTOM_RIGHT = \"bottom-right\",\n BOTTOM_LEFT = \"bottom-left\",\n BOTTOM_CENTRE = \"bottom-centre\",\n}\n\nexport enum ZTableRowExpandedType {\n EXPANDABLE = \"expandable\",\n PADDING = \"padding\",\n NONE = \"none\",\n}\n\nexport enum ZAriaAlertMode {\n POLITE = \"polite\",\n ASSERTIVE = \"assertive\",\n}\n\nexport enum TransitionDirection {\n LEFT = \"left\",\n RIGHT = \"right\",\n UP = \"up\",\n}\n\nexport enum OffCanvasVariant {\n OVERLAY = \"overlay\",\n PUSHCONTENT = \"pushcontent\",\n}\n\nexport enum ZFileUploadType {\n DEFAULT = \"default\",\n DRAGDROP = \"dragdrop\",\n}\n\nexport enum ZChipType {\n DEFAULT = \"default\",\n MEDIUM = \"medium\",\n SMALL = \"small\",\n}\n\nexport enum ZSectionTitleDividerPosition {\n BEFORE = \"before\",\n AFTER = \"after\",\n}\n\nexport enum ZDatePickerMode {\n DATE = \"date\",\n DATE_TIME = \"date-time\",\n MONTHS = \"months\",\n}\n\nexport enum ZDatePickerModeValue {\n DATE = 401,\n DATE_TIME = 523,\n MONTHS = 288,\n}\n\nexport enum ZDatePickerPosition {\n TOP = \"top\",\n BOTTOM = \"bottom\",\n}\n\nexport enum ZRangePickerMode {\n DATE = \"date\",\n DATE_TIME = \"date-time\",\n}\n\nexport type SkipToContentLink = {\n label: string;\n href: string;\n ariaLabel?: string;\n};\n\nexport enum InfoRevealPosition {\n TOP_RIGHT = \"top_right\",\n TOP_LEFT = \"top_left\",\n BOTTOM_RIGHT = \"bottom_right\",\n BOTTOM_LEFT = \"bottom_left\",\n}\n\nexport enum CoverHeroVariant {\n OVERLAY = \"overlay\",\n STACKED = \"stacked\",\n}\n\nexport enum CoverHeroContentPosition {\n TOP = \"top\",\n BOTTOM = \"bottom\",\n}\n\nexport enum CarouselArrowsPosition {\n OVER = \"over\",\n BOTTOM = \"bottom\",\n}\n\nexport enum CarouselProgressMode {\n DOTS = \"dots\",\n NUMBERS = \"numbers\",\n}\n\nexport type SearchbarItem = {\n label: string;\n id?: string;\n icon?: string;\n tag?: {icon?: string; text: string};\n category?: string;\n subcategory?: string;\n children?: Omit<SearchbarItem, \"category\" | \"subcategory\">[];\n};\n\nexport type SearchbarGroupedItem = {\n [key: string]: SearchbarGroup;\n};\n\nexport type SearchbarGroup = {\n items: SearchbarItem[];\n category?: string;\n subcategory?: string;\n};\n\nexport type BreadcrumbPath = {\n text?: string;\n path?: string;\n hasTooltip?: boolean;\n};\n\nexport enum BreadcrumbPathStyle {\n SEMIBOLD = \"semibold\",\n UNDERLINED = \"underlined\",\n}\n\nexport enum BreadcrumbHomepageVariant {\n TEXT = \"text\",\n ICON = \"icon\",\n}\n\nexport enum VisibilityCondition {\n HOVER = \"hover\",\n ALWAYS = \"always\",\n}\n\nexport enum BookCardVariant {\n LANDSCAPE = \"landscape\",\n PORTRAIT = \"portrait\",\n}\n\nexport enum BookCardDeprecatedVariant {\n EXPANDED = \"expanded\",\n COMPACT = \"compact\",\n SEARCH = \"search\",\n}\n\nexport enum AccordionVariant {\n DEFAULT = \"default\",\n BACKGROUND = \"background\",\n}\n\nexport type TreeListItem = {\n id: string;\n name: string;\n url: string;\n icon?: string;\n bold?: boolean;\n children?: TreeListItem[];\n};\n"],"mappings":"IAMYA,GAAZ,SAAYA,GACVA,EAAA,gBACAA,EAAA,sBACAA,EAAA,kBACAA,EAAA,oBACD,EALD,CAAYA,MAAW,K,IAmBXC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,mBACAA,EAAA,qBACAA,EAAA,cACD,EALD,CAAYA,MAAW,K,IA8CXC,GAAZ,SAAYA,GACVA,EAAA,2BACAA,EAAA,sBACD,EAHD,CAAYA,MAAyB,K,IAKzBC,GAAZ,SAAYA,GACVA,EAAA,aACAA,EAAA,gBACD,EAHD,CAAYA,MAAkB,K,IAKlBC,GAAZ,SAAYA,GACVA,EAAA,oBACAA,EAAA,sBACAA,EAAA,gBACAA,EAAA,mBACD,EALD,CAAYA,MAA4B,K,IAsB5BC,GAAZ,SAAYA,GACVA,EAAA,qBACAA,EAAA,yBACAA,EAAA,sBACD,EAJD,CAAYA,MAAa,K,IAMbC,GAAZ,SAAYA,GACVA,EAAA,mBACAA,EAAA,iBACAA,EAAA,kBACD,EAJD,CAAYA,MAAU,K,IASVC,GAAZ,SAAYA,GACVA,EAAA,aACAA,EAAA,iBACAA,EAAA,oBACD,EAJD,CAAYA,MAAU,K,IAMVC,GAAZ,SAAYA,GACVA,EAAA,aACAA,EAAA,iBACAA,EAAA,oBACD,EAJD,CAAYA,MAAW,K,IAMXC,GAAZ,SAAYA,GACVA,EAAA,eACAA,EAAA,uBACAA,EAAA,mBACAA,EAAA,iBACAA,EAAA,uBACAA,EAAA,uBACAA,EAAA,iBACAA,EAAA,aACAA,EAAA,aACAA,EAAA,kBACD,EAXD,CA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AYA,MAAyB,K,IAKzBC,GAAZ,SAAYA,GACVA,EAAA,iBACAA,EAAA,kBACD,EAHD,CAAYA,MAAmB,K,IAKnBC,GAAZ,SAAYA,GACVA,EAAA,yBACAA,EAAA,sBACD,EAHD,CAAYA,MAAe,K,IAKfC,GAAZ,SAAYA,GACVA,EAAA,uBACAA,EAAA,qBACAA,EAAA,kBACD,EAJD,CAAYA,MAAyB,K,IAMzBC,GAAZ,SAAYA,GACVA,EAAA,qBACAA,EAAA,0BACD,EAHD,CAAYA,MAAgB,Y","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as o,h as e,a as s,g as n}from"./p-75c4a726.js";import{P as i,S as a,B as r,e as c}from"./p-137c2618.js";const h=':host{position:relative;display:flex;max-width:100%;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));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)}.cell--content{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2))}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}@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:""}:host([sorted]) .z-th--sort-button::after,.z-th--sort-button:focus:focus-visible::after{box-shadow:var(--shadow-focus-primary)}';const l=h;const d=class{constructor(e){t(this,e);this.sort=o(this,"sort",7);this.colspan=undefined;this.showMenu=null;this.showSorting=null;this.sticky=false;this.sortDirection=undefined;this.sorted=false;this.popoverPosition=i.AUTO;this.isMenuOpen=false}get ariaSortDirection(){if(!this.sortDirection){return null}return this.sortDirection===a.ASC?"ascending":"descending"}handleSort(){if(!this.sortDirection){this.sorted=false;return}this.sortDirection=this.sortDirection===a.ASC?a.DESC:a.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 e(s,{key:"80d84d10038bfd5171b1596db3175c4e915e3c81",role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection,sortable:this.showSorting},e("div",{key:"b98f5cbe6c9fa873e39f46ba701c76755a4f9da7",class:"cell--content"},e("slot",{key:"f7d2b12496eb334bf07fcfc80e42cacf95a2b6c7"}),this.showSorting&&e("button",{key:"000518536845b9b1383d2aa90a655000a2d0cc0b",class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},e("z-icon",{key:"61cedbe8a54e51cac9d94f00e4d9d84dbcc1b48d",name:this.sortDirection===a.DESC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&e("div",{key:"3c2ac483288672ac1c65dc3586fb9b346abe53e9",class:"cell--menu-container"},e("z-button",{key:"6a495a201dc8343267ef8892bc97150c2d4ec4fc",variant:r.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),e("z-popover",{key:"b97a3477c4f63bccb2445304676ad2127a26d9df",ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},e("slot",{key:"d51ba2caa4e7929e3aedf3beec9b95f4c9b1cf24",name:"contextual-menu"})))))}get host(){return n(this)}static get watchers(){return{colspan:["updateColspan"]}}};d.style=l;export{d as Z};
2
- //# sourceMappingURL=p-36e71b13.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZThStyle0","ZTh","PopoverPosition","AUTO","ariaSortDirection","this","sortDirection","SortDirection","ASC","handleSort","sorted","DESC","sort","emit","updateColspan","colspan","host","style","gridColumn","removeProperty","componentWillLoad","render","h","Host","key","role","isMenuOpen","sortable","showSorting","class","type","onClick","bind","name","width","height","showMenu","variant","ButtonVariant","TERTIARY","icon","size","ControlSize","X_SMALL","ref","el","menuTrigger","popoverEl","open","bindTo","onOpenChange","event","detail","position","popoverPosition"],"sources":["src/components/table/cells/z-th/styles.css?tag=z-th&encapsulation=shadow","src/components/table/cells/z-th/index.tsx"],"sourcesContent":["@import \"../z-table-cells.css\";\n\n:host {\n z-index: 1;\n padding: 0;\n background-color: var(--color-background);\n font-weight: var(--font-sb);\n}\n\n.cell--content {\n padding: var(--z-table--cells-padding, calc(var(--space-unit) * 2));\n}\n\n:host([show-sorting]) .cell--content {\n column-gap: var(--space-unit);\n}\n\n.z-th--sort-button {\n padding: 0;\n border: none;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n}\n\n@media (min-width: 768px) and (hover: hover) {\n :host([show-sorting=\"hover\"]) .z-th--sort-button {\n opacity: 0;\n pointer-events: none;\n }\n\n :host([show-sorting=\"hover\"]:hover) .z-th--sort-button,\n :host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible,\n :host([show-sorting=\"always\"]) .z-th--sort-button,\n :host([sorted]) .z-th--sort-button {\n opacity: 1;\n pointer-events: all;\n }\n}\n\n:host([show-sorting=\"hover\"]:hover) .z-th--sort-button::after,\n:host([show-sorting=\"hover\"]) .z-th--sort-button:focus:focus-visible::after,\n:host([show-sorting=\"always\"]) .z-th--sort-button::after,\n:host([sorted]) .z-th--sort-button::after {\n position: absolute;\n top: 6px;\n left: 6px;\n width: calc(100% - 12px);\n height: calc(100% - 10px);\n background-color: transparent;\n content: \"\";\n}\n\n:host([sorted]) .z-th--sort-button::after,\n.z-th--sort-button:focus:focus-visible::after {\n box-shadow: var(--shadow-focus-primary);\n}\n","import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, ControlSize, PopoverPosition, SortDirection, VisibilityCondition} from \"../../../../beans\";\n\n/**\n * ZTh component.\n * @slot - ZTh content.\n * @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.\n */\n@Component({\n tag: \"z-th\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTh {\n @Element() host: HTMLZThElement;\n\n /**\n * Number of columns that the cell should span.\n */\n @Prop()\n colspan: number;\n\n /**\n * Enables the contextual menu.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the menu button.\n */\n @Prop({reflect: true})\n showMenu: VisibilityCondition = null;\n\n /**\n * Enables the sorting button.\n * Can be set to \"hover\" or \"always\" to show the button only on cell hover or always.\n * Set a nullish value to hide the sort button.\n */\n @Prop({reflect: true})\n showSorting: VisibilityCondition = null;\n\n /**\n * Whether the cell should stick.\n */\n @Prop({reflect: true})\n sticky = false;\n\n /**\n * Current sorting direction.\n */\n @Prop({mutable: true})\n sortDirection?: SortDirection;\n\n /**\n * Sorted state of the column.\n */\n @Prop({reflect: true, mutable: true})\n sorted: boolean | null = false;\n\n /**\n * Set popover position.\n */\n @Prop()\n popoverPosition = PopoverPosition.AUTO;\n\n /**\n * Store the open state of the menu.\n */\n @State()\n isMenuOpen = false;\n\n /**\n * Sort event fired when the user clicks on the sort button.\n * The sorting logic must be implemented by the app.\n * You can set an `id` on the `z-th` to easly identify the column in the event listener.\n */\n @Event()\n private sort: EventEmitter;\n\n private menuTrigger: HTMLElement;\n\n private popoverEl: HTMLZPopoverElement;\n\n /**\n * Get the value to set to the `aria-sort` attribute based on the current sort direction.\n */\n private get ariaSortDirection(): string {\n if (!this.sortDirection) {\n return null;\n }\n\n return this.sortDirection === SortDirection.ASC ? \"ascending\" : \"descending\";\n }\n\n /**\n * Handle the click on the sort button.\n * @fires sort\n */\n private handleSort(): void {\n if (!this.sortDirection) {\n this.sorted = false;\n\n return;\n }\n\n this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;\n this.sorted = true;\n\n this.sort.emit({sortDirection: this.sortDirection});\n }\n\n @Watch(\"colspan\")\n protected updateColspan(): void {\n if (this.colspan) {\n this.host.style.gridColumn = `span ${this.colspan}`;\n } else {\n this.host.style.removeProperty(\"grid-column\");\n }\n }\n\n componentWillLoad(): void {\n this.updateColspan();\n }\n\n render(): HTMLZThElement {\n return (\n <Host\n role=\"columnheader\"\n menu-open={this.isMenuOpen}\n aria-sort={this.ariaSortDirection}\n sortable={this.showSorting}\n >\n <div class=\"cell--content\">\n <slot></slot>\n {this.showSorting && (\n <button\n class=\"z-th--sort-button\"\n type=\"button\"\n onClick={this.handleSort.bind(this)}\n >\n <z-icon\n name={this.sortDirection === SortDirection.DESC ? \"arrow-simple-up\" : \"arrow-simple-down\"}\n width={14}\n height={14}\n />\n </button>\n )}\n {this.showMenu && (\n <div class=\"cell--menu-container\">\n <z-button\n variant={ButtonVariant.TERTIARY}\n icon=\"contextual-menu\"\n size={ControlSize.X_SMALL}\n ref={(el) => (this.menuTrigger = el as HTMLElement)}\n onClick={() => (this.popoverEl.open = !this.popoverEl.open)}\n />\n <z-popover\n ref={(el) => (this.popoverEl = el as HTMLZPopoverElement)}\n bindTo={this.menuTrigger}\n onOpenChange={(event) => (this.isMenuOpen = event.detail.open)}\n position={this.popoverPosition}\n >\n <slot name=\"contextual-menu\"></slot>\n </z-popover>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yHAAA,MAAMA,EAAY,+rEAClB,MAAAC,EAAeD,E,MCYFE,EAAG,M,yFAekB,K,iBAQG,K,YAM1B,M,yCAYgB,M,qBAMPC,EAAgBC,K,gBAMrB,K,CAiBb,qBAAYC,GACV,IAAKC,KAAKC,cAAe,CACvB,OAAO,I,CAGT,OAAOD,KAAKC,gBAAkBC,EAAcC,IAAM,YAAc,Y,CAO1D,UAAAC,GACN,IAAKJ,KAAKC,cAAe,CACvBD,KAAKK,OAAS,MAEd,M,CAGFL,KAAKC,cAAgBD,KAAKC,gBAAkBC,EAAcC,IAAMD,EAAcI,KAAOJ,EAAcC,IACnGH,KAAKK,OAAS,KAEdL,KAAKO,KAAKC,KAAK,CAACP,cAAeD,KAAKC,e,CAI5B,aAAAQ,GACR,GAAIT,KAAKU,QAAS,CAChBV,KAAKW,KAAKC,MAAMC,WAAa,QAAQb,KAAKU,S,KACrC,CACLV,KAAKW,KAAKC,MAAME,eAAe,c,EAInC,iBAAAC,GACEf,KAAKS,e,CAGP,MAAAO,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,eAAc,YACRpB,KAAKqB,WAAU,YACfrB,KAAKD,kBAChBuB,SAAUtB,KAAKuB,aAEfN,EAAA,OAAAE,IAAA,2CAAKK,MAAM,iBACTP,EAAA,QAAAE,IAAA,6CACCnB,KAAKuB,aACJN,EAAA,UAAAE,IAAA,2CACEK,MAAM,oBACNC,KAAK,SACLC,QAAS1B,KAAKI,WAAWuB,KAAK3B,OAE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