@zanichelli/delta_share 3.2.5 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/dist/wc/cjs/breakpoints-7770f79c.js +9 -0
  2. package/dist/wc/cjs/delta_share.cjs.js +2 -2
  3. package/dist/wc/cjs/{index-675ba3c5.js → index-405a1782.js} +2 -2
  4. package/dist/wc/cjs/{index-c98ff1cc.js → index-48ad79ef.js} +52 -80
  5. package/dist/wc/cjs/index-5854a783.js +64 -0
  6. package/dist/wc/cjs/index-9c3aec20.js +340 -0
  7. package/dist/wc/cjs/{index-e790a3c5.js → index-a1571f05.js} +2 -5
  8. package/dist/wc/cjs/{index-23e5e843.js → index-c22b1079.js} +2 -5
  9. package/dist/wc/cjs/index-ce49a372.js +44 -0
  10. package/dist/wc/cjs/index-f209baa4.js +56 -0
  11. package/dist/wc/cjs/license-activation_10.cjs.entry.js +993 -50
  12. package/dist/wc/cjs/loader.cjs.js +2 -2
  13. package/dist/wc/cjs/{utils-1ed1ec98.js → utils-1b80375b.js} +63 -63
  14. package/dist/wc/cjs/utils-ff107ab4.js +111 -0
  15. package/dist/wc/cjs/z-accordion.cjs.entry.js +6 -22
  16. package/dist/wc/cjs/z-alert.cjs.entry.js +3 -2
  17. package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +16 -18
  18. package/dist/wc/cjs/z-app-header-deprecated.cjs.entry.js +155 -0
  19. package/dist/wc/cjs/z-app-header.cjs.entry.js +201 -119
  20. package/dist/wc/cjs/z-aria-alert.cjs.entry.js +3 -4
  21. package/dist/wc/cjs/z-avatar.cjs.entry.js +6 -7
  22. package/dist/wc/cjs/z-book-card.cjs.entry.js +20 -11
  23. package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +87 -100
  24. package/dist/wc/cjs/z-button-sort.cjs.entry.js +8 -8
  25. package/dist/wc/cjs/z-card.cjs.entry.js +10 -9
  26. package/dist/wc/cjs/z-carousel.cjs.entry.js +75 -44
  27. package/dist/wc/cjs/z-chip.cjs.entry.js +7 -8
  28. package/dist/wc/cjs/z-combobox.cjs.entry.js +141 -67
  29. package/dist/wc/cjs/z-cover-hero.cjs.entry.js +5 -17
  30. package/dist/wc/cjs/z-date-picker.cjs.entry.js +7 -7
  31. package/dist/wc/cjs/z-divider.cjs.entry.js +3 -6
  32. package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +6 -5
  33. package/dist/wc/cjs/z-file-upload.cjs.entry.js +59 -32
  34. package/dist/wc/cjs/z-file.cjs.entry.js +7 -5
  35. package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
  36. package/dist/wc/cjs/z-info-reveal.cjs.entry.js +31 -34
  37. package/dist/wc/cjs/z-list_4.cjs.entry.js +216 -0
  38. package/dist/wc/cjs/z-logo.cjs.entry.js +8 -2
  39. package/dist/wc/cjs/z-menu-deprecated.cjs.entry.js +112 -0
  40. package/dist/wc/cjs/z-menu-section-deprecated.cjs.entry.js +57 -0
  41. package/dist/wc/cjs/z-menu-section.cjs.entry.js +158 -23
  42. package/dist/wc/cjs/z-menu.cjs.entry.js +260 -61
  43. package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +7 -3
  44. package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +6 -8
  45. package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  46. package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +9 -6
  47. package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +3 -4
  48. package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +9 -9
  49. package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +4 -3
  50. package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +15 -8
  51. package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +17 -14
  52. package/dist/wc/cjs/z-myz-list.cjs.entry.js +4 -2
  53. package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +18 -21
  54. package/dist/wc/cjs/z-notification.cjs.entry.js +14 -17
  55. package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +103 -40
  56. package/dist/wc/cjs/z-otp.cjs.entry.js +7 -6
  57. package/dist/wc/cjs/z-pagination.cjs.entry.js +8 -15
  58. package/dist/wc/cjs/z-panel-elem.cjs.entry.js +10 -11
  59. package/dist/wc/cjs/z-popover.cjs.entry.js +11 -23
  60. package/dist/wc/cjs/z-range-picker.cjs.entry.js +12 -12
  61. package/dist/wc/cjs/z-section-title.cjs.entry.js +3 -10
  62. package/dist/wc/cjs/z-select.cjs.entry.js +26 -21
  63. package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +7 -7
  64. package/dist/wc/cjs/z-slideshow.cjs.entry.js +8 -5
  65. package/dist/wc/cjs/z-stepper-item.cjs.entry.js +15 -6
  66. package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
  67. package/dist/wc/cjs/z-table.cjs.entry.js +14 -19
  68. package/dist/wc/cjs/z-tbody.cjs.entry.js +2 -2
  69. package/dist/wc/cjs/z-td.cjs.entry.js +3 -3
  70. package/dist/wc/cjs/z-tfoot.cjs.entry.js +2 -2
  71. package/dist/wc/cjs/z-th.cjs.entry.js +3 -3
  72. package/dist/wc/cjs/z-thead.cjs.entry.js +2 -2
  73. package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +7 -7
  74. package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2664 -16
  75. package/dist/wc/cjs/z-toggle-button.cjs.entry.js +6 -7
  76. package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +8 -12
  77. package/dist/wc/cjs/z-tooltip.cjs.entry.js +5 -14
  78. package/dist/wc/cjs/z-tr.cjs.entry.js +7 -7
  79. package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +2 -2
  80. package/dist/wc/collection/collection-manifest.json +3 -20
  81. package/dist/wc/collection/components/license-activation-form/license-activation-form.css +3 -3
  82. package/dist/wc/custom-elements/index.js +6930 -6837
  83. package/dist/wc/delta_share/delta_share.esm.js +1 -1
  84. package/dist/wc/delta_share/p-03cc4be4.entry.js +1 -0
  85. package/dist/wc/delta_share/p-056fe365.js +2 -0
  86. package/dist/wc/delta_share/p-069cc2de.entry.js +1 -0
  87. package/dist/wc/delta_share/p-0a67ed21.entry.js +1 -0
  88. package/dist/wc/delta_share/p-0b2e7aa5.js +1 -0
  89. package/dist/wc/delta_share/p-133d17f0.entry.js +1 -0
  90. package/dist/wc/delta_share/p-146386e4.entry.js +1 -0
  91. package/dist/wc/delta_share/p-148ce1f3.entry.js +1 -0
  92. package/dist/wc/delta_share/p-152e098e.js +1 -0
  93. package/dist/wc/delta_share/p-160b3aa1.js +1 -0
  94. package/dist/wc/delta_share/p-185c06b2.js +1 -0
  95. package/dist/wc/delta_share/p-18f180f7.entry.js +1 -0
  96. package/dist/wc/delta_share/p-193ddfc3.entry.js +1 -0
  97. package/dist/wc/delta_share/p-20a0d980.entry.js +1 -0
  98. package/dist/wc/delta_share/p-21c82b99.entry.js +1 -0
  99. package/dist/wc/delta_share/p-2d2b2bb4.entry.js +1 -0
  100. package/dist/wc/delta_share/p-2df15f43.entry.js +1 -0
  101. package/dist/wc/delta_share/p-2e8f2b22.entry.js +1 -0
  102. package/dist/wc/delta_share/p-2fc2aa62.entry.js +1 -0
  103. package/dist/wc/delta_share/p-33e298a6.entry.js +1 -0
  104. package/dist/wc/delta_share/p-3a21c604.js +1 -0
  105. package/dist/wc/delta_share/p-3b183716.entry.js +1 -0
  106. package/dist/wc/delta_share/p-423a64c4.js +1 -0
  107. package/dist/wc/delta_share/p-47c9e381.entry.js +1 -0
  108. package/dist/wc/delta_share/p-4e7c6413.entry.js +1 -0
  109. package/dist/wc/delta_share/p-4f085f30.entry.js +1 -0
  110. package/dist/wc/delta_share/p-576def78.entry.js +1 -0
  111. package/dist/wc/delta_share/p-5dcbb1d5.entry.js +1 -0
  112. package/dist/wc/delta_share/p-5ef85199.js +1 -0
  113. package/dist/wc/delta_share/p-63351f72.entry.js +1 -0
  114. package/dist/wc/delta_share/p-63a90675.entry.js +1 -0
  115. package/dist/wc/delta_share/p-6b0f653f.entry.js +1 -0
  116. package/dist/wc/delta_share/p-6c56754f.entry.js +1 -0
  117. package/dist/wc/delta_share/p-6f585df9.entry.js +1 -0
  118. package/dist/wc/delta_share/p-72dfd888.entry.js +1 -0
  119. package/dist/wc/delta_share/p-7768e58a.entry.js +1 -0
  120. package/dist/wc/delta_share/p-7c207e2e.entry.js +1 -0
  121. package/dist/wc/delta_share/p-7e79bb6e.entry.js +1 -0
  122. package/dist/wc/delta_share/p-841f8f71.entry.js +1 -0
  123. package/dist/wc/delta_share/p-873f0f34.js +1 -0
  124. package/dist/wc/delta_share/p-89879344.entry.js +1 -0
  125. package/dist/wc/delta_share/p-8ff9652b.entry.js +1 -0
  126. package/dist/wc/delta_share/p-903067b4.entry.js +1 -0
  127. package/dist/wc/delta_share/p-93a18eb7.entry.js +1 -0
  128. package/dist/wc/delta_share/p-93ad6bbd.entry.js +1 -0
  129. package/dist/wc/delta_share/p-9c968734.entry.js +16 -0
  130. package/dist/wc/delta_share/p-a03a7dbd.entry.js +1 -0
  131. package/dist/wc/delta_share/p-a8e34ef2.entry.js +1 -0
  132. package/dist/wc/delta_share/p-adf4d729.entry.js +1 -0
  133. package/dist/wc/delta_share/p-b0edd600.entry.js +1 -0
  134. package/dist/wc/delta_share/{p-d50ea6ea.js → p-b307c221.js} +1 -1
  135. package/dist/wc/delta_share/p-b724df69.entry.js +1 -0
  136. package/dist/wc/delta_share/p-bab3d1cb.entry.js +1 -0
  137. package/dist/wc/delta_share/p-baff4861.entry.js +1 -0
  138. package/dist/wc/delta_share/p-c0ca33be.entry.js +1 -0
  139. package/dist/wc/delta_share/p-c9c8b659.entry.js +1 -0
  140. package/dist/wc/delta_share/p-cb11c710.entry.js +1 -0
  141. package/dist/wc/delta_share/p-ccf2fd6c.entry.js +1 -0
  142. package/dist/wc/delta_share/p-cf6f7c96.entry.js +3 -0
  143. package/dist/wc/delta_share/p-d0444907.entry.js +1 -0
  144. package/dist/wc/delta_share/p-d1724071.entry.js +1 -0
  145. package/dist/wc/delta_share/p-d23fb987.entry.js +1 -0
  146. package/dist/wc/delta_share/p-e0973089.entry.js +1 -0
  147. package/dist/wc/delta_share/p-e237572d.entry.js +1 -0
  148. package/dist/wc/delta_share/p-e3eb4863.entry.js +1 -0
  149. package/dist/wc/delta_share/p-e7d0cdcf.entry.js +1 -0
  150. package/dist/wc/delta_share/p-e9ec361e.entry.js +1 -0
  151. package/dist/wc/delta_share/p-ea23ec67.entry.js +1 -0
  152. package/dist/wc/delta_share/p-ee09fc8d.entry.js +1 -0
  153. package/dist/wc/delta_share/p-efd9e806.entry.js +1 -0
  154. package/dist/wc/delta_share/p-f002c0bd.entry.js +1 -0
  155. package/dist/wc/delta_share/p-f1c47fff.entry.js +7 -0
  156. package/dist/wc/delta_share/p-f6075d7c.entry.js +1 -0
  157. package/dist/wc/delta_share/p-f685348b.js +1 -0
  158. package/dist/wc/delta_share/p-f7a0336e.entry.js +1 -0
  159. package/dist/wc/delta_share/p-f90ae8fc.entry.js +1 -0
  160. package/dist/wc/delta_share/p-fd19aa4b.entry.js +1 -0
  161. package/dist/wc/esm/breakpoints-9229197d.js +9 -0
  162. package/dist/wc/esm/delta_share.js +2 -2
  163. package/dist/wc/esm/index-02968d97.js +54 -0
  164. package/dist/wc/esm/index-477f3c77.js +62 -0
  165. package/dist/wc/esm/index-65780d25.js +15 -0
  166. package/dist/wc/esm/index-74e0ef99.js +340 -0
  167. package/dist/wc/esm/{index-1b01fa0e.js → index-b69e88d4.js} +52 -81
  168. package/dist/wc/esm/index-cd166cda.js +42 -0
  169. package/dist/wc/esm/{index-2be1634d.js → index-db80adda.js} +2 -5
  170. package/dist/wc/esm/{index-64993358.js → index-f98b91fa.js} +2 -5
  171. package/dist/wc/esm/license-activation_10.entry.js +991 -48
  172. package/dist/wc/esm/loader.js +2 -2
  173. package/dist/wc/esm/utils-1f351a57.js +101 -0
  174. package/dist/wc/esm/{utils-5e6dc3fe.js → utils-9550bfa1.js} +63 -63
  175. package/dist/wc/esm/z-accordion.entry.js +6 -22
  176. package/dist/wc/esm/z-alert.entry.js +3 -2
  177. package/dist/wc/esm/z-anchor-navigation.entry.js +16 -18
  178. package/dist/wc/esm/z-app-header-deprecated.entry.js +151 -0
  179. package/dist/wc/esm/z-app-header.entry.js +200 -118
  180. package/dist/wc/esm/z-aria-alert.entry.js +3 -4
  181. package/dist/wc/esm/z-avatar.entry.js +6 -7
  182. package/dist/wc/esm/z-book-card.entry.js +20 -11
  183. package/dist/wc/esm/z-breadcrumb.entry.js +87 -100
  184. package/dist/wc/esm/z-button-sort.entry.js +8 -8
  185. package/dist/wc/esm/z-card.entry.js +10 -9
  186. package/dist/wc/esm/z-carousel.entry.js +75 -44
  187. package/dist/wc/esm/z-chip.entry.js +7 -8
  188. package/dist/wc/esm/z-combobox.entry.js +141 -67
  189. package/dist/wc/esm/z-cover-hero.entry.js +5 -17
  190. package/dist/wc/esm/z-date-picker.entry.js +7 -7
  191. package/dist/wc/esm/z-divider.entry.js +3 -6
  192. package/dist/wc/esm/z-dragdrop-area.entry.js +6 -5
  193. package/dist/wc/esm/z-file-upload.entry.js +59 -32
  194. package/dist/wc/esm/z-file.entry.js +7 -5
  195. package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
  196. package/dist/wc/esm/z-info-reveal.entry.js +31 -34
  197. package/dist/wc/esm/z-list_4.entry.js +209 -0
  198. package/dist/wc/esm/z-logo.entry.js +8 -2
  199. package/dist/wc/esm/z-menu-deprecated.entry.js +108 -0
  200. package/dist/wc/esm/z-menu-section-deprecated.entry.js +53 -0
  201. package/dist/wc/esm/z-menu-section.entry.js +158 -23
  202. package/dist/wc/esm/z-menu.entry.js +260 -61
  203. package/dist/wc/esm/z-myz-card-alert.entry.js +7 -3
  204. package/dist/wc/esm/z-myz-card-dictionary.entry.js +6 -8
  205. package/dist/wc/esm/z-myz-card-footer-sections.entry.js +2 -2
  206. package/dist/wc/esm/z-myz-card-footer.entry.js +9 -6
  207. package/dist/wc/esm/z-myz-card-icon.entry.js +3 -4
  208. package/dist/wc/esm/z-myz-card-info.entry.js +9 -9
  209. package/dist/wc/esm/z-myz-card-list.entry.js +4 -3
  210. package/dist/wc/esm/z-myz-card_4.entry.js +15 -8
  211. package/dist/wc/esm/z-myz-list-item.entry.js +17 -14
  212. package/dist/wc/esm/z-myz-list.entry.js +4 -2
  213. package/dist/wc/esm/z-navigation-tabs.entry.js +18 -21
  214. package/dist/wc/esm/z-notification.entry.js +14 -17
  215. package/dist/wc/esm/z-offcanvas_2.entry.js +103 -40
  216. package/dist/wc/esm/z-otp.entry.js +7 -6
  217. package/dist/wc/esm/z-pagination.entry.js +8 -15
  218. package/dist/wc/esm/z-panel-elem.entry.js +10 -11
  219. package/dist/wc/esm/z-popover.entry.js +11 -23
  220. package/dist/wc/esm/z-range-picker.entry.js +12 -12
  221. package/dist/wc/esm/z-section-title.entry.js +3 -10
  222. package/dist/wc/esm/z-select.entry.js +26 -21
  223. package/dist/wc/esm/z-skip-to-content.entry.js +7 -7
  224. package/dist/wc/esm/z-slideshow.entry.js +8 -5
  225. package/dist/wc/esm/z-stepper-item.entry.js +15 -6
  226. package/dist/wc/esm/z-stepper.entry.js +2 -2
  227. package/dist/wc/esm/z-table.entry.js +14 -19
  228. package/dist/wc/esm/z-tbody.entry.js +2 -2
  229. package/dist/wc/esm/z-td.entry.js +3 -3
  230. package/dist/wc/esm/z-tfoot.entry.js +2 -2
  231. package/dist/wc/esm/z-th.entry.js +3 -3
  232. package/dist/wc/esm/z-thead.entry.js +2 -2
  233. package/dist/wc/esm/z-toast-notification-list.entry.js +7 -7
  234. package/dist/wc/esm/z-toast-notification.entry.js +2660 -12
  235. package/dist/wc/esm/z-toggle-button.entry.js +6 -7
  236. package/dist/wc/esm/z-toggle-switch.entry.js +8 -12
  237. package/dist/wc/esm/z-tooltip.entry.js +5 -14
  238. package/dist/wc/esm/z-tr.entry.js +7 -7
  239. package/dist/wc/esm/z-visually-hidden.entry.js +2 -2
  240. package/package.json +1 -1
  241. package/dist/wc/cjs/breakpoints-e7c8838e.js +0 -9
  242. package/dist/wc/cjs/hammer-4f20813e.js +0 -2650
  243. package/dist/wc/cjs/icons-6d7ce4fc.js +0 -862
  244. package/dist/wc/cjs/index-029f1a7e.js +0 -344
  245. package/dist/wc/cjs/index-2693f4d5.js +0 -21
  246. package/dist/wc/cjs/index-30694024.js +0 -41
  247. package/dist/wc/cjs/index-3171b6c3.js +0 -79
  248. package/dist/wc/cjs/index-3218642b.js +0 -67
  249. package/dist/wc/cjs/index-422e5a81.js +0 -17
  250. package/dist/wc/cjs/index-452ee215.js +0 -20
  251. package/dist/wc/cjs/index-668dd84e.js +0 -34
  252. package/dist/wc/cjs/index-68c03627.js +0 -53
  253. package/dist/wc/cjs/index-72da8f73.js +0 -17
  254. package/dist/wc/cjs/index-8a564949.js +0 -29
  255. package/dist/wc/cjs/index-929abcb2.js +0 -74
  256. package/dist/wc/cjs/index-dbb9c380.js +0 -21
  257. package/dist/wc/cjs/index-e47a42d9.js +0 -22
  258. package/dist/wc/cjs/utils-43a3deb6.js +0 -97
  259. package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +0 -46
  260. package/dist/wc/cjs/z-link.cjs.entry.js +0 -74
  261. package/dist/wc/cjs/z-list_3.cjs.entry.js +0 -261
  262. package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +0 -46
  263. package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +0 -74
  264. package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +0 -73
  265. package/dist/wc/cjs/z-pocket-message.cjs.entry.js +0 -19
  266. package/dist/wc/cjs/z-pocket_3.cjs.entry.js +0 -125
  267. package/dist/wc/cjs/z-table-body.cjs.entry.js +0 -10
  268. package/dist/wc/cjs/z-table-cell.cjs.entry.js +0 -11
  269. package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +0 -91
  270. package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +0 -10
  271. package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +0 -10
  272. package/dist/wc/cjs/z-table-footer.cjs.entry.js +0 -10
  273. package/dist/wc/cjs/z-table-head.cjs.entry.js +0 -10
  274. package/dist/wc/cjs/z-table-header-row.cjs.entry.js +0 -10
  275. package/dist/wc/cjs/z-table-header.cjs.entry.js +0 -13
  276. package/dist/wc/cjs/z-table-row.cjs.entry.js +0 -11
  277. package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +0 -10
  278. package/dist/wc/cjs/z-tag.cjs.entry.js +0 -22
  279. package/dist/wc/delta_share/p-007a1bc5.entry.js +0 -1
  280. package/dist/wc/delta_share/p-0188e962.entry.js +0 -1
  281. package/dist/wc/delta_share/p-01dd7a45.entry.js +0 -1
  282. package/dist/wc/delta_share/p-029a7353.entry.js +0 -1
  283. package/dist/wc/delta_share/p-032199e9.entry.js +0 -1
  284. package/dist/wc/delta_share/p-043cdbf1.js +0 -1
  285. package/dist/wc/delta_share/p-047a8524.entry.js +0 -1
  286. package/dist/wc/delta_share/p-0fe4e8b2.entry.js +0 -1
  287. package/dist/wc/delta_share/p-112478b5.js +0 -1
  288. package/dist/wc/delta_share/p-162d0233.entry.js +0 -1
  289. package/dist/wc/delta_share/p-1b701b0e.entry.js +0 -1
  290. package/dist/wc/delta_share/p-1bb7af24.js +0 -1
  291. package/dist/wc/delta_share/p-1d427e0a.entry.js +0 -1
  292. package/dist/wc/delta_share/p-1e3d2b14.entry.js +0 -1
  293. package/dist/wc/delta_share/p-1f4909c7.entry.js +0 -1
  294. package/dist/wc/delta_share/p-20ff5410.entry.js +0 -1
  295. package/dist/wc/delta_share/p-2427835b.js +0 -1
  296. package/dist/wc/delta_share/p-26d1744f.entry.js +0 -1
  297. package/dist/wc/delta_share/p-271ab47a.js +0 -1
  298. package/dist/wc/delta_share/p-2b5da773.js +0 -1
  299. package/dist/wc/delta_share/p-2da22eda.entry.js +0 -1
  300. package/dist/wc/delta_share/p-32498aa3.entry.js +0 -1
  301. package/dist/wc/delta_share/p-354d0aa4.entry.js +0 -1
  302. package/dist/wc/delta_share/p-3747affc.entry.js +0 -1
  303. package/dist/wc/delta_share/p-38341cfb.entry.js +0 -1
  304. package/dist/wc/delta_share/p-3b046489.entry.js +0 -1
  305. package/dist/wc/delta_share/p-3e0d58c3.entry.js +0 -1
  306. package/dist/wc/delta_share/p-40b1f526.entry.js +0 -1
  307. package/dist/wc/delta_share/p-40db0c2f.entry.js +0 -1
  308. package/dist/wc/delta_share/p-41580384.js +0 -1
  309. package/dist/wc/delta_share/p-45e62587.entry.js +0 -1
  310. package/dist/wc/delta_share/p-46575ead.js +0 -1
  311. package/dist/wc/delta_share/p-4666e9fb.entry.js +0 -1
  312. package/dist/wc/delta_share/p-47c1de64.entry.js +0 -1
  313. package/dist/wc/delta_share/p-4b9be5d5.entry.js +0 -1
  314. package/dist/wc/delta_share/p-4bf8f33b.js +0 -1
  315. package/dist/wc/delta_share/p-50d72747.entry.js +0 -1
  316. package/dist/wc/delta_share/p-553d3d4e.js +0 -1
  317. package/dist/wc/delta_share/p-5ab3a4b0.entry.js +0 -1
  318. package/dist/wc/delta_share/p-5bb251dd.entry.js +0 -1
  319. package/dist/wc/delta_share/p-5cecb6db.entry.js +0 -1
  320. package/dist/wc/delta_share/p-62970c74.entry.js +0 -1
  321. package/dist/wc/delta_share/p-6347f0d8.entry.js +0 -1
  322. package/dist/wc/delta_share/p-66454c1b.entry.js +0 -1
  323. package/dist/wc/delta_share/p-6676c375.entry.js +0 -1
  324. package/dist/wc/delta_share/p-697c4ac9.js +0 -1
  325. package/dist/wc/delta_share/p-72442d2b.js +0 -1
  326. package/dist/wc/delta_share/p-72c4a523.entry.js +0 -1
  327. package/dist/wc/delta_share/p-7856ba3d.entry.js +0 -1
  328. package/dist/wc/delta_share/p-7eb297a7.entry.js +0 -1
  329. package/dist/wc/delta_share/p-8589abd7.js +0 -1
  330. package/dist/wc/delta_share/p-86f2958b.entry.js +0 -1
  331. package/dist/wc/delta_share/p-8745c480.entry.js +0 -1
  332. package/dist/wc/delta_share/p-8f123d77.entry.js +0 -1
  333. package/dist/wc/delta_share/p-90289241.entry.js +0 -1
  334. package/dist/wc/delta_share/p-95056ca8.entry.js +0 -1
  335. package/dist/wc/delta_share/p-95945f29.entry.js +0 -1
  336. package/dist/wc/delta_share/p-97577c0b.entry.js +0 -1
  337. package/dist/wc/delta_share/p-97d82f7e.entry.js +0 -1
  338. package/dist/wc/delta_share/p-9ebfdadf.entry.js +0 -1
  339. package/dist/wc/delta_share/p-a430cb52.entry.js +0 -1
  340. package/dist/wc/delta_share/p-a6a819d5.entry.js +0 -1
  341. package/dist/wc/delta_share/p-ac9574a6.entry.js +0 -1
  342. package/dist/wc/delta_share/p-aefef80d.entry.js +0 -1
  343. package/dist/wc/delta_share/p-b052dab7.entry.js +0 -3
  344. package/dist/wc/delta_share/p-b2f3596c.entry.js +0 -1
  345. package/dist/wc/delta_share/p-b4d3ca7d.entry.js +0 -1
  346. package/dist/wc/delta_share/p-b7a409df.entry.js +0 -1
  347. package/dist/wc/delta_share/p-b7b93904.entry.js +0 -1
  348. package/dist/wc/delta_share/p-b9b6c478.entry.js +0 -1
  349. package/dist/wc/delta_share/p-bb8ec114.entry.js +0 -1
  350. package/dist/wc/delta_share/p-c3bcf36d.entry.js +0 -1
  351. package/dist/wc/delta_share/p-c4faf4eb.entry.js +0 -1
  352. package/dist/wc/delta_share/p-c61d7a11.js +0 -1
  353. package/dist/wc/delta_share/p-c64b3da1.entry.js +0 -1
  354. package/dist/wc/delta_share/p-c72a8f42.entry.js +0 -1
  355. package/dist/wc/delta_share/p-c7678d37.js +0 -1
  356. package/dist/wc/delta_share/p-ca2494fb.entry.js +0 -1
  357. package/dist/wc/delta_share/p-cc222b2f.entry.js +0 -1
  358. package/dist/wc/delta_share/p-ce15fdd1.entry.js +0 -1
  359. package/dist/wc/delta_share/p-cf6854c4.entry.js +0 -1
  360. package/dist/wc/delta_share/p-d79b35a8.entry.js +0 -1
  361. package/dist/wc/delta_share/p-d8592d42.js +0 -1
  362. package/dist/wc/delta_share/p-d86cd1ff.entry.js +0 -1
  363. package/dist/wc/delta_share/p-da254424.entry.js +0 -1
  364. package/dist/wc/delta_share/p-db4d5b29.entry.js +0 -1
  365. package/dist/wc/delta_share/p-dbf33c0f.entry.js +0 -1
  366. package/dist/wc/delta_share/p-df6ae14f.js +0 -1
  367. package/dist/wc/delta_share/p-e43e61ac.js +0 -7
  368. package/dist/wc/delta_share/p-e4fdcfc5.entry.js +0 -1
  369. package/dist/wc/delta_share/p-e573c206.entry.js +0 -1
  370. package/dist/wc/delta_share/p-e708b262.entry.js +0 -1
  371. package/dist/wc/delta_share/p-e8cda39a.js +0 -1
  372. package/dist/wc/delta_share/p-e94ef0ed.entry.js +0 -1
  373. package/dist/wc/delta_share/p-eb889b01.js +0 -2
  374. package/dist/wc/delta_share/p-edaf6126.entry.js +0 -1
  375. package/dist/wc/delta_share/p-efa66157.js +0 -1
  376. package/dist/wc/delta_share/p-f1bf817c.entry.js +0 -1
  377. package/dist/wc/delta_share/p-f25116a7.js +0 -1
  378. package/dist/wc/delta_share/p-f3023043.entry.js +0 -1
  379. package/dist/wc/delta_share/p-f42019e4.entry.js +0 -1
  380. package/dist/wc/delta_share/p-f5bb55e0.entry.js +0 -16
  381. package/dist/wc/delta_share/p-f635c868.entry.js +0 -1
  382. package/dist/wc/delta_share/p-fbc9f1bc.entry.js +0 -1
  383. package/dist/wc/esm/breakpoints-3c3dbb8c.js +0 -5
  384. package/dist/wc/esm/hammer-c3266b17.js +0 -2648
  385. package/dist/wc/esm/icons-6196a79a.js +0 -860
  386. package/dist/wc/esm/index-03cc51b1.js +0 -39
  387. package/dist/wc/esm/index-1082a536.js +0 -20
  388. package/dist/wc/esm/index-113e6780.js +0 -15
  389. package/dist/wc/esm/index-4854c8af.js +0 -27
  390. package/dist/wc/esm/index-485971a0.js +0 -15
  391. package/dist/wc/esm/index-9d240d39.js +0 -344
  392. package/dist/wc/esm/index-b3f3a99c.js +0 -77
  393. package/dist/wc/esm/index-ba38e8d5.js +0 -15
  394. package/dist/wc/esm/index-ce7e02a3.js +0 -72
  395. package/dist/wc/esm/index-cfd5ec9b.js +0 -65
  396. package/dist/wc/esm/index-de36993f.js +0 -18
  397. package/dist/wc/esm/index-df808f62.js +0 -32
  398. package/dist/wc/esm/index-f7dfdf1f.js +0 -19
  399. package/dist/wc/esm/index-faec138b.js +0 -19
  400. package/dist/wc/esm/index-ff4885bf.js +0 -51
  401. package/dist/wc/esm/utils-bc5ea6f7.js +0 -88
  402. package/dist/wc/esm/z-contextual-menu.entry.js +0 -42
  403. package/dist/wc/esm/z-link.entry.js +0 -70
  404. package/dist/wc/esm/z-list_3.entry.js +0 -255
  405. package/dist/wc/esm/z-messages-pocket.entry.js +0 -42
  406. package/dist/wc/esm/z-navigation-tab-link.entry.js +0 -70
  407. package/dist/wc/esm/z-navigation-tab.entry.js +0 -69
  408. package/dist/wc/esm/z-pocket-message.entry.js +0 -15
  409. package/dist/wc/esm/z-pocket_3.entry.js +0 -119
  410. package/dist/wc/esm/z-table-body.entry.js +0 -2
  411. package/dist/wc/esm/z-table-cell.entry.js +0 -3
  412. package/dist/wc/esm/z-table-deprecated.entry.js +0 -87
  413. package/dist/wc/esm/z-table-empty-box.entry.js +0 -2
  414. package/dist/wc/esm/z-table-expanded-row.entry.js +0 -2
  415. package/dist/wc/esm/z-table-footer.entry.js +0 -2
  416. package/dist/wc/esm/z-table-head.entry.js +0 -2
  417. package/dist/wc/esm/z-table-header-row.entry.js +0 -2
  418. package/dist/wc/esm/z-table-header.entry.js +0 -5
  419. package/dist/wc/esm/z-table-row.entry.js +0 -3
  420. package/dist/wc/esm/z-table-sticky-footer.entry.js +0 -2
  421. package/dist/wc/esm/z-tag.entry.js +0 -18
@@ -1,65 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-1b01fa0e.js';
2
- import { r as randomId } from './utils-bc5ea6f7.js';
3
- import './index-ff4885bf.js';
4
- import './index-ce7e02a3.js';
5
-
6
- const stylesCss = ":host{--columns:1;display:grid;min-width:max-content;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-surface02)}.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
-
8
- const ZTr = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.expand = createEvent(this, "expand", 7);
12
- /**
13
- * Whether the row is expandable.
14
- * Use a `z-td` as the last cell of the row for the additional content.
15
- * It will show a button to expand/collapse the row.
16
- * The last cell will be hidden until the button or row is clicked.
17
- *
18
- * If some element inside the expandable row contains the `prevent-expand` css class,
19
- * the row will not expand by clicking that element.
20
- */
21
- this.expandable = false;
22
- /**
23
- * Whether the row is currently expanded.
24
- */
25
- this.expanded = false;
26
- }
27
- updateColumns() {
28
- const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
29
- if (this.expandable) {
30
- cells.pop();
31
- }
32
- const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
33
- this.host.style.setProperty("--columns", `${columns}`);
34
- if (this.expandable) {
35
- const expandableContent = cells.pop();
36
- expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;
37
- this.expandableContentId = expandableContent.id;
38
- }
39
- }
40
- /**
41
- * Handle click on row.
42
- * Skip expansion if the click is on a element with `prevent-expand` css class.
43
- */
44
- onRowClick(event) {
45
- const preventExpand = event.target.closest(".prevent-expand");
46
- if (!this.expandable || preventExpand) {
47
- return;
48
- }
49
- this.expanded = !this.expanded;
50
- this.expand.emit({ expanded: this.expanded });
51
- }
52
- componentWillLoad() {
53
- this.updateColumns();
54
- }
55
- render() {
56
- return (h(Host, { role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { class: "z-tr--expand-button-container" }, this.expandable && (h("button", { "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { onSlotchange: this.updateColumns.bind(this) })));
57
- }
58
- get host() { return getElement(this); }
59
- static get watchers() { return {
60
- "expandable": ["updateColumns"]
61
- }; }
62
- };
63
- ZTr.style = stylesCss;
64
-
65
- export { ZTr as Z };
@@ -1,18 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-1b01fa0e.js';
2
-
3
- const stylesCss = "z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;box-sizing:border-box;user-select:none}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";
4
-
5
- const ZTableHeaderRow = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- renderExpandHeader() {
10
- return h("z-table-header", null);
11
- }
12
- render() {
13
- return (h(Host, { role: "row" }, this.expandable && this.renderExpandHeader(), h("slot", null)));
14
- }
15
- };
16
- ZTableHeaderRow.style = stylesCss;
17
-
18
- export { ZTableHeaderRow as Z };
@@ -1,32 +0,0 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-1b01fa0e.js';
2
- import { B as ButtonVariant, w as ButtonSize } from './index-9d240d39.js';
3
-
4
- const stylesCss = ":host{display:table-cell;border-bottom:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}:host([padding=\"x-small\"]){padding:calc(var(--space-unit) * 0.5)}:host([padding=\"small\"]){padding:calc(var(--space-unit))}:host([padding=\"medium\"]){padding:calc(var(--space-unit) * 2)}:host([padding=\"large\"]){padding:calc(var(--space-unit) * 2.5)}:host([padding=\"special\"]){padding:0}";
5
-
6
- const ZTableCell = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- /** Set padding size of cell, if special 0px padding will be set */
10
- this.padding = "medium";
11
- this.isMenuOpened = false;
12
- }
13
- handleMenu() {
14
- this.isMenuOpened = !this.isMenuOpened;
15
- }
16
- componentWillRender() {
17
- this.host.setAttribute("role", "cell");
18
- }
19
- render() {
20
- return (h(Host, null, this.showButton && (h("div", { class: {
21
- "button-container": true,
22
- "visible": this.isMenuOpened,
23
- } }, h("div", { class: "button-content" }, h("z-button", { icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenu() }), h("div", { class: {
24
- "contextual-menu-container": true,
25
- "visible": this.isMenuOpened,
26
- } }, h("slot", { name: "contextual-menu" }))))), h("slot", null)));
27
- }
28
- get host() { return getElement(this); }
29
- };
30
- ZTableCell.style = stylesCss;
31
-
32
- export { ZTableCell as Z };
@@ -1,19 +0,0 @@
1
- import { r as registerInstance, h, a as getElement } from './index-1b01fa0e.js';
2
-
3
- const stylesCss = ".sc-z-table-head-h{display:table-header-group;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
4
-
5
- const ZTableHead = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- componentWillRender() {
10
- this.host.setAttribute("role", "rowgroup");
11
- }
12
- render() {
13
- return h("slot", null);
14
- }
15
- get host() { return getElement(this); }
16
- };
17
- ZTableHead.style = stylesCss;
18
-
19
- export { ZTableHead as Z };
@@ -1,19 +0,0 @@
1
- import { r as registerInstance, h, a as getElement } from './index-1b01fa0e.js';
2
-
3
- const stylesCss = ".sc-z-table-footer-h{display:table-footer-group;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
4
-
5
- const ZTableFooter = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- componentWillRender() {
10
- this.host.setAttribute("role", "rowgroup");
11
- }
12
- render() {
13
- return h("slot", null);
14
- }
15
- get host() { return getElement(this); }
16
- };
17
- ZTableFooter.style = stylesCss;
18
-
19
- export { ZTableFooter as Z };
@@ -1,51 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-1b01fa0e.js';
2
- import { B as ButtonVariant, C as ControlSize } from './index-9d240d39.js';
3
-
4
- const stylesCss = ":host{position:relative;display:flex;min-width:128px;box-sizing:border-box;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([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([show-menu])::after{display:inline-block;height:100%;margin-right:calc(var(--space-unit) * 4);background:transparent;content:\"\";user-select:none}.cell--menu-container{position:absolute;z-index:1;top:var(--space-unit);right:var(--space-unit)}: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{opacity:1;pointer-events:all}@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{opacity:1;pointer-events:all}}";
5
-
6
- const ZTd = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.colspanChange = createEvent(this, "colspanChange", 6);
10
- /**
11
- * Whether the cell should stick.
12
- */
13
- this.sticky = false;
14
- /**
15
- * Enables the contextual menu.
16
- * Can be set to "hover" or "always" to show the button only on cell hover or always.
17
- * Set a nullish value to hide the menu button.
18
- */
19
- this.showMenu = null;
20
- /**
21
- * Store the open state of the menu.
22
- */
23
- this.isMenuOpen = false;
24
- }
25
- updateColspan() {
26
- if (this.colspan) {
27
- this.host.style.gridColumn = `span ${this.colspan}`;
28
- }
29
- else {
30
- this.host.style.removeProperty("grid-column");
31
- }
32
- this.colspanChange.emit(this.colspan || 1);
33
- }
34
- onMenuButtonClick(ev) {
35
- ev.stopPropagation();
36
- this.popoverEl.open = !this.popoverEl.open;
37
- }
38
- componentWillLoad() {
39
- this.updateColspan();
40
- }
41
- render() {
42
- return (h(Host, { role: "cell", "menu-open": this.isMenuOpen }, h("slot", null), this.showMenu && (h("div", { class: "cell--menu-container prevent-expand" }, h("z-button", { variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open) }, h("slot", { name: "contextual-menu" }))))));
43
- }
44
- get host() { return getElement(this); }
45
- static get watchers() { return {
46
- "colspan": ["updateColspan"]
47
- }; }
48
- };
49
- ZTd.style = stylesCss;
50
-
51
- export { ZTd as Z };
@@ -1,88 +0,0 @@
1
- import { K as KeyboardCode, D as Device } from './index-9d240d39.js';
2
- import { d as desktopBreakpoint, t as tabletBreakpoint, m as mobileBreakpoint } from './breakpoints-3c3dbb8c.js';
3
-
4
- /**
5
- * Return boolean value for passed value if a boolean corresponding value is found
6
- * Return passed value otherwise
7
- */
8
- function boolean(value) {
9
- switch (value) {
10
- case true:
11
- case "true":
12
- case 1:
13
- case "1":
14
- case "on":
15
- case "yes":
16
- return true;
17
- case false:
18
- case "false":
19
- case 0:
20
- case "0":
21
- case "off":
22
- case "no":
23
- return false;
24
- default:
25
- return value;
26
- }
27
- }
28
- function randomId() {
29
- return Math.random().toString(36).replace("0.", "");
30
- }
31
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
32
- function handleKeyboardSubmit(ev, callback, ...args) {
33
- if (ev.code === KeyboardCode.ENTER || ev.code === KeyboardCode.SPACE) {
34
- ev.preventDefault();
35
- callback(...args);
36
- }
37
- }
38
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
39
- function handleEnterKeydSubmit(ev, callback, ...args) {
40
- if (ev.code === KeyboardCode.ENTER) {
41
- ev.preventDefault();
42
- callback(...args);
43
- }
44
- }
45
- function getClickedElement(elem = null) {
46
- if (!elem) {
47
- elem = document.activeElement;
48
- }
49
- if (elem && elem.shadowRoot && elem.shadowRoot.activeElement) {
50
- elem = elem.shadowRoot.activeElement;
51
- return getClickedElement(elem);
52
- }
53
- return elem;
54
- }
55
- function getElementTree(elem, tree = []) {
56
- tree.push(elem);
57
- if (elem.parentElement) {
58
- elem = elem.parentElement;
59
- return getElementTree(elem, tree);
60
- }
61
- else if (elem.parentNode && elem.parentNode.host) {
62
- elem = elem.parentNode.host;
63
- return getElementTree(elem, tree);
64
- }
65
- return tree;
66
- }
67
- function getDevice() {
68
- switch (true) {
69
- case window.innerWidth <= mobileBreakpoint:
70
- return Device.MOBILE;
71
- case window.innerWidth <= tabletBreakpoint:
72
- return Device.TABLET;
73
- case window.innerWidth <= desktopBreakpoint:
74
- return Device.DESKTOP;
75
- default:
76
- return Device.DESKTOP_WIDE;
77
- }
78
- }
79
- function convertJson(data) {
80
- try {
81
- return JSON.parse(data);
82
- }
83
- catch (_a) {
84
- return false;
85
- }
86
- }
87
-
88
- export { getElementTree as a, boolean as b, getClickedElement as c, convertJson as d, handleEnterKeydSubmit as e, getDevice as g, handleKeyboardSubmit as h, randomId as r };
@@ -1,42 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-1b01fa0e.js';
2
- import { P as PopoverPosition } from './index-9d240d39.js';
3
-
4
- const stylesCss = ":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
5
-
6
- const ZContextualMenu = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.clickContextualMenu = createEvent(this, "clickContextualMenu", 7);
10
- /**
11
- * [optional] Sets text color of ZContextualMenu's content
12
- */
13
- this.color = "color-primary01";
14
- /**
15
- * [optional] Sets the position of the popover
16
- */
17
- this.popoverPosition = PopoverPosition.BOTTOM_RIGHT;
18
- }
19
- componentWillRender() {
20
- if (this.elements) {
21
- this.jsonElements = JSON.parse(this.elements.replace(/&quot;/g, '"'));
22
- }
23
- }
24
- componentDidLoad() {
25
- this.popoverEl.bindTo = this.triggerButton;
26
- }
27
- showIcon() {
28
- return !this.jsonElements.some((element) => !element.icon);
29
- }
30
- togglePopover() {
31
- if (!this.popoverEl.open) {
32
- this.popoverEl.open = true;
33
- }
34
- }
35
- render() {
36
- var _a, _b;
37
- return (h(Host, null, h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, h("z-icon", { name: "contextual-menu", fill: this.color })), h("z-popover", { ref: (el) => (this.popoverEl = el), position: this.popoverPosition }, h("div", { class: "popover-content-container" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled ? "disabled-element-container" : "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))));
38
- }
39
- };
40
- ZContextualMenu.style = stylesCss;
41
-
42
- export { ZContextualMenu as z_contextual_menu };
@@ -1,70 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-1b01fa0e.js';
2
-
3
- const stylesCss = ":host{--font-size-link:inherit;--font-weight-link:inherit;font-family:var(--font-family-sans);font-size:var(--font-size-link);font-weight:var(--font-weight-link);line-height:inherit;outline:none}:host([big]){--font-size-link:16px;--font-weight-link:var(--font-sb)}a{display:inline-flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);text-decoration:none}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--color-white);fill:var(--color-white);text-decoration:none}a.white:visited{color:var(--color-white);fill:var(--color-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:var(--space-unit)}a>z-icon:last-child{margin-left:var(--space-unit)}";
4
-
5
- const ZLink = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.zLinkClick = createEvent(this, "zLinkClick", 7);
9
- /** link target (optional) */
10
- this.target = "_self";
11
- /** tabindex link attribute (optional) */
12
- this.htmltabindex = 0;
13
- /** disable link flag (optional) */
14
- this.isdisabled = false;
15
- /** active link flag (optional) */
16
- this.isactive = false;
17
- /** white variant flag (optional) */
18
- this.iswhite = false;
19
- /** link text variant (optional) */
20
- this.textcolor = "primary";
21
- /** big link version */
22
- this.big = false;
23
- /** link icon position (optional) */
24
- this.iconposition = "left";
25
- /** draw underline on text (optional) */
26
- this.underline = false;
27
- this.iconSize = 18;
28
- this.emitZLinkClick = this.emitZLinkClick.bind(this);
29
- this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
30
- }
31
- componentWillLoad() {
32
- if (this.iswhite) {
33
- console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead");
34
- }
35
- if (this.big) {
36
- console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead");
37
- }
38
- }
39
- emitZLinkClick(e, linkId) {
40
- this.emitZLinkInteraction(e, linkId);
41
- }
42
- emitZLinkInteraction(e, linkId) {
43
- this.zLinkClick.emit({ e, linkId });
44
- }
45
- componentDidLoad() {
46
- if (this.icon) {
47
- const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue("font-size"));
48
- const currentSize = this.big ? 18 : Math.round(height * 1.125);
49
- if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
50
- this.iconSize = currentSize;
51
- }
52
- }
53
- }
54
- render() {
55
- return (h("a", { id: this.htmlid, href: this.href ? this.href : null, class: {
56
- disabled: this.isdisabled,
57
- active: this.isactive,
58
- white: this.iswhite,
59
- [this.textcolor || ""]: true,
60
- underline: this.underline,
61
- }, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && h("slot", null), this.icon && (h("z-icon", { style: {
62
- "--z-icon-width": `${this.iconSize}px`,
63
- "--z-icon-height": `${this.iconSize}px`,
64
- }, name: this.icon })), this.iconposition === "left" && h("slot", null)));
65
- }
66
- get hostElement() { return getElement(this); }
67
- };
68
- ZLink.style = stylesCss;
69
-
70
- export { ZLink as z_link };