@zanichelli/delta_share 2.0.6 → 2.0.7

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 (358) hide show
  1. package/dist/wc/cjs/{breakpoints-a55736d0.js → breakpoints-da666109.js} +0 -2
  2. package/dist/wc/cjs/delta_share.cjs.js +2 -2
  3. package/dist/wc/cjs/{icons-2aca6c75.js → icons-f65fa82e.js} +58 -132
  4. package/dist/wc/cjs/{index-9ca7d5e5.js → index-458dc8f4.js} +0 -12
  5. package/dist/wc/cjs/index-b9bd2767.js +81 -0
  6. package/dist/wc/cjs/{license-activation_13.cjs.entry.js → license-activation_16.cjs.entry.js} +493 -131
  7. package/dist/wc/cjs/loader.cjs.js +2 -2
  8. package/dist/wc/cjs/utils-1f907efa.js +42 -0
  9. package/dist/wc/cjs/z-app-header.cjs.entry.js +6 -132
  10. package/dist/wc/cjs/z-app-switcher.cjs.entry.js +2 -2
  11. package/dist/wc/cjs/z-app-topbar.cjs.entry.js +28 -15
  12. package/dist/wc/cjs/z-button-sort.cjs.entry.js +3 -17
  13. package/dist/wc/cjs/z-candybar.cjs.entry.js +1 -1
  14. package/dist/wc/cjs/z-card-alert.cjs.entry.js +52 -0
  15. package/dist/wc/cjs/z-card-body.cjs.entry.js +19 -0
  16. package/dist/wc/cjs/z-card-cover.cjs.entry.js +22 -0
  17. package/dist/wc/cjs/z-card-footer.cjs.entry.js +46 -0
  18. package/dist/wc/cjs/z-card-header.cjs.entry.js +38 -0
  19. package/dist/wc/cjs/z-card-icon.cjs.entry.js +21 -0
  20. package/dist/wc/cjs/{z-myz-card-list.cjs.entry.js → z-card-list.cjs.entry.js} +5 -5
  21. package/dist/wc/cjs/z-card.cjs.entry.js +25 -53
  22. package/dist/wc/cjs/z-chip.cjs.entry.js +7 -20
  23. package/dist/wc/cjs/z-combobox.cjs.entry.js +17 -18
  24. package/dist/wc/cjs/z-cookiebar.cjs.entry.js +5 -5
  25. package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
  26. package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +4 -4
  27. package/dist/wc/cjs/z-footer.cjs.entry.js +8 -35
  28. package/dist/wc/cjs/z-header.cjs.entry.js +180 -0
  29. package/dist/wc/cjs/z-heading.cjs.entry.js +17 -0
  30. package/dist/wc/cjs/z-icon-package.cjs.entry.js +2 -2
  31. package/dist/wc/cjs/{z-myz-list-item.cjs.entry.js → z-list-item.cjs.entry.js} +6 -7
  32. package/dist/wc/cjs/z-list_2.cjs.entry.js +53 -144
  33. package/dist/wc/cjs/z-logo.cjs.entry.js +10 -12
  34. package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
  35. package/dist/wc/cjs/z-menu.cjs.entry.js +4 -58
  36. package/dist/wc/cjs/z-modal-login.cjs.entry.js +6 -15
  37. package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +2651 -8
  38. package/dist/wc/cjs/z-pagination-page.cjs.entry.js +4 -3
  39. package/dist/wc/cjs/z-panel-elem.cjs.entry.js +1 -1
  40. package/dist/wc/cjs/{z-table-body.cjs.entry.js → z-registro-table-body.cjs.entry.js} +5 -5
  41. package/dist/wc/cjs/z-registro-table-cell.cjs.entry.js +34 -0
  42. package/dist/wc/cjs/{z-table-head.cjs.entry.js → z-registro-table-footer.cjs.entry.js} +5 -5
  43. package/dist/wc/cjs/{z-table-footer.cjs.entry.js → z-registro-table-head.cjs.entry.js} +5 -5
  44. package/dist/wc/cjs/z-registro-table-header.cjs.entry.js +23 -0
  45. package/dist/wc/cjs/z-registro-table-row.cjs.entry.js +23 -0
  46. package/dist/wc/cjs/z-registro-table-sticky-footer.cjs.entry.js +19 -0
  47. package/dist/wc/cjs/z-registro-table.cjs.entry.js +31 -0
  48. package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
  49. package/dist/wc/cjs/z-stepper.cjs.entry.js +1 -1
  50. package/dist/wc/cjs/z-toggle-button.cjs.entry.js +6 -7
  51. package/dist/wc/cjs/z-tooltip.cjs.entry.js +24 -254
  52. package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +51 -46
  53. package/dist/wc/collection/collection-manifest.json +18 -63
  54. package/dist/wc/collection/components/license-activation-form/license-activation-form.js +23 -11
  55. package/dist/wc/custom-elements/index.js +2802 -9496
  56. package/dist/wc/delta_share/delta_share.esm.js +1 -1
  57. package/dist/wc/delta_share/p-04b614bf.entry.js +1 -0
  58. package/dist/wc/delta_share/p-0a05abe2.entry.js +1 -0
  59. package/dist/wc/delta_share/{p-3341f25e.entry.js → p-10d9e4f5.entry.js} +1 -1
  60. package/dist/wc/delta_share/p-21e76fc5.entry.js +1 -0
  61. package/dist/wc/delta_share/p-26d039ff.entry.js +1 -0
  62. package/dist/wc/delta_share/p-3995e58c.entry.js +1 -0
  63. package/dist/wc/delta_share/p-3c0ba1d7.entry.js +1 -0
  64. package/dist/wc/delta_share/p-3dae174e.entry.js +1 -0
  65. package/dist/wc/delta_share/p-466d0fc0.entry.js +1 -0
  66. package/dist/wc/delta_share/p-57e825ae.entry.js +1 -0
  67. package/dist/wc/delta_share/p-5a2d329b.entry.js +1 -0
  68. package/dist/wc/delta_share/p-5e35124a.entry.js +1 -0
  69. package/dist/wc/delta_share/{p-29d111de.entry.js → p-6215ddbd.entry.js} +1 -1
  70. package/dist/wc/delta_share/{p-94df01a9.entry.js → p-65c48026.entry.js} +1 -1
  71. package/dist/wc/delta_share/{p-a0663266.entry.js → p-6684b880.entry.js} +1 -1
  72. package/dist/wc/delta_share/p-7145c713.entry.js +1 -0
  73. package/dist/wc/delta_share/p-79e22647.entry.js +3 -0
  74. package/dist/wc/delta_share/p-7a08a26d.entry.js +1 -0
  75. package/dist/wc/delta_share/p-7adbb1ec.entry.js +1 -0
  76. package/dist/wc/delta_share/{p-cfc122de.entry.js → p-800cd436.entry.js} +1 -1
  77. package/dist/wc/delta_share/p-804eb658.entry.js +1 -0
  78. package/dist/wc/delta_share/p-81d7702b.entry.js +1 -0
  79. package/dist/wc/delta_share/p-85623203.entry.js +1 -0
  80. package/dist/wc/delta_share/{p-f531a563.entry.js → p-873e098b.entry.js} +1 -1
  81. package/dist/wc/delta_share/p-9dd299b2.js +1 -0
  82. package/dist/wc/delta_share/{p-6a9fb59c.entry.js → p-a03963a8.entry.js} +1 -1
  83. package/dist/wc/delta_share/p-a259b62e.entry.js +1 -0
  84. package/dist/wc/delta_share/p-ab7c95da.entry.js +1 -0
  85. package/dist/wc/delta_share/p-abd1d378.entry.js +1 -0
  86. package/dist/wc/delta_share/p-acfe9eb3.entry.js +1 -0
  87. package/dist/wc/delta_share/p-b5e27e10.js +1 -0
  88. package/dist/wc/delta_share/p-b5eb340c.entry.js +1 -0
  89. package/dist/wc/delta_share/p-b60651f2.entry.js +1 -0
  90. package/dist/wc/delta_share/p-c56e8a41.entry.js +1 -0
  91. package/dist/wc/delta_share/p-c69e24bf.entry.js +1 -0
  92. package/dist/wc/delta_share/{p-5b320481.entry.js → p-ca57e6ec.entry.js} +1 -1
  93. package/dist/wc/delta_share/p-cac71697.js +1 -0
  94. package/dist/wc/delta_share/p-cad0320b.entry.js +1 -0
  95. package/dist/wc/delta_share/p-d1270e75.entry.js +1 -0
  96. package/dist/wc/delta_share/p-d2b8f445.entry.js +1 -0
  97. package/dist/wc/delta_share/p-d489328b.js +1 -0
  98. package/dist/wc/delta_share/p-de921fbb.entry.js +1 -0
  99. package/dist/wc/delta_share/p-ec64cd8e.entry.js +1 -0
  100. package/dist/wc/delta_share/{p-06b89fb4.entry.js → p-ef4da7dc.entry.js} +1 -1
  101. package/dist/wc/delta_share/p-f1ba2542.entry.js +1 -0
  102. package/dist/wc/delta_share/p-f500eb2e.entry.js +1 -0
  103. package/dist/wc/delta_share/p-f5d6ffbf.entry.js +1 -0
  104. package/dist/wc/delta_share/p-f6cf7f9f.entry.js +1 -0
  105. package/dist/wc/delta_share/p-f9175533.entry.js +7 -0
  106. package/dist/wc/delta_share/p-fb1885ec.js +1 -0
  107. package/dist/wc/esm/breakpoints-75d56fd9.js +3 -0
  108. package/dist/wc/esm/delta_share.js +2 -2
  109. package/dist/wc/esm/{icons-74713b55.js → icons-973d360b.js} +58 -132
  110. package/dist/wc/esm/{index-b3a91e19.js → index-5ecd661f.js} +0 -12
  111. package/dist/wc/esm/index-e68ea3a2.js +81 -0
  112. package/dist/wc/esm/{license-activation_13.entry.js → license-activation_16.entry.js} +491 -132
  113. package/dist/wc/esm/loader.js +2 -2
  114. package/dist/wc/esm/utils-1c638931.js +37 -0
  115. package/dist/wc/esm/z-app-header.entry.js +6 -132
  116. package/dist/wc/esm/z-app-switcher.entry.js +2 -2
  117. package/dist/wc/esm/z-app-topbar.entry.js +28 -15
  118. package/dist/wc/esm/z-button-sort.entry.js +3 -17
  119. package/dist/wc/esm/z-candybar.entry.js +1 -1
  120. package/dist/wc/esm/z-card-alert.entry.js +48 -0
  121. package/dist/wc/esm/z-card-body.entry.js +15 -0
  122. package/dist/wc/esm/z-card-cover.entry.js +18 -0
  123. package/dist/wc/esm/z-card-footer.entry.js +42 -0
  124. package/dist/wc/esm/z-card-header.entry.js +34 -0
  125. package/dist/wc/esm/z-card-icon.entry.js +17 -0
  126. package/dist/wc/esm/z-card-list.entry.js +33 -0
  127. package/dist/wc/esm/z-card.entry.js +25 -53
  128. package/dist/wc/esm/z-chip.entry.js +7 -20
  129. package/dist/wc/esm/z-combobox.entry.js +17 -18
  130. package/dist/wc/esm/z-cookiebar.entry.js +5 -5
  131. package/dist/wc/esm/z-divider.entry.js +2 -2
  132. package/dist/wc/esm/z-footer-link_3.entry.js +4 -4
  133. package/dist/wc/esm/z-footer.entry.js +8 -35
  134. package/dist/wc/esm/z-header.entry.js +176 -0
  135. package/dist/wc/esm/z-heading.entry.js +13 -0
  136. package/dist/wc/esm/z-icon-package.entry.js +2 -2
  137. package/dist/wc/esm/{z-myz-list-item.entry.js → z-list-item.entry.js} +6 -7
  138. package/dist/wc/esm/z-list_2.entry.js +53 -144
  139. package/dist/wc/esm/z-logo.entry.js +10 -12
  140. package/dist/wc/esm/z-menu-section.entry.js +2 -2
  141. package/dist/wc/esm/z-menu.entry.js +4 -58
  142. package/dist/wc/esm/z-modal-login.entry.js +6 -15
  143. package/dist/wc/esm/z-pagination-bar.entry.js +2651 -8
  144. package/dist/wc/esm/z-pagination-page.entry.js +4 -3
  145. package/dist/wc/esm/z-panel-elem.entry.js +1 -1
  146. package/dist/wc/esm/{z-table-body.entry.js → z-registro-table-body.entry.js} +5 -5
  147. package/dist/wc/esm/z-registro-table-cell.entry.js +30 -0
  148. package/dist/wc/esm/{z-table-footer.entry.js → z-registro-table-footer.entry.js} +5 -5
  149. package/dist/wc/esm/{z-table-head.entry.js → z-registro-table-head.entry.js} +5 -5
  150. package/dist/wc/esm/z-registro-table-header.entry.js +19 -0
  151. package/dist/wc/esm/z-registro-table-row.entry.js +19 -0
  152. package/dist/wc/esm/z-registro-table-sticky-footer.entry.js +15 -0
  153. package/dist/wc/esm/z-registro-table.entry.js +27 -0
  154. package/dist/wc/esm/z-stepper-item.entry.js +1 -1
  155. package/dist/wc/esm/z-stepper.entry.js +1 -1
  156. package/dist/wc/esm/z-toggle-button.entry.js +6 -7
  157. package/dist/wc/esm/z-tooltip.entry.js +24 -254
  158. package/dist/wc/esm/z-user-dropdown.entry.js +51 -46
  159. package/dist/wc/types/beans/index.d.ts +1 -1
  160. package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -1
  161. package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -1
  162. package/package.json +1 -1
  163. package/dist/wc/cjs/hammer-4f20813e.js +0 -2650
  164. package/dist/wc/cjs/index-9c6fd1db.js +0 -315
  165. package/dist/wc/cjs/utils-8a10bba9.js +0 -88
  166. package/dist/wc/cjs/z-alert.cjs.entry.js +0 -19
  167. package/dist/wc/cjs/z-aria-alert.cjs.entry.js +0 -18
  168. package/dist/wc/cjs/z-avatar.cjs.entry.js +0 -43
  169. package/dist/wc/cjs/z-button-deprecated.cjs.entry.js +0 -38
  170. package/dist/wc/cjs/z-button-filter.cjs.entry.js +0 -49
  171. package/dist/wc/cjs/z-carousel.cjs.entry.js +0 -24
  172. package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +0 -24
  173. package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +0 -40
  174. package/dist/wc/cjs/z-date-picker.cjs.entry.js +0 -3104
  175. package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +0 -48
  176. package/dist/wc/cjs/z-file-upload.cjs.entry.js +0 -172
  177. package/dist/wc/cjs/z-file.cjs.entry.js +0 -47
  178. package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +0 -19
  179. package/dist/wc/cjs/z-input-deprecated.cjs.entry.js +0 -271
  180. package/dist/wc/cjs/z-input-label_2.cjs.entry.js +0 -272
  181. package/dist/wc/cjs/z-list-group.cjs.entry.js +0 -54
  182. package/dist/wc/cjs/z-menu-dropdown_2.cjs.entry.js +0 -89
  183. package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +0 -46
  184. package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +0 -63
  185. package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +0 -36
  186. package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +0 -19
  187. package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +0 -56
  188. package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +0 -21
  189. package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +0 -119
  190. package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +0 -104
  191. package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +0 -194
  192. package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +0 -71
  193. package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +0 -73
  194. package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +0 -126
  195. package/dist/wc/cjs/z-notification.cjs.entry.js +0 -46
  196. package/dist/wc/cjs/z-offcanvas.cjs.entry.js +0 -63
  197. package/dist/wc/cjs/z-otp.cjs.entry.js +0 -41
  198. package/dist/wc/cjs/z-pagination.cjs.entry.js +0 -229
  199. package/dist/wc/cjs/z-pocket-message.cjs.entry.js +0 -19
  200. package/dist/wc/cjs/z-pocket_3.cjs.entry.js +0 -125
  201. package/dist/wc/cjs/z-popover.cjs.entry.js +0 -132
  202. package/dist/wc/cjs/z-section-title.cjs.entry.js +0 -42
  203. package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +0 -68
  204. package/dist/wc/cjs/z-slideshow.cjs.entry.js +0 -112
  205. package/dist/wc/cjs/z-status-tag.cjs.entry.js +0 -29
  206. package/dist/wc/cjs/z-table-cell.cjs.entry.js +0 -36
  207. package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +0 -32
  208. package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +0 -19
  209. package/dist/wc/cjs/z-table-header-row.cjs.entry.js +0 -22
  210. package/dist/wc/cjs/z-table-header.cjs.entry.js +0 -88
  211. package/dist/wc/cjs/z-table-row.cjs.entry.js +0 -43
  212. package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +0 -19
  213. package/dist/wc/cjs/z-table.cjs.entry.js +0 -82
  214. package/dist/wc/cjs/z-tag.cjs.entry.js +0 -22
  215. package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +0 -56
  216. package/dist/wc/cjs/z-toast-notification.cjs.entry.js +0 -203
  217. package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +0 -49
  218. package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +0 -19
  219. package/dist/wc/delta_share/p-041ff3e2.entry.js +0 -1
  220. package/dist/wc/delta_share/p-06543221.entry.js +0 -1
  221. package/dist/wc/delta_share/p-0b0179c7.js +0 -1
  222. package/dist/wc/delta_share/p-0f55558e.js +0 -1
  223. package/dist/wc/delta_share/p-103f926c.entry.js +0 -1
  224. package/dist/wc/delta_share/p-12aa58e4.entry.js +0 -1
  225. package/dist/wc/delta_share/p-20c14e4e.entry.js +0 -1
  226. package/dist/wc/delta_share/p-243df9e5.entry.js +0 -1
  227. package/dist/wc/delta_share/p-244accd2.entry.js +0 -1
  228. package/dist/wc/delta_share/p-261611b1.js +0 -1
  229. package/dist/wc/delta_share/p-29cb5018.entry.js +0 -1
  230. package/dist/wc/delta_share/p-2b05751b.entry.js +0 -1
  231. package/dist/wc/delta_share/p-3094900a.entry.js +0 -1
  232. package/dist/wc/delta_share/p-32975e01.entry.js +0 -1
  233. package/dist/wc/delta_share/p-32d34db1.entry.js +0 -1
  234. package/dist/wc/delta_share/p-33fb12fc.entry.js +0 -1
  235. package/dist/wc/delta_share/p-35bccab3.entry.js +0 -1
  236. package/dist/wc/delta_share/p-36955fc5.entry.js +0 -1
  237. package/dist/wc/delta_share/p-39440988.entry.js +0 -1
  238. package/dist/wc/delta_share/p-3f61bc0d.entry.js +0 -1
  239. package/dist/wc/delta_share/p-422f29e8.entry.js +0 -1
  240. package/dist/wc/delta_share/p-43ae8e0a.entry.js +0 -1
  241. package/dist/wc/delta_share/p-44eba966.entry.js +0 -1
  242. package/dist/wc/delta_share/p-51431ace.js +0 -1
  243. package/dist/wc/delta_share/p-5374191c.entry.js +0 -16
  244. package/dist/wc/delta_share/p-5559856c.entry.js +0 -1
  245. package/dist/wc/delta_share/p-5af0e3cd.entry.js +0 -1
  246. package/dist/wc/delta_share/p-5d085d01.entry.js +0 -1
  247. package/dist/wc/delta_share/p-5d88112c.entry.js +0 -1
  248. package/dist/wc/delta_share/p-5e9898dd.entry.js +0 -1
  249. package/dist/wc/delta_share/p-6422731e.entry.js +0 -1
  250. package/dist/wc/delta_share/p-64ffaf7b.entry.js +0 -1
  251. package/dist/wc/delta_share/p-6613eeee.entry.js +0 -1
  252. package/dist/wc/delta_share/p-6a39042b.entry.js +0 -1
  253. package/dist/wc/delta_share/p-6f7064dc.entry.js +0 -1
  254. package/dist/wc/delta_share/p-767a8d6e.entry.js +0 -1
  255. package/dist/wc/delta_share/p-76cfb0be.entry.js +0 -1
  256. package/dist/wc/delta_share/p-775af9dc.entry.js +0 -1
  257. package/dist/wc/delta_share/p-7f71c41e.entry.js +0 -1
  258. package/dist/wc/delta_share/p-8b6617d8.entry.js +0 -1
  259. package/dist/wc/delta_share/p-8fb4a4ea.entry.js +0 -1
  260. package/dist/wc/delta_share/p-91a4ef35.js +0 -1
  261. package/dist/wc/delta_share/p-91af6142.entry.js +0 -1
  262. package/dist/wc/delta_share/p-94b8f342.entry.js +0 -1
  263. package/dist/wc/delta_share/p-9656b290.entry.js +0 -1
  264. package/dist/wc/delta_share/p-97e4d621.entry.js +0 -1
  265. package/dist/wc/delta_share/p-9a1d266e.entry.js +0 -1
  266. package/dist/wc/delta_share/p-9c147330.entry.js +0 -1
  267. package/dist/wc/delta_share/p-9d35fb61.entry.js +0 -1
  268. package/dist/wc/delta_share/p-a150a778.entry.js +0 -1
  269. package/dist/wc/delta_share/p-a823768b.entry.js +0 -1
  270. package/dist/wc/delta_share/p-a880ae33.entry.js +0 -3
  271. package/dist/wc/delta_share/p-a949636a.entry.js +0 -1
  272. package/dist/wc/delta_share/p-b1c1f030.entry.js +0 -1
  273. package/dist/wc/delta_share/p-b5f0d2dc.entry.js +0 -1
  274. package/dist/wc/delta_share/p-badf3f24.entry.js +0 -1
  275. package/dist/wc/delta_share/p-bb38e604.entry.js +0 -1
  276. package/dist/wc/delta_share/p-bc225deb.entry.js +0 -1
  277. package/dist/wc/delta_share/p-bf58b24b.entry.js +0 -1
  278. package/dist/wc/delta_share/p-c2dde3b3.entry.js +0 -1
  279. package/dist/wc/delta_share/p-cccef23b.entry.js +0 -1
  280. package/dist/wc/delta_share/p-cd42e0b5.entry.js +0 -1
  281. package/dist/wc/delta_share/p-d282ce22.entry.js +0 -1
  282. package/dist/wc/delta_share/p-d610565d.entry.js +0 -1
  283. package/dist/wc/delta_share/p-da8144e5.entry.js +0 -1
  284. package/dist/wc/delta_share/p-dafefe1f.entry.js +0 -1
  285. package/dist/wc/delta_share/p-dc148f92.entry.js +0 -1
  286. package/dist/wc/delta_share/p-dd50dd54.entry.js +0 -1
  287. package/dist/wc/delta_share/p-de117646.entry.js +0 -1
  288. package/dist/wc/delta_share/p-dec6ab35.entry.js +0 -1
  289. package/dist/wc/delta_share/p-e37c7b62.entry.js +0 -1
  290. package/dist/wc/delta_share/p-e43e61ac.js +0 -7
  291. package/dist/wc/delta_share/p-e7932e20.entry.js +0 -1
  292. package/dist/wc/delta_share/p-e9412ef0.entry.js +0 -1
  293. package/dist/wc/delta_share/p-ea6c7be0.entry.js +0 -1
  294. package/dist/wc/delta_share/p-ebb9a3f9.entry.js +0 -1
  295. package/dist/wc/delta_share/p-ee76ecea.entry.js +0 -1
  296. package/dist/wc/delta_share/p-f0723bcc.entry.js +0 -1
  297. package/dist/wc/delta_share/p-f2323f2a.entry.js +0 -1
  298. package/dist/wc/delta_share/p-f441efc3.entry.js +0 -1
  299. package/dist/wc/delta_share/p-fd83d815.entry.js +0 -1
  300. package/dist/wc/delta_share/p-ff2508eb.entry.js +0 -1
  301. package/dist/wc/esm/breakpoints-e07f80e7.js +0 -4
  302. package/dist/wc/esm/hammer-c3266b17.js +0 -2648
  303. package/dist/wc/esm/index-654849a7.js +0 -315
  304. package/dist/wc/esm/utils-417652d9.js +0 -80
  305. package/dist/wc/esm/z-alert.entry.js +0 -15
  306. package/dist/wc/esm/z-aria-alert.entry.js +0 -14
  307. package/dist/wc/esm/z-avatar.entry.js +0 -39
  308. package/dist/wc/esm/z-button-deprecated.entry.js +0 -34
  309. package/dist/wc/esm/z-button-filter.entry.js +0 -45
  310. package/dist/wc/esm/z-carousel.entry.js +0 -20
  311. package/dist/wc/esm/z-chip-deprecated.entry.js +0 -20
  312. package/dist/wc/esm/z-contextual-menu.entry.js +0 -36
  313. package/dist/wc/esm/z-date-picker.entry.js +0 -3100
  314. package/dist/wc/esm/z-dragdrop-area_2.entry.js +0 -43
  315. package/dist/wc/esm/z-file-upload.entry.js +0 -168
  316. package/dist/wc/esm/z-file.entry.js +0 -43
  317. package/dist/wc/esm/z-ghost-loading.entry.js +0 -15
  318. package/dist/wc/esm/z-input-deprecated.entry.js +0 -267
  319. package/dist/wc/esm/z-input-label_2.entry.js +0 -267
  320. package/dist/wc/esm/z-list-group.entry.js +0 -50
  321. package/dist/wc/esm/z-menu-dropdown_2.entry.js +0 -84
  322. package/dist/wc/esm/z-messages-pocket.entry.js +0 -42
  323. package/dist/wc/esm/z-myz-card-alert.entry.js +0 -59
  324. package/dist/wc/esm/z-myz-card-dictionary.entry.js +0 -32
  325. package/dist/wc/esm/z-myz-card-footer-sections.entry.js +0 -15
  326. package/dist/wc/esm/z-myz-card-footer.entry.js +0 -52
  327. package/dist/wc/esm/z-myz-card-icon.entry.js +0 -17
  328. package/dist/wc/esm/z-myz-card-info.entry.js +0 -115
  329. package/dist/wc/esm/z-myz-card-list.entry.js +0 -33
  330. package/dist/wc/esm/z-myz-card_4.entry.js +0 -97
  331. package/dist/wc/esm/z-myz-topbar.entry.js +0 -190
  332. package/dist/wc/esm/z-navigation-tab-link.entry.js +0 -67
  333. package/dist/wc/esm/z-navigation-tab.entry.js +0 -69
  334. package/dist/wc/esm/z-navigation-tabs.entry.js +0 -122
  335. package/dist/wc/esm/z-notification.entry.js +0 -42
  336. package/dist/wc/esm/z-offcanvas.entry.js +0 -59
  337. package/dist/wc/esm/z-otp.entry.js +0 -37
  338. package/dist/wc/esm/z-pagination.entry.js +0 -225
  339. package/dist/wc/esm/z-pocket-message.entry.js +0 -15
  340. package/dist/wc/esm/z-pocket_3.entry.js +0 -119
  341. package/dist/wc/esm/z-popover.entry.js +0 -128
  342. package/dist/wc/esm/z-section-title.entry.js +0 -38
  343. package/dist/wc/esm/z-skip-to-content.entry.js +0 -64
  344. package/dist/wc/esm/z-slideshow.entry.js +0 -108
  345. package/dist/wc/esm/z-status-tag.entry.js +0 -25
  346. package/dist/wc/esm/z-table-cell.entry.js +0 -32
  347. package/dist/wc/esm/z-table-empty-box.entry.js +0 -28
  348. package/dist/wc/esm/z-table-expanded-row.entry.js +0 -15
  349. package/dist/wc/esm/z-table-header-row.entry.js +0 -18
  350. package/dist/wc/esm/z-table-header.entry.js +0 -84
  351. package/dist/wc/esm/z-table-row.entry.js +0 -39
  352. package/dist/wc/esm/z-table-sticky-footer.entry.js +0 -15
  353. package/dist/wc/esm/z-table.entry.js +0 -78
  354. package/dist/wc/esm/z-tag.entry.js +0 -18
  355. package/dist/wc/esm/z-toast-notification-list.entry.js +0 -52
  356. package/dist/wc/esm/z-toast-notification.entry.js +0 -199
  357. package/dist/wc/esm/z-toggle-switch.entry.js +0 -45
  358. package/dist/wc/esm/z-visually-hidden.entry.js +0 -15
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9ca7d5e5.js');
6
-
7
- const stylesCss = ".sc-z-dragdrop-area-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);margin-top:calc(var(--space-unit) * 3)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area{display:flex;color:var(--color-text01);flex-direction:column;position:relative;background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e\");border-radius:2px;border-color:var(--color-surface04);height:228px;background-color:var(--color-surface02)}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area *.sc-z-dragdrop-area{pointer-events:none}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;display:none;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}.sc-z-dragdrop-area-h>.dragdrop.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area .dragover-message.sc-z-dragdrop-area{background-color:var(--color-link-primary);color:var(--color-text04);padding:10px 28px}.sc-z-dragdrop-area-h>.dragdrop.dragover.sc-z-dragdrop-area .dragover-container.sc-z-dragdrop-area{display:flex;justify-content:center;align-items:center}";
8
-
9
- const ZDragdropArea = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.fileDropped = index.createEvent(this, "fileDropped", 7);
13
- }
14
- fileDroppedHandler(files) {
15
- this.fileDropped.emit(files);
16
- }
17
- renderOnDragOverMessage() {
18
- return (index.h("div", { class: "dragover-container" }, index.h("div", { class: "dragover-message" }, index.h("z-body", { variant: "semibold", level: 2 }, "Rilascia i file in questa area per allegarli."))));
19
- }
20
- render() {
21
- return (index.h("div", { tabIndex: 0, ref: (val) => (this.dragDropContainer = val), class: "dragdrop", onDragOver: (e) => {
22
- e.preventDefault();
23
- this.dragDropContainer.classList.add("dragover");
24
- }, onDragLeave: () => {
25
- this.dragDropContainer.classList.remove("dragover");
26
- }, onDragEnd: () => { }, onDrop: (e) => {
27
- e.preventDefault();
28
- if (e.dataTransfer.files.length) {
29
- this.dragDropContainer.classList.remove("dragover");
30
- this.fileDroppedHandler(e.dataTransfer.files);
31
- }
32
- } }, this.renderOnDragOverMessage(), index.h("slot", null)));
33
- }
34
- };
35
- ZDragdropArea.style = stylesCss;
36
-
37
- const ZHeading = class {
38
- constructor(hostRef) {
39
- index.registerInstance(this, hostRef);
40
- this.variant = "regular";
41
- }
42
- render() {
43
- return (index.h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, index.h("slot", null)));
44
- }
45
- };
46
-
47
- exports.z_dragdrop_area = ZDragdropArea;
48
- exports.z_heading = ZHeading;
@@ -1,172 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9ca7d5e5.js');
6
- const index$1 = require('./index-9c6fd1db.js');
7
- const utils = require('./utils-8a10bba9.js');
8
- require('./breakpoints-a55736d0.js');
9
-
10
- const stylesCss = ".sc-z-file-upload-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-text01)}.sc-z-file-upload-h>.container.sc-z-file-upload{display:flex;flex-direction:column}.sc-z-file-upload-h .modalWrapper.sc-z-file-upload{display:flex;justify-content:center;align-items:center}.sc-z-file-upload-h .modalWrapper.sc-z-file-upload>.files.sc-z-file-upload{margin:calc(var(--space-unit) * 4);display:flex;flex-direction:column;gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto}.sc-z-file-upload-h .text-container.sc-z-file-upload z-body.sc-z-file-upload{text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-link-primary);cursor:pointer}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}input#fileElem.sc-z-file-upload{display:none}#title.sc-z-file-upload{display:inline-block;margin-bottom:var(--space-unit)}.sc-z-file-upload-h>.container.sc-z-file-upload>z-button-deprecated.sc-z-file-upload{display:inline-block;margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>z-heading.sc-z-file-upload{display:inline-block;margin:calc(var(--space-unit) * 3) 0}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>.files.sc-z-file-upload{display:flex;flex-wrap:wrap;row-gap:calc(var(--space-unit) * 2);column-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>z-divider.sc-z-file-upload{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button-deprecated.sc-z-file-upload{align-self:flex-start}}";
11
-
12
- const ZFileUpload = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.fileInput = index.createEvent(this, "fileInput", 7);
16
- /** Prop indicating the file upload type - can be default or dragdrop */
17
- this.type = index$1.ZFileUploadTypeEnum.default;
18
- /** Number of files added by the user */
19
- this.filesNumber = 0;
20
- this.inputAttributes = {
21
- type: "file",
22
- id: "fileElem",
23
- multiple: true,
24
- };
25
- }
26
- /** Listen removeFile event sent from z-file component */
27
- removeFileListener() {
28
- this.filesNumber--;
29
- }
30
- /** Listen fileDropped event sent from z-dragdrop-area component */
31
- fileDroppedListener(e) {
32
- this.input.files = e.detail;
33
- this.fileInputHandler();
34
- }
35
- componentDidUpdate() {
36
- this.handleAccessibility();
37
- this.invalidFiles.size && this.errorModal.focus();
38
- }
39
- componentWillLoad() {
40
- this.invalidFiles = new Map();
41
- if (this.type === index$1.ZFileUploadTypeEnum.dragdrop &&
42
- utils.getDevice() !== index$1.DeviceEnum.desktop)
43
- this.type = index$1.ZFileUploadTypeEnum.default;
44
- }
45
- fileInputHandler() {
46
- if (this.input.files.length) {
47
- this.invalidFiles = this.checkFiles(Array.from(this.input.files));
48
- }
49
- }
50
- handleAccessibility() {
51
- if (this.filesNumber > 0) {
52
- this.el.querySelector("z-file:last-child z-chip button").focus();
53
- }
54
- else {
55
- this.type === index$1.ZFileUploadTypeEnum.default
56
- ? this.button.shadowRoot.querySelector("button").focus()
57
- : this.uploadLink.focus();
58
- }
59
- }
60
- checkFiles(files) {
61
- let errors = new Map();
62
- const sizeErrorString = `supera i ${this.fileMaxSize}MB`;
63
- const formatErrorString = " ha un'estensione non prevista";
64
- files.forEach((file) => {
65
- const fileSize = file.size / 1024 / 1024;
66
- const fileFormatOk = this.acceptedFormat
67
- .split(",")
68
- .some((ext) => file.name.toLowerCase().endsWith(ext.trim()));
69
- const fileSizeOk = fileSize <= this.fileMaxSize;
70
- if (fileSizeOk && fileFormatOk) {
71
- this.fileInput.emit(file);
72
- this.filesNumber++;
73
- this.input.value = "";
74
- return;
75
- }
76
- errors.set(file.name, []);
77
- if (!fileSizeOk) {
78
- errors.get(file.name).push(sizeErrorString);
79
- }
80
- if (!fileFormatOk) {
81
- errors.get(file.name).push(formatErrorString);
82
- }
83
- });
84
- return errors;
85
- }
86
- renderTitle() {
87
- return (index.h("z-heading", { id: "title", variant: "semibold", level: 2 }, this.mainTitle));
88
- }
89
- renderDescription(variant, level) {
90
- return (index.h("z-body", { variant: variant, level: level }, this.description));
91
- }
92
- renderAllowedFileExtensions() {
93
- let fileFormatString = "";
94
- let fileWeightString = "";
95
- if (this.acceptedFormat) {
96
- const fileFormat = this.acceptedFormat
97
- .split(", ")
98
- .map((string) => string.substring(1).toUpperCase())
99
- .join(", ");
100
- fileFormatString = ` nei formati ${fileFormat}`;
101
- }
102
- if (this.fileMaxSize) {
103
- fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;
104
- }
105
- const finalString = `Puoi allegare file${fileFormatString}${fileWeightString}.`;
106
- return (index.h("z-body", { level: 3 }, fileFormatString || fileWeightString ? finalString : null));
107
- }
108
- renderFileSection() {
109
- return (this.filesNumber > 0 && (index.h("section", { class: "files-container" }, index.h("z-heading", { variant: "semibold", level: 4 }, "File appena caricati"), index.h("div", { class: "files" }, index.h("slot", { name: "files" })), index.h("z-divider", { size: index$1.DividerSize.medium }))));
110
- }
111
- renderInput() {
112
- return (index.h("input", Object.assign({}, this.inputAttributes, { onChange: () => this.fileInputHandler(), accept: this.acceptedFormat, ref: (val) => (this.input = val) })));
113
- }
114
- renderUploadButton() {
115
- return [
116
- this.renderInput(),
117
- index.h("z-button-deprecated", { onClick: () => this.input.click(), onKeyPress: (e) => {
118
- if (e.code == "Space" || e.code == "Enter") {
119
- e.preventDefault();
120
- this.input.click();
121
- }
122
- }, id: "fileSelect", variant: this.buttonVariant, icon: "upload", ref: (val) => (this.button = val) }, "Allega"),
123
- ];
124
- }
125
- renderUploadLink() {
126
- return [
127
- this.renderInput(),
128
- index.h("z-body", { class: "upload-link-text", variant: "regular", level: 1 }, "Trascinalo qui o", " ", index.h("z-body", { tabIndex: 0, class: "upload-link", onClick: () => this.input.click(), onKeyPress: (e) => {
129
- if (e.code == "Space" || e.code == "Enter") {
130
- e.preventDefault();
131
- this.input.click();
132
- }
133
- }, variant: "semibold", level: 1, ref: (val) => (this.uploadLink = val) }, "caricalo"), " ", "dal tuo computer"),
134
- ];
135
- }
136
- renderDefaultMode() {
137
- return [
138
- this.renderDescription("semibold", 3),
139
- this.renderAllowedFileExtensions(),
140
- this.renderFileSection(),
141
- this.renderUploadButton(),
142
- ];
143
- }
144
- renderDragDropMode() {
145
- return [
146
- this.renderFileSection(),
147
- index.h("z-dragdrop-area", null, index.h("div", { class: "text-container" }, this.renderDescription("regular", 1), this.renderUploadLink(), this.renderAllowedFileExtensions())),
148
- ];
149
- }
150
- formatErrorString(key, value) {
151
- var _a, _b;
152
- const bothErrors = value[0] && value[1] ? ", " : "";
153
- return `Il file ${key} ${(_a = value[0]) !== null && _a !== void 0 ? _a : ""}${bothErrors} ${(_b = value[1]) !== null && _b !== void 0 ? _b : ""} e non può quindi essere caricato.`;
154
- }
155
- handleErrorModalContent() {
156
- return (index.h("div", { slot: "modalContent" }, index.h("div", { class: "modalWrapper" }, index.h("div", { class: "files" }, Array.from(this.invalidFiles).map(([key, value]) => {
157
- return (index.h("z-body", { variant: "regular", level: 3 }, this.formatErrorString(key, value)));
158
- })))));
159
- }
160
- render() {
161
- return [
162
- index.h("div", { tabIndex: 0, class: `container ${this.type}` }, this.renderTitle(), this.type == index$1.ZFileUploadTypeEnum.default
163
- ? this.renderDefaultMode()
164
- : this.renderDragDropMode()),
165
- !!this.invalidFiles.size && (index.h("z-modal", { tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: "Attenzione", onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent())),
166
- ];
167
- }
168
- get el() { return index.getElement(this); }
169
- };
170
- ZFileUpload.style = stylesCss;
171
-
172
- exports.z_file_upload = ZFileUpload;
@@ -1,47 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9ca7d5e5.js');
6
- const index$1 = require('./index-9c6fd1db.js');
7
- const breakpoints = require('./breakpoints-a55736d0.js');
8
-
9
- const stylesCss = ".sc-z-file-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:relative}.sc-z-file-h>z-tooltip.sc-z-file{z-index:10}.sc-z-file-h>z-tooltip.sc-z-file>.tootip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.33;letter-spacing:0.32px;display:block}";
10
-
11
- const ZFile = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.removeFile = index.createEvent(this, "removeFile", 7);
15
- this.allowTooltip = false;
16
- this.tooltipVisible = false;
17
- }
18
- removeFileHandler() {
19
- this.removeFile.emit();
20
- this.el.remove();
21
- }
22
- onMouseOver() {
23
- this.tooltipVisible = true;
24
- }
25
- onMouseLeave() {
26
- this.tooltipVisible = false;
27
- }
28
- onInteractiveIconClick() {
29
- this.removeFileHandler();
30
- }
31
- componentDidLoad() {
32
- var _a, _b;
33
- if (this.elementHasEllipsis() && window.innerWidth > breakpoints.tabletBreakpoint)
34
- this.allowTooltip = true;
35
- (_b = (_a = this.icon) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
36
- }
37
- elementHasEllipsis() {
38
- return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
39
- }
40
- render() {
41
- return (index.h(index.Host, null, this.allowTooltip && (index.h("z-tooltip", { open: this.tooltipVisible, type: index$1.TooltipPosition.AUTO, "bind-to": `#chip-${this.fileNumber}` }, index.h("span", { class: "body-5 tootip-content" }, this.ellipsis.innerText))), index.h("z-chip", { id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: index$1.ZChipType.default }, index.h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, index.h("slot", null)))));
42
- }
43
- get el() { return index.getElement(this); }
44
- };
45
- ZFile.style = stylesCss;
46
-
47
- exports.z_file = ZFile;
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9ca7d5e5.js');
6
-
7
- const stylesCss = ":host{display:inline-block;width:100%;height:100%;background:var(--bg-neutral-100);overflow:hidden;border-radius:4px;transform:translate3d(0, 0, 0)}:host::after{content:' ';display:block;width:100%;height:100%;box-shadow:#e8ebee20 0px 0px 1px;background-image:linear-gradient(\n 90deg,\n var(--bg-neutral-100) 0%,\n var(--bg-neutral-150) 95%,\n var(--bg-neutral-100) 100%\n );animation:progress 1.6s ease-in-out infinite}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}";
8
-
9
- const ZGhostLoading = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- }
13
- render() {
14
- return (index.h(index.Host, null));
15
- }
16
- };
17
- ZGhostLoading.style = stylesCss;
18
-
19
- exports.z_ghost_loading = ZGhostLoading;
@@ -1,271 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-9ca7d5e5.js');
6
- const index$1 = require('./index-9c6fd1db.js');
7
- const utils = require('./utils-8a10bba9.js');
8
- require('./breakpoints-a55736d0.js');
9
-
10
- const stylesCss = ".sc-z-input-deprecated-h{display:inline-block;width:inherit}input.sc-z-input-deprecated::-ms-clear,input.sc-z-input-deprecated::-ms-reveal{display:none}.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-clear,.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-reveal{display:none}input.sc-z-input-deprecated,textarea.sc-z-input-deprecated,.textareaWrapper.sc-z-input-deprecated,ul[role=\"listbox\"].sc-z-input-deprecated{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input-deprecated:focus:focus-visible,li[role=\"option\"].sc-z-input-deprecated:focus:focus-visible,.focus.sc-z-input-deprecated{box-shadow:var(--shadow-focus-primary)}.filled.sc-z-input-deprecated{border-color:var(--color-surface05)}.input_success.sc-z-input-deprecated,.input_success.sc-z-input-deprecated:hover,.input_success.hover.sc-z-input-deprecated{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input-deprecated,.input_error.sc-z-input-deprecated:hover,.input_error.hover.sc-z-input-deprecated{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input-deprecated,.input_warning.sc-z-input-deprecated:hover,.input_warning.hover.sc-z-input-deprecated{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input[readonly].sc-z-input-deprecated,.readonly.sc-z-input-deprecated{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated:disabled,.disabled.sc-z-input-deprecated,.filled.sc-z-input-deprecated:disabled{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}input.sc-z-input-deprecated::placeholder,textarea.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.sc-z-input-deprecated::-webkit-input-placeholder,.sc-z-input-deprecated::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated:-ms-input-placeholder,.sc-z-input-deprecated:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated::-moz-placeholder{color:var(--color-text05)}.sc-z-input-deprecated:-moz-placeholder{color:var(--color-text05)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated{fill:var(--color-icon02)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 4.5) 0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.hasIcon.sc-z-input-deprecated,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.hasClearIcon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 4)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.hasIcon.hasClearIcon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 7)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated{position:relative;z-index:1}.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated{position:absolute;bottom:calc(var(--space-unit) * 1.5);right:calc(var(--space-unit) * 1.5);display:flex;z-index:2}.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{--z-icon-width:18px;--z-icon-height:18px;display:block;margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated>z-icon.resetIcon.sc-z-input-deprecated,.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated>z-icon.showHidePasswordIcon.sc-z-input-deprecated{cursor:pointer}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:hover,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:focus,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input-deprecated{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input-deprecated{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input-deprecated:hover,.checkboxWrapper.sc-z-input-deprecated:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input-deprecated .radioLabel.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.sc-z-input-deprecated{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.radioLabel.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.checkboxLabel.sc-z-input-deprecated{cursor:pointer}.radioWrapper.sc-z-input-deprecated .radioLabel.sc-z-input-deprecated z-icon.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.sc-z-input-deprecated z-icon.sc-z-input-deprecated{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input-deprecated .radioLabel.after.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.after.sc-z-input-deprecated{flex-direction:row}.radioWrapper.sc-z-input-deprecated .radioLabel.before.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.before.sc-z-input-deprecated{flex-direction:row-reverse}.radioWrapper.sc-z-input-deprecated .radioLabel.after.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.after.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-left:var(--space-unit)}.radioWrapper.sc-z-input-deprecated .radioLabel.before.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.before.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-right:var(--space-unit)}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.radioLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.checkboxLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radioLabel.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkboxLabel.sc-z-input-deprecated{color:var(--color-disabled02)}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radioLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkboxLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{fill:var(--color-disabled01);cursor:default}";
11
-
12
- const ZInputDeprecated = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.inputChange = index.createEvent(this, "inputChange", 7);
16
- this.startTyping = index.createEvent(this, "startTyping", 7);
17
- this.stopTyping = index.createEvent(this, "stopTyping", 7);
18
- this.inputCheck = index.createEvent(this, "inputCheck", 7);
19
- this.optionSelect = index.createEvent(this, "optionSelect", 7);
20
- /** the id of the input element */
21
- this.htmlid = `id-${utils.randomId()}`;
22
- /** the input is disabled */
23
- this.disabled = false;
24
- /** the input is readonly */
25
- this.readonly = false;
26
- /** the input is required (optional): available for text, password, number, email, textarea, checkbox */
27
- this.required = false;
28
- /** checked: available for checkbox, radio */
29
- this.checked = false;
30
- /** show input helper message (optional): available for text, password, number, email, textarea, select */
31
- this.hasmessage = true;
32
- /** the input label position: available for checkbox, radio */
33
- this.labelafter = true;
34
- /** timeout setting before trigger `inputChange` event (optional): available for text, textarea */
35
- this.typingtimeout = 300;
36
- /** multiple options can be selected (optional): available for select */
37
- this.multiple = false;
38
- /** render clear icon when typing (optional): available for text */
39
- this.hasclearicon = true;
40
- this.isTyping = false;
41
- this.textareaWrapperHover = "";
42
- this.textareaWrapperFocus = "";
43
- this.passwordHidden = true;
44
- }
45
- inputCheckListener(e) {
46
- const data = e.detail;
47
- switch (this.type) {
48
- case index$1.InputTypeEnum.radio:
49
- if (data.type === index$1.InputTypeEnum.radio &&
50
- data.name === this.name &&
51
- data.id !== this.htmlid) {
52
- this.checked = false;
53
- }
54
- default:
55
- return;
56
- }
57
- }
58
- /** get the input value */
59
- async getValue() {
60
- switch (this.type) {
61
- // @ts-ignore
62
- case "select":
63
- return this.selectElem.getValue();
64
- default:
65
- return this.value;
66
- }
67
- }
68
- /** set the input value */
69
- async setValue(value) {
70
- switch (this.type) {
71
- // @ts-ignore
72
- case "select":
73
- this.selectElem.setValue(value);
74
- break;
75
- default:
76
- if (typeof value === "string")
77
- this.value = value;
78
- break;
79
- }
80
- }
81
- /** get checked status */
82
- async isChecked() {
83
- switch (this.type) {
84
- case index$1.InputTypeEnum.checkbox:
85
- case index$1.InputTypeEnum.radio:
86
- return this.checked;
87
- default:
88
- return false;
89
- }
90
- }
91
- emitInputChange(value, keycode) {
92
- if (!this.isTyping) {
93
- this.emitStartTyping();
94
- }
95
- let validity = {};
96
- if (this.type === index$1.InputTypeEnum.textarea) {
97
- validity = this.getValidity("textarea");
98
- }
99
- else {
100
- validity = this.getValidity("input");
101
- }
102
- this.value = value;
103
- this.inputChange.emit({ value, keycode, validity });
104
- clearTimeout(this.timer);
105
- this.timer = setTimeout(() => {
106
- this.emitStopTyping(this.value, validity);
107
- }, this.typingtimeout);
108
- }
109
- emitStartTyping() {
110
- this.isTyping = true;
111
- this.startTyping.emit();
112
- }
113
- emitStopTyping(value, validity) {
114
- this.isTyping = false;
115
- this.stopTyping.emit({
116
- value: value,
117
- validity: validity,
118
- });
119
- }
120
- emitInputCheck(checked) {
121
- this.inputCheck.emit({
122
- id: this.htmlid,
123
- checked: checked,
124
- type: this.type,
125
- name: this.name,
126
- value: this.value,
127
- validity: this.getValidity("input"),
128
- });
129
- }
130
- getValidity(type) {
131
- const input = this.hostElement.querySelector(type);
132
- return input.validity;
133
- }
134
- /* START text/password/email/number */
135
- getTextAttributes() {
136
- const attr = {
137
- id: this.htmlid,
138
- name: this.name,
139
- placeholder: this.placeholder,
140
- value: this.value,
141
- disabled: this.disabled,
142
- readonly: this.readonly,
143
- required: this.required,
144
- title: this.htmltitle,
145
- class: [
146
- `input_${this.status || "default"}`,
147
- this.isTyping && "istyping",
148
- !this.isTyping && this.value && "filled",
149
- ]
150
- .filter(Boolean)
151
- .join(" "),
152
- onInput: (e) => this.emitInputChange(e.target.value, e.keyCode),
153
- };
154
- if (this.autocomplete) {
155
- attr["autocomplete"] = this.autocomplete;
156
- }
157
- return attr;
158
- }
159
- renderInputText(type = index$1.InputTypeEnum.text) {
160
- const attr = this.getTextAttributes();
161
- if (this.icon || type === index$1.InputTypeEnum.password) {
162
- attr.class += " hasIcon";
163
- }
164
- if (this.hasclearicon) {
165
- attr.class += " hasClearIcon";
166
- }
167
- return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type === index$1.InputTypeEnum.password && !this.passwordHidden
168
- ? index$1.InputTypeEnum.text
169
- : type }, attr, { "aria-label": this.ariaLabel || this.label })), this.renderIcons()), this.renderMessage()));
170
- }
171
- renderLabel() {
172
- if (!this.label)
173
- return;
174
- return (index.h("z-input-label", { htmlfor: this.htmlid, value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_label` }));
175
- }
176
- renderIcons() {
177
- return (index.h("span", { class: {
178
- iconsWrapper: true,
179
- disabled: this.disabled,
180
- } }, this.renderResetIcon(), this.renderIcon()));
181
- }
182
- renderIcon() {
183
- if (this.type === index$1.InputTypeEnum.password) {
184
- return this.renderShowHidePassword();
185
- }
186
- if (!this.icon)
187
- return;
188
- return index.h("z-icon", { class: "inputIcon", name: this.icon });
189
- }
190
- renderResetIcon() {
191
- if (!this.hasclearicon || !this.value || this.disabled || this.readonly)
192
- return;
193
- return (index.h("z-icon", { class: "resetIcon", name: "multiply", onClick: (e) => this.emitInputChange("", e.keyCode) }));
194
- }
195
- renderShowHidePassword() {
196
- return (index.h("z-icon", { class: "showHidePasswordIcon", name: this.passwordHidden ? "view-filled" : "view-off-filled", onClick: () => (this.passwordHidden = !this.passwordHidden) }));
197
- }
198
- renderMessage() {
199
- if (!this.hasmessage)
200
- return;
201
- return index.h("z-input-message", { message: this.message, status: this.status });
202
- }
203
- /* END text/password/email/number */
204
- /* START textarea */
205
- renderTextarea() {
206
- const attributes = this.getTextAttributes();
207
- return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", { class: [
208
- "textareaWrapper",
209
- attributes.class,
210
- attributes.disabled && "disabled",
211
- attributes.readonly && "readonly",
212
- this.isTyping && "istyping",
213
- this.textareaWrapperFocus,
214
- this.textareaWrapperHover,
215
- ]
216
- .filter(Boolean)
217
- .join(" ") }, index.h("textarea", Object.assign({}, attributes, { onFocus: () => (this.textareaWrapperFocus = "focus"), onBlur: () => (this.textareaWrapperFocus = ""), onMouseOver: () => (this.textareaWrapperHover = "hover"), onMouseOut: () => (this.textareaWrapperHover = ""), "aria-label": this.ariaLabel || this.label }))), this.renderMessage()));
218
- }
219
- /* END textarea */
220
- handleCheck(ev) {
221
- this.checked = ev.target.checked;
222
- this.emitInputCheck(this.checked);
223
- }
224
- /* START checkbox */
225
- renderCheckbox() {
226
- return (index.h("div", { class: "checkboxWrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
227
- checkboxLabel: true,
228
- after: this.labelafter,
229
- before: !this.labelafter,
230
- } }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
231
- }
232
- /* END checkbox */
233
- /* START radio */
234
- renderRadio() {
235
- return (index.h("div", { class: "radioWrapper" }, index.h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: {
236
- radioLabel: true,
237
- after: this.labelafter,
238
- before: !this.labelafter,
239
- } }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
240
- }
241
- /* END radio */
242
- /* START select */
243
- renderSelect() {
244
- return (index.h("z-select", { htmlid: this.htmlid, items: this.items, name: this.name, label: this.label, "aria-label": this.ariaLabel, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, htmltitle: this.htmltitle, status: this.status, message: !this.hasmessage ? false : this.message, autocomplete: this.autocomplete, ref: (el) => (this.selectElem = el) }));
245
- }
246
- /* END select */
247
- render() {
248
- switch (this.type) {
249
- case index$1.InputTypeEnum.text:
250
- case index$1.InputTypeEnum.password:
251
- case index$1.InputTypeEnum.number:
252
- case index$1.InputTypeEnum.email:
253
- return this.renderInputText(this.type);
254
- case index$1.InputTypeEnum.textarea:
255
- return this.renderTextarea();
256
- case index$1.InputTypeEnum.checkbox:
257
- return this.renderCheckbox();
258
- case index$1.InputTypeEnum.radio:
259
- return this.renderRadio();
260
- // @ts-ignore
261
- case "select":
262
- return this.renderSelect();
263
- default:
264
- return this.renderInputText();
265
- }
266
- }
267
- get hostElement() { return index.getElement(this); }
268
- };
269
- ZInputDeprecated.style = stylesCss;
270
-
271
- exports.z_input_deprecated = ZInputDeprecated;