@zanichelli/albe-web-components 18.5.4-RC1 → 18.6.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 (691) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/index-09238e31.js +47 -0
  3. package/dist/cjs/index-09238e31.js.map +1 -0
  4. package/dist/cjs/{index-364e3f60.js → index-1c7cd5df.js} +2 -2
  5. package/dist/cjs/index-1c7cd5df.js.map +1 -0
  6. package/dist/cjs/{index-6b856bc1.js → index-66928615.js} +3 -3
  7. package/dist/cjs/{index-6b856bc1.js.map → index-66928615.js.map} +1 -1
  8. package/dist/cjs/{index-2d4fb043.js → index-97a4c18d.js} +6 -1
  9. package/dist/cjs/index-97a4c18d.js.map +1 -0
  10. package/dist/cjs/index-c48948bf.js +73 -0
  11. package/dist/cjs/index-c48948bf.js.map +1 -0
  12. package/dist/cjs/{index-bf197d11.js → index-f011b2e3.js} +5 -3
  13. package/dist/cjs/index-f011b2e3.js.map +1 -0
  14. package/dist/cjs/index.cjs.js +2 -2
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/{utils-7bfaaf8c.js → utils-7f9d5a78.js} +2 -2
  17. package/dist/cjs/{utils-7bfaaf8c.js.map → utils-7f9d5a78.js.map} +1 -1
  18. package/dist/cjs/{utils-ecc8ba50.js → utils-93961cb6.js} +2 -2
  19. package/dist/cjs/{utils-ecc8ba50.js.map → utils-93961cb6.js.map} +1 -1
  20. package/dist/cjs/web-components-library.cjs.js +1 -1
  21. package/dist/cjs/z-accordion.cjs.entry.js +2 -2
  22. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  23. package/dist/cjs/z-anchor-navigation.cjs.entry.js +2 -2
  24. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  25. package/dist/cjs/z-app-header_12.cjs.entry.js +8 -8
  26. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  27. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  28. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  29. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +2 -2
  30. package/dist/cjs/z-book-card.cjs.entry.js +20 -7
  31. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  32. package/dist/cjs/z-breadcrumb.cjs.entry.js +4 -4
  33. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  34. package/dist/cjs/z-card.cjs.entry.js +1 -1
  35. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  36. package/dist/cjs/z-chip.cjs.entry.js +3 -3
  37. package/dist/cjs/z-combobox.cjs.entry.js +3 -3
  38. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  39. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  40. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +5 -5
  41. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  42. package/dist/cjs/z-file.cjs.entry.js +1 -1
  43. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  44. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  45. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  46. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  47. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  48. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  49. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  51. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  52. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  53. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
  55. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  56. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  57. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  58. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  59. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  60. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  61. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  62. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  63. package/dist/cjs/z-pagination.cjs.entry.js +1 -1
  64. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  65. package/dist/cjs/z-popover.cjs.entry.js +307 -153
  66. package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
  67. package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
  68. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  69. package/dist/cjs/z-select.cjs.entry.js +3 -3
  70. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  71. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  72. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  73. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  74. package/dist/cjs/z-table.cjs.entry.js +9 -9
  75. package/dist/cjs/z-table.cjs.entry.js.map +1 -1
  76. package/dist/cjs/z-td.cjs.entry.js +2 -2
  77. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  78. package/dist/cjs/z-th.cjs.entry.js +2 -2
  79. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  80. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  81. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  82. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  83. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  84. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  85. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  86. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  87. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  88. package/dist/collection/beans/index.js +5 -0
  89. package/dist/collection/beans/index.js.map +1 -1
  90. package/dist/collection/components/book-card/z-book-card/index.js +44 -6
  91. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
  92. package/dist/collection/components/book-card/z-book-card/styles.css +6 -0
  93. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  94. package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
  95. package/dist/collection/components/table/cells/z-td/styles.css +1 -7
  96. package/dist/collection/components/table/cells/z-th/styles.css +10 -7
  97. package/dist/collection/components/table/z-table/index.js +1 -1
  98. package/dist/collection/components/table/z-table/index.stories.js +7 -2
  99. package/dist/collection/components/table/z-table/index.stories.js.map +1 -1
  100. package/dist/collection/components/table/z-table/styles.css +2 -0
  101. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  102. package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
  103. package/dist/collection/components/table/z-thead/index.js +21 -1
  104. package/dist/collection/components/table/z-thead/index.js.map +1 -1
  105. package/dist/collection/components/table/z-thead/styles.css +5 -0
  106. package/dist/collection/components/table/z-tr/index.js +15 -1
  107. package/dist/collection/components/table/z-tr/index.js.map +1 -1
  108. package/dist/collection/components/table/z-tr/styles.css +39 -14
  109. package/dist/collection/components/z-accordion/index.js +1 -1
  110. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  111. package/dist/collection/components/z-app-header/index.js +1 -1
  112. package/dist/collection/components/z-aria-alert/index.js +1 -1
  113. package/dist/collection/components/z-avatar/index.js +2 -2
  114. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  115. package/dist/collection/components/z-button-sort/index.js +1 -1
  116. package/dist/collection/components/z-chip/index.js +2 -2
  117. package/dist/collection/components/z-combobox/index.js +1 -1
  118. package/dist/collection/components/z-cover-hero/index.js +2 -2
  119. package/dist/collection/components/z-divider/index.js +1 -1
  120. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  121. package/dist/collection/components/z-info-box/index.js +1 -1
  122. package/dist/collection/components/z-info-reveal/index.js +1 -1
  123. package/dist/collection/components/z-input/index.js +1 -1
  124. package/dist/collection/components/z-input-message/index.js +1 -1
  125. package/dist/collection/components/z-logo/index.js +1 -1
  126. package/dist/collection/components/z-menu-section/index.js +1 -1
  127. package/dist/collection/components/z-modal/index.js +4 -4
  128. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  129. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  130. package/dist/collection/components/z-notification/index.js +1 -1
  131. package/dist/collection/components/z-offcanvas/index.js +1 -1
  132. package/dist/collection/components/z-panel-elem/index.js +2 -2
  133. package/dist/collection/components/z-popover/index.js +316 -156
  134. package/dist/collection/components/z-popover/index.js.map +1 -1
  135. package/dist/collection/components/z-popover/index.stories.js +124 -41
  136. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  137. package/dist/collection/components/z-popover/styles.css +16 -10
  138. package/dist/collection/components/z-searchbar/index.js +1 -1
  139. package/dist/collection/components/z-select/index.js +1 -1
  140. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  141. package/dist/collection/components/z-stepper/index.js +1 -1
  142. package/dist/collection/components/z-stepper-item/index.js +1 -1
  143. package/dist/collection/components/z-toast-notification/index.js +1 -1
  144. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  145. package/dist/collection/components/z-toggle-button/index.js +2 -2
  146. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  147. package/dist/collection/components/z-tooltip/index.js +1 -1
  148. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  149. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  150. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  151. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  152. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  153. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  154. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  155. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  156. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  157. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  158. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  159. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  160. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  161. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  162. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  163. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  164. package/dist/components/index10.js +1 -1
  165. package/dist/components/index11.js +1 -1
  166. package/dist/components/index12.js +1 -1
  167. package/dist/components/index16.js +4 -4
  168. package/dist/components/index17.js +1 -1
  169. package/dist/components/index18.js +1 -1
  170. package/dist/components/index19.js +1 -1
  171. package/dist/components/index2.js +5 -0
  172. package/dist/components/index2.js.map +1 -1
  173. package/dist/components/index20.js +1 -1
  174. package/dist/components/index21.js +1 -1
  175. package/dist/components/index22.js +1 -1
  176. package/dist/components/index23.js +308 -154
  177. package/dist/components/index23.js.map +1 -1
  178. package/dist/components/index24.js +1 -1
  179. package/dist/components/index3.js +1 -1
  180. package/dist/components/index5.js +2 -2
  181. package/dist/components/index6.js +1 -1
  182. package/dist/components/index8.js +1 -1
  183. package/dist/components/z-accordion.js +1 -1
  184. package/dist/components/z-anchor-navigation.js +1 -1
  185. package/dist/components/z-app-header.js +1 -1
  186. package/dist/components/z-aria-alert.js +1 -1
  187. package/dist/components/z-avatar.js +2 -2
  188. package/dist/components/z-book-card.js +19 -6
  189. package/dist/components/z-book-card.js.map +1 -1
  190. package/dist/components/z-breadcrumb.js +2 -2
  191. package/dist/components/z-button-sort.js +1 -1
  192. package/dist/components/z-combobox.js +1 -1
  193. package/dist/components/z-cover-hero.js +2 -2
  194. package/dist/components/z-info-box.js +1 -1
  195. package/dist/components/z-logo.js +1 -1
  196. package/dist/components/z-menu-section.js +1 -1
  197. package/dist/components/z-myz-card-alert.js +1 -1
  198. package/dist/components/z-myz-card-dictionary.js +1 -1
  199. package/dist/components/z-myz-card-footer-sections.js +1 -1
  200. package/dist/components/z-myz-card-footer.js +1 -1
  201. package/dist/components/z-myz-card-icon.js +1 -1
  202. package/dist/components/z-myz-card-info.js +1 -1
  203. package/dist/components/z-myz-card-list.js +1 -1
  204. package/dist/components/z-myz-list.js +1 -1
  205. package/dist/components/z-navigation-tabs.js +3 -3
  206. package/dist/components/z-navigation-tabs.js.map +1 -1
  207. package/dist/components/z-notification.js +1 -1
  208. package/dist/components/z-otp.js +2 -2
  209. package/dist/components/z-panel-elem.js +2 -2
  210. package/dist/components/z-select.js +1 -1
  211. package/dist/components/z-skip-to-content.js +1 -1
  212. package/dist/components/z-stepper-item.js +1 -1
  213. package/dist/components/z-stepper.js +1 -1
  214. package/dist/components/z-table.js +3 -2
  215. package/dist/components/z-table.js.map +1 -1
  216. package/dist/components/z-td.js +2 -2
  217. package/dist/components/z-td.js.map +1 -1
  218. package/dist/components/z-tfoot.js +1 -1
  219. package/dist/components/z-tfoot.js.map +1 -1
  220. package/dist/components/z-th.js +1 -1
  221. package/dist/components/z-th.js.map +1 -1
  222. package/dist/components/z-thead.js +6 -3
  223. package/dist/components/z-thead.js.map +1 -1
  224. package/dist/components/z-toast-notification-list.js +1 -1
  225. package/dist/components/z-toast-notification.js +1 -1
  226. package/dist/components/z-toggle-button.js +2 -2
  227. package/dist/components/z-toggle-switch.js +3 -3
  228. package/dist/components/z-tooltip.js +1 -1
  229. package/dist/components/z-tr.js +17 -2
  230. package/dist/components/z-tr.js.map +1 -1
  231. package/dist/components/z-visually-hidden.js +1 -1
  232. package/dist/esm/index-0bcacbd3.js +21 -0
  233. package/dist/esm/index-0bcacbd3.js.map +1 -0
  234. package/dist/esm/index-10473b87.js +71 -0
  235. package/dist/esm/index-10473b87.js.map +1 -0
  236. package/dist/esm/{index-cb76b648.js → index-2a6324f8.js} +6 -1
  237. package/dist/esm/index-2a6324f8.js.map +1 -0
  238. package/dist/esm/{index-571f913c.js → index-36122d8f.js} +2 -2
  239. package/dist/esm/index-36122d8f.js.map +1 -0
  240. package/dist/esm/{index-d02d53b4.js → index-b64ced16.js} +3 -3
  241. package/dist/esm/{index-d02d53b4.js.map → index-b64ced16.js.map} +1 -1
  242. package/dist/esm/index-f20179ad.js +45 -0
  243. package/dist/esm/index-f20179ad.js.map +1 -0
  244. package/dist/esm/index.js +2 -2
  245. package/dist/esm/loader.js +1 -1
  246. package/dist/esm/{utils-26154cbf.js → utils-227ef1c0.js} +2 -2
  247. package/dist/esm/{utils-26154cbf.js.map → utils-227ef1c0.js.map} +1 -1
  248. package/dist/esm/{utils-f6ae5714.js → utils-c8abef2f.js} +2 -2
  249. package/dist/esm/{utils-f6ae5714.js.map → utils-c8abef2f.js.map} +1 -1
  250. package/dist/esm/web-components-library.js +1 -1
  251. package/dist/esm/z-accordion.entry.js +2 -2
  252. package/dist/esm/z-alert.entry.js +1 -1
  253. package/dist/esm/z-anchor-navigation.entry.js +2 -2
  254. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  255. package/dist/esm/z-app-header_12.entry.js +8 -8
  256. package/dist/esm/z-aria-alert.entry.js +2 -2
  257. package/dist/esm/z-avatar.entry.js +3 -3
  258. package/dist/esm/z-book-card-app.entry.js +1 -1
  259. package/dist/esm/z-book-card-deprecated.entry.js +2 -2
  260. package/dist/esm/z-book-card.entry.js +20 -7
  261. package/dist/esm/z-book-card.entry.js.map +1 -1
  262. package/dist/esm/z-breadcrumb.entry.js +4 -4
  263. package/dist/esm/z-button-sort.entry.js +1 -1
  264. package/dist/esm/z-card.entry.js +1 -1
  265. package/dist/esm/z-carousel.entry.js +1 -1
  266. package/dist/esm/z-chip.entry.js +3 -3
  267. package/dist/esm/z-combobox.entry.js +3 -3
  268. package/dist/esm/z-cover-hero.entry.js +3 -3
  269. package/dist/esm/z-date-picker.entry.js +2 -2
  270. package/dist/esm/z-dragdrop-area_2.entry.js +5 -5
  271. package/dist/esm/z-file-upload.entry.js +1 -1
  272. package/dist/esm/z-file.entry.js +1 -1
  273. package/dist/esm/z-ghost-loading.entry.js +1 -1
  274. package/dist/esm/z-info-box.entry.js +1 -1
  275. package/dist/esm/z-info-reveal.entry.js +2 -2
  276. package/dist/esm/z-logo.entry.js +1 -1
  277. package/dist/esm/z-menu-section.entry.js +2 -2
  278. package/dist/esm/z-menu.entry.js +2 -2
  279. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  280. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  281. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  282. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  283. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  284. package/dist/esm/z-myz-card-info.entry.js +3 -3
  285. package/dist/esm/z-myz-card-list.entry.js +1 -1
  286. package/dist/esm/z-myz-card_4.entry.js +5 -5
  287. package/dist/esm/z-myz-list-item.entry.js +3 -3
  288. package/dist/esm/z-myz-list.entry.js +1 -1
  289. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  290. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  291. package/dist/esm/z-notification.entry.js +1 -1
  292. package/dist/esm/z-otp.entry.js +3 -3
  293. package/dist/esm/z-pagination.entry.js +1 -1
  294. package/dist/esm/z-panel-elem.entry.js +2 -2
  295. package/dist/esm/z-popover.entry.js +308 -154
  296. package/dist/esm/z-popover.entry.js.map +1 -1
  297. package/dist/esm/z-range-picker.entry.js +2 -2
  298. package/dist/esm/z-section-title.entry.js +1 -1
  299. package/dist/esm/z-select.entry.js +3 -3
  300. package/dist/esm/z-skip-to-content.entry.js +3 -3
  301. package/dist/esm/z-slideshow.entry.js +2 -2
  302. package/dist/esm/z-stepper-item.entry.js +1 -1
  303. package/dist/esm/z-stepper.entry.js +1 -1
  304. package/dist/esm/z-table.entry.js +9 -9
  305. package/dist/esm/z-table.entry.js.map +1 -1
  306. package/dist/esm/z-td.entry.js +2 -2
  307. package/dist/esm/z-tfoot.entry.js +1 -1
  308. package/dist/esm/z-th.entry.js +2 -2
  309. package/dist/esm/z-thead.entry.js +1 -1
  310. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  311. package/dist/esm/z-toast-notification.entry.js +2 -2
  312. package/dist/esm/z-toggle-button.entry.js +2 -2
  313. package/dist/esm/z-toggle-switch.entry.js +5 -5
  314. package/dist/esm/z-tooltip.entry.js +2 -2
  315. package/dist/esm/z-tr.entry.js +5 -5
  316. package/dist/esm/z-tree-list.entry.js +1 -1
  317. package/dist/esm/z-visually-hidden.entry.js +1 -1
  318. package/dist/types/beans/index.d.ts +5 -0
  319. package/dist/types/components/book-card/z-book-card/index.d.ts +7 -1
  320. package/dist/types/components/table/z-table/index.stories.d.ts +5 -0
  321. package/dist/types/components/table/z-thead/index.d.ts +5 -0
  322. package/dist/types/components/table/z-tr/index.d.ts +1 -0
  323. package/dist/types/components/z-popover/index.d.ts +50 -4
  324. package/dist/types/components/z-popover/index.stories.d.ts +26 -6
  325. package/dist/types/components.d.ts +43 -5
  326. package/dist/web-components-library/index.esm.js +1 -1
  327. package/dist/web-components-library/{p-10345a6d.entry.js → p-0756fe6f.entry.js} +2 -2
  328. package/dist/web-components-library/{p-173b1867.entry.js → p-09ba466b.entry.js} +2 -2
  329. package/dist/web-components-library/{p-fa9fdeb5.entry.js → p-14f0bdf4.entry.js} +2 -2
  330. package/{www/build/p-b49aeff4.js → dist/web-components-library/p-17af7fb2.js} +1 -1
  331. package/dist/web-components-library/p-17af7fb2.js.map +1 -0
  332. package/dist/web-components-library/{p-0c61db99.entry.js → p-25935be3.entry.js} +2 -2
  333. package/dist/web-components-library/{p-333e3cef.entry.js → p-2fb52cd0.entry.js} +2 -2
  334. package/dist/web-components-library/{p-892f03fc.entry.js → p-30575221.entry.js} +2 -2
  335. package/{www/build/p-d67e2f1b.js → dist/web-components-library/p-30e42fb1.js} +2 -2
  336. package/dist/web-components-library/{p-411e98ab.entry.js → p-342b0eb0.entry.js} +2 -2
  337. package/dist/web-components-library/p-37f271c8.entry.js +2 -0
  338. package/dist/web-components-library/p-37f271c8.entry.js.map +1 -0
  339. package/dist/web-components-library/p-3ed25564.entry.js +2 -0
  340. package/dist/web-components-library/{p-209db20e.entry.js → p-4c730d4a.entry.js} +2 -2
  341. package/dist/web-components-library/p-4c9bf42d.js +2 -0
  342. package/dist/web-components-library/p-4c9bf42d.js.map +1 -0
  343. package/{www/build/p-b2bb23bb.entry.js → dist/web-components-library/p-4cec3345.entry.js} +2 -2
  344. package/dist/web-components-library/{p-a61cb9dc.entry.js → p-4d73640e.entry.js} +2 -2
  345. package/dist/web-components-library/{p-40fc2770.entry.js → p-4fbcf534.entry.js} +2 -2
  346. package/dist/web-components-library/{p-49f5ad13.entry.js → p-57b8bd19.entry.js} +2 -2
  347. package/dist/web-components-library/{p-fed6d4ac.entry.js → p-5cf3a797.entry.js} +2 -2
  348. package/dist/web-components-library/p-61f76cab.js +2 -0
  349. package/dist/web-components-library/p-61f76cab.js.map +1 -0
  350. package/{www/build/p-ee7185cf.entry.js → dist/web-components-library/p-6273db7f.entry.js} +2 -2
  351. package/dist/web-components-library/{p-22aab9d2.entry.js → p-63c1bde5.entry.js} +2 -2
  352. package/dist/web-components-library/{p-a372e8cb.entry.js → p-6793061a.entry.js} +2 -2
  353. package/dist/web-components-library/p-67edb420.entry.js +2 -0
  354. package/{www/build/p-59c1d10c.entry.js → dist/web-components-library/p-689b0280.entry.js} +2 -2
  355. package/dist/web-components-library/p-69a1a67a.entry.js +2 -0
  356. package/{www/build/p-dd350f70.entry.js → dist/web-components-library/p-6a62a0a7.entry.js} +3 -3
  357. package/dist/web-components-library/{p-6efc0b32.entry.js → p-6ca0ee2f.entry.js} +2 -2
  358. package/dist/web-components-library/{p-98148b01.entry.js → p-72a7eb26.entry.js} +2 -2
  359. package/dist/web-components-library/p-74819cbe.entry.js +2 -0
  360. package/dist/web-components-library/p-748fa3ae.js +2 -0
  361. package/{www/build/p-171ee634.js.map → dist/web-components-library/p-748fa3ae.js.map} +1 -1
  362. package/{www/build/p-99e3d7f4.entry.js → dist/web-components-library/p-757415e9.entry.js} +2 -2
  363. package/dist/web-components-library/p-8117a929.entry.js +2 -0
  364. package/dist/web-components-library/p-8117a929.entry.js.map +1 -0
  365. package/dist/web-components-library/{p-23d669a8.entry.js → p-817689d5.entry.js} +2 -2
  366. package/{www/build/p-cbc1f955.entry.js → dist/web-components-library/p-8b93bc6d.entry.js} +2 -2
  367. package/dist/web-components-library/{p-c96b2352.entry.js → p-8c164e0d.entry.js} +2 -2
  368. package/dist/web-components-library/p-8c52635e.entry.js +2 -0
  369. package/dist/web-components-library/p-8d5e3396.entry.js +2 -0
  370. package/dist/web-components-library/p-8d5e3396.entry.js.map +1 -0
  371. package/dist/web-components-library/{p-064c29b7.entry.js → p-962c7f6b.entry.js} +2 -2
  372. package/dist/web-components-library/p-97608d16.entry.js +2 -0
  373. package/dist/web-components-library/{p-dc46730d.entry.js.map → p-97608d16.entry.js.map} +1 -1
  374. package/dist/web-components-library/p-9e3da0b7.entry.js +2 -0
  375. package/dist/web-components-library/{p-02c55ed9.js → p-a06fbbc0.js} +2 -2
  376. package/dist/web-components-library/{p-a840eb59.entry.js → p-a905df88.entry.js} +2 -2
  377. package/dist/web-components-library/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
  378. package/dist/web-components-library/{p-634b9589.entry.js → p-b63c8e8b.entry.js} +2 -2
  379. package/dist/web-components-library/{p-60ea979a.entry.js → p-badd98ad.entry.js} +2 -2
  380. package/dist/web-components-library/p-c2395922.entry.js +2 -0
  381. package/dist/web-components-library/p-c2395922.entry.js.map +1 -0
  382. package/dist/web-components-library/{p-6ba6ed17.entry.js → p-c2ba8a6c.entry.js} +2 -2
  383. package/dist/web-components-library/{p-dd66d76e.entry.js → p-c8814ae1.entry.js} +2 -2
  384. package/dist/web-components-library/{p-38ffeac0.entry.js → p-c962e854.entry.js} +2 -2
  385. package/dist/web-components-library/{p-3cb9a131.entry.js → p-caa491ca.entry.js} +2 -2
  386. package/dist/web-components-library/{p-62aaee7a.entry.js → p-cb1de7b4.entry.js} +2 -2
  387. package/dist/web-components-library/p-cbab66f7.entry.js +2 -0
  388. package/{www/build/p-40ac080b.entry.js → dist/web-components-library/p-cebc9451.entry.js} +2 -2
  389. package/{www/build/p-33c8d043.entry.js → dist/web-components-library/p-d0d54d42.entry.js} +2 -2
  390. package/{www/build/p-5cca3cf8.entry.js → dist/web-components-library/p-d6a7b7f3.entry.js} +2 -2
  391. package/dist/web-components-library/{p-b376a58c.entry.js → p-d6d3a92a.entry.js} +2 -2
  392. package/dist/web-components-library/p-d75f8bbb.entry.js +2 -0
  393. package/dist/web-components-library/p-d7f12672.js +2 -0
  394. package/dist/web-components-library/p-d7f12672.js.map +1 -0
  395. package/dist/web-components-library/{p-edceccad.entry.js → p-d8aa6afa.entry.js} +2 -2
  396. package/dist/web-components-library/p-d90d2698.entry.js +2 -0
  397. package/{www/build/p-800bd543.entry.js → dist/web-components-library/p-da30a6cb.entry.js} +2 -2
  398. package/{www/build/p-9425d3d1.entry.js → dist/web-components-library/p-dc5ba112.entry.js} +2 -2
  399. package/dist/web-components-library/{p-76102f08.entry.js → p-e231e811.entry.js} +2 -2
  400. package/{www/build/p-2fd165a0.entry.js → dist/web-components-library/p-e3b82454.entry.js} +2 -2
  401. package/dist/web-components-library/p-e5407cc1.entry.js +2 -0
  402. package/dist/web-components-library/{p-e853ccde.entry.js → p-e639e1bc.entry.js} +2 -2
  403. package/dist/web-components-library/{p-8ec302f8.entry.js → p-e8419614.entry.js} +2 -2
  404. package/dist/web-components-library/p-f19f12b1.js +2 -0
  405. package/dist/web-components-library/p-f19f12b1.js.map +1 -0
  406. package/dist/web-components-library/{p-a1d45a8b.entry.js → p-f1c55eda.entry.js} +2 -2
  407. package/{www/build/p-9c6fc3a6.entry.js → dist/web-components-library/p-f5efb3fc.entry.js} +2 -2
  408. package/dist/web-components-library/{p-2afe6219.entry.js → p-fb232d07.entry.js} +2 -2
  409. package/dist/web-components-library/web-components-library.esm.js +1 -1
  410. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  411. package/package.json +1 -1
  412. package/www/build/index.esm.js +1 -1
  413. package/www/build/{p-10345a6d.entry.js → p-0756fe6f.entry.js} +2 -2
  414. package/www/build/{p-173b1867.entry.js → p-09ba466b.entry.js} +2 -2
  415. package/www/build/{p-fa9fdeb5.entry.js → p-14f0bdf4.entry.js} +2 -2
  416. package/{dist/web-components-library/p-b49aeff4.js → www/build/p-17af7fb2.js} +1 -1
  417. package/www/build/p-17af7fb2.js.map +1 -0
  418. package/www/build/{p-0c61db99.entry.js → p-25935be3.entry.js} +2 -2
  419. package/www/build/{p-333e3cef.entry.js → p-2fb52cd0.entry.js} +2 -2
  420. package/www/build/{p-892f03fc.entry.js → p-30575221.entry.js} +2 -2
  421. package/{dist/web-components-library/p-d67e2f1b.js → www/build/p-30e42fb1.js} +2 -2
  422. package/www/build/{p-411e98ab.entry.js → p-342b0eb0.entry.js} +2 -2
  423. package/www/build/p-37f271c8.entry.js +2 -0
  424. package/www/build/p-37f271c8.entry.js.map +1 -0
  425. package/www/build/p-3ed25564.entry.js +2 -0
  426. package/www/build/{p-209db20e.entry.js → p-4c730d4a.entry.js} +2 -2
  427. package/www/build/p-4c9bf42d.js +2 -0
  428. package/www/build/p-4c9bf42d.js.map +1 -0
  429. package/{dist/web-components-library/p-b2bb23bb.entry.js → www/build/p-4cec3345.entry.js} +2 -2
  430. package/www/build/{p-a61cb9dc.entry.js → p-4d73640e.entry.js} +2 -2
  431. package/www/build/{p-40fc2770.entry.js → p-4fbcf534.entry.js} +2 -2
  432. package/www/build/{p-49f5ad13.entry.js → p-57b8bd19.entry.js} +2 -2
  433. package/www/build/{p-fed6d4ac.entry.js → p-5cf3a797.entry.js} +2 -2
  434. package/www/build/p-61f76cab.js +2 -0
  435. package/www/build/p-61f76cab.js.map +1 -0
  436. package/{dist/web-components-library/p-ee7185cf.entry.js → www/build/p-6273db7f.entry.js} +2 -2
  437. package/www/build/{p-22aab9d2.entry.js → p-63c1bde5.entry.js} +2 -2
  438. package/www/build/{p-a372e8cb.entry.js → p-6793061a.entry.js} +2 -2
  439. package/www/build/p-67edb420.entry.js +2 -0
  440. package/{dist/web-components-library/p-59c1d10c.entry.js → www/build/p-689b0280.entry.js} +2 -2
  441. package/www/build/p-69a1a67a.entry.js +2 -0
  442. package/{dist/web-components-library/p-dd350f70.entry.js → www/build/p-6a62a0a7.entry.js} +3 -3
  443. package/www/build/{p-6efc0b32.entry.js → p-6ca0ee2f.entry.js} +2 -2
  444. package/www/build/{p-98148b01.entry.js → p-72a7eb26.entry.js} +2 -2
  445. package/www/build/p-74819cbe.entry.js +2 -0
  446. package/www/build/p-748fa3ae.js +2 -0
  447. package/{dist/web-components-library/p-171ee634.js.map → www/build/p-748fa3ae.js.map} +1 -1
  448. package/{dist/web-components-library/p-99e3d7f4.entry.js → www/build/p-757415e9.entry.js} +2 -2
  449. package/www/build/p-8117a929.entry.js +2 -0
  450. package/www/build/p-8117a929.entry.js.map +1 -0
  451. package/www/build/{p-23d669a8.entry.js → p-817689d5.entry.js} +2 -2
  452. package/{dist/web-components-library/p-cbc1f955.entry.js → www/build/p-8b93bc6d.entry.js} +2 -2
  453. package/www/build/{p-c96b2352.entry.js → p-8c164e0d.entry.js} +2 -2
  454. package/www/build/p-8c52635e.entry.js +2 -0
  455. package/www/build/p-8d5e3396.entry.js +2 -0
  456. package/www/build/p-8d5e3396.entry.js.map +1 -0
  457. package/www/build/{p-064c29b7.entry.js → p-962c7f6b.entry.js} +2 -2
  458. package/www/build/p-97608d16.entry.js +2 -0
  459. package/www/build/{p-dc46730d.entry.js.map → p-97608d16.entry.js.map} +1 -1
  460. package/www/build/p-9e3da0b7.entry.js +2 -0
  461. package/www/build/{p-02c55ed9.js → p-a06fbbc0.js} +2 -2
  462. package/www/build/{p-a840eb59.entry.js → p-a905df88.entry.js} +2 -2
  463. package/www/build/{p-684c8fcb.entry.js → p-ac585bcd.entry.js} +2 -2
  464. package/www/build/{p-634b9589.entry.js → p-b63c8e8b.entry.js} +2 -2
  465. package/www/build/{p-60ea979a.entry.js → p-badd98ad.entry.js} +2 -2
  466. package/www/build/p-c2395922.entry.js +2 -0
  467. package/www/build/p-c2395922.entry.js.map +1 -0
  468. package/www/build/{p-6ba6ed17.entry.js → p-c2ba8a6c.entry.js} +2 -2
  469. package/www/build/{p-62dcf5d1.js → p-c802bb75.js} +1 -1
  470. package/www/build/{p-dd66d76e.entry.js → p-c8814ae1.entry.js} +2 -2
  471. package/www/build/{p-38ffeac0.entry.js → p-c962e854.entry.js} +2 -2
  472. package/www/build/{p-3cb9a131.entry.js → p-caa491ca.entry.js} +2 -2
  473. package/www/build/{p-62aaee7a.entry.js → p-cb1de7b4.entry.js} +2 -2
  474. package/www/build/p-cbab66f7.entry.js +2 -0
  475. package/{dist/web-components-library/p-40ac080b.entry.js → www/build/p-cebc9451.entry.js} +2 -2
  476. package/{dist/web-components-library/p-33c8d043.entry.js → www/build/p-d0d54d42.entry.js} +2 -2
  477. package/{dist/web-components-library/p-5cca3cf8.entry.js → www/build/p-d6a7b7f3.entry.js} +2 -2
  478. package/www/build/{p-b376a58c.entry.js → p-d6d3a92a.entry.js} +2 -2
  479. package/www/build/p-d75f8bbb.entry.js +2 -0
  480. package/www/build/p-d7f12672.js +2 -0
  481. package/www/build/p-d7f12672.js.map +1 -0
  482. package/www/build/{p-edceccad.entry.js → p-d8aa6afa.entry.js} +2 -2
  483. package/www/build/p-d90d2698.entry.js +2 -0
  484. package/{dist/web-components-library/p-800bd543.entry.js → www/build/p-da30a6cb.entry.js} +2 -2
  485. package/{dist/web-components-library/p-9425d3d1.entry.js → www/build/p-dc5ba112.entry.js} +2 -2
  486. package/www/build/{p-76102f08.entry.js → p-e231e811.entry.js} +2 -2
  487. package/{dist/web-components-library/p-2fd165a0.entry.js → www/build/p-e3b82454.entry.js} +2 -2
  488. package/www/build/p-e5407cc1.entry.js +2 -0
  489. package/www/build/{p-e853ccde.entry.js → p-e639e1bc.entry.js} +2 -2
  490. package/www/build/{p-8ec302f8.entry.js → p-e8419614.entry.js} +2 -2
  491. package/www/build/p-f19f12b1.js +2 -0
  492. package/www/build/p-f19f12b1.js.map +1 -0
  493. package/www/build/{p-a1d45a8b.entry.js → p-f1c55eda.entry.js} +2 -2
  494. package/{dist/web-components-library/p-9c6fc3a6.entry.js → www/build/p-f5efb3fc.entry.js} +2 -2
  495. package/www/build/{p-2afe6219.entry.js → p-fb232d07.entry.js} +2 -2
  496. package/www/build/web-components-library.esm.js +1 -1
  497. package/www/build/web-components-library.esm.js.map +1 -1
  498. package/www/index.html +1 -1
  499. package/dist/cjs/index-10fe85fc.js +0 -47
  500. package/dist/cjs/index-10fe85fc.js.map +0 -1
  501. package/dist/cjs/index-152c983a.js +0 -59
  502. package/dist/cjs/index-152c983a.js.map +0 -1
  503. package/dist/cjs/index-2d4fb043.js.map +0 -1
  504. package/dist/cjs/index-364e3f60.js.map +0 -1
  505. package/dist/cjs/index-bf197d11.js.map +0 -1
  506. package/dist/esm/index-571f913c.js.map +0 -1
  507. package/dist/esm/index-6b637355.js +0 -45
  508. package/dist/esm/index-6b637355.js.map +0 -1
  509. package/dist/esm/index-cb76b648.js.map +0 -1
  510. package/dist/esm/index-d0f93a38.js +0 -57
  511. package/dist/esm/index-d0f93a38.js.map +0 -1
  512. package/dist/esm/index-eb53c87f.js +0 -19
  513. package/dist/esm/index-eb53c87f.js.map +0 -1
  514. package/dist/web-components-library/p-171ee634.js +0 -2
  515. package/dist/web-components-library/p-195ed6d2.js +0 -2
  516. package/dist/web-components-library/p-195ed6d2.js.map +0 -1
  517. package/dist/web-components-library/p-2174d968.js +0 -2
  518. package/dist/web-components-library/p-2174d968.js.map +0 -1
  519. package/dist/web-components-library/p-22a8071a.entry.js +0 -2
  520. package/dist/web-components-library/p-28b41569.entry.js +0 -2
  521. package/dist/web-components-library/p-2aa75dee.entry.js +0 -2
  522. package/dist/web-components-library/p-2aa75dee.entry.js.map +0 -1
  523. package/dist/web-components-library/p-305d294a.entry.js +0 -2
  524. package/dist/web-components-library/p-3315c3e1.entry.js +0 -2
  525. package/dist/web-components-library/p-3315c3e1.entry.js.map +0 -1
  526. package/dist/web-components-library/p-35b5c549.entry.js +0 -2
  527. package/dist/web-components-library/p-35b5c549.entry.js.map +0 -1
  528. package/dist/web-components-library/p-39a968af.entry.js +0 -2
  529. package/dist/web-components-library/p-440db280.entry.js +0 -2
  530. package/dist/web-components-library/p-56156e0e.entry.js +0 -2
  531. package/dist/web-components-library/p-5cda7027.entry.js +0 -2
  532. package/dist/web-components-library/p-6a5bf3df.js +0 -2
  533. package/dist/web-components-library/p-6a5bf3df.js.map +0 -1
  534. package/dist/web-components-library/p-a2217ed8.entry.js +0 -2
  535. package/dist/web-components-library/p-a22b7aa0.entry.js +0 -2
  536. package/dist/web-components-library/p-a9d05a92.entry.js +0 -2
  537. package/dist/web-components-library/p-b49aeff4.js.map +0 -1
  538. package/dist/web-components-library/p-dc46730d.entry.js +0 -2
  539. package/dist/web-components-library/p-e2f36e53.entry.js +0 -2
  540. package/dist/web-components-library/p-e2f36e53.entry.js.map +0 -1
  541. package/dist/web-components-library/p-eb9ef3cb.js +0 -2
  542. package/dist/web-components-library/p-eb9ef3cb.js.map +0 -1
  543. package/www/build/p-171ee634.js +0 -2
  544. package/www/build/p-195ed6d2.js +0 -2
  545. package/www/build/p-195ed6d2.js.map +0 -1
  546. package/www/build/p-2174d968.js +0 -2
  547. package/www/build/p-2174d968.js.map +0 -1
  548. package/www/build/p-22a8071a.entry.js +0 -2
  549. package/www/build/p-28b41569.entry.js +0 -2
  550. package/www/build/p-2aa75dee.entry.js +0 -2
  551. package/www/build/p-2aa75dee.entry.js.map +0 -1
  552. package/www/build/p-305d294a.entry.js +0 -2
  553. package/www/build/p-3315c3e1.entry.js +0 -2
  554. package/www/build/p-3315c3e1.entry.js.map +0 -1
  555. package/www/build/p-35b5c549.entry.js +0 -2
  556. package/www/build/p-35b5c549.entry.js.map +0 -1
  557. package/www/build/p-39a968af.entry.js +0 -2
  558. package/www/build/p-440db280.entry.js +0 -2
  559. package/www/build/p-56156e0e.entry.js +0 -2
  560. package/www/build/p-5cda7027.entry.js +0 -2
  561. package/www/build/p-6a5bf3df.js +0 -2
  562. package/www/build/p-6a5bf3df.js.map +0 -1
  563. package/www/build/p-a2217ed8.entry.js +0 -2
  564. package/www/build/p-a22b7aa0.entry.js +0 -2
  565. package/www/build/p-a9d05a92.entry.js +0 -2
  566. package/www/build/p-b49aeff4.js.map +0 -1
  567. package/www/build/p-dc46730d.entry.js +0 -2
  568. package/www/build/p-e2f36e53.entry.js +0 -2
  569. package/www/build/p-e2f36e53.entry.js.map +0 -1
  570. package/www/build/p-eb9ef3cb.js +0 -2
  571. package/www/build/p-eb9ef3cb.js.map +0 -1
  572. /package/dist/web-components-library/{p-10345a6d.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
  573. /package/dist/web-components-library/{p-173b1867.entry.js.map → p-09ba466b.entry.js.map} +0 -0
  574. /package/dist/web-components-library/{p-fa9fdeb5.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
  575. /package/dist/web-components-library/{p-0c61db99.entry.js.map → p-25935be3.entry.js.map} +0 -0
  576. /package/dist/web-components-library/{p-333e3cef.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
  577. /package/dist/web-components-library/{p-892f03fc.entry.js.map → p-30575221.entry.js.map} +0 -0
  578. /package/dist/web-components-library/{p-d67e2f1b.js.map → p-30e42fb1.js.map} +0 -0
  579. /package/dist/web-components-library/{p-411e98ab.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
  580. /package/dist/web-components-library/{p-a2217ed8.entry.js.map → p-3ed25564.entry.js.map} +0 -0
  581. /package/dist/web-components-library/{p-209db20e.entry.js.map → p-4c730d4a.entry.js.map} +0 -0
  582. /package/dist/web-components-library/{p-b2bb23bb.entry.js.map → p-4cec3345.entry.js.map} +0 -0
  583. /package/dist/web-components-library/{p-a61cb9dc.entry.js.map → p-4d73640e.entry.js.map} +0 -0
  584. /package/dist/web-components-library/{p-40fc2770.entry.js.map → p-4fbcf534.entry.js.map} +0 -0
  585. /package/dist/web-components-library/{p-49f5ad13.entry.js.map → p-57b8bd19.entry.js.map} +0 -0
  586. /package/dist/web-components-library/{p-fed6d4ac.entry.js.map → p-5cf3a797.entry.js.map} +0 -0
  587. /package/dist/web-components-library/{p-ee7185cf.entry.js.map → p-6273db7f.entry.js.map} +0 -0
  588. /package/dist/web-components-library/{p-22aab9d2.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
  589. /package/dist/web-components-library/{p-a372e8cb.entry.js.map → p-6793061a.entry.js.map} +0 -0
  590. /package/dist/web-components-library/{p-a9d05a92.entry.js.map → p-67edb420.entry.js.map} +0 -0
  591. /package/dist/web-components-library/{p-59c1d10c.entry.js.map → p-689b0280.entry.js.map} +0 -0
  592. /package/dist/web-components-library/{p-28b41569.entry.js.map → p-69a1a67a.entry.js.map} +0 -0
  593. /package/dist/web-components-library/{p-dd350f70.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
  594. /package/dist/web-components-library/{p-6efc0b32.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
  595. /package/dist/web-components-library/{p-98148b01.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
  596. /package/dist/web-components-library/{p-440db280.entry.js.map → p-74819cbe.entry.js.map} +0 -0
  597. /package/dist/web-components-library/{p-99e3d7f4.entry.js.map → p-757415e9.entry.js.map} +0 -0
  598. /package/dist/web-components-library/{p-23d669a8.entry.js.map → p-817689d5.entry.js.map} +0 -0
  599. /package/dist/web-components-library/{p-cbc1f955.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
  600. /package/dist/web-components-library/{p-c96b2352.entry.js.map → p-8c164e0d.entry.js.map} +0 -0
  601. /package/dist/web-components-library/{p-5cda7027.entry.js.map → p-8c52635e.entry.js.map} +0 -0
  602. /package/dist/web-components-library/{p-064c29b7.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
  603. /package/dist/web-components-library/{p-305d294a.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
  604. /package/dist/web-components-library/{p-02c55ed9.js.map → p-a06fbbc0.js.map} +0 -0
  605. /package/dist/web-components-library/{p-a840eb59.entry.js.map → p-a905df88.entry.js.map} +0 -0
  606. /package/dist/web-components-library/{p-684c8fcb.entry.js.map → p-ac585bcd.entry.js.map} +0 -0
  607. /package/dist/web-components-library/{p-634b9589.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
  608. /package/dist/web-components-library/{p-60ea979a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
  609. /package/dist/web-components-library/{p-6ba6ed17.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
  610. /package/dist/web-components-library/{p-dd66d76e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
  611. /package/dist/web-components-library/{p-38ffeac0.entry.js.map → p-c962e854.entry.js.map} +0 -0
  612. /package/dist/web-components-library/{p-3cb9a131.entry.js.map → p-caa491ca.entry.js.map} +0 -0
  613. /package/dist/web-components-library/{p-62aaee7a.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
  614. /package/dist/web-components-library/{p-22a8071a.entry.js.map → p-cbab66f7.entry.js.map} +0 -0
  615. /package/dist/web-components-library/{p-40ac080b.entry.js.map → p-cebc9451.entry.js.map} +0 -0
  616. /package/dist/web-components-library/{p-33c8d043.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
  617. /package/dist/web-components-library/{p-5cca3cf8.entry.js.map → p-d6a7b7f3.entry.js.map} +0 -0
  618. /package/dist/web-components-library/{p-b376a58c.entry.js.map → p-d6d3a92a.entry.js.map} +0 -0
  619. /package/dist/web-components-library/{p-39a968af.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
  620. /package/dist/web-components-library/{p-edceccad.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
  621. /package/dist/web-components-library/{p-56156e0e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
  622. /package/dist/web-components-library/{p-800bd543.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
  623. /package/dist/web-components-library/{p-9425d3d1.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
  624. /package/dist/web-components-library/{p-76102f08.entry.js.map → p-e231e811.entry.js.map} +0 -0
  625. /package/dist/web-components-library/{p-2fd165a0.entry.js.map → p-e3b82454.entry.js.map} +0 -0
  626. /package/dist/web-components-library/{p-a22b7aa0.entry.js.map → p-e5407cc1.entry.js.map} +0 -0
  627. /package/dist/web-components-library/{p-e853ccde.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
  628. /package/dist/web-components-library/{p-8ec302f8.entry.js.map → p-e8419614.entry.js.map} +0 -0
  629. /package/dist/web-components-library/{p-a1d45a8b.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
  630. /package/dist/web-components-library/{p-9c6fc3a6.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
  631. /package/dist/web-components-library/{p-2afe6219.entry.js.map → p-fb232d07.entry.js.map} +0 -0
  632. /package/www/build/{p-10345a6d.entry.js.map → p-0756fe6f.entry.js.map} +0 -0
  633. /package/www/build/{p-173b1867.entry.js.map → p-09ba466b.entry.js.map} +0 -0
  634. /package/www/build/{p-fa9fdeb5.entry.js.map → p-14f0bdf4.entry.js.map} +0 -0
  635. /package/www/build/{p-0c61db99.entry.js.map → p-25935be3.entry.js.map} +0 -0
  636. /package/www/build/{p-333e3cef.entry.js.map → p-2fb52cd0.entry.js.map} +0 -0
  637. /package/www/build/{p-892f03fc.entry.js.map → p-30575221.entry.js.map} +0 -0
  638. /package/www/build/{p-d67e2f1b.js.map → p-30e42fb1.js.map} +0 -0
  639. /package/www/build/{p-411e98ab.entry.js.map → p-342b0eb0.entry.js.map} +0 -0
  640. /package/www/build/{p-a2217ed8.entry.js.map → p-3ed25564.entry.js.map} +0 -0
  641. /package/www/build/{p-209db20e.entry.js.map → p-4c730d4a.entry.js.map} +0 -0
  642. /package/www/build/{p-b2bb23bb.entry.js.map → p-4cec3345.entry.js.map} +0 -0
  643. /package/www/build/{p-a61cb9dc.entry.js.map → p-4d73640e.entry.js.map} +0 -0
  644. /package/www/build/{p-40fc2770.entry.js.map → p-4fbcf534.entry.js.map} +0 -0
  645. /package/www/build/{p-49f5ad13.entry.js.map → p-57b8bd19.entry.js.map} +0 -0
  646. /package/www/build/{p-fed6d4ac.entry.js.map → p-5cf3a797.entry.js.map} +0 -0
  647. /package/www/build/{p-ee7185cf.entry.js.map → p-6273db7f.entry.js.map} +0 -0
  648. /package/www/build/{p-22aab9d2.entry.js.map → p-63c1bde5.entry.js.map} +0 -0
  649. /package/www/build/{p-a372e8cb.entry.js.map → p-6793061a.entry.js.map} +0 -0
  650. /package/www/build/{p-a9d05a92.entry.js.map → p-67edb420.entry.js.map} +0 -0
  651. /package/www/build/{p-59c1d10c.entry.js.map → p-689b0280.entry.js.map} +0 -0
  652. /package/www/build/{p-28b41569.entry.js.map → p-69a1a67a.entry.js.map} +0 -0
  653. /package/www/build/{p-dd350f70.entry.js.map → p-6a62a0a7.entry.js.map} +0 -0
  654. /package/www/build/{p-6efc0b32.entry.js.map → p-6ca0ee2f.entry.js.map} +0 -0
  655. /package/www/build/{p-98148b01.entry.js.map → p-72a7eb26.entry.js.map} +0 -0
  656. /package/www/build/{p-440db280.entry.js.map → p-74819cbe.entry.js.map} +0 -0
  657. /package/www/build/{p-99e3d7f4.entry.js.map → p-757415e9.entry.js.map} +0 -0
  658. /package/www/build/{p-23d669a8.entry.js.map → p-817689d5.entry.js.map} +0 -0
  659. /package/www/build/{p-cbc1f955.entry.js.map → p-8b93bc6d.entry.js.map} +0 -0
  660. /package/www/build/{p-c96b2352.entry.js.map → p-8c164e0d.entry.js.map} +0 -0
  661. /package/www/build/{p-5cda7027.entry.js.map → p-8c52635e.entry.js.map} +0 -0
  662. /package/www/build/{p-064c29b7.entry.js.map → p-962c7f6b.entry.js.map} +0 -0
  663. /package/www/build/{p-305d294a.entry.js.map → p-9e3da0b7.entry.js.map} +0 -0
  664. /package/www/build/{p-02c55ed9.js.map → p-a06fbbc0.js.map} +0 -0
  665. /package/www/build/{p-a840eb59.entry.js.map → p-a905df88.entry.js.map} +0 -0
  666. /package/www/build/{p-684c8fcb.entry.js.map → p-ac585bcd.entry.js.map} +0 -0
  667. /package/www/build/{p-634b9589.entry.js.map → p-b63c8e8b.entry.js.map} +0 -0
  668. /package/www/build/{p-60ea979a.entry.js.map → p-badd98ad.entry.js.map} +0 -0
  669. /package/www/build/{p-6ba6ed17.entry.js.map → p-c2ba8a6c.entry.js.map} +0 -0
  670. /package/www/build/{p-dd66d76e.entry.js.map → p-c8814ae1.entry.js.map} +0 -0
  671. /package/www/build/{p-38ffeac0.entry.js.map → p-c962e854.entry.js.map} +0 -0
  672. /package/www/build/{p-3cb9a131.entry.js.map → p-caa491ca.entry.js.map} +0 -0
  673. /package/www/build/{p-62aaee7a.entry.js.map → p-cb1de7b4.entry.js.map} +0 -0
  674. /package/www/build/{p-22a8071a.entry.js.map → p-cbab66f7.entry.js.map} +0 -0
  675. /package/www/build/{p-40ac080b.entry.js.map → p-cebc9451.entry.js.map} +0 -0
  676. /package/www/build/{p-33c8d043.entry.js.map → p-d0d54d42.entry.js.map} +0 -0
  677. /package/www/build/{p-5cca3cf8.entry.js.map → p-d6a7b7f3.entry.js.map} +0 -0
  678. /package/www/build/{p-b376a58c.entry.js.map → p-d6d3a92a.entry.js.map} +0 -0
  679. /package/www/build/{p-39a968af.entry.js.map → p-d75f8bbb.entry.js.map} +0 -0
  680. /package/www/build/{p-edceccad.entry.js.map → p-d8aa6afa.entry.js.map} +0 -0
  681. /package/www/build/{p-56156e0e.entry.js.map → p-d90d2698.entry.js.map} +0 -0
  682. /package/www/build/{p-800bd543.entry.js.map → p-da30a6cb.entry.js.map} +0 -0
  683. /package/www/build/{p-9425d3d1.entry.js.map → p-dc5ba112.entry.js.map} +0 -0
  684. /package/www/build/{p-76102f08.entry.js.map → p-e231e811.entry.js.map} +0 -0
  685. /package/www/build/{p-2fd165a0.entry.js.map → p-e3b82454.entry.js.map} +0 -0
  686. /package/www/build/{p-a22b7aa0.entry.js.map → p-e5407cc1.entry.js.map} +0 -0
  687. /package/www/build/{p-e853ccde.entry.js.map → p-e639e1bc.entry.js.map} +0 -0
  688. /package/www/build/{p-8ec302f8.entry.js.map → p-e8419614.entry.js.map} +0 -0
  689. /package/www/build/{p-a1d45a8b.entry.js.map → p-f1c55eda.entry.js.map} +0 -0
  690. /package/www/build/{p-9c6fc3a6.entry.js.map → p-f5efb3fc.entry.js.map} +0 -0
  691. /package/www/build/{p-2afe6219.entry.js.map → p-fb232d07.entry.js.map} +0 -0
@@ -1,59 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-96af6326.js');
4
- const utils = require('./utils-ecc8ba50.js');
5
- require('./index-10fe85fc.js');
6
- require('./index-6b856bc1.js');
7
-
8
- const stylesCss = ":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)}:host(:focus){position:relative;z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}:host(:hover){position:relative;z-index:10;box-shadow:0 4px 4px -2px var(--shadow-color-base, rgb(0 0 0 / 20%))}.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}";
9
- const ZTrStyle0 = stylesCss;
10
-
11
- const ZTr = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.expand = index.createEvent(this, "expand", 7);
15
- this.expandable = false;
16
- this.expanded = false;
17
- this.expandableContentId = undefined;
18
- }
19
- updateColumns() {
20
- const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
21
- if (this.expandable) {
22
- cells.pop();
23
- }
24
- const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
25
- this.host.style.setProperty("--columns", `${columns}`);
26
- if (this.expandable) {
27
- const expandableContent = cells.pop();
28
- expandableContent.id = expandableContent.id || `z-tr-expandable-content-${utils.randomId()}`;
29
- this.expandableContentId = expandableContent.id;
30
- }
31
- }
32
- /**
33
- * Handle click on row.
34
- * Skip expansion if the click is on a element with `prevent-expand` css class.
35
- */
36
- onRowClick(event) {
37
- const preventExpand = event.target.closest(".prevent-expand");
38
- if (!this.expandable || preventExpand) {
39
- return;
40
- }
41
- this.expanded = !this.expanded;
42
- this.expand.emit({ expanded: this.expanded });
43
- }
44
- componentWillLoad() {
45
- this.updateColumns();
46
- }
47
- render() {
48
- return (index.h(index.Host, { key: '6b028d12da65adf37eb6637ddf9bfd06d9f0db24', role: "row", tabIndex: 0, expanded: this.expanded, onClick: this.onRowClick.bind(this) }, index.h("div", { key: '598c2865ff6df8c8b6335e08a559407c6074bc6a', class: "z-tr--expand-button-container" }, this.expandable && (index.h("button", { key: 'b6b1ec7c8817f0a2494b509f536d640d54012620', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, index.h("z-icon", { key: 'ed1dee7ce70dfee25497d7ba33ce3655217f6d0f', name: this.expanded ? "minus-circled" : "plus-circled" })))), index.h("slot", { key: '13d5eea11840b0a28dff58fe144791d8e9cfaca5', onSlotchange: this.updateColumns.bind(this) })));
49
- }
50
- get host() { return index.getElement(this); }
51
- static get watchers() { return {
52
- "expandable": ["updateColumns"]
53
- }; }
54
- };
55
- ZTr.style = ZTrStyle0;
56
-
57
- exports.ZTr = ZTr;
58
-
59
- //# sourceMappingURL=index-152c983a.js.map
@@ -1 +0,0 @@
1
- {"file":"index-152c983a.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,mwDAAmwD,CAAC;AACtxD,kBAAe,SAAS;;MCeX,GAAG;;;;0BAaD,KAAK;wBAMP,KAAK;;;IAeN,aAAa;QACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC,CAAC;QACpG,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,KAAK,CAAC,GAAG,EAAE,CAAC;SACb;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;QAEvD,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;YACtC,iBAAiB,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,IAAI,2BAA2BA,cAAQ,EAAE,EAAE,CAAC;YACvF,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,EAAE,CAAC;SACjD;KACF;;;;;IAMO,UAAU,CAAC,KAAiB;QAClC,MAAM,aAAa,GAAI,KAAK,CAAC,MAAsB,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAC/E,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,aAAa,EAAE;YACrC,OAAO;SACR;QAED,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAAC,CAAC;KAC7C;IAED,iBAAiB;QACf,IAAI,CAAC,aAAa,EAAE,CAAC;KACtB;IAED,MAAM;QACJ,QACEC,QAACC,UAAI,qDACH,IAAI,EAAC,KAAK,EACV,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAEnCD,kEAAK,KAAK,EAAC,+BAA+B,IACvC,IAAI,CAAC,UAAU,KACdA,sFACiB,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,gBACnC,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,mBAC7C,IAAI,CAAC,mBAAmB,EACvC,IAAI,EAAC,QAAQ,IAEbA,qEAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,eAAe,GAAG,cAAc,GAAW,CAClE,CACV,CACG,EACNA,mEAAM,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAS,CACrD,EACP;KACH;;;;;;;;;;","names":["randomId","h","Host"],"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:host(:focus) {\n position: relative;\n z-index: 20;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:hover) {\n position: relative;\n z-index: 10;\n box-shadow: 0 4px 4px -2px var(--shadow-color-base, rgb(0 0 0 / 20%));\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 tabIndex={0}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\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\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"index-2d4fb043.js","mappings":";;AAMYA;AAAZ,WAAY,WAAW;IACrB,6BAAc,CAAA;IACd,mCAAoB,CAAA;IACpB,+BAAgB,CAAA;IAChB,kCAAmB,CAAA;AACrB,CAAC,EALWA,mBAAW,KAAXA,mBAAW,QAKtB;AAcWC;AAAZ,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,4BAAa,CAAA;AACf,CAAC,EALWA,mBAAW,KAAXA,mBAAW,QAKtB;AAyCWC;AAAZ,WAAY,yBAAyB;IACnC,sDAAyB,CAAA;IACzB,kDAAqB,CAAA;AACvB,CAAC,EAHWA,iCAAyB,KAAzBA,iCAAyB,QAGpC;AAEWC;AAAZ,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,qCAAe,CAAA;AACjB,CAAC,EAHWA,0BAAkB,KAAlBA,0BAAkB,QAG7B;AAEWC;AAAZ,WAAY,4BAA4B;IACtC,kDAAkB,CAAA;IAClB,oDAAoB,CAAA;IACpB,8CAAc,CAAA;IACd,kDAAkB,CAAA;AACpB,CAAC,EALWA,oCAA4B,KAA5BA,oCAA4B,QAKvC;AAiBWC;AAAZ,WAAY,aAAa;IACvB,oCAAmB,CAAA;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ACb,2CAAmB,CAAA;AACrB,CAAC,EAHWA,4BAAoB,KAApBA,4BAAoB,QAG/B;AA4BWC;AAAZ,WAAY,mBAAmB;IAC7B,4CAAqB,CAAA;IACrB,gDAAyB,CAAA;AAC3B,CAAC,EAHWA,2BAAmB,KAAnBA,2BAAmB,QAG9B;AAEWC;AAAZ,WAAY,yBAAyB;IACnC,0CAAa,CAAA;IACb,0CAAa,CAAA;AACf,CAAC,EAHWA,iCAAyB,KAAzBA,iCAAyB,QAGpC;AAEWC;AAAZ,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,wCAAiB,CAAA;AACnB,CAAC,EAHWA,2BAAmB,KAAnBA,2BAAmB,QAG9B;AAEWC;AAAZ,WAAY,eAAe;IACzB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;AACvB,CAAC,EAHWA,uBAAe,KAAfA,uBAAe,QAG1B;AAEWC;AAAZ,WAAY,yBAAyB;IACnC,kDAAqB,CAAA;IACrB,gDAAmB,CAAA;IACnB,8CAAiB,CAAA;AACnB,CAAC,EAJWA,iCAAyB,KAAzBA,iCAAyB,QAIpC;AAEWC;AAAZ,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,6CAAyB,CAAA;AAC3B,CAAC,EAHWA,wBAAgB,KAAhBA,wBAAgB,QAG3B;AAWWC;AAAZ,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACjB,CAAC,EAHWA,oBAAY,KAAZA,oBAAY;;","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","IconPosition"],"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 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\nexport enum IconPosition {\n LEFT = \"left\",\n RIGHT = \"right\",\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"index-364e3f60.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,kOAAkO,CAAC;AACrP,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACEA,QAACC,UAAI,qDAAC,IAAI,EAAC,UAAU,IACnBD,oEAAa,CACR,EACP;KACH;;;;;;","names":["h","Host"],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n border-top: 1px solid var(--color-surface03);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"index-bf197d11.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,qRAAqR,CAAC;AACxS,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACEA,QAACC,UAAI,qDAAC,IAAI,EAAC,UAAU,IACnBD,oEAAa,CACR,EACP;KACH;;;;;;","names":["h","Host"],"sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-bottom-border-size: var(\n --border-size-medium\n ); /* Needed to handle the border of the expand button cell */\n\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead {\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"index-571f913c.js","mappings":";;AAAA,MAAM,SAAS,GAAG,kOAAkO,CAAC;AACrP,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,IACnB,8DAAa,CACR,EACP;KACH;;;;;;","names":[],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n border-top: 1px solid var(--color-surface03);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,45 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c8ceadeb.js';
2
- import { P as PopoverPosition, B as ButtonVariant, e as ControlSize } from './index-cb76b648.js';
3
-
4
- const stylesCss = ":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}:host(:focus){z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}.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}}";
5
- const ZTdStyle0 = stylesCss;
6
-
7
- const ZTd = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.colspanChange = createEvent(this, "colspanChange", 6);
11
- this.colspan = undefined;
12
- this.sticky = false;
13
- this.showMenu = null;
14
- this.popoverPosition = PopoverPosition.AUTO;
15
- this.isMenuOpen = false;
16
- }
17
- updateColspan() {
18
- if (this.colspan) {
19
- this.host.style.gridColumn = `span ${this.colspan}`;
20
- }
21
- else {
22
- this.host.style.removeProperty("grid-column");
23
- }
24
- this.colspanChange.emit(this.colspan || 1);
25
- }
26
- onMenuButtonClick(ev) {
27
- ev.stopPropagation();
28
- this.popoverEl.open = !this.popoverEl.open;
29
- }
30
- componentWillLoad() {
31
- this.updateColspan();
32
- }
33
- render() {
34
- return (h(Host, { key: '8c866902e986231a18c02c447bc390d14f55aecf', role: "cell", "menu-open": this.isMenuOpen, tabIndex: 0 }, h("div", { key: '83b6e697548f7fec6705e74111253564066005d8', class: "cell--content" }, h("slot", { key: '4129469503f265975bf5a28aa1ea576fa2e3311b' }), this.showMenu && (h("div", { key: 'd70b2bb104a891270515e7428593ce9cedbd882c', class: "cell--menu-container prevent-expand" }, h("z-button", { key: 'cacd10ac34bb695883c1e0d63dc96623fa3c59e9', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'e6fdca5d2ba1047264c0703a222c3c5a5c30480b', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'e3e996e448fd49d4248d98d219a899ea254d7fd1', name: "contextual-menu" })))))));
35
- }
36
- get host() { return getElement(this); }
37
- static get watchers() { return {
38
- "colspan": ["updateColspan"]
39
- }; }
40
- };
41
- ZTd.style = ZTdStyle0;
42
-
43
- export { ZTd as Z };
44
-
45
- //# sourceMappingURL=index-6b637355.js.map
@@ -1 +0,0 @@
1
- {"file":"index-6b637355.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,wmCAAwmC,CAAC;AAC3nC,kBAAe,SAAS;;MCWX,GAAG;;;;;sBAaL,KAAK;wBAQkB,IAAI;+BAMA,eAAe,CAAC,IAAI;0BAM3C,KAAK;;IAgBR,aAAa;QACrB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;SACrD;aAAM;YACL,IAAI,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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 tabIndex={0}\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"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"index-cb76b648.js","mappings":"IAMY;AAAZ,WAAY,WAAW;IACrB,6BAAc,CAAA;IACd,mCAAoB,CAAA;IACpB,+BAAgB,CAAA;IAChB,kCAAmB,CAAA;AACrB,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;IAcW;AAAZ,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,4BAAa,CAAA;AACf,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;IAyCW;AAAZ,WAAY,yBAAyB;IACnC,sDAAyB,CAAA;IACzB,kDAAqB,CAAA;AACvB,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC;IAEW;AAAZ,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,qCAAe,CAAA;AACjB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;IAEW;AAAZ,WAAY,4BAA4B;IACtC,kDAAkB,CAAA;IAClB,oDAAoB,CAAA;IACpB,8CAAc,CAAA;IACd,kDAAkB,CAAA;AACpB,CAAC,EALW,4BAA4B,KAA5B,4BAA4B,QAKvC;IAiBW;AAAZ,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;AACvB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;IAEW;AAAZ,WAAY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QAGpC;IAEW;AAAZ,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,wCAAiB,CAAA;AACnB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;IAEW;AAAZ,WAAY,eAAe;IACzB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;IAEW;AAAZ,WAAY,yBAAyB;IACnC,kDAAqB,CAAA;IACrB,gDAAmB,CAAA;IACnB,8CAAiB,CAAA;AACnB,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;IAEW;AAAZ,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,6CAAyB,CAAA;AAC3B,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;IAWW;AAAZ,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACjB,CAAC,EAHW,YAAY,KAAZ,YAAY;;;;","names":[],"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 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\nexport enum IconPosition {\n LEFT = \"left\",\n RIGHT = \"right\",\n}\n"],"version":3}
@@ -1,57 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-c8ceadeb.js';
2
- import { r as randomId } from './utils-f6ae5714.js';
3
- import './index-6b637355.js';
4
- import './index-d02d53b4.js';
5
-
6
- const stylesCss = ":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)}:host(:focus){position:relative;z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}:host(:hover){position:relative;z-index:10;box-shadow:0 4px 4px -2px var(--shadow-color-base, rgb(0 0 0 / 20%))}.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}";
7
- const ZTrStyle0 = stylesCss;
8
-
9
- const ZTr = class {
10
- constructor(hostRef) {
11
- registerInstance(this, hostRef);
12
- this.expand = createEvent(this, "expand", 7);
13
- this.expandable = false;
14
- this.expanded = false;
15
- this.expandableContentId = undefined;
16
- }
17
- updateColumns() {
18
- const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
19
- if (this.expandable) {
20
- cells.pop();
21
- }
22
- const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
23
- this.host.style.setProperty("--columns", `${columns}`);
24
- if (this.expandable) {
25
- const expandableContent = cells.pop();
26
- expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;
27
- this.expandableContentId = expandableContent.id;
28
- }
29
- }
30
- /**
31
- * Handle click on row.
32
- * Skip expansion if the click is on a element with `prevent-expand` css class.
33
- */
34
- onRowClick(event) {
35
- const preventExpand = event.target.closest(".prevent-expand");
36
- if (!this.expandable || preventExpand) {
37
- return;
38
- }
39
- this.expanded = !this.expanded;
40
- this.expand.emit({ expanded: this.expanded });
41
- }
42
- componentWillLoad() {
43
- this.updateColumns();
44
- }
45
- render() {
46
- return (h(Host, { key: '6b028d12da65adf37eb6637ddf9bfd06d9f0db24', role: "row", tabIndex: 0, expanded: this.expanded, onClick: this.onRowClick.bind(this) }, h("div", { key: '598c2865ff6df8c8b6335e08a559407c6074bc6a', class: "z-tr--expand-button-container" }, this.expandable && (h("button", { key: 'b6b1ec7c8817f0a2494b509f536d640d54012620', "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { key: 'ed1dee7ce70dfee25497d7ba33ce3655217f6d0f', name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { key: '13d5eea11840b0a28dff58fe144791d8e9cfaca5', onSlotchange: this.updateColumns.bind(this) })));
47
- }
48
- get host() { return getElement(this); }
49
- static get watchers() { return {
50
- "expandable": ["updateColumns"]
51
- }; }
52
- };
53
- ZTr.style = ZTrStyle0;
54
-
55
- export { ZTr as Z };
56
-
57
- //# sourceMappingURL=index-d0f93a38.js.map
@@ -1 +0,0 @@
1
- {"file":"index-d0f93a38.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,mwDAAmwD,CAAC;AACtxD,kBAAe,SAAS;;MCeX,GAAG;;;;0BAaD,KAAK;wBAMP,KAAK;;;IAeN,aAAa;QACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAkC,YAAY,CAAC,CAAC,CAAC;QACpG,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,KAAK,CAAC,GAAG,EAAE,CAAC;SACb;QAED,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;QAEvD,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;YACtC,iBAAiB,CAAC,E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[":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:host(:focus) {\n position: relative;\n z-index: 20;\n box-shadow: var(--shadow-focus-primary);\n outline: none;\n}\n\n:host(:hover) {\n position: relative;\n z-index: 10;\n box-shadow: 0 4px 4px -2px var(--shadow-color-base, rgb(0 0 0 / 20%));\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 tabIndex={0}\n expanded={this.expanded}\n onClick={this.onRowClick.bind(this)}\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\"}></z-icon>\n </button>\n )}\n </div>\n <slot onSlotchange={this.updateColumns.bind(this)}></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,19 +0,0 @@
1
- import { r as registerInstance, h, a as Host } from './index-c8ceadeb.js';
2
-
3
- const stylesCss = ":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-background\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}";
4
- const ZTheadStyle0 = stylesCss;
5
-
6
- const ZThead = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.sticky = false;
10
- }
11
- render() {
12
- return (h(Host, { key: '8f4e7bb738d8d4cf6aaf83faf5b2ecd4ed58feac', role: "rowgroup" }, h("slot", { key: '2a7dfe21b40cb26c57c98b6cae40dc801b22e7e3' })));
13
- }
14
- };
15
- ZThead.style = ZTheadStyle0;
16
-
17
- export { ZThead as Z };
18
-
19
- //# sourceMappingURL=index-eb53c87f.js.map
@@ -1 +0,0 @@
1
- {"file":"index-eb53c87f.js","mappings":";;AAAA,MAAM,SAAS,GAAG,qRAAqR,CAAC;AACxS,qBAAe,SAAS;;MCUX,MAAM;;;sBAKR,KAAK;;IAEd,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,UAAU,IACnB,8DAAa,CACR,EACP;KACH;;;;;;","names":[],"sources":["src/components/table/z-thead/styles.css?tag=z-thead&encapsulation=shadow","src/components/table/z-thead/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-bottom-border-size: var(\n --border-size-medium\n ); /* Needed to handle the border of the expand button cell */\n\n --z-table--cells-background: var(\n --color-background\n ); /* Needed to handle the background-color of the expand button cell */\n\n display: block;\n box-sizing: border-box;\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 2;\n top: 0;\n box-shadow: 0 2px 4px -2px var(--shadow-color-base);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZThead component.\n * @slot - ZThead content (`z-tr`).\n */\n@Component({\n tag: \"z-thead\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZThead {\n /**\n * If true, the header will be stuck to the top of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): HTMLZTheadElement {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -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-b49aeff4.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}:host(:focus){z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}.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:""}';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-171ee634.js.map
@@ -1,2 +0,0 @@
1
- import{r as o,h as r,a as s}from"./p-75c4a726.js";const c=":host{display:block;box-sizing:border-box;border-top:1px solid var(--color-surface03);border-bottom:1px solid var(--color-surface03)}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}";const t=c;const a=class{constructor(r){o(this,r);this.sticky=false}render(){return r(s,{key:"68f9134c92fd8aa1db8236ca1cae82945b8dff40",role:"rowgroup"},r("slot",{key:"e76426e09634deb41395104af9c37f8f75415435"}))}};a.style=t;export{a as Z};
2
- //# sourceMappingURL=p-195ed6d2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZTfootStyle0","ZTfoot","render","h","Host","key","role"],"sources":["src/components/table/z-tfoot/styles.css?tag=z-tfoot&encapsulation=shadow","src/components/table/z-tfoot/index.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n border-top: 1px solid var(--color-surface03);\n border-bottom: 1px solid var(--color-surface03);\n}\n\n:host([sticky]) {\n position: sticky;\n z-index: 1;\n bottom: 0;\n background-color: var(--color-surface01);\n}\n","import {Component, Host, Prop, h} from \"@stencil/core\";\n\n/**\n * ZTFoot component.\n * @slot - ZTFoot content (`z-tr`).\n */\n@Component({\n tag: \"z-tfoot\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTfoot {\n /**\n * If true, the footer will be stuck to the bottom of the table.\n */\n @Prop({reflect: true})\n sticky = false;\n\n render(): void {\n return (\n <Host role=\"rowgroup\">\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAY,mOAClB,MAAAC,EAAeD,E,MCUFE,EAAM,M,qCAKR,K,CAET,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,YACTH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -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-b49aeff4.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}:host(:focus){z-index:20;box-shadow:var(--shadow-focus-primary);outline:none}.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:"8c866902e986231a18c02c447bc390d14f55aecf",role:"cell","menu-open":this.isMenuOpen,tabIndex:0},n("div",{key:"83b6e697548f7fec6705e74111253564066005d8",class:"cell--content"},n("slot",{key:"4129469503f265975bf5a28aa1ea576fa2e3311b"}),this.showMenu&&n("div",{key:"d70b2bb104a891270515e7428593ce9cedbd882c",class:"cell--menu-container prevent-expand"},n("z-button",{key:"cacd10ac34bb695883c1e0d63dc96623fa3c59e9",variant:i.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:e=>this.menuTrigger=e,onClick:this.onMenuButtonClick.bind(this)}),n("z-popover",{key:"e6fdca5d2ba1047264c0703a222c3c5a5c30480b",class:"cell-popover",ref:e=>this.popoverEl=e,bindTo:this.menuTrigger,onOpenChange:e=>this.isMenuOpen=e.detail.open,position:this.popoverPosition},n("slot",{key:"e3e996e448fd49d4248d98d219a899ea254d7fd1",name:"contextual-menu"})))))}get host(){return s(this)}static get watchers(){return{colspan:["updateColspan"]}}};r.style=h;export{r as Z};
2
- //# sourceMappingURL=p-2174d968.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","tabIndex","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 tabIndex={0}\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,qmCAClB,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,WAChBC,SAAU,GAEVL,EAAA,OAAAE,IAAA,2CAAKI,MAAM,iBACTN,EAAA,QAAAE,IAAA,6CACCjB,KAAKsB,UACJP,EAAA,OAAAE,IAAA,2CAAKI,MAAM,uCACTN,EAAA,YAAAE,IAAA,2CACEM,QAASC,EAAcC,SACvBC,KAAK,kBACLC,KAAMC,EAAYC,QAClBC,IAAMC,GAAQ/B,KAAKgC,YAAcD,EACjCE,QAASjC,KAAKQ,kBAAkB0B,KAAKlC,QAEvCe,EAAA,aAAAE,IAAA,2CACEI,MAAM,eACNS,IAAMC,GAAQ/B,KAAKW,UAAYoB,EAC/BI,OAAQnC,KAAKgC,YACbI,aAAeC,GAAWrC,KAAKmB,WAAakB,EAAMC,OAAO1B,KACzD2B,SAAUvC,KAAKwC,iBAEfzB,EAAA,QAAAE,IAAA,2CAAMwB,KAAK,uB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as e,a as s}from"./p-75c4a726.js";import{A as a}from"./p-b49aeff4.js";const i=":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=i;const c=class{constructor(e){t(this,e);var s,i;this.size=a.MEDIUM;this.text=undefined;this.textColor="color-white";this.backgroundColor="gray700";this.image=undefined;if(((s=this.text)===null||s===void 0?void 0:s.length)===0&&((i=this.image)===null||i===void 0?void 0:i.length)===0){console.warn("z-avatar must contain at least one prop between text and image")}}getTextSize(){if(this.size===a.SMALL){return"5"}else if(this.size===a.MEDIUM){return"4"}else if(this.size===a.LARGE){return"2"}}render(){return e(s,{key:"bf7dc11b7c8aea57303ce02812fd487a78248d46",class:{[this.size]:true,[`body-${this.getTextSize()}-sb`]:true},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&e("span",{key:"f5ff0b0ef02d7d69ada96f344f32dc8daccd5437"},this.text.substring(0,2)),this.image&&e("img",{key:"7df4cda5d4028d7397b70e1181c846bc9f84e19d",src:this.image,onError:()=>this.image=""}))}};c.style=r;export{c as z_avatar};
2
- //# sourceMappingURL=p-22a8071a.entry.js.map
@@ -1,2 +0,0 @@
1
- export{Z as z_th}from"./p-171ee634.js";import"./p-75c4a726.js";import"./p-b49aeff4.js";
2
- //# sourceMappingURL=p-28b41569.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,c as i,h as a,a as n,g as e}from"./p-75c4a726.js";import{N as o,a as s,b as r}from"./p-b49aeff4.js";const l='z-navigation-tabs{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-navigation-tabs,z-navigation-tabs *{box-sizing:border-box}z-navigation-tabs>nav::-webkit-scrollbar{display:none}z-navigation-tabs .navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px var(--shadow-color-base);cursor:pointer;fill:var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));outline:none}z-navigation-tabs .navigation-button:disabled{display:none}z-navigation-tabs>nav{z-index:0;display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}z-navigation-tabs[orientation="horizontal"]>nav{width:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}z-navigation-tabs[orientation="horizontal"] .navigation-button:first-child{left:0}z-navigation-tabs[orientation="horizontal"] .navigation-button:last-child{right:0}z-navigation-tabs[orientation="vertical"]{width:fit-content;flex-direction:column}z-navigation-tabs[orientation="vertical"]>nav{height:100%;flex-direction:column;align-items:stretch}z-navigation-tabs[orientation="vertical"] .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}z-navigation-tabs[orientation="vertical"] .navigation-button:first-child{top:0}z-navigation-tabs[orientation="vertical"] .navigation-button:last-child{bottom:0}z-navigation-tabs[size="small"][orientation="vertical"] .navigation-button{height:calc(var(--space-unit) * 4)}z-navigation-tabs>nav>*{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;gap:var(--space-unit);letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tabs>nav>a{text-decoration:none}z-navigation-tabs>nav>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 2px 2px var(--blue800)}z-navigation-tabs>nav>:not([disabled]):hover{background-color:var(--color-background)}z-navigation-tabs>nav>button[disabled]{color:var(--color-disabled03);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tabs>nav>:not([disabled]):hover,nav>[aria-selected="true"]{color:var(--color-hover-primary);fill:currentcolor}z-navigation-tabs>nav>:not([disabled]):hover::after,nav>[aria-selected="true"]::after{position:absolute;background-color:var(--color-hover-primary);content:""}z-navigation-tabs[orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="horizontal"]>nav>[aria-selected="true"]::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tabs>nav>* z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tabs[size="small"][orientation="horizontal"]>nav>:not([disabled]):hover::after,z-navigation-tabs[size="small"][orientation="horizontal"]>nav>[aria-selected="true"]::after{height:var(--border-size-medium)}z-navigation-tabs[size="small"]:not([orientation="vertical"])>nav>* z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tabs[orientation="vertical"]>nav>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tabs[orientation="vertical"]>nav>*>:not(z-icon){display:none}z-navigation-tabs[orientation="vertical"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation="vertical"]>nav>[aria-selected="true"]::after{top:0;right:0;width:var(--border-size-large);height:100%}';const h=l;const c=class{constructor(a){t(this,a);this.selected=i(this,"selected",7);this.focusedTab=undefined;this.ariaLabel="";this.orientation=o.HORIZONTAL;this.size=s.BIG;this.selectedTab=undefined;this.canNavigate=undefined;this.canNavigatePrev=undefined;this.canNavigateNext=undefined}get direction(){return this.orientation==o.HORIZONTAL?"Left":"Top"}get dimension(){return this.orientation==o.HORIZONTAL?"Width":"Height"}get tabs(){return Array.from(this.nav.children)}scrollToTab(t){const i=t.parentElement;if(!i){return}setTimeout((()=>{const a=this.orientation===o.HORIZONTAL;const n=i.getBoundingClientRect();const e=t.getBoundingClientRect();const s=a?e.left-n.left:e.top-n.top;const r=a?i.clientWidth:i.clientHeight;const l=a?t.clientWidth:t.clientHeight;const h=s-r/2+l/2;i.scrollTo({[a?"left":"top"]:i[a?"scrollLeft":"scrollTop"]+h,behavior:"smooth"})}),100)}navigateBackwards(){this.nav.scrollBy({[this.direction.toLowerCase()]:0-this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}navigateForward(){this.nav.scrollBy({[this.direction.toLowerCase()]:this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]/2,behavior:"smooth"})}isArrowNavigation(t){return Object.values(r).includes(t.key)}checkScrollVisible(){if(!this.nav){return}this.canNavigate=this.nav[`scroll${this.dimension}`]>this.nav[`client${this.dimension}`]}checkScrollEnabled(){if(!this.nav){return}this.canNavigateNext=this.nav[`scroll${this.direction}`]+this.nav[`client${this.dimension}`]<this.nav[`scroll${this.dimension}`];this.canNavigatePrev=this.nav[`scroll${this.direction}`]>0}onTabSelected(){this.tabs.forEach(((t,i)=>{const a=t.querySelector("z-icon");const n=a===null||a===void 0?void 0:a.name.replace("-filled","");if(i!==this.selectedTab){t.setAttribute("aria-selected","false");t.tabIndex=-1;if(a){a.name=n}return}if(a){a.name=`${n}-filled`}t.setAttribute("aria-selected","true")}));this.selected.emit(this.selectedTab);if(this.selectedTab!==undefined){this.scrollToTab(this.tabs[this.selectedTab])}}handleTabClick(t){const i=t.target.closest("[role='tab']");if(!this.tabs.some((t=>t.contains(i)))){return}this.selectedTab=this.tabs.indexOf(i)}onTabFocusIn(t){const i=this.tabs.findIndex((i=>i.contains(t.target)));if(i===-1){return}if(this.selectedTab!==undefined){this.tabs[this.selectedTab].tabIndex=-1}this.focusedTab=i;this.tabs[this.focusedTab].tabIndex=-1;this.scrollToTab(this.tabs[this.focusedTab])}navigateThroughTabs(t){if(!this.tabs.some((i=>i.contains(t.target)))||!this.isArrowNavigation(t)){return true}t.preventDefault();if(t.key===r.RIGHT&&this.orientation==o.HORIZONTAL||t.key===r.DOWN&&this.orientation==o.VERTICAL){this.focusedTab++;if(this.focusedTab>=this.tabs.length){this.focusedTab=0}}else if(t.key===r.LEFT&&this.orientation==o.HORIZONTAL||t.key===r.UP&&this.orientation==o.VERTICAL){this.focusedTab--;if(this.focusedTab<0){this.focusedTab=this.tabs.length-1}}if(this.tabs[this.focusedTab].hasAttribute("disabled")&&this.tabs[this.focusedTab].getAttribute("disabled")!=="false"){return this.navigateThroughTabs(t)}this.tabs[this.focusedTab].focus();this.scrollToTab(this.tabs[this.focusedTab])}onTabFocusOut(t){var i;if(!this.tabs.some((i=>i.contains(t.relatedTarget)))){this.tabs[(i=this.selectedTab)!==null&&i!==void 0?i:0].tabIndex=0;this.focusedTab=undefined}}connectedCallback(){this.resizeObserver=new ResizeObserver((()=>this.checkScrollVisible()))}componentDidLoad(){var t;this.tabs.forEach((t=>{t.setAttribute("role","tab");t.tabIndex=-1}));const i=(t=this.selectedTab)!==null&&t!==void 0?t:this.tabs.findIndex((t=>t.ariaSelected==="true"));if(i!==-1){this.selectedTab=i;this.tabs[i].tabIndex=0;this.onTabSelected()}else{this.tabs[0].tabIndex=0}this.resizeObserver.observe(this.nav)}disconnectedCallback(){var t;(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect()}render(){return a(n,{key:"b7bdbf2b202dead64ed98f5865e9d46e71898bf9",class:{"interactive-2":this.size===s.SMALL,"interactive-1":this.size!==s.SMALL},scrollable:this.canNavigate},a("button",{key:"aa1df34b54cf4b8848aed44cd3927ee17777a34b",class:"navigation-button",onClick:this.navigateBackwards.bind(this),tabIndex:-1,disabled:!this.canNavigatePrev,"aria-label":"Mostra elementi precedenti",hidden:!this.canNavigate},a("z-icon",{key:"2bad56e221bc2691d8ca6cea0a013c6d92d7f8c1",name:this.orientation===o.HORIZONTAL?"chevron-left":"chevron-up",width:16,height:16})),a("nav",{key:"8dd45e59019ac799f1fffdf7245d0c902455c0a6",role:"tablist","aria-label":this.ariaLabel,ref:t=>this.nav=t!==null&&t!==void 0?t:this.nav,onScroll:this.checkScrollEnabled.bind(this),"aria-orientation":this.orientation},a("slot",{key:"3d243470caae97c068a2ae23b05078695c2ae367"})),a("button",{key:"080cf9e973e320a795c95acfb3bd41b4ee9eacd9",class:"navigation-button",onClick:this.navigateForward.bind(this),tabIndex:-1,disabled:!this.canNavigateNext,"aria-label":"Mostra elementi successivi",hidden:!this.canNavigate},a("z-icon",{key:"293fc3b81bee46d928c8461be0225be73efcc9bb",name:this.orientation===o.HORIZONTAL?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return e(this)}static get watchers(){return{canNavigate:["checkScrollEnabled"],selectedTab:["onTabSelected"]}}};c.style=h;export{c as z_navigation_tabs};
2
- //# sourceMappingURL=p-2aa75dee.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZNavigationTabsStyle0","ZNavigationTabs","this","focusedTab","undefined","NavigationTabsOrientation","HORIZONTAL","NavigationTabsSize","BIG","direction","orientation","dimension","tabs","Array","from","nav","children","scrollToTab","tabElement","container","parentElement","setTimeout","isHorizontal","containerRect","getBoundingClientRect","tabRect","offset","left","top","containerSize","clientWidth","clientHeight","tabSize","scrollAmount","scrollTo","behavior","navigateBackwards","scrollBy","toLowerCase","navigateForward","isArrowNavigation","e","Object","values","NavigationTabsKeyboardEvents","includes","key","checkScrollVisible","canNavigate","checkScrollEnabled","canNavigateNext","canNavigatePrev","onTabSelected","forEach","tab","i","zicon","querySelector","strokeIcon","name","replace","selectedTab","setAttribute","tabIndex","selected","emit","handleTabClick","event","clickedTab","target","closest","some","child","contains","indexOf","onTabFocusIn","focused","findIndex","navigateThroughTabs","preventDefault","RIGHT","DOWN","VERTICAL","length","LEFT","UP","hasAttribute","getAttribute","focus","onTabFocusOut","relatedTarget","_a","connectedCallback","resizeObserver","ResizeObserver","componentDidLoad","preselectedTab","ariaSelected","observe","disconnectedCallback","disconnect","render","h","Host","class","size","SMALL","scrollable","onClick","bind","disabled","hidden","width","height","role","ariaLabel","ref","el","onScroll"],"sources":["src/components/z-navigation-tabs/styles.css?tag=z-navigation-tabs","src/components/z-navigation-tabs/index.tsx"],"sourcesContent":["z-navigation-tabs {\n --z-navigation-tabs-nav-buttons-bg: ;\n --z-navigation-tabs-nav-buttons-fg: ;\n\n position: relative;\n z-index: 0;\n display: flex;\n overflow: hidden;\n flex-direction: row;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n}\n\nz-navigation-tabs,\nz-navigation-tabs * {\n box-sizing: border-box;\n}\n\nz-navigation-tabs > nav::-webkit-scrollbar {\n display: none;\n}\n\nz-navigation-tabs .navigation-button {\n position: absolute;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: none;\n margin: 0;\n background-color: var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));\n border-radius: var(--border-no-radius);\n box-shadow: 0 0 4px 1px var(--shadow-color-base);\n cursor: pointer;\n fill: var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));\n outline: none;\n}\n\nz-navigation-tabs .navigation-button:disabled {\n display: none;\n}\n\nz-navigation-tabs > nav {\n z-index: 0;\n display: flex;\n overflow: auto;\n align-items: center;\n justify-content: flex-start;\n scroll-behavior: smooth;\n\n /* hide scrollbar in Firefox */\n scrollbar-width: none;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav {\n width: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button {\n top: 0;\n width: calc(var(--space-unit) * 4);\n height: 100%;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:first-child {\n left: 0;\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] .navigation-button:last-child {\n right: 0;\n}\n\n/* Orientation vertical */\nz-navigation-tabs[orientation=\"vertical\"] {\n width: fit-content;\n flex-direction: column;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav {\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button {\n left: 0;\n width: 100%;\n height: calc(var(--space-unit) * 4);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:first-child {\n top: 0;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] .navigation-button:last-child {\n bottom: 0;\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"vertical\"] .navigation-button {\n height: calc(var(--space-unit) * 4);\n}\n\n/* Style for the tabs */\n\nz-navigation-tabs > nav > * {\n position: relative;\n z-index: 0;\n display: inline-flex;\n width: auto;\n align-items: center;\n justify-content: center;\n padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);\n border: none;\n margin: 0;\n background-color: unset;\n border-radius: var(--border-no-radius);\n color: var(--color-primary01);\n cursor: pointer;\n fill: currentcolor;\n font-family: var(--font-family-sans);\n font-size: inherit;\n gap: var(--space-unit);\n letter-spacing: inherit;\n line-height: inherit;\n outline: none;\n text-align: center;\n white-space: nowrap;\n}\n\nz-navigation-tabs > nav > a {\n text-decoration: none;\n}\n\nz-navigation-tabs > nav > *:focus:focus-visible {\n z-index: 1;\n box-shadow: inset 0 0 2px 2px var(--blue800);\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover {\n background-color: var(--color-background);\n}\n\nz-navigation-tabs > nav > button[disabled] {\n color: var(--color-disabled03);\n cursor: not-allowed;\n fill: currentcolor;\n pointer-events: all;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover,\nnav > [aria-selected=\"true\"] {\n color: var(--color-hover-primary);\n fill: currentcolor;\n}\n\nz-navigation-tabs > nav > :not([disabled]):hover::after,\nnav > [aria-selected=\"true\"]::after {\n position: absolute;\n background-color: var(--color-hover-primary);\n content: \"\";\n}\n\nz-navigation-tabs[orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--border-size-large);\n}\n\nz-navigation-tabs > nav > * z-icon {\n --z-icon-width: calc(var(--space-unit) * 2);\n --z-icon-height: calc(var(--space-unit) * 2);\n\n display: flex;\n margin: 0;\n}\n\n/* `small` size (only available for horizontal orientation) */\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > * {\n padding: var(--space-unit) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[size=\"small\"][orientation=\"horizontal\"] > nav > [aria-selected=\"true\"]::after {\n height: var(--border-size-medium);\n}\n\nz-navigation-tabs[size=\"small\"]:not([orientation=\"vertical\"]) > nav > * z-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n}\n\n/* Orientation Vertical */\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * {\n padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > * > :not(z-icon) {\n display: none;\n}\n\nz-navigation-tabs[orientation=\"vertical\"] > nav > :not([disabled]):hover::after,\nz-navigation-tabs[orientation=\"vertical\"] > nav > [aria-selected=\"true\"]::after {\n top: 0;\n right: 0;\n width: var(--border-size-large);\n height: 100%;\n}\n","import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {NavigationTabsKeyboardEvents, NavigationTabsOrientation, NavigationTabsSize} from \"../../beans\";\n\n/**\n * Navigation tabs component.\n * To select a specific tab programmatically, set the `aria-selected` attribute to `true` on the desired tab.\n * @slot - Main slot. Use `<button>` or `<a>` tags as children.\n * @cssprop --z-navigation-tabs-nav-buttons-bg - Navigation buttons background color.\n * @cssprop --z-navigation-tabs-nav-buttons-fg - Navigation buttons foreground color.\n */\n@Component({\n tag: \"z-navigation-tabs\",\n styleUrl: \"styles.css\",\n})\nexport class ZNavigationTabs {\n /**\n * Set `aria-label` attribute to the internal `<nav>` element with `tablist` role.\n */\n @Prop()\n ariaLabel = \"\";\n\n /**\n * Navigation tabs orientation.\n */\n @Prop({reflect: true})\n orientation? = NavigationTabsOrientation.HORIZONTAL;\n\n /**\n * Navigation tabs size.\n */\n @Prop({reflect: true})\n size? = NavigationTabsSize.BIG;\n\n /**\n * Index of the selected tab.\n * Useful to programmatically select a tab.\n * The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.\n */\n @Prop({mutable: true})\n selectedTab: number = undefined;\n\n /**\n * Emitted when the selected tab changes.\n * Contains the index of the new selected tab in the `detail` of the event.\n */\n @Event()\n selected: EventEmitter<number>;\n\n /**\n * Whether to show navigation buttons.\n */\n @State()\n canNavigate: boolean;\n\n /**\n * Whether backwards navigation is allowed.\n */\n @State()\n canNavigatePrev: boolean;\n\n /**\n * Whether forward navigation is allowed.\n */\n @State()\n canNavigateNext: boolean;\n\n @Element() host: HTMLZNavigationTabsElement;\n\n /**\n * Index of the last tab that held focus.\n */\n private focusedTab = undefined;\n\n /**\n * Reference to the `<nav>` element\n */\n private nav: HTMLElement;\n\n /**\n * Getter for the direction to check based on current orientation.\n */\n get direction(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Left\" : \"Top\";\n }\n\n /**\n * Getter for the dimension to check based on current orientation.\n */\n get dimension(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Width\" : \"Height\";\n }\n\n get tabs(): HTMLElement[] {\n return Array.from(this.nav.children) as HTMLElement[];\n }\n\n private resizeObserver: ResizeObserver;\n\n /**\n * Scroll into view to center the tab.\n */\n private scrollToTab(tabElement: HTMLElement): void {\n const container = tabElement.parentElement;\n\n if (!container) {\n return;\n }\n\n setTimeout(() => {\n const isHorizontal = this.orientation === NavigationTabsOrientation.HORIZONTAL;\n\n const containerRect = container.getBoundingClientRect();\n const tabRect = tabElement.getBoundingClientRect();\n\n const offset = isHorizontal ? tabRect.left - containerRect.left : tabRect.top - containerRect.top;\n const containerSize = isHorizontal ? container.clientWidth : container.clientHeight;\n const tabSize = isHorizontal ? tabElement.clientWidth : tabElement.clientHeight;\n const scrollAmount = offset - containerSize / 2 + tabSize / 2;\n\n container.scrollTo({\n [isHorizontal ? \"left\" : \"top\"]: container[isHorizontal ? \"scrollLeft\" : \"scrollTop\"] + scrollAmount,\n behavior: \"smooth\",\n });\n }, 100);\n }\n\n /**\n * Scroll the navigation bar half of its size backward.\n */\n private navigateBackwards(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Scroll the navigation bar half of its size forward.\n */\n private navigateForward(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if a keyboard event was triggered by an arrow key.\n */\n private isArrowNavigation(e: KeyboardEvent): boolean {\n return Object.values(NavigationTabsKeyboardEvents).includes(e.key as NavigationTabsKeyboardEvents);\n }\n\n /**\n * Check if the navigation buttons are needed.\n */\n private checkScrollVisible(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];\n }\n\n /**\n * Check if navigation buttons can be enabled for each direction.\n */\n @Watch(\"canNavigate\")\n checkScrollEnabled(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigateNext =\n this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];\n this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;\n }\n\n /**\n * When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.\n */\n @Watch(\"selectedTab\")\n onTabSelected(): void {\n this.tabs.forEach((tab, i) => {\n const zicon = tab.querySelector(\"z-icon\");\n const strokeIcon = zicon?.name.replace(\"-filled\", \"\");\n if (i !== this.selectedTab) {\n tab.setAttribute(\"aria-selected\", \"false\");\n tab.tabIndex = -1;\n if (zicon) {\n zicon.name = strokeIcon;\n }\n\n return;\n }\n\n if (zicon) {\n zicon.name = `${strokeIcon}-filled`;\n }\n tab.setAttribute(\"aria-selected\", \"true\");\n });\n this.selected.emit(this.selectedTab);\n if (this.selectedTab !== undefined) {\n this.scrollToTab(this.tabs[this.selectedTab]);\n }\n }\n\n /**\n * Handle click on the tabs.\n * @param event `click` event triggered by a child tab\n */\n @Listen(\"click\")\n handleTabClick(event: MouseEvent): void {\n const clickedTab = (event.target as HTMLElement).closest<HTMLElement>(\"[role='tab']\");\n if (!this.tabs.some((child) => child.contains(clickedTab))) {\n return;\n }\n\n this.selectedTab = this.tabs.indexOf(clickedTab);\n }\n\n /**\n * When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.\n */\n @Listen(\"focusin\")\n onTabFocusIn(event: FocusEvent): void {\n const focused = this.tabs.findIndex((tab) => tab.contains(event.target as HTMLElement));\n if (focused === -1) {\n return;\n }\n\n if (this.selectedTab !== undefined) {\n this.tabs[this.selectedTab].tabIndex = -1;\n }\n this.focusedTab = focused;\n this.tabs[this.focusedTab].tabIndex = -1;\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * Handle keyboard navigation through tabs with arrow keys.\n */\n @Listen(\"keydown\")\n navigateThroughTabs(event: KeyboardEvent): void | boolean {\n if (!this.tabs.some((tab) => tab.contains(event.target as HTMLElement)) || !this.isArrowNavigation(event)) {\n return true;\n }\n\n event.preventDefault();\n if (\n (event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move forward\n this.focusedTab++;\n if (this.focusedTab >= this.tabs.length) {\n this.focusedTab = 0;\n }\n } else if (\n (event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move backward\n this.focusedTab--;\n if (this.focusedTab < 0) {\n this.focusedTab = this.tabs.length - 1;\n }\n }\n // Ignore disabled tabs\n if (\n this.tabs[this.focusedTab].hasAttribute(\"disabled\") &&\n this.tabs[this.focusedTab].getAttribute(\"disabled\") !== \"false\"\n ) {\n return this.navigateThroughTabs(event);\n }\n\n this.tabs[this.focusedTab].focus();\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.\n */\n @Listen(\"focusout\")\n onTabFocusOut(event: FocusEvent): void {\n if (!this.tabs.some((tab) => tab.contains(event.relatedTarget as HTMLElement))) {\n this.tabs[this.selectedTab ?? 0].tabIndex = 0;\n this.focusedTab = undefined;\n }\n }\n\n connectedCallback(): void {\n this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());\n }\n\n componentDidLoad(): void {\n // Set role and tabindex to each slotted tab\n this.tabs.forEach((tab) => {\n tab.setAttribute(\"role\", \"tab\");\n tab.tabIndex = -1;\n });\n\n const preselectedTab = this.selectedTab ?? this.tabs.findIndex((tab) => tab.ariaSelected === \"true\");\n if (preselectedTab !== -1) {\n this.selectedTab = preselectedTab;\n this.tabs[preselectedTab].tabIndex = 0;\n this.onTabSelected();\n } else {\n this.tabs[0].tabIndex = 0;\n }\n\n this.resizeObserver.observe(this.nav);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLZNavigationTabsElement {\n return (\n <Host\n class={{\n \"interactive-2\": this.size === NavigationTabsSize.SMALL,\n \"interactive-1\": this.size !== NavigationTabsSize.SMALL,\n }}\n scrollable={this.canNavigate}\n >\n <button\n class=\"navigation-button\"\n onClick={this.navigateBackwards.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigatePrev}\n aria-label=\"Mostra elementi precedenti\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-left\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n </button>\n\n <nav\n role=\"tablist\"\n aria-label={this.ariaLabel}\n ref={(el) => (this.nav = el ?? this.nav)}\n onScroll={this.checkScrollEnabled.bind(this)}\n aria-orientation={this.orientation}\n >\n <slot></slot>\n </nav>\n\n <button\n class=\"navigation-button\"\n onClick={this.navigateForward.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigateNext}\n aria-label=\"Mostra elementi successivi\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-right\" : \"chevron-down\"}\n width={16}\n height={16}\n />\n </button>\n </Host>\n );\n }\n}\n"],"mappings":"kHAAA,MAAMA,EAAY,4iIAClB,MAAAC,EAAeD,E,MCaFE,EAAe,M,4DAyDlBC,KAAAC,WAAaC,U,eApDT,G,iBAMGC,EAA0BC,W,UAMjCC,EAAmBC,I,iBAQLJ,U,yFA0CtB,aAAIK,GACF,OAAOP,KAAKQ,aAAeL,EAA0BC,WAAa,OAAS,K,CAM7E,aAAIK,GACF,OAAOT,KAAKQ,aAA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,KAAMzD,KAAKQ,cAAgBL,EAA0BC,WAAa,gBAAkB,eACpF0G,MAAO,GACPC,OAAQ,M","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export{Z as z_tr}from"./p-6a5bf3df.js";import"./p-75c4a726.js";import"./p-02c55ed9.js";import"./p-b49aeff4.js";import"./p-5145a606.js";import"./p-2174d968.js";import"./p-171ee634.js";
2
- //# sourceMappingURL=p-305d294a.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,a,g as s}from"./p-75c4a726.js";import"./p-1170826b.js";import"./p-195ed6d2.js";import"./p-eb9ef3cb.js";import"./p-6a5bf3df.js";import"./p-02c55ed9.js";import"./p-b49aeff4.js";import"./p-5145a606.js";import"./p-2174d968.js";import"./p-171ee634.js";const r=":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}";const o=r;const i=class{constructor(t){e(this,t);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 e;(e=this.expandableMutationObserver)===null||e===void 0?void 0:e.disconnect()}render(){return t(a,{key:"a37bf2d018aedf198e11248d9952c062deddc545",expandable:this.expandable},t("div",{key:"a769b79ee55eb5425bb6c72059437f051967c3b3",class:"table",role:"table"},t("slot",{key:"0ba782144cc2f139484954747d530d6f1c606a0d"})))}get host(){return s(this)}};i.style=o;export{i as z_table};
2
- //# sourceMappingURL=p-3315c3e1.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stylesCss","ZTableStyle0","ZTable","updateExpandable","this","expandable","host","querySelectorAll","length","componentWillLoad","expandableMutationObserver","MutationObserver","observe","childList","subtree","attributes","attributeFilter","attributeOldValue","disconnectedCallback","_a","disconnect","render","h","Host","key","class","role"],"sources":["src/components/table/z-table/styles.css?tag=z-table&encapsulation=shadow","src/components/table/z-table/index.tsx"],"sourcesContent":[":host {\n --z-table--cells-padding: calc(var(--space-unit) * 2);\n\n position: relative;\n display: block;\n overflow: auto;\n max-width: 100%;\n box-sizing: border-box;\n background-color: var(--color-surface01);\n}\n\n:host([expandable]) {\n --z-table--expand-button-size: 40px;\n}\n\n:host([bordered]) {\n --z-table--cell-left-border: 1px solid var(--color-surface03);\n}\n","import {Component, Element, Host, Prop, State, h} from \"@stencil/core\";\nimport \"../z-tbody/index\";\nimport \"../z-tfoot/index\";\nimport \"../z-thead/index\";\nimport \"../z-tr/index\";\n\n/**\n * ZTable component.\n * @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).\n * @cssprop --z-table--cells-padding - Padding of the cells.\n */\n@Component({\n tag: \"z-table\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZTable {\n @Element() host: HTMLZTableElement;\n\n /**\n * Whether the table cells should show a border between them.\n */\n @Prop({reflect: true})\n bordered = false;\n\n /**\n * Whether the table contains some expandable rows.\n */\n @State()\n expandable = false;\n\n private updateExpandable(): void {\n this.expandable = this.host.querySelectorAll(\"z-tr[expandable]\").length > 0;\n }\n\n private expandableMutationObserver: MutationObserver;\n\n /**\n * Setup the table creating a mutation observer for the expandable attribute.\n */\n componentWillLoad(): void {\n this.expandableMutationObserver = new MutationObserver(() => {\n this.updateExpandable();\n });\n this.expandableMutationObserver.observe(this.host, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: [\"expandable\"],\n attributeOldValue: false,\n });\n }\n\n disconnectedCallback(): void {\n this.expandableMutationObserver?.disconnect();\n }\n\n render(): HTMLZTableElement {\n return (\n <Host expandable={this.expandable}>\n <div\n class=\"table\"\n role=\"table\"\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"4QAAA,MAAMA,EAAY,+TAClB,MAAAC,EAAeD,E,MCeFE,EAAM,M,uCAON,M,gBAME,K,CAEL,gBAAAC,GACNC,KAAKC,WAAaD,KAAKE,KAAKC,iBAAiB,oBAAoBC,OAAS,C,CAQ5E,iBAAAC,GACEL,KAAKM,2BAA6B,IAAIC,kBAAiB,KACrDP,KAAKD,kBAAkB,IAEzBC,KAAKM,2BAA2BE,QAAQR,KAAKE,KAAM,CACjDO,UAAW,KACXC,QAAS,KACTC,WAAY,KACZC,gBAAiB,CAAC,cAClBC,kBAAmB,O,CAIvB,oBAAAC,G,OACEC,EAAAf,KAAKM,8BAA0B,MAAAS,SAAA,SAAAA,EAAEC,Y,CAGnC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACnB,WAAYD,KAAKC,YACrBiB,EAAA,OAAAE,IAAA,2CACEC,MAAM,QACNC,KAAK,SAELJ,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,h as i,a as n,g as o}from"./p-75c4a726.js";import{X as a,e as s}from"./p-b49aeff4.js";const r=':host{--z-book-card-portrait-cover-height:378px;--z-book-card-title-lines:2;--z-book-card-title-word-break:initial;--z-book-card-subtitle-lines:1;--z-book-card-subtitle-word-break:break-all;--z-book-card-authors-lines:1;--z-book-card-authors-word-break:break-all;display:flex;width:304px;box-sizing:border-box;flex-direction:column;border:solid var(--border-size-medium) var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-default-text);font-family:var(--font-family-sans)}:host .main-content{display:flex;height:100%;box-sizing:border-box;flex-direction:column;padding:var(--space-unit);gap:var(--space-unit)}:host .main-content .cover{position:relative;display:flex;overflow:hidden;height:var(--z-book-card-portrait-cover-height);background:var(--color-white);border-radius:var(--border-radius)}:host .main-content .cover img{max-width:100%;max-height:100%;align-self:end}::slotted([slot="coverOverlay"]){position:absolute;bottom:0;overflow:hidden;width:100%;box-sizing:border-box;padding:var(--space-unit);background-color:var(--avatar-C19);color:var(--color-white)}:host .main-content .cover ::slotted([slot="coverOverlay"]){min-height:80px;max-height:336px}:host .main-content .card-info{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:var(--space-unit)}:host .main-content .card-info .top{display:flex;flex-direction:column;gap:calc(var(--space-unit) * 2)}:host .main-content .card-info .top ::slotted([slot="tags"]){display:flex;flex-wrap:wrap;gap:var(--space-unit)}:host .main-content .card-info .top ::slotted([slot="data"]){display:flex;justify-content:space-between}:host .main-content .card-info .top .ellipsis{display:-webkit-box;overflow:hidden;height:1.4rem;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;line-height:1.4rem;text-overflow:ellipsis;word-break:break-all}:host .main-content .card-info .top .ellipsis.opera-title{height:calc(1.5 * var(--z-book-card-title-lines)) rem;-webkit-line-clamp:var(--z-book-card-title-lines);line-clamp:var(--z-book-card-title-lines);line-height:1.5rem;word-break:var(--z-book-card-title-word-break)}:host .main-content .card-info .top .ellipsis.volume-title{height:calc(1.4 * var(--z-book-card-subtitle-lines)) rem;-webkit-line-clamp:var(--z-book-card-subtitle-lines);line-clamp:var(--z-book-card-subtitle-lines);line-height:1.4rem;word-break:var(--z-book-card-subtitle-word-break)}:host .main-content .card-info .top .ellipsis.authors{height:calc(1.4 * var(--z-book-card-authors-lines)) rem;-webkit-line-clamp:var(--z-book-card-authors-lines);line-clamp:var(--z-book-card-authors-lines);line-height:1.4rem;word-break:var(--z-book-card-authors-word-break)}:host .main-content .card-info .top .opera-title *{all:unset}:host .main-content .cta-wrapper{display:flex;justify-content:space-between;gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .top .link-chip-wrapper{display:flex;justify-content:space-between}:host .main-content .card-info .bottom .ebook{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--space-unit);background-color:var(--color-primary02);border-radius:var(--border-radius);gap:var(--space-unit)}:host .main-content .card-info .bottom .ebook .app-name{display:flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;font-family:var(--font-family-serif);gap:calc(var(--space-unit) / 2)}:host .main-content .card-info .bottom .ebook .app-name .ebook-logo{width:1.5rem;height:1.5rem;content:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22none%22 aria-hidden=%22true%22%3E%3Cg clip-path=%22url(%23clip0_11996_224)%22%3E%3Cpath d=%22M14.6644 0.469604H5.00141C2.33305 0.469604 0.169922 2.63274 0.169922 5.3011V14.9641C0.169922 17.6324 2.33305 19.7956 5.00141 19.7956H14.6644C17.3328 19.7956 19.4959 17.6324 19.4959 14.9641V5.3011C19.4959 2.63274 17.3328 0.469604 14.6644 0.469604Z%22 fill=%22%23E2011A%22/%3E%3Cpath d=%22M15.9523 13.3536H12.7313C11.6861 13.3536 10.6683 13.6934 9.83241 14.3199C8.99657 13.6934 7.97873 13.3536 6.93352 13.3536H3.71252V5.30115H6.93352C7.97873 5.30115 8.99657 5.64096 9.83241 6.26745C10.6683 5.64096 11.6861 5.30115 12.7313 5.30115H15.9523V13.3536Z%22 fill=%22white%22/%3E%3Cpath d=%22M15.9523 14.3201H3.71252V14.9643H15.9523V14.3201Z%22 fill=%22black%22/%3E%3Cpath d=%22M8.22229 10.732V8.24543C8.22229 7.97165 8.51057 7.79449 8.75375 7.91689L11.2404 9.16019C11.5109 9.29548 11.5109 9.682 11.2404 9.81728L8.75375 11.0606C8.50896 11.183 8.22229 11.0058 8.22229 10.732Z%22 fill=%22black%22/%3E%3Cpath d=%22M4.35704 7.87826C5.42438 7.87826 6.28963 7.013 6.28963 5.94566C6.28963 4.87831 5.42438 4.01306 4.35704 4.01306C3.28969 4.01306 2.42444 4.87831 2.42444 5.94566C2.42444 7.013 3.28969 7.87826 4.35704 7.87826Z%22 fill=%22black%22/%3E%3Cpath d=%22M5.6454 5.62354H3.0686V6.26773H5.6454V5.62354Z%22 fill=%22white%22/%3E%3Cpath d=%22M4.67917 4.65723H4.03497V7.23402H4.67917V4.65723Z%22 fill=%22white%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id=%22clip0_11996_224%22%3E%3Crect width=%2219.326%22 height=%2219.326%22 fill=%22white%22 transform=%22translate(0.169922 0.469604)%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E")}:host([variant="landscape"]){width:635px;min-height:max(332px, 20.75rem);padding:0}:host([variant="landscape"]) .main-content{min-height:max(332px, 20.75rem);box-sizing:border-box;flex-direction:row;padding:calc(var(--space-unit) * 2);gap:calc(var(--space-unit) * 2)}:host([variant="landscape"]) .main-content .cover{display:flex;overflow:hidden;width:221px;height:300px;margin:0}:host([variant="landscape"]) .main-content .cover ::slotted([slot="coverOverlay"]){min-height:80px;max-height:256px}:host([variant="landscape"]) .main-content .card-info{gap:calc(var(--space-unit) / 2)}:host([variant="landscape"]) .main-content .card-info .top{gap:calc(var(--space-unit) / 2)}@media (max-width: 767px){:host([variant="portrait"]){width:100%;max-width:400px}}';const l=r;const d=':root{--font-family-sans:"IBM Plex Sans", sans-serif;--font-family-serif:"IBM Plex Serif", serif;--font-lt:300;--font-rg:400;--font-sb:600;--font-bd:700;--font-size-1:0.75rem;--font-size-2:0.875rem;--font-size-3:1rem;--font-size-4:1.125rem;--font-size-5:1.25rem;--font-size-6:1.5rem;--font-size-7:1.75rem;--font-size-8:2rem;--font-size-9:2.25rem;--font-size-10:2.625rem;--font-size-11:3rem;--font-size-12:3.375rem;--font-size-13:3.75rem;--font-size-14:4.25rem;--font-size-15:4.75rem;--font-size-16:5.25rem;--font-size-17:5.75rem;--section-title-1:var(--font-sb) var(--font-size-11) / 0.9166 var(--font-family-serif);--section-title-2:var(--font-sb) var(--font-size-10) / 1.1904 var(--font-family-serif);--section-title-3:var(--font-sb) var(--font-size-9) / 1.222 var(--font-family-serif);--section-title-4:var(--font-sb) var(--font-size-8) / 1.25 var(--font-family-serif);--section-title-5:var(--font-sb) var(--font-size-7) / 1.2857 var(--font-family-serif);--section-title-6:var(--font-sb) var(--font-size-6) / 1.333 var(--font-family-serif)}.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-3,.heading-3-sb,.heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.heading-4,.heading-4-sb,.heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-1,.body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.body-2,.body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.body-3,.body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.body-4,.body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.body-5,.body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.interactive-1,.interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.interactive-2,.interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.interactive-3,.interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.helper,.helper-sb{font-size:var(--font-size-1);font-style:italic;font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.section-title-1{font:var(--section-title-1)}.section-title-2{font:var(--section-title-2)}.section-title-3{font:var(--section-title-3)}.section-title-4{font:var(--section-title-4)}.section-title-5{font:var(--section-title-5)}.section-title-6{font:var(--section-title-6)}@media (min-width: 1152px){.heading-1,.heading-1-sb,.heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.heading-2,.heading-2-sb,.heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}}@media (max-width: 767px){.mobile-heading-1,.mobile-heading-1-sb,.mobile-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.mobile-heading-2,.mobile-heading-2-sb,.mobile-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-3,.mobile-heading-3-sb,.mobile-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.mobile-heading-4,.mobile-heading-4-sb,.mobile-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-1,.mobile-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.mobile-body-2,.mobile-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.mobile-body-3,.mobile-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-body-4,.mobile-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-body-5,.mobile-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-interactive-1,.mobile-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.mobile-interactive-2,.mobile-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.mobile-interactive-3,.mobile-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.mobile-section-title-1{font:var(--section-title-1)}.mobile-section-title-2{font:var(--section-title-2)}.mobile-section-title-3{font:var(--section-title-3)}.mobile-section-title-4{font:var(--section-title-4)}.mobile-section-title-5{font:var(--section-title-5)}.mobile-section-title-6{font:var(--section-title-6)}.mobile-heading-1-lt,.mobile-heading-2-lt,.mobile-heading-3-lt,.mobile-heading-4-lt{font-weight:var(--font-lt)}.mobile-heading-1-sb,.mobile-heading-2-sb,.mobile-heading-3-sb,.mobile-heading-4-sb,.mobile-body-1-sb,.mobile-body-2-sb,.mobile-body-3-sb,.mobile-body-4-sb,.mobile-body-5-sb,.mobile-interactive-1-sb,.mobile-interactive-2-sb,.mobile-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 768px) and (max-width: 1151px){.tablet-heading-1,.tablet-heading-1-sb,.tablet-heading-1-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.tablet-heading-2,.tablet-heading-2-sb,.tablet-heading-2-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-3,.tablet-heading-3-sb,.tablet-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.tablet-heading-4,.tablet-heading-4-sb,.tablet-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-1,.tablet-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.tablet-body-2,.tablet-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.tablet-body-3,.tablet-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-body-4,.tablet-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-body-5,.tablet-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-interactive-1,.tablet-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.tablet-interactive-2,.tablet-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.tablet-interactive-3,.tablet-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.tablet-section-title-1{font:var(--section-title-1)}.tablet-section-title-2{font:var(--section-title-2)}.tablet-section-title-3{font:var(--section-title-3)}.tablet-section-title-4{font:var(--section-title-4)}.tablet-section-title-5{font:var(--section-title-5)}.tablet-section-title-6{font:var(--section-title-6)}.tablet-heading-1-lt,.tablet-heading-2-lt,.tablet-heading-3-lt,.tablet-heading-4-lt{font-weight:var(--font-lt)}.tablet-heading-1-sb,.tablet-heading-2-sb,.tablet-heading-3-sb,.tablet-heading-4-sb,.tablet-body-1-sb,.tablet-body-2-sb,.tablet-body-3-sb,.tablet-body-4-sb,.tablet-body-5-sb,.tablet-interactive-1-sb,.tablet-interactive-2-sb,.tablet-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1152px) and (max-width: 1365px){.desktop-heading-1,.desktop-heading-1-sb,.desktop-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.desktop-heading-2,.desktop-heading-2-sb,.desktop-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.desktop-heading-3,.desktop-heading-3-sb,.desktop-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.desktop-heading-4,.desktop-heading-4-sb,.desktop-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-1,.desktop-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.desktop-body-2,.desktop-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.desktop-body-3,.desktop-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-body-4,.desktop-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-body-5,.desktop-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-interactive-1,.desktop-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.desktop-interactive-2,.desktop-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.desktop-interactive-3,.desktop-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.desktop-section-title-1{font:var(--section-title-1)}.desktop-section-title-2{font:var(--section-title-2)}.desktop-section-title-3{font:var(--section-title-3)}.desktop-section-title-4{font:var(--section-title-4)}.desktop-section-title-5{font:var(--section-title-5)}.desktop-section-title-6{font:var(--section-title-6)}.desktop-heading-1-lt,.desktop-heading-2-lt,.desktop-heading-3-lt,.desktop-heading-4-lt{font-weight:var(--font-lt)}.desktop-heading-1-sb,.desktop-heading-2-sb,.desktop-heading-3-sb,.desktop-heading-4-sb,.desktop-body-1-sb,.desktop-body-2-sb,.desktop-body-3-sb,.desktop-body-4-sb,.desktop-body-5-sb,.desktop-interactive-1-sb,.desktop-interactive-2-sb,.desktop-interactive-3-sb{font-weight:var(--font-sb)}}@media (min-width: 1366px){.wide-heading-1,.wide-heading-1-sb,.wide-heading-1-lt{font-size:var(--font-size-8);font-weight:var(--font-rg);line-height:1.25}.wide-heading-2,.wide-heading-2-sb,.wide-heading-2-lt{font-size:var(--font-size-7);font-weight:var(--font-rg);line-height:1.28}.wide-heading-3,.wide-heading-3-sb,.wide-heading-3-lt{font-size:var(--font-size-6);font-weight:var(--font-rg);line-height:1.333}.wide-heading-4,.wide-heading-4-sb,.wide-heading-4-lt{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-1,.wide-body-1-sb{font-size:var(--font-size-5);font-weight:var(--font-rg);line-height:1.4}.wide-body-2,.wide-body-2-sb{font-size:var(--font-size-4);font-weight:var(--font-rg);line-height:1.5}.wide-body-3,.wide-body-3-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-body-4,.wide-body-4-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-body-5,.wide-body-5-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-interactive-1,.wide-interactive-1-sb{font-size:var(--font-size-3);font-weight:var(--font-rg);line-height:1.5}.wide-interactive-2,.wide-interactive-2-sb{font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:1.4}.wide-interactive-3,.wide-interactive-3-sb{font-size:var(--font-size-1);font-weight:var(--font-rg);letter-spacing:0.32px;line-height:1.333}.wide-section-title-1{font:var(--section-title-1)}.wide-section-title-2{font:var(--section-title-2)}.wide-section-title-3{font:var(--section-title-3)}.wide-section-title-4{font:var(--section-title-4)}.wide-section-title-5{font:var(--section-title-5)}.wide-section-title-6{font:var(--section-title-6)}.wide-heading-1-lt,.wide-heading-2-lt,.wide-heading-3-lt,.wide-heading-4-lt{font-weight:var(--font-lt)}.wide-heading-1-sb,.wide-heading-2-sb,.wide-heading-3-sb,.wide-heading-4-sb,.wide-body-1-sb,.wide-body-2-sb,.wide-body-3-sb,.wide-body-4-sb,.wide-body-5-sb,.wide-interactive-1-sb,.wide-interactive-2-sb,.wide-interactive-3-sb{font-weight:var(--font-sb)}}.heading-1-lt,.heading-2-lt,.heading-3-lt,.heading-4-lt{font-weight:var(--font-lt)}.heading-1-sb,.heading-2-sb,.heading-3-sb,.heading-4-sb,.body-1-sb,.body-2-sb,.body-3-sb,.body-4-sb,.body-5-sb,.interactive-1-sb,.interactive-2-sb,.interactive-3-sb,.helper-sb{font-weight:var(--font-sb)}';const h=d;const f=class{constructor(i){t(this,i);this.ebookClick=e(this,"ebookClick",7);this.variant=a.PORTRAIT;this.cover=undefined;this.operaTitle=undefined;this.volumeTitle=undefined;this.authors=undefined;this.isbn=undefined;this.isbnLabel="";this.year=undefined;this.ebookUrl=undefined;this.fallbackCover=undefined;this.titleHtmlTag=undefined}emitEbookClick(){this.ebookClick.emit()}renderCover(){return i("div",{class:"cover"},i("img",{src:this.cover,onError:()=>{if(this.fallbackCover){this.cover=this.fallbackCover}},"aria-hidden":"true"}),i("slot",{name:"coverOverlay"}))}renderYear(){if(!this.year){return null}return i("div",{class:"year ellipsis body-4","aria-description":"anno"},this.year)}renderAuthors(){if(!this.authors){return null}return i("div",{class:"cta-wrapper"},i("div",{class:"authors ellipsis body-4","aria-description":"autori"},this.authors),this.variant===a.LANDSCAPE?this.renderCtaSlot():null)}renderOperaTitle(){const t=this.titleHtmlTag?`<${this.titleHtmlTag}>${this.operaTitle}</${this.titleHtmlTag}>`:this.operaTitle;return i("div",{class:"cta-wrapper"},i("div",{class:"opera-title ellipsis body-2-sb",innerHTML:t}),this.variant===a.PORTRAIT?this.renderCtaSlot():null)}renderVolumeTitle(){if(!this.volumeTitle){return null}return i("div",{class:"volume-title ellipsis body-4"},this.volumeTitle)}renderIsbn(){if(!this.isbn){return null}return i("div",{class:"isbn ellipsis body-4-sb","aria-description":`isbn ${this.isbnLabel}`},this.isbn," ",this.isbnLabel?i("span",{class:"body-4"},this.isbnLabel):null)}renderEbook(){return i("div",{class:"ebook"},i("div",null,i("div",{class:"app-name"},i("img",{class:"ebook-logo","aria-hidden":"true"}),i("div",{class:"body-4-sb"},"laZ Ebook"))),i("z-button",{size:s.X_SMALL,href:this.ebookUrl,target:"_blank",onClick:()=>this.emitEbookClick(),htmlrole:"link","aria-description":`leggi l'ebook ${this.operaTitle} su laZ Ebook`},"leggi ebook"))}renderCtaSlot(){return i("slot",{name:"cta"})}render(){return i(n,{key:"239ba8bd3f52288ec3f748311dce284d71106ba0"},i("div",{key:"d25b33181914ddd8ff5f699cf02112237e2bf6e3",class:"main-content"},this.renderCover(),i("div",{key:"fa79e463b770b63f1f8a0bbde3f05105dc229344",class:"card-info"},i("div",{key:"7e595f41169cca9455dc53b99ddc15342eb1b963",class:"top"},i("div",{key:"f9fe00fb63360154f451de3486385cf88202d107"},this.renderYear(),this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),i("slot",{key:"2585df52a10a90cc2c10466a02fe4601ce015749",name:"tags"}),i("slot",{key:"b383f55e1c64ce5c7578aa16eb68893f73c7c778",name:"data"})),i("slot",{key:"5cbbbc32f7142a6f2a8637ec220c3add460f3313",name:"ebook"},!!this.ebookUrl&&i("div",{key:"4aeb1dd60f20e6b50cd1459a933bd3e5a36112e4",class:"bottom"},this.renderEbook())))),i("slot",{key:"78149851420a6e915b4fbebd95df89e45c56bc57",name:"apps"}))}get hostElement(){return o(this)}};f.style=l+h;export{f as z_book_card};
2
- //# sourceMappingURL=p-35b5c549.entry.js.map