@zanichelli/albe-web-components 3.2.1 → 4.0.1

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 (273) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/cjs/{index-b1289f95.js → index-6b6a3299.js} +27 -29
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-33df2456.js → utils-8cc414c9.js} +28 -2
  6. package/dist/cjs/web-components-library.cjs.js +1 -1
  7. package/dist/cjs/z-app-switcher_12.cjs.entry.js +12 -14
  8. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
  11. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  12. package/dist/cjs/z-combobox.cjs.entry.js +5 -5
  13. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  14. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  15. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  16. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -1
  17. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  18. package/dist/cjs/z-file.cjs.entry.js +1 -2
  19. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  20. package/dist/cjs/z-input-deprecated.cjs.entry.js +271 -0
  21. package/dist/cjs/z-input-label_2.cjs.entry.js +272 -0
  22. package/dist/cjs/z-input_2.cjs.entry.js +228 -0
  23. package/dist/cjs/z-list-group.cjs.entry.js +54 -0
  24. package/dist/cjs/{z-list_3.cjs.entry.js → z-list_2.cjs.entry.js} +5 -52
  25. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +4 -4
  26. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  27. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  28. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  30. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  31. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  32. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  33. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  34. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  35. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  36. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  37. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  38. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  39. package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
  40. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  41. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  42. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  43. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  44. package/dist/cjs/z-skip-to-content.cjs.entry.js +4 -4
  45. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  46. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  47. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  48. package/dist/cjs/z-table-header.cjs.entry.js +2 -2
  49. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  50. package/dist/cjs/z-table.cjs.entry.js +1 -1
  51. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  52. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  53. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  54. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  55. package/dist/collection/beans/index.js +27 -29
  56. package/dist/collection/collection-manifest.json +2 -1
  57. package/dist/collection/components/buttons/z-button/index.js +12 -15
  58. package/dist/collection/components/buttons/z-button/styles.css +27 -31
  59. package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -6
  60. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -1
  61. package/dist/collection/components/file-upload/z-file/index.js +0 -1
  62. package/dist/collection/components/inputs/z-combobox/index.js +4 -4
  63. package/dist/collection/components/inputs/z-input/index.js +58 -234
  64. package/dist/collection/components/inputs/z-input/styles.css +61 -34
  65. package/dist/collection/components/inputs/z-input-message/index.js +1 -1
  66. package/dist/collection/components/inputs/z-select/index.js +69 -134
  67. package/dist/collection/components/inputs/z-select/styles.css +16 -58
  68. package/dist/collection/components/modal/z-modal-login/index.js +1 -1
  69. package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -4
  70. package/dist/collection/components/z-date-picker/index.js +1 -1
  71. package/dist/collection/components/z-pagination/index.js +2 -2
  72. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  73. package/dist/collection/components/z-skip-to-content/styles.css +1 -1
  74. package/dist/collection/deprecated/z-input-deprecated/index.js +824 -0
  75. package/dist/collection/deprecated/z-input-deprecated/styles.css +296 -0
  76. package/dist/collection/{components/inputs → deprecated}/z-input-label/index.js +0 -0
  77. package/dist/collection/{components/inputs → deprecated}/z-input-label/styles.css +0 -0
  78. package/dist/collection/snowflakes/myz/z-otp/index.js +1 -1
  79. package/dist/collection/utils/utils.js +27 -2
  80. package/dist/esm/{index-7424c64c.js → index-46ca649a.js} +28 -30
  81. package/dist/esm/index.js +2 -2
  82. package/dist/esm/loader.js +1 -1
  83. package/dist/esm/{utils-93d2b922.js → utils-5d5963ef.js} +28 -3
  84. package/dist/esm/web-components-library.js +1 -1
  85. package/dist/esm/z-app-switcher_12.entry.js +12 -14
  86. package/dist/esm/z-aria-alert.entry.js +1 -1
  87. package/dist/esm/z-avatar.entry.js +1 -1
  88. package/dist/esm/z-button-filter.entry.js +45 -0
  89. package/dist/esm/z-chip.entry.js +2 -2
  90. package/dist/esm/z-combobox.entry.js +5 -5
  91. package/dist/esm/z-contextual-menu.entry.js +1 -1
  92. package/dist/esm/z-cookiebar.entry.js +1 -1
  93. package/dist/esm/z-date-picker.entry.js +2 -2
  94. package/dist/esm/z-dragdrop-area_2.entry.js +0 -1
  95. package/dist/esm/z-file-upload.entry.js +2 -2
  96. package/dist/esm/z-file.entry.js +1 -2
  97. package/dist/esm/z-footer.entry.js +1 -1
  98. package/dist/esm/z-input-deprecated.entry.js +267 -0
  99. package/dist/esm/z-input-label_2.entry.js +267 -0
  100. package/dist/esm/z-input_2.entry.js +223 -0
  101. package/dist/esm/z-list-group.entry.js +50 -0
  102. package/dist/esm/z-list_2.entry.js +174 -0
  103. package/dist/esm/z-menu-dropdown_2.entry.js +4 -4
  104. package/dist/esm/z-messages-pocket.entry.js +1 -1
  105. package/dist/esm/z-modal-login.entry.js +1 -1
  106. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  107. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  108. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  109. package/dist/esm/z-myz-card-info.entry.js +2 -2
  110. package/dist/esm/z-myz-card_4.entry.js +1 -1
  111. package/dist/esm/z-myz-list-item.entry.js +2 -2
  112. package/dist/esm/z-myz-topbar.entry.js +1 -1
  113. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  114. package/dist/esm/z-navigation-tab.entry.js +1 -1
  115. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  116. package/dist/esm/z-otp.entry.js +1 -1
  117. package/dist/esm/z-pagination-bar.entry.js +2 -2
  118. package/dist/esm/z-pagination.entry.js +2 -2
  119. package/dist/esm/z-pocket_3.entry.js +2 -2
  120. package/dist/esm/z-popover.entry.js +2 -2
  121. package/dist/esm/z-section-title.entry.js +1 -1
  122. package/dist/esm/z-skip-to-content.entry.js +4 -4
  123. package/dist/esm/z-slideshow.entry.js +2 -2
  124. package/dist/esm/z-status-tag.entry.js +1 -1
  125. package/dist/esm/z-table-cell.entry.js +1 -1
  126. package/dist/esm/z-table-header.entry.js +2 -2
  127. package/dist/esm/z-table-row.entry.js +1 -1
  128. package/dist/esm/z-table.entry.js +1 -1
  129. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  130. package/dist/esm/z-toast-notification.entry.js +1 -1
  131. package/dist/esm/z-toggle-switch.entry.js +3 -3
  132. package/dist/esm/z-tooltip.entry.js +1 -1
  133. package/dist/types/beans/index.d.ts +6 -7
  134. package/dist/types/components/buttons/z-button/index.d.ts +6 -4
  135. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +2 -2
  136. package/dist/types/components/inputs/z-input/index.d.ts +16 -29
  137. package/dist/types/components/inputs/z-select/index.d.ts +11 -17
  138. package/dist/types/components.d.ts +193 -32
  139. package/dist/types/deprecated/z-input-deprecated/index.d.ts +102 -0
  140. package/dist/types/{components/inputs → deprecated}/z-input-label/index.d.ts +0 -0
  141. package/dist/types/utils/utils.d.ts +5 -0
  142. package/dist/web-components-library/index.esm.js +1 -1
  143. package/{www/build/p-e9b90127.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
  144. package/{www/build/p-e4b4b2e4.entry.js → dist/web-components-library/p-0a0aee35.entry.js} +1 -1
  145. package/dist/web-components-library/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
  146. package/dist/web-components-library/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
  147. package/dist/web-components-library/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
  148. package/dist/web-components-library/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
  149. package/dist/web-components-library/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
  150. package/dist/web-components-library/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
  151. package/dist/web-components-library/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
  152. package/dist/web-components-library/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
  153. package/dist/web-components-library/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
  154. package/dist/web-components-library/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
  155. package/dist/web-components-library/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
  156. package/dist/web-components-library/p-562e2d52.entry.js +1 -0
  157. package/dist/web-components-library/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
  158. package/dist/web-components-library/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
  159. package/{www/build/p-7e71d9b0.entry.js → dist/web-components-library/p-5eacbfc7.entry.js} +1 -1
  160. package/dist/web-components-library/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
  161. package/dist/web-components-library/p-69ef6ddc.entry.js +1 -0
  162. package/dist/web-components-library/p-71accd8e.entry.js +1 -0
  163. package/dist/web-components-library/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
  164. package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
  165. package/dist/web-components-library/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
  166. package/dist/web-components-library/p-9f5d707a.js +1 -0
  167. package/dist/web-components-library/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
  168. package/dist/web-components-library/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
  169. package/dist/web-components-library/{p-d9d9d834.entry.js → p-a8875b97.entry.js} +2 -2
  170. package/dist/web-components-library/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
  171. package/dist/web-components-library/p-b15efba3.entry.js +1 -0
  172. package/dist/web-components-library/p-b574d5f6.entry.js +1 -0
  173. package/dist/web-components-library/p-b9da171f.js +1 -0
  174. package/dist/web-components-library/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
  175. package/dist/web-components-library/p-bd886dd5.entry.js +1 -0
  176. package/dist/web-components-library/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
  177. package/dist/web-components-library/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
  178. package/dist/web-components-library/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
  179. package/dist/web-components-library/p-cd8950d2.entry.js +1 -0
  180. package/dist/web-components-library/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
  181. package/dist/web-components-library/p-d8069dab.entry.js +1 -0
  182. package/dist/web-components-library/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
  183. package/dist/web-components-library/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
  184. package/dist/web-components-library/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
  185. package/dist/web-components-library/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
  186. package/dist/web-components-library/p-e2102da3.entry.js +1 -0
  187. package/dist/web-components-library/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
  188. package/dist/web-components-library/p-edb8d2ab.entry.js +1 -0
  189. package/dist/web-components-library/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
  190. package/dist/web-components-library/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
  191. package/{www/build/p-dcf4d1b6.entry.js → dist/web-components-library/p-fa925198.entry.js} +1 -1
  192. package/dist/web-components-library/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
  193. package/dist/web-components-library/web-components-library.esm.js +1 -1
  194. package/package.json +1 -1
  195. package/react/components.d.ts +1 -0
  196. package/react/components.js +4 -3
  197. package/react/components.js.map +1 -1
  198. package/www/build/index.esm.js +1 -1
  199. package/{dist/web-components-library/p-e9b90127.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
  200. package/{dist/web-components-library/p-e4b4b2e4.entry.js → www/build/p-0a0aee35.entry.js} +1 -1
  201. package/www/build/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
  202. package/www/build/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
  203. package/www/build/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
  204. package/www/build/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
  205. package/www/build/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
  206. package/www/build/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
  207. package/www/build/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
  208. package/www/build/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
  209. package/www/build/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
  210. package/www/build/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
  211. package/www/build/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
  212. package/www/build/p-562e2d52.entry.js +1 -0
  213. package/www/build/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
  214. package/www/build/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
  215. package/{dist/web-components-library/p-7e71d9b0.entry.js → www/build/p-5eacbfc7.entry.js} +1 -1
  216. package/www/build/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
  217. package/www/build/p-69ef6ddc.entry.js +1 -0
  218. package/www/build/p-71accd8e.entry.js +1 -0
  219. package/www/build/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
  220. package/www/build/p-99d7ab2f.entry.js +1 -0
  221. package/www/build/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
  222. package/www/build/p-9f5d707a.js +1 -0
  223. package/www/build/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
  224. package/www/build/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
  225. package/www/build/{p-d9d9d834.entry.js → p-a8875b97.entry.js} +2 -2
  226. package/www/build/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
  227. package/www/build/p-b15efba3.entry.js +1 -0
  228. package/www/build/p-b574d5f6.entry.js +1 -0
  229. package/www/build/p-b6035e27.js +129 -0
  230. package/www/build/p-b9da171f.js +1 -0
  231. package/www/build/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
  232. package/www/build/p-bd886dd5.entry.js +1 -0
  233. package/www/build/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
  234. package/www/build/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
  235. package/www/build/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
  236. package/www/build/p-cd8950d2.entry.js +1 -0
  237. package/www/build/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
  238. package/www/build/p-d8069dab.entry.js +1 -0
  239. package/www/build/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
  240. package/www/build/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
  241. package/www/build/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
  242. package/www/build/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
  243. package/www/build/p-e2102da3.entry.js +1 -0
  244. package/www/build/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
  245. package/www/build/p-edb8d2ab.entry.js +1 -0
  246. package/www/build/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
  247. package/www/build/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
  248. package/{dist/web-components-library/p-dcf4d1b6.entry.js → www/build/p-fa925198.entry.js} +1 -1
  249. package/www/build/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
  250. package/www/build/web-components-library.esm.js +1 -1
  251. package/www/index.html +1 -1
  252. package/dist/cjs/z-button-filter_5.cjs.entry.js +0 -620
  253. package/dist/esm/z-button-filter_5.entry.js +0 -612
  254. package/dist/esm/z-list_3.entry.js +0 -220
  255. package/dist/web-components-library/p-14c9344f.entry.js +0 -1
  256. package/dist/web-components-library/p-21b9a94f.entry.js +0 -1
  257. package/dist/web-components-library/p-57270965.entry.js +0 -1
  258. package/dist/web-components-library/p-70be81b6.entry.js +0 -1
  259. package/dist/web-components-library/p-80369bb8.entry.js +0 -1
  260. package/dist/web-components-library/p-80a3e18a.js +0 -1
  261. package/dist/web-components-library/p-a785ff38.entry.js +0 -1
  262. package/dist/web-components-library/p-d3723aa7.entry.js +0 -1
  263. package/dist/web-components-library/p-fea5b98f.js +0 -1
  264. package/www/build/p-14c9344f.entry.js +0 -1
  265. package/www/build/p-21b9a94f.entry.js +0 -1
  266. package/www/build/p-57270965.entry.js +0 -1
  267. package/www/build/p-70be81b6.entry.js +0 -1
  268. package/www/build/p-80369bb8.entry.js +0 -1
  269. package/www/build/p-80a3e18a.js +0 -1
  270. package/www/build/p-a785ff38.entry.js +0 -1
  271. package/www/build/p-d3723aa7.entry.js +0 -1
  272. package/www/build/p-fa024b02.js +0 -129
  273. package/www/build/p-fea5b98f.js +0 -1
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
7
- const utils = require('./utils-33df2456.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
+ const utils = require('./utils-8cc414c9.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
10
  const stylesCss = ":host{display:block}:host>div.fixed{position:relative;height:42px}:host>div>.header{background-color:var(--bg-white);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--bg-grey-700);position:relative;z-index:10;min-height:42px;margin:0;padding:0 calc(var(--space-unit) * 2);display:flex;justify-content:space-between;align-items:center;cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{margin:0;padding:var(--space-unit) 0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border-radius:var(border-radius-small) var(border-radius-small) 0 0;border:var(--border-size-small) solid var(--blue500)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.openComboData{background-color:var(--bg-white);border-radius:0;border:var(--border-size-small) solid var(--gray200);border-top:0px;position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host>div.open>div.openComboData>div{padding:0;max-height:235px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--gray200)}:host>div.open>div.openComboData>z-input{margin-bottom:calc(var(--space-unit) * 2);width:100%}:host>div.open>div.openComboData>div>ul{margin:0;padding:0 3px;max-height:235px}::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.open>z-input{color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);width:238px;position:relative;z-index:1}:host>div.open>div.openComboData>div.search{box-shadow:1px 1px 4px 2px rgba(217, 222, 227, 0.5);margin-top:0;max-height:auto;overflow:hidden}:host>div.open>div.openComboData>div.search>ul{padding:var(--space-unit) calc(var(--space-unit) * 2);max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200)}:host>div.open>div.openComboData>div.search>div{display:flex;justify-content:center}:host>div.open>div.openComboData>div.search>div>a{display:inline-block;cursor:pointer;color:var(--myz-blue);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;height:44px;line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.openComboData>div.checkAllWrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * .5);text-align:left}";
@@ -111,7 +111,7 @@ const ZCombobox = class {
111
111
  }
112
112
  renderHeader() {
113
113
  return (index.h("div", { class: "header", onClick: () => this.toggleComboBox(), onKeyDown: (ev) => {
114
- if (ev.keyCode === index$1.keybordKeyCodeEnum.SPACE)
114
+ if (ev.keyCode === index$1.KeyboardKeyCodeEnum.SPACE)
115
115
  ev.preventDefault();
116
116
  }, onKeyUp: (ev) => utils.handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, index.h("z-body", { level: 3, component: "p" }, this.label, index.h("span", null, this.selectedCounter > 0 && ` (${this.selectedCounter})`)), index.h("z-icon", { name: "caret-down", width: 18, height: 18 })));
117
117
  }
@@ -145,7 +145,7 @@ const ZCombobox = class {
145
145
  renderSearchInput() {
146
146
  if (!this.isopen)
147
147
  return;
148
- return (index.h("z-input", { htmlid: `${this.inputid}_search`, label: this.searchlabel, placeholder: this.searchplaceholder, htmltitle: this.searchtitle, type: this.inputType, value: this.searchValue, hasmessage: false, onInputChange: (e) => {
148
+ return (index.h("z-input", { htmlid: `${this.inputid}_search`, label: this.searchlabel, placeholder: this.searchplaceholder, htmltitle: this.searchtitle, type: this.inputType, value: this.searchValue, message: false, onInputChange: (e) => {
149
149
  if (e.detail.keycode === 27)
150
150
  return this.closeFilterItems();
151
151
  this.filterItems(e.detail.value);
@@ -159,7 +159,7 @@ const ZCombobox = class {
159
159
  this.maxcheckableitems < this.itemsList.length })));
160
160
  }
161
161
  render() {
162
- return (index.h("div", { "data-action": `combo-${this.inputid}`, class: `${this.isopen ? "open" : ""} ${this.isfixed ? "fixed" : ""}`, id: this.inputid }, this.renderHeader(), this.renderContent()));
162
+ return (index.h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed }, id: this.inputid }, this.renderHeader(), this.renderContent()));
163
163
  }
164
164
  static get watchers() { return {
165
165
  "items": ["watchItems"]
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
 
8
8
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:focus-within)>z-popover{box-shadow:var(--shadow-focus-primary)}.popover-content-container{min-width:112px;max-width:280px;white-space:nowrap;padding:calc(var(--space-unit) / 2) 0}.element-container:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.element-text{overflow:hidden;text-overflow:ellipsis;font-size:14px}.element-container,.disabled-element-container{display:flex;align-items:center;gap:var(--space-unit);fill:var(--color-disabled03);padding:calc(var(--space-unit) / 2) var(--space-unit);min-height:calc(var(--space-unit) * 4);box-sizing:border-box}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
 
8
8
  const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:space-between;color:var(--text-grey-800);border-radius:calc(var(--space-unit) * 0.5);font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}.content>div>h2{margin:0;padding:0;color:var(--text-grey-800);border-radius:0px;font-size:18px;font-weight:var(--font-sb);letter-spacing:0px}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{cursor:pointer;font-weight:var(--font-sb);color:var(--text-grey-800);text-decoration:underline;height:14px;display:inline-flex}.content>div>div>p>a:visited{color:var(--text-grey-800);cursor:pointer;z-index:1000}.content>z-button-deprecated{margin:0;width:100%}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3)}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button-deprecated{margin:0;width:initial}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-left:calc(var(--space-unit) * 4);padding-right:calc(var(--space-unit) * 4)}}";
9
9
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-84b7063a.js');
6
6
  const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
7
7
  const index$2 = require('./index-1fda0714.js');
8
- const index$1 = require('./index-b1289f95.js');
8
+ const index$1 = require('./index-6b6a3299.js');
9
9
 
10
10
  var HOOKS = [
11
11
  "onChange",
@@ -3092,7 +3092,7 @@ const ZDatePicker = class {
3092
3092
  return (index.h("div", null, index.h("input", { class: "hidden-input", "data-input": true }), index.h("slot", { name: "toggle" })));
3093
3093
  }
3094
3094
  renderZInput() {
3095
- return (index.h("z-input", { ariaLabel: this.ariaLabel, label: this.label, class: index$2.classnames(this.datepickerid), type: "text", icon: "event", hasmessage: false, tabindex: "0" }));
3095
+ return (index.h("z-input", { ariaLabel: this.ariaLabel, label: this.label, class: index$2.classnames(this.datepickerid), type: "text", icon: "event", message: false, tabindex: "0" }));
3096
3096
  }
3097
3097
  render() {
3098
3098
  return (index.h("div", { class: index$2.classnames("flatpickr-toggle-container", this.hasChildren && this.datepickerid, this.flatpickrPosition, this.mode) }, this.hasChildren ? this.renderSlottedContent() : this.renderZInput()));
@@ -19,7 +19,6 @@ const ZDragdropArea = class {
19
19
  }
20
20
  render() {
21
21
  return (index.h("div", { tabIndex: 0, ref: (val) => (this.dragDropContainer = val), class: "dragdrop", onDragOver: (e) => {
22
- console.log(e);
23
22
  e.preventDefault();
24
23
  this.dragDropContainer.classList.add("dragover");
25
24
  }, onDragLeave: () => {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
7
- const utils = require('./utils-33df2456.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
+ const utils = require('./utils-8cc414c9.js');
8
8
  require('./breakpoints-88c4fd6c.js');
9
9
 
10
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}}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
 
9
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}";
@@ -35,7 +35,6 @@ const ZFile = class {
35
35
  (_b = (_a = this.icon) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
36
36
  }
37
37
  elementHasEllipsis() {
38
- console.log(this.ellipsis, this.ellipsis.offsetWidth, this.ellipsis.scrollWidth);
39
38
  return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
40
39
  }
41
40
  render() {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-84b7063a.js');
6
- const index$1 = require('./index-b1289f95.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
7
 
8
8
  const stylesCss = ":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;font-family:var(--font-family-sans);font-size:13px;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50)}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;margin:0;padding:0 calc(var(--space-unit) * 2);white-space:pre-line;font-size:12px}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 1;height:auto;width:auto;padding:calc(var(--space-unit) * 2) 0}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px);column-gap:12px;padding:0;margin-bottom:0px}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{margin:var(--space-unit) 0;padding:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;grid-template-columns:1fr;grid-row-gap:var(--space-unit);align-items:center}#extension z-divider{margin-top:var(--space-unit)}#extension z-button-deprecated{margin-left:var(--space-unit)}div.limited-width{margin:auto;max-width:var(--mw)}@media only screen and (min-width: 768px){footer{padding:0}#top{background-color:var(--gray800);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3)}#top z-footer-section:last-child{display:none}#bottom{background-color:var(--gray900);padding:0 calc(var(--space-unit) * 3)}#bottom>div{grid-template-columns:repeat(4, 1fr);grid-column-gap:var(--grid-tablet-margin)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:block;grid-column:span 2;order:3}#bottom>div>div.bottom-links{display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px);grid-column-gap:var(--grid-tablet-margin);font-size:12px}#extension{margin:auto;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-template-columns:repeat(6, 1fr);grid-column-gap:var(--grid-desktop-margin)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0}#bottom>div>div.bottom-links{grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-desktop-margin);margin:0}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";
9
9
 
@@ -0,0 +1,271 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-84b7063a.js');
6
+ const index$1 = require('./index-6b6a3299.js');
7
+ const utils = require('./utils-8cc414c9.js');
8
+ require('./breakpoints-88c4fd6c.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;