@sankhyalabs/ezui 7.0.2-rc.1 → 7.1.0-dev.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 (898) hide show
  1. package/dist/cjs/{ApplicationUtils-5cc05979.js → ApplicationUtils-d04f5c94.js} +1 -1
  2. package/dist/cjs/{app-globals-2fbe4b17.js → app-globals-c128c97e.js} +1 -1
  3. package/dist/cjs/ez-actions-button.cjs.entry.js +3 -3
  4. package/dist/cjs/ez-alert-list.cjs.entry.js +2 -2
  5. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-avatar.cjs.entry.js +2 -2
  8. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-calendar.cjs.entry.js +2 -2
  12. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-chart.cjs.entry.js +2 -2
  14. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-classic-input.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-classic-text-area.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -3
  20. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +5 -5
  21. package/dist/cjs/ez-combo-box.cjs.entry.js +3 -3
  22. package/dist/cjs/ez-date-input.cjs.entry.js +2 -2
  23. package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -2
  24. package/dist/cjs/ez-dialog.cjs.entry.js +2 -2
  25. package/dist/cjs/ez-double-list.cjs.entry.js +2 -2
  26. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-file-item.cjs.entry.js +2 -2
  29. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-form-view.cjs.entry.js +2 -2
  31. package/dist/cjs/ez-form.cjs.entry.js +4 -4
  32. package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-grid.cjs.entry.js +769 -109
  34. package/dist/cjs/ez-guide-navigator.cjs.entry.js +2 -2
  35. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-link-builder_6.cjs.entry.js +2 -2
  37. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-list.cjs.entry.js +2 -2
  39. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
  41. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  42. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
  43. package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
  44. package/dist/cjs/ez-pagination.cjs.entry.js +2 -2
  45. package/dist/cjs/ez-popover-core.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-popup.cjs.entry.js +2 -2
  49. package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-search-plus.cjs.entry.js +3 -3
  54. package/dist/cjs/ez-search-result-list.cjs.entry.js +2 -2
  55. package/dist/cjs/ez-search.cjs.entry.js +42 -5
  56. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
  57. package/dist/cjs/ez-skeleton.cjs.entry.js +2 -2
  58. package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
  59. package/dist/cjs/ez-spinner.cjs.entry.js +2 -2
  60. package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
  61. package/dist/cjs/ez-split-item.cjs.entry.js +3 -3
  62. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  64. package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
  65. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  66. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  67. package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
  68. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  69. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  70. package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
  71. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  72. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  73. package/dist/cjs/ez-tree.cjs.entry.js +2 -2
  74. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  75. package/dist/cjs/ez-upload.cjs.entry.js +3 -3
  76. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  77. package/dist/cjs/ezui.cjs.js +4 -4
  78. package/dist/cjs/filter-column.cjs.entry.js +2 -2
  79. package/dist/cjs/{index-1be40f19.js → index-00d0166b.js} +3 -0
  80. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +0 -3
  81. package/dist/cjs/loader.cjs.js +4 -4
  82. package/dist/cjs/{purify-3dbde2f7.js → purify-47a2f27b.js} +1 -0
  83. package/dist/cjs/{search-column-49cdfdb2.js → search-column-9aa090ec.js} +3 -3
  84. package/dist/collection/components/ez-search/ez-search.js +74 -2
  85. package/dist/collection/utils/i18n/locales/en-us.js +1 -0
  86. package/dist/collection/utils/i18n/locales/es-es.js +1 -0
  87. package/dist/collection/utils/i18n/locales/pt-br.js +1 -0
  88. package/dist/custom-elements/index.js +809 -108
  89. package/dist/esm/{ApplicationUtils-1569f757.js → ApplicationUtils-12768f5a.js} +1 -1
  90. package/dist/esm/{app-globals-c0ac93c0.js → app-globals-9507c20e.js} +1 -1
  91. package/dist/esm/ez-actions-button.entry.js +3 -3
  92. package/dist/esm/ez-alert-list.entry.js +2 -2
  93. package/dist/esm/ez-alert.entry.js +1 -1
  94. package/dist/esm/ez-application.entry.js +1 -1
  95. package/dist/esm/ez-avatar.entry.js +2 -2
  96. package/dist/esm/ez-badge.entry.js +1 -1
  97. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  98. package/dist/esm/ez-button.entry.js +1 -1
  99. package/dist/esm/ez-calendar.entry.js +2 -2
  100. package/dist/esm/ez-card-item.entry.js +1 -1
  101. package/dist/esm/ez-chart.entry.js +2 -2
  102. package/dist/esm/ez-check.entry.js +1 -1
  103. package/dist/esm/ez-chip.entry.js +1 -1
  104. package/dist/esm/ez-classic-combo-box.entry.js +1 -1
  105. package/dist/esm/ez-classic-input.entry.js +1 -1
  106. package/dist/esm/ez-classic-text-area.entry.js +1 -1
  107. package/dist/esm/ez-collapsible-box.entry.js +3 -3
  108. package/dist/esm/ez-combo-box-list_4.entry.js +5 -5
  109. package/dist/esm/ez-combo-box.entry.js +3 -3
  110. package/dist/esm/ez-date-input.entry.js +2 -2
  111. package/dist/esm/ez-date-time-input.entry.js +2 -2
  112. package/dist/esm/ez-dialog.entry.js +2 -2
  113. package/dist/esm/ez-double-list.entry.js +2 -2
  114. package/dist/esm/ez-dropdown.entry.js +1 -1
  115. package/dist/esm/ez-empty-card.entry.js +1 -1
  116. package/dist/esm/ez-file-item.entry.js +2 -2
  117. package/dist/esm/ez-filter-input.entry.js +1 -1
  118. package/dist/esm/ez-form-view.entry.js +2 -2
  119. package/dist/esm/ez-form.entry.js +4 -4
  120. package/dist/esm/ez-grid-view.entry.js +1 -1
  121. package/dist/esm/ez-grid.entry.js +769 -109
  122. package/dist/esm/ez-guide-navigator.entry.js +2 -2
  123. package/dist/esm/ez-icon.entry.js +1 -1
  124. package/dist/esm/ez-link-builder_6.entry.js +2 -2
  125. package/dist/esm/ez-list-item.entry.js +1 -1
  126. package/dist/esm/ez-list.entry.js +2 -2
  127. package/dist/esm/ez-loading-bar.entry.js +1 -1
  128. package/dist/esm/ez-modal-container.entry.js +2 -2
  129. package/dist/esm/ez-modal.entry.js +2 -2
  130. package/dist/esm/ez-multi-selection-list.entry.js +2 -2
  131. package/dist/esm/ez-number-input.entry.js +2 -2
  132. package/dist/esm/ez-pagination.entry.js +2 -2
  133. package/dist/esm/ez-popover-core.entry.js +1 -1
  134. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  135. package/dist/esm/ez-popover.entry.js +1 -1
  136. package/dist/esm/ez-popup.entry.js +2 -2
  137. package/dist/esm/ez-progress-bar.entry.js +1 -1
  138. package/dist/esm/ez-radio-button.entry.js +1 -1
  139. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  140. package/dist/esm/ez-scroller_2.entry.js +1 -1
  141. package/dist/esm/ez-search-plus.entry.js +3 -3
  142. package/dist/esm/ez-search-result-list.entry.js +2 -2
  143. package/dist/esm/ez-search.entry.js +42 -5
  144. package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
  145. package/dist/esm/ez-skeleton.entry.js +2 -2
  146. package/dist/esm/ez-sortable-list.entry.js +2 -2
  147. package/dist/esm/ez-spinner.entry.js +2 -2
  148. package/dist/esm/ez-split-button.entry.js +2 -2
  149. package/dist/esm/ez-split-item.entry.js +3 -3
  150. package/dist/esm/ez-split-panel.entry.js +1 -1
  151. package/dist/esm/ez-tabselector.entry.js +1 -1
  152. package/dist/esm/ez-tag-input.entry.js +1 -1
  153. package/dist/esm/ez-tag.entry.js +1 -1
  154. package/dist/esm/ez-text-area.entry.js +1 -1
  155. package/dist/esm/ez-text-input.entry.js +1 -1
  156. package/dist/esm/ez-tile-medium.entry.js +1 -1
  157. package/dist/esm/ez-tile.entry.js +1 -1
  158. package/dist/esm/ez-time-input.entry.js +2 -2
  159. package/dist/esm/ez-toast.entry.js +1 -1
  160. package/dist/esm/ez-tooltip.entry.js +1 -1
  161. package/dist/esm/ez-tree.entry.js +2 -2
  162. package/dist/esm/ez-underface.entry.js +1 -1
  163. package/dist/esm/ez-upload.entry.js +3 -3
  164. package/dist/esm/ez-view-stack.entry.js +1 -1
  165. package/dist/esm/ezui.js +5 -5
  166. package/dist/esm/filter-column.entry.js +2 -2
  167. package/dist/esm/{index-41363fa6.js → index-62fc771e.js} +3 -0
  168. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +1 -3
  169. package/dist/esm/loader.js +5 -5
  170. package/dist/esm/{purify-2b94dec9.js → purify-dc6814bf.js} +1 -0
  171. package/dist/esm/{search-column-cc4d772a.js → search-column-83562552.js} +3 -3
  172. package/dist/ezui/ezui.esm.js +1 -1
  173. package/dist/ezui/{p-8ea2a2f5.entry.js → p-02f6e3b0.entry.js} +1 -1
  174. package/dist/ezui/p-0b333f09.entry.js +1 -0
  175. package/dist/ezui/{p-6dbf8f75.entry.js → p-0c0eb410.entry.js} +1 -1
  176. package/dist/ezui/{p-cf4e2a35.entry.js → p-0e49c0ff.entry.js} +1 -1
  177. package/dist/ezui/{p-d1765c77.entry.js → p-124699e0.entry.js} +1 -1
  178. package/dist/ezui/{p-4f72c118.entry.js → p-1266fe78.entry.js} +1 -1
  179. package/dist/ezui/p-14807f4e.js +1 -0
  180. package/dist/ezui/{p-0aed37a1.entry.js → p-1730ee24.entry.js} +1 -1
  181. package/dist/ezui/{p-b6a8112c.entry.js → p-191cfbc8.entry.js} +1 -1
  182. package/dist/ezui/{p-a8eadb43.entry.js → p-1adf7139.entry.js} +1 -1
  183. package/dist/ezui/{p-4ca4d920.entry.js → p-1bfef8e5.entry.js} +1 -1
  184. package/dist/ezui/{p-4837f475.entry.js → p-1cde96f9.entry.js} +1 -1
  185. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  186. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  187. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  188. package/dist/ezui/{p-a1c0233e.js → p-228a4d2f.js} +1 -1
  189. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  190. package/dist/ezui/{p-169d460d.entry.js → p-2528e988.entry.js} +1 -1
  191. package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
  192. package/dist/ezui/{p-c291d6a0.entry.js → p-2a70f094.entry.js} +1 -1
  193. package/dist/ezui/{p-fcdc8089.entry.js → p-2ba2d792.entry.js} +1 -1
  194. package/dist/ezui/{p-c3ff0370.entry.js → p-2df50161.entry.js} +1 -1
  195. package/dist/ezui/{p-1857cfc0.entry.js → p-3fe05d6b.entry.js} +1 -1
  196. package/dist/ezui/{p-f7ca8634.entry.js → p-411c0222.entry.js} +1 -1
  197. package/dist/ezui/{p-570cf58a.entry.js → p-48effc69.entry.js} +1 -1
  198. package/dist/ezui/{p-871946b1.entry.js → p-4c4f0850.entry.js} +1 -1
  199. package/dist/ezui/{p-4a876b8b.entry.js → p-4d30b703.entry.js} +1 -1
  200. package/dist/ezui/{p-45ee32ac.entry.js → p-4e1df756.entry.js} +1 -1
  201. package/dist/ezui/{p-8f0ed69d.entry.js → p-59092a66.entry.js} +1 -1
  202. package/dist/ezui/{p-c9d70dab.entry.js → p-59a98e31.entry.js} +1 -1
  203. package/dist/ezui/{p-baec56c9.js → p-5a11cf56.js} +1 -1
  204. package/dist/ezui/{p-b2ce629f.entry.js → p-5ab08b60.entry.js} +1 -1
  205. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  206. package/dist/ezui/{p-c754774e.entry.js → p-6020f3d5.entry.js} +1 -1
  207. package/dist/ezui/{p-4df117bb.js → p-623161e2.js} +1 -1
  208. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  209. package/dist/ezui/{p-a61fdd20.js → p-641ee538.js} +1 -1
  210. package/dist/ezui/{p-df5b5c3d.entry.js → p-6a9a20a0.entry.js} +1 -1
  211. package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
  212. package/dist/ezui/{p-6b6efa30.entry.js → p-6f119d5f.entry.js} +1 -1
  213. package/dist/ezui/{p-1723f728.entry.js → p-6f77a359.entry.js} +1 -1
  214. package/dist/ezui/{p-71c55a72.entry.js → p-79277e43.entry.js} +1 -1
  215. package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
  216. package/dist/ezui/{p-0391f255.entry.js → p-7f8c1fce.entry.js} +1 -1
  217. package/dist/ezui/{p-b7c6ce20.entry.js → p-7fe97ef5.entry.js} +1 -1
  218. package/dist/ezui/{p-4b444fe9.entry.js → p-8bb3aeb0.entry.js} +1 -1
  219. package/dist/ezui/{p-201009ae.entry.js → p-8dc267ff.entry.js} +1 -1
  220. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  221. package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
  222. package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
  223. package/dist/ezui/{p-e6eaa5ed.entry.js → p-957d08cd.entry.js} +1 -1
  224. package/dist/ezui/{p-d3779449.entry.js → p-9b2e6438.entry.js} +1 -1
  225. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  226. package/dist/ezui/{p-bc693db6.entry.js → p-a0bf1fc7.entry.js} +1 -1
  227. package/dist/ezui/{p-9bcfa689.entry.js → p-a3075f52.entry.js} +1 -1
  228. package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
  229. package/dist/ezui/{p-09c2e631.entry.js → p-a401041c.entry.js} +1 -1
  230. package/dist/ezui/{p-ad7c01c1.entry.js → p-a7eab406.entry.js} +1 -1
  231. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  232. package/dist/ezui/{p-a48979a8.entry.js → p-ba7e908a.entry.js} +1 -1
  233. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  234. package/dist/ezui/{p-2000464a.entry.js → p-bd6146c5.entry.js} +1 -1
  235. package/dist/ezui/p-c943f7c4.entry.js +1 -0
  236. package/dist/ezui/{p-55e30af1.entry.js → p-d0e6911e.entry.js} +1 -1
  237. package/dist/ezui/{p-c96e536d.entry.js → p-d2645bdf.entry.js} +1 -1
  238. package/dist/ezui/p-d66bf34e.entry.js +309 -0
  239. package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
  240. package/dist/ezui/{p-770cf2b8.entry.js → p-d6f50207.entry.js} +1 -1
  241. package/dist/ezui/p-d8cc640d.entry.js +1 -0
  242. package/dist/ezui/{p-5f4a66ec.entry.js → p-dee18824.entry.js} +1 -1
  243. package/dist/ezui/{p-feea8ad8.entry.js → p-e27d7dc2.entry.js} +1 -1
  244. package/dist/ezui/{p-a75c1bdc.entry.js → p-e46a4d06.entry.js} +1 -1
  245. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  246. package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
  247. package/dist/ezui/{p-4463db7b.entry.js → p-e882635e.entry.js} +1 -1
  248. package/dist/ezui/{p-b21efe83.entry.js → p-e8c57463.entry.js} +1 -1
  249. package/dist/ezui/{p-ffdf68cd.entry.js → p-e8c6c973.entry.js} +1 -1
  250. package/dist/ezui/{p-9d6c5d17.entry.js → p-e99cbb51.entry.js} +1 -1
  251. package/dist/ezui/{p-172abd0f.entry.js → p-eee3c7ff.entry.js} +1 -1
  252. package/dist/ezui/{p-35e3715c.entry.js → p-ef8bd3e8.entry.js} +1 -1
  253. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  254. package/dist/types/components/ez-search/ez-search.d.ts +11 -0
  255. package/dist/types/components.d.ts +16 -0
  256. package/dist/types/utils/i18n/locales/en-us.d.ts +1 -0
  257. package/dist/types/utils/i18n/locales/es-es.d.ts +1 -0
  258. package/dist/types/utils/i18n/locales/pt-br.d.ts +1 -0
  259. package/dist/types/utils/i18n/translations.d.ts +3 -0
  260. package/package.json +1 -1
  261. package/dist/cjs/ApplicationUtils-5cc05979.js.gz +0 -0
  262. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  263. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  264. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  265. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  266. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  267. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  268. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  269. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  270. package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
  271. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  272. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  273. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  274. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  275. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  276. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  277. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  278. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  279. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  280. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  281. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  282. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  283. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  284. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  285. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  286. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  287. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  288. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  289. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js.gz +0 -0
  290. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  291. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  292. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  293. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  294. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  295. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  296. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  297. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  298. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  299. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  300. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  301. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  302. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  303. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  304. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  305. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  306. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  307. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  308. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  309. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  310. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  311. package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
  312. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  313. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  314. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  315. package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
  316. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  317. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  318. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  319. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  320. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  321. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  322. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  323. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  324. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  325. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  326. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  327. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  328. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  329. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  330. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  331. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  332. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  333. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  334. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  335. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  336. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  337. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  338. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  339. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  340. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  341. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  342. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  343. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  344. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  345. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  346. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  347. package/dist/cjs/ezui.cjs.js.gz +0 -0
  348. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  349. package/dist/cjs/floating-ui.dom.esm-f4d87617.js.gz +0 -0
  350. package/dist/cjs/index-1be40f19.js.gz +0 -0
  351. package/dist/cjs/index-9e5554cb.js.gz +0 -0
  352. package/dist/cjs/index.cjs.js.gz +0 -0
  353. package/dist/cjs/loader.cjs.js.gz +0 -0
  354. package/dist/cjs/purify-3dbde2f7.js.gz +0 -0
  355. package/dist/cjs/search-column-49cdfdb2.js.gz +0 -0
  356. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  357. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  358. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  359. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  360. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  361. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  362. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  363. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  364. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  365. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  366. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  367. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  368. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  369. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  370. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  371. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  372. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  373. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  374. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  375. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  376. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  377. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  378. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  379. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  380. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  381. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  382. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  383. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  384. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  385. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  386. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  387. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  388. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  389. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  390. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  391. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  392. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  393. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  394. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  395. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  396. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  397. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  398. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  399. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  400. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  401. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  402. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  403. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  404. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  405. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  406. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  407. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  408. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  409. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  410. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  411. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  412. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  413. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  414. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  415. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  416. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  417. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  418. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  419. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  420. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  421. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  422. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  423. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  424. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  425. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  426. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  427. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  428. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  429. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  430. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  431. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  432. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  433. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  434. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  435. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  436. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  437. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  438. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  439. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  440. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  441. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  442. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  443. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  444. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  445. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  446. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  447. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  448. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  449. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  450. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  451. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  452. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  453. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  454. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  455. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  456. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  457. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  458. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  459. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  460. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  461. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  462. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  463. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  464. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  465. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  466. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  467. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  468. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  469. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  470. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  471. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  472. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  473. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  474. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  475. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  476. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  477. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  478. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  479. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  480. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  481. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  482. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  483. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  484. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  485. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  486. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  487. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  488. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  489. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  490. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  491. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  492. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  493. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  494. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  495. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  496. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  497. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  498. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  499. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  500. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  501. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  502. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  503. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  504. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  505. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  506. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  507. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  508. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  509. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  510. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  511. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  512. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  513. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  514. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  515. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  516. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  517. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  518. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  519. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  520. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  521. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  522. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  523. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  524. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  525. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  526. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  527. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  528. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  529. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  530. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  531. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  532. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  533. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  534. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  535. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  536. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  537. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  538. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  539. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  540. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  541. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  542. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  543. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  544. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  545. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  546. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  547. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  548. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  549. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  550. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  551. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  552. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  553. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  554. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  555. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  556. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  557. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  558. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  559. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  560. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  561. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  562. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  563. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  564. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  565. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  566. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  567. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  568. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  569. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  570. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  571. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  572. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  573. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  574. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  575. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  576. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  577. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  578. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  579. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  580. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  581. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  582. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  583. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  584. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  585. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  586. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  587. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  588. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  589. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  590. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  591. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  592. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  593. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  594. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  595. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  596. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  597. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  598. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  599. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  600. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  601. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  602. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  603. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  604. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  605. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  606. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  607. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  608. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  609. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  610. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  611. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  612. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  613. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  614. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  615. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  616. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  617. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  618. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  619. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  620. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  621. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  622. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  623. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  624. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  625. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  626. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  627. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  628. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  629. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  630. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  631. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  632. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  633. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  634. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  635. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  636. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  637. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  638. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  639. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  640. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  641. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  642. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  643. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  644. package/dist/collection/global/app-init.js.gz +0 -0
  645. package/dist/collection/index.js.gz +0 -0
  646. package/dist/collection/servidor.js.gz +0 -0
  647. package/dist/collection/setupTests.js.gz +0 -0
  648. package/dist/collection/sw.js.gz +0 -0
  649. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  650. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  651. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  652. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  653. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  654. package/dist/collection/utils/constants.js.gz +0 -0
  655. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  656. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  657. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  658. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  659. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  660. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  661. package/dist/collection/utils/form/index.js.gz +0 -0
  662. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  663. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  664. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  665. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  666. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  667. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  668. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  669. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  670. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  671. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  672. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  673. package/dist/collection/utils/i18n/index.js.gz +0 -0
  674. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  675. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  676. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  677. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  678. package/dist/collection/utils/index.js.gz +0 -0
  679. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  680. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  681. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  682. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  683. package/dist/collection/utils/search/types.js.gz +0 -0
  684. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  685. package/dist/collection/utils/utils.js.gz +0 -0
  686. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  687. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  688. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  689. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  690. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  691. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  692. package/dist/custom-elements/index.js.gz +0 -0
  693. package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
  694. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  695. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  696. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  697. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  698. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  699. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  700. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  701. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  702. package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
  703. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  704. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  705. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  706. package/dist/esm/ez-alert.entry.js.gz +0 -0
  707. package/dist/esm/ez-application.entry.js.gz +0 -0
  708. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  709. package/dist/esm/ez-badge.entry.js.gz +0 -0
  710. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  711. package/dist/esm/ez-button.entry.js.gz +0 -0
  712. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  713. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  714. package/dist/esm/ez-chart.entry.js.gz +0 -0
  715. package/dist/esm/ez-check.entry.js.gz +0 -0
  716. package/dist/esm/ez-chip.entry.js.gz +0 -0
  717. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  718. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  719. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  720. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  721. package/dist/esm/ez-combo-box-list_4.entry.js.gz +0 -0
  722. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  723. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  724. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  725. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  726. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  727. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  728. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  729. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  730. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  731. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  732. package/dist/esm/ez-form.entry.js.gz +0 -0
  733. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  734. package/dist/esm/ez-grid.entry.js.gz +0 -0
  735. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  736. package/dist/esm/ez-icon.entry.js.gz +0 -0
  737. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  738. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  739. package/dist/esm/ez-list.entry.js.gz +0 -0
  740. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  741. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  742. package/dist/esm/ez-modal.entry.js.gz +0 -0
  743. package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
  744. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  745. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  746. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  747. package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
  748. package/dist/esm/ez-popover.entry.js.gz +0 -0
  749. package/dist/esm/ez-popup.entry.js.gz +0 -0
  750. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  751. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  752. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  753. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  754. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  755. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  756. package/dist/esm/ez-search.entry.js.gz +0 -0
  757. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  758. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  759. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  760. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  761. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  762. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  763. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  764. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  765. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  766. package/dist/esm/ez-tag.entry.js.gz +0 -0
  767. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  768. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  769. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  770. package/dist/esm/ez-tile.entry.js.gz +0 -0
  771. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  772. package/dist/esm/ez-toast.entry.js.gz +0 -0
  773. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  774. package/dist/esm/ez-tree.entry.js.gz +0 -0
  775. package/dist/esm/ez-underface.entry.js.gz +0 -0
  776. package/dist/esm/ez-upload.entry.js.gz +0 -0
  777. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  778. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  779. package/dist/esm/ezui.js.gz +0 -0
  780. package/dist/esm/filter-column.entry.js.gz +0 -0
  781. package/dist/esm/floating-ui.dom.esm-ad30f2f0.js.gz +0 -0
  782. package/dist/esm/index-41363fa6.js.gz +0 -0
  783. package/dist/esm/index-5a720e56.js.gz +0 -0
  784. package/dist/esm/index.js.gz +0 -0
  785. package/dist/esm/loader.js.gz +0 -0
  786. package/dist/esm/polyfills/core-js.js.gz +0 -0
  787. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  788. package/dist/esm/polyfills/dom.js.gz +0 -0
  789. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  790. package/dist/esm/polyfills/index.js.gz +0 -0
  791. package/dist/esm/polyfills/system.js.gz +0 -0
  792. package/dist/esm/purify-2b94dec9.js.gz +0 -0
  793. package/dist/esm/search-column-cc4d772a.js.gz +0 -0
  794. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  795. package/dist/ezui/ezui.esm.js.gz +0 -0
  796. package/dist/ezui/index.esm.js.gz +0 -0
  797. package/dist/ezui/p-000159dc.entry.js.gz +0 -0
  798. package/dist/ezui/p-0391f255.entry.js.gz +0 -0
  799. package/dist/ezui/p-05e68ab3.entry.js.gz +0 -0
  800. package/dist/ezui/p-06f1b8e4.entry.js.gz +0 -0
  801. package/dist/ezui/p-09c2e631.entry.js.gz +0 -0
  802. package/dist/ezui/p-0aed37a1.entry.js.gz +0 -0
  803. package/dist/ezui/p-0b531233.entry.js.gz +0 -0
  804. package/dist/ezui/p-112455b1.js.gz +0 -0
  805. package/dist/ezui/p-14d6aeb8.entry.js +0 -1
  806. package/dist/ezui/p-14d6aeb8.entry.js.gz +0 -0
  807. package/dist/ezui/p-169d460d.entry.js.gz +0 -0
  808. package/dist/ezui/p-1723f728.entry.js.gz +0 -0
  809. package/dist/ezui/p-172abd0f.entry.js.gz +0 -0
  810. package/dist/ezui/p-1857cfc0.entry.js.gz +0 -0
  811. package/dist/ezui/p-2000464a.entry.js.gz +0 -0
  812. package/dist/ezui/p-201009ae.entry.js.gz +0 -0
  813. package/dist/ezui/p-2a806303.js.gz +0 -0
  814. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  815. package/dist/ezui/p-35e3715c.entry.js.gz +0 -0
  816. package/dist/ezui/p-3e767a74.js.gz +0 -0
  817. package/dist/ezui/p-40a60148.js.gz +0 -0
  818. package/dist/ezui/p-4463db7b.entry.js.gz +0 -0
  819. package/dist/ezui/p-44b39e81.entry.js.gz +0 -0
  820. package/dist/ezui/p-45ee32ac.entry.js.gz +0 -0
  821. package/dist/ezui/p-4837f475.entry.js.gz +0 -0
  822. package/dist/ezui/p-4a876b8b.entry.js.gz +0 -0
  823. package/dist/ezui/p-4b444fe9.entry.js.gz +0 -0
  824. package/dist/ezui/p-4ca4d920.entry.js.gz +0 -0
  825. package/dist/ezui/p-4df117bb.js.gz +0 -0
  826. package/dist/ezui/p-4f72c118.entry.js.gz +0 -0
  827. package/dist/ezui/p-5554704c.js +0 -1
  828. package/dist/ezui/p-5554704c.js.gz +0 -0
  829. package/dist/ezui/p-55e30af1.entry.js.gz +0 -0
  830. package/dist/ezui/p-570cf58a.entry.js.gz +0 -0
  831. package/dist/ezui/p-5f4a66ec.entry.js.gz +0 -0
  832. package/dist/ezui/p-6b51c9cc.entry.js.gz +0 -0
  833. package/dist/ezui/p-6b6efa30.entry.js.gz +0 -0
  834. package/dist/ezui/p-6dbf8f75.entry.js.gz +0 -0
  835. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  836. package/dist/ezui/p-6ec40dec.entry.js.gz +0 -0
  837. package/dist/ezui/p-6fc26622.entry.js.gz +0 -0
  838. package/dist/ezui/p-71c55a72.entry.js.gz +0 -0
  839. package/dist/ezui/p-770cf2b8.entry.js.gz +0 -0
  840. package/dist/ezui/p-78e975b4.entry.js.gz +0 -0
  841. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  842. package/dist/ezui/p-81461d2f.entry.js.gz +0 -0
  843. package/dist/ezui/p-82fa4b09.entry.js.gz +0 -0
  844. package/dist/ezui/p-871946b1.entry.js.gz +0 -0
  845. package/dist/ezui/p-8ea2a2f5.entry.js.gz +0 -0
  846. package/dist/ezui/p-8f0ed69d.entry.js.gz +0 -0
  847. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  848. package/dist/ezui/p-9bcfa689.entry.js.gz +0 -0
  849. package/dist/ezui/p-9d6c5d17.entry.js.gz +0 -0
  850. package/dist/ezui/p-a1c0233e.js.gz +0 -0
  851. package/dist/ezui/p-a48979a8.entry.js.gz +0 -0
  852. package/dist/ezui/p-a61fdd20.js.gz +0 -0
  853. package/dist/ezui/p-a75c1bdc.entry.js.gz +0 -0
  854. package/dist/ezui/p-a8eadb43.entry.js.gz +0 -0
  855. package/dist/ezui/p-a9432878.entry.js.gz +0 -0
  856. package/dist/ezui/p-ab574d59.js.gz +0 -0
  857. package/dist/ezui/p-ad7c01c1.entry.js.gz +0 -0
  858. package/dist/ezui/p-b1e45320.js.gz +0 -0
  859. package/dist/ezui/p-b21efe83.entry.js.gz +0 -0
  860. package/dist/ezui/p-b2ce629f.entry.js.gz +0 -0
  861. package/dist/ezui/p-b6a8112c.entry.js.gz +0 -0
  862. package/dist/ezui/p-b7c6ce20.entry.js.gz +0 -0
  863. package/dist/ezui/p-b853763b.js.gz +0 -0
  864. package/dist/ezui/p-b959b5a1.entry.js +0 -1
  865. package/dist/ezui/p-b959b5a1.entry.js.gz +0 -0
  866. package/dist/ezui/p-baec56c9.js.gz +0 -0
  867. package/dist/ezui/p-bc693db6.entry.js.gz +0 -0
  868. package/dist/ezui/p-c291d6a0.entry.js.gz +0 -0
  869. package/dist/ezui/p-c2b20f78.entry.js.gz +0 -0
  870. package/dist/ezui/p-c3ff0370.entry.js.gz +0 -0
  871. package/dist/ezui/p-c754774e.entry.js.gz +0 -0
  872. package/dist/ezui/p-c96e536d.entry.js.gz +0 -0
  873. package/dist/ezui/p-c9d70dab.entry.js.gz +0 -0
  874. package/dist/ezui/p-cf33bc48.entry.js.gz +0 -0
  875. package/dist/ezui/p-cf4e2a35.entry.js.gz +0 -0
  876. package/dist/ezui/p-d1765c77.entry.js.gz +0 -0
  877. package/dist/ezui/p-d3779449.entry.js.gz +0 -0
  878. package/dist/ezui/p-d746f545.entry.js +0 -1
  879. package/dist/ezui/p-d746f545.entry.js.gz +0 -0
  880. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  881. package/dist/ezui/p-df5b5c3d.entry.js.gz +0 -0
  882. package/dist/ezui/p-dfca5946.entry.js.gz +0 -0
  883. package/dist/ezui/p-e195eaad.entry.js.gz +0 -0
  884. package/dist/ezui/p-e4c7eb39.js.gz +0 -0
  885. package/dist/ezui/p-e6eaa5ed.entry.js.gz +0 -0
  886. package/dist/ezui/p-e9b409c1.entry.js.gz +0 -0
  887. package/dist/ezui/p-ec7db713.js.gz +0 -0
  888. package/dist/ezui/p-f1094005.entry.js +0 -1
  889. package/dist/ezui/p-f1094005.entry.js.gz +0 -0
  890. package/dist/ezui/p-f26b97e9.entry.js.gz +0 -0
  891. package/dist/ezui/p-f2f0ac89.entry.js +0 -309
  892. package/dist/ezui/p-f2f0ac89.entry.js.gz +0 -0
  893. package/dist/ezui/p-f7ca8634.entry.js.gz +0 -0
  894. package/dist/ezui/p-fcdc8089.entry.js.gz +0 -0
  895. package/dist/ezui/p-feea8ad8.entry.js.gz +0 -0
  896. package/dist/ezui/p-ffdf68cd.entry.js.gz +0 -0
  897. package/dist/index.cjs.js.gz +0 -0
  898. package/dist/index.js.gz +0 -0
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as a,g as r}from"./p-e4c7eb39.js";import{ElementIDUtils as s,KeyboardManager as o}from"@sankhyalabs/core";const n=class{constructor(e){t(this,e),this.ezChange=i(this,"ezChange",7),this.ezTagAdded=i(this,"ezTagAdded",7),this.ezTagRemoved=i(this,"ezTagRemoved",7),this.ezFocus=i(this,"ezFocus",7),this.ezBlur=i(this,"ezBlur",7),this.ezValidationError=i(this,"ezValidationError",7),this.ezType=i(this,"ezType",7),this.handleInputChange=t=>{this._inputElement.value=t.target.value,this.ezType.emit(this._inputElement.value)},this.handleInputKeyDown=t=>{"Backspace"===t.key&&""===this._inputElement.value&&this.tags.length>0&&!this.suppressBackspaceToRemove&&this.handleRemoveTag(this.tags[this.tags.length-1])},this.handleInputFocus=()=>{this.ezFocus.emit(this.tags)},this.handleInputBlur=()=>{this.ezBlur.emit(this.tags)},this.handleTagClick=(t,i)=>{this.enabled&&!this.readonly&&(this.handleRemoveTag(t),this.updateTagFocus(i))},this.handleClearInput=()=>{this._inputElement.value=""},this.label="",this.placeholder="",this.helpText=void 0,this.enabled=!0,this.readonly=!1,this.name=void 0,this.tags=[],this.maxTagLength=void 0,this.maxTags=void 0,this.allowDuplicates=!1,this.state="default",this.validator=void 0,this.suppressTagsKeyboardNavigation=!1,this.suppressBackspaceToRemove=!1}async setFocus(t){(null==t?void 0:t.selectText)&&this._inputElement.select(),(null==t?void 0:t.preventScroll)||this._inputElement.scrollIntoView({behavior:"smooth",block:"center"}),this._inputElement.focus({preventScroll:!0})}async setBlur(){this._inputElement.blur()}async addTag(t){return this.handleAddTag(t)}async removeTag(t){return this.handleRemoveTag(t)}async clearTags(){this.tags=[],this.ezChange.emit([...this.tags])}addInfoId(){this._element&&s.addIDInfo(this._element),this._inputElement&&s.addIDInfo(this._inputElement,"tag-input",{id:"embedded"})}initializeKeyboardManager(){this._keyboardManager=new o({propagate:!0,element:this._element}).bind("Enter",(()=>this.handleAddCurrentTag())).bind("Tab",(()=>this.handleAddCurrentTag())).bind("Escape",(()=>this.handleClearInput())).bind("ArrowLeft",(()=>this.handlePreviousTagFocus())).bind("ArrowRight",(()=>this.handleNextTagFocus()))}handleAddCurrentTag(){if(this._inputElement.value.trim()){const t=this.handleAddTag(this._inputElement.value);return t&&(this._inputElement.value=""),t}return!1}handleAddTag(t){const i=t.trim();if(!this.enabled||this.readonly)return!1;if(!i||0===i.length)return!1;if(this.maxTagLength&&i.length>this.maxTagLength)return!1;if(this.maxTags&&this.tags.length>=this.maxTags)return!1;if(!this.allowDuplicates&&this.tags.includes(i))return!1;if(this.validator){const t=this.validator(i,[...this.tags]);if(!1===t)return this.ezValidationError.emit({tag:i,error:void 0}),!1;if("string"==typeof t)return this.ezValidationError.emit({tag:i,error:t}),!1}return this.tags=[...this.tags,i],this.ezChange.emit([...this.tags]),this.ezTagAdded.emit(i),!0}async updateTagFocus(t){var i;if(!(null===(i=this.tags)||void 0===i?void 0:i.length)||this.suppressTagsKeyboardNavigation)return void await this.setFocus();if(!t)return;const e=this._element.shadowRoot.querySelector("#tag-"+(t-1));e&&await e.setFocus()}getCurrentActiveTagIndex(){var t;const i=this._element.shadowRoot.activeElement;if(!(null===(t=this.tags)||void 0===t?void 0:t.length)||"ez-chip"!==i.tagName.toLowerCase())return null;const e=parseInt(i.id.split("-")[1],10);return Number.isNaN(e)||e<0||e>=this.tags.length?null:e}async setTagFocus(t){const i=this._element.shadowRoot.querySelector(`#tag-${t}`);i&&await i.setFocus()}async handlePreviousTagFocus(){if(this.suppressTagsKeyboardNavigation||!this.enabled||this.readonly)return;if(this._element.shadowRoot.activeElement===this._inputElement)return void await this.setTagFocus(this.tags.length-1);const t=this.getCurrentActiveTagIndex();null!==t?0!==t&&await this.setTagFocus(t-1):await this.setFocus()}async handleNextTagFocus(){if(this.suppressTagsKeyboardNavigation||!this.enabled||this.readonly)return;const t=this.getCurrentActiveTagIndex();null===t||t>=this.tags.length-1?await this.setFocus():await this.setTagFocus(t+1)}handleRemoveTag(t){return!(!this.enabled||this.readonly)&&(-1!==this.tags.indexOf(t)&&(this.tags=this.tags.filter((i=>i!==t)),this.ezChange.emit([...this.tags]),this.ezTagRemoved.emit(t),!0))}async componentWillLoad(){this.tags||(this.tags=[])}componentDidLoad(){this.addInfoId(),this.initializeKeyboardManager()}disconnectedCallback(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}render(){return e(a,null,e("label",{htmlFor:this.name},this.label),e("div",{class:"tag-input__container","data-state":this.state,"data-disabled":(!this.enabled).toString(),onClick:()=>this.setFocus({preventScroll:!0})},this.tags.map(((t,i)=>e("ez-chip",{key:`tag-${i}`,id:`tag-${i}`,label:t,enabled:this.enabled&&!this.readonly,removePosition:this.enabled&&!this.readonly?"right":void 0,mode:"label",onRemoveChip:()=>this.handleTagClick(t,i),tabIndex:this.suppressTagsKeyboardNavigation||!this.enabled||this.readonly?-1:0,disableAutoUpdateValue:!0,removeWithKeyboard:!0}))),e("input",{ref:t=>this._inputElement=t,id:this.name,type:"text",placeholder:this.placeholder,disabled:!this.enabled,readonly:this.readonly,maxlength:this.maxTagLength,onInput:this.handleInputChange,onKeyDown:this.handleInputKeyDown,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur})),this.helpText&&e("span",{title:this.helpText},this.helpText))}get _element(){return r(this)}};n.style=':host{--ez-tag-input--background-color:var(--color--gray-70, #FFFFFF);--ez-tag-input--border-color-default:var(--color--gray-200, #D2D2D3);--ez-tag-input--border-color-focused:var(--color--gray-300, #A4A5A7);--ez-tag-input--border-color-error:var(--color--red-600, #BD0025);--ez-tag-input--border-color-success:var(--color--green-600, #157A00);--ez-tag-input--border-color-warning:var(--color--yellow-600, #EFB103);--ez-tag-input--border-radius:var(--border--radius-8, 8px);--ez-tag-input--padding:var(--space--12, 12px);--ez-tag-input--gap:var(--space--8, 8px);--ez-tag-input--label-color:var(--color--petroleum-900, #141B27);--ez-tag-input--label-font-weight:var(--font-weight--regular, 400);--ez-tag-input--input-color:var(--color--petroleum-900, #141B27);--ez-tag-input--input-font-size:var(--font-size--default, 14px);--ez-tag-input--placeholder-color:var(--color--gray-400, #77777A);--ez-tag-input--background-color-disabled:var(--color--gray-90, #EAEAEA);--ez-tag-input--helptext-color:var(--color--ocean-green-1000, #00281D);display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;font-family:var(--font--pattern, \'Roboto\', Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);width:100%;border:none;padding:0}label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:var(--line-height--20, 20px);color:var(--ez-tag-input--label-color);font-weight:var(--ez-tag-input--label-font-weight)}.tag-input__container{display:flex;flex-wrap:wrap;align-items:center;width:100%;box-sizing:border-box;gap:var(--ez-tag-input--gap);padding:var(--ez-tag-input--padding);margin:var(--space--4, 4px) 0;background-color:var(--ez-tag-input--background-color);border-radius:var(--ez-tag-input--border-radius);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1)}.tag-input__container,.tag-input__container[data-state="default"]{box-shadow:0 0 0 1px var(--ez-tag-input--border-color-default)}.tag-input__container[data-state="error"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-error)}.tag-input__container[data-state="success"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-success)}.tag-input__container[data-state="warning"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-warning)}.tag-input__container:focus-within{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-focused)}input{flex:1;height:var(--space--24, 24px);background:transparent;border:none;outline:none;color:var(--ez-tag-input--input-color);font-family:var(--font--pattern, \'Roboto\');font-size:var(--ez-tag-input--input-font-size);font-weight:var(--font-weight--regular, 400);line-height:var(--line-height--20, 20px)}input::placeholder{color:var(--ez-tag-input--placeholder-color)}.tag-input__container[data-disabled="true"]{cursor:not-allowed;background:var(--ez-tag-input--background-color-disabled);box-shadow:0 0 0 1px var(--ez-tag-input--border-color-default)}.tag-input__container[data-disabled="true"]>*{cursor:not-allowed}input:read-only .tag-input__container>*{cursor:default}@keyframes ez-helptext-fadein{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}span{font-size:var(--font-size--xsmall, 10px);line-height:var(--line-height--16, 16px);overflow:hidden;text-overflow:ellipsis;animation:ez-helptext-fadein 0.3s ease;color:var(--ez-tag-input--helptext-color)}';export{n as ez_tag_input}
1
+ import{r as t,c as i,h as a,H as e,g as r}from"./p-23a36bb6.js";import{ElementIDUtils as s,KeyboardManager as o}from"@sankhyalabs/core";const n=class{constructor(a){t(this,a),this.ezChange=i(this,"ezChange",7),this.ezTagAdded=i(this,"ezTagAdded",7),this.ezTagRemoved=i(this,"ezTagRemoved",7),this.ezFocus=i(this,"ezFocus",7),this.ezBlur=i(this,"ezBlur",7),this.ezValidationError=i(this,"ezValidationError",7),this.ezType=i(this,"ezType",7),this.handleInputChange=t=>{this._inputElement.value=t.target.value,this.ezType.emit(this._inputElement.value)},this.handleInputKeyDown=t=>{"Backspace"===t.key&&""===this._inputElement.value&&this.tags.length>0&&!this.suppressBackspaceToRemove&&this.handleRemoveTag(this.tags[this.tags.length-1])},this.handleInputFocus=()=>{this.ezFocus.emit(this.tags)},this.handleInputBlur=()=>{this.ezBlur.emit(this.tags)},this.handleTagClick=(t,i)=>{this.enabled&&!this.readonly&&(this.handleRemoveTag(t),this.updateTagFocus(i))},this.handleClearInput=()=>{this._inputElement.value=""},this.label="",this.placeholder="",this.helpText=void 0,this.enabled=!0,this.readonly=!1,this.name=void 0,this.tags=[],this.maxTagLength=void 0,this.maxTags=void 0,this.allowDuplicates=!1,this.state="default",this.validator=void 0,this.suppressTagsKeyboardNavigation=!1,this.suppressBackspaceToRemove=!1}async setFocus(t){(null==t?void 0:t.selectText)&&this._inputElement.select(),(null==t?void 0:t.preventScroll)||this._inputElement.scrollIntoView({behavior:"smooth",block:"center"}),this._inputElement.focus({preventScroll:!0})}async setBlur(){this._inputElement.blur()}async addTag(t){return this.handleAddTag(t)}async removeTag(t){return this.handleRemoveTag(t)}async clearTags(){this.tags=[],this.ezChange.emit([...this.tags])}addInfoId(){this._element&&s.addIDInfo(this._element),this._inputElement&&s.addIDInfo(this._inputElement,"tag-input",{id:"embedded"})}initializeKeyboardManager(){this._keyboardManager=new o({propagate:!0,element:this._element}).bind("Enter",(()=>this.handleAddCurrentTag())).bind("Tab",(()=>this.handleAddCurrentTag())).bind("Escape",(()=>this.handleClearInput())).bind("ArrowLeft",(()=>this.handlePreviousTagFocus())).bind("ArrowRight",(()=>this.handleNextTagFocus()))}handleAddCurrentTag(){if(this._inputElement.value.trim()){const t=this.handleAddTag(this._inputElement.value);return t&&(this._inputElement.value=""),t}return!1}handleAddTag(t){const i=t.trim();if(!this.enabled||this.readonly)return!1;if(!i||0===i.length)return!1;if(this.maxTagLength&&i.length>this.maxTagLength)return!1;if(this.maxTags&&this.tags.length>=this.maxTags)return!1;if(!this.allowDuplicates&&this.tags.includes(i))return!1;if(this.validator){const t=this.validator(i,[...this.tags]);if(!1===t)return this.ezValidationError.emit({tag:i,error:void 0}),!1;if("string"==typeof t)return this.ezValidationError.emit({tag:i,error:t}),!1}return this.tags=[...this.tags,i],this.ezChange.emit([...this.tags]),this.ezTagAdded.emit(i),!0}async updateTagFocus(t){var i;if(!(null===(i=this.tags)||void 0===i?void 0:i.length)||this.suppressTagsKeyboardNavigation)return void await this.setFocus();if(!t)return;const a=this._element.shadowRoot.querySelector("#tag-"+(t-1));a&&await a.setFocus()}getCurrentActiveTagIndex(){var t;const i=this._element.shadowRoot.activeElement;if(!(null===(t=this.tags)||void 0===t?void 0:t.length)||"ez-chip"!==i.tagName.toLowerCase())return null;const a=parseInt(i.id.split("-")[1],10);return Number.isNaN(a)||a<0||a>=this.tags.length?null:a}async setTagFocus(t){const i=this._element.shadowRoot.querySelector(`#tag-${t}`);i&&await i.setFocus()}async handlePreviousTagFocus(){if(this.suppressTagsKeyboardNavigation||!this.enabled||this.readonly)return;if(this._element.shadowRoot.activeElement===this._inputElement)return void await this.setTagFocus(this.tags.length-1);const t=this.getCurrentActiveTagIndex();null!==t?0!==t&&await this.setTagFocus(t-1):await this.setFocus()}async handleNextTagFocus(){if(this.suppressTagsKeyboardNavigation||!this.enabled||this.readonly)return;const t=this.getCurrentActiveTagIndex();null===t||t>=this.tags.length-1?await this.setFocus():await this.setTagFocus(t+1)}handleRemoveTag(t){return!(!this.enabled||this.readonly)&&(-1!==this.tags.indexOf(t)&&(this.tags=this.tags.filter((i=>i!==t)),this.ezChange.emit([...this.tags]),this.ezTagRemoved.emit(t),!0))}async componentWillLoad(){this.tags||(this.tags=[])}componentDidLoad(){this.addInfoId(),this.initializeKeyboardManager()}disconnectedCallback(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}render(){return a(e,null,a("label",{htmlFor:this.name},this.label),a("div",{class:"tag-input__container","data-state":this.state,"data-disabled":(!this.enabled).toString(),onClick:()=>this.setFocus({preventScroll:!0})},this.tags.map(((t,i)=>a("ez-chip",{key:`tag-${i}`,id:`tag-${i}`,label:t,enabled:this.enabled&&!this.readonly,removePosition:this.enabled&&!this.readonly?"right":void 0,mode:"label",onRemoveChip:()=>this.handleTagClick(t,i),tabIndex:this.suppressTagsKeyboardNavigation||!this.enabled||this.readonly?-1:0,disableAutoUpdateValue:!0,removeWithKeyboard:!0}))),a("input",{ref:t=>this._inputElement=t,id:this.name,type:"text",placeholder:this.placeholder,disabled:!this.enabled,readonly:this.readonly,maxlength:this.maxTagLength,onInput:this.handleInputChange,onKeyDown:this.handleInputKeyDown,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur})),this.helpText&&a("span",{title:this.helpText},this.helpText))}get _element(){return r(this)}};n.style=':host{--ez-tag-input--background-color:var(--color--gray-70, #FFFFFF);--ez-tag-input--border-color-default:var(--color--gray-200, #D2D2D3);--ez-tag-input--border-color-focused:var(--color--gray-300, #A4A5A7);--ez-tag-input--border-color-error:var(--color--red-600, #BD0025);--ez-tag-input--border-color-success:var(--color--green-600, #157A00);--ez-tag-input--border-color-warning:var(--color--yellow-600, #EFB103);--ez-tag-input--border-radius:var(--border--radius-8, 8px);--ez-tag-input--padding:var(--space--12, 12px);--ez-tag-input--gap:var(--space--8, 8px);--ez-tag-input--label-color:var(--color--petroleum-900, #141B27);--ez-tag-input--label-font-weight:var(--font-weight--regular, 400);--ez-tag-input--input-color:var(--color--petroleum-900, #141B27);--ez-tag-input--input-font-size:var(--font-size--default, 14px);--ez-tag-input--placeholder-color:var(--color--gray-400, #77777A);--ez-tag-input--background-color-disabled:var(--color--gray-90, #EAEAEA);--ez-tag-input--helptext-color:var(--color--ocean-green-1000, #00281D);display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;font-family:var(--font--pattern, \'Roboto\', Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);width:100%;border:none;padding:0}label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:var(--line-height--20, 20px);color:var(--ez-tag-input--label-color);font-weight:var(--ez-tag-input--label-font-weight)}.tag-input__container{display:flex;flex-wrap:wrap;align-items:center;width:100%;box-sizing:border-box;gap:var(--ez-tag-input--gap);padding:var(--ez-tag-input--padding);margin:var(--space--4, 4px) 0;background-color:var(--ez-tag-input--background-color);border-radius:var(--ez-tag-input--border-radius);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1)}.tag-input__container,.tag-input__container[data-state="default"]{box-shadow:0 0 0 1px var(--ez-tag-input--border-color-default)}.tag-input__container[data-state="error"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-error)}.tag-input__container[data-state="success"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-success)}.tag-input__container[data-state="warning"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-warning)}.tag-input__container:focus-within{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-tag-input--border-color-focused)}input{flex:1;height:var(--space--24, 24px);background:transparent;border:none;outline:none;color:var(--ez-tag-input--input-color);font-family:var(--font--pattern, \'Roboto\');font-size:var(--ez-tag-input--input-font-size);font-weight:var(--font-weight--regular, 400);line-height:var(--line-height--20, 20px)}input::placeholder{color:var(--ez-tag-input--placeholder-color)}.tag-input__container[data-disabled="true"]{cursor:not-allowed;background:var(--ez-tag-input--background-color-disabled);box-shadow:0 0 0 1px var(--ez-tag-input--border-color-default)}.tag-input__container[data-disabled="true"]>*{cursor:not-allowed}input:read-only .tag-input__container>*{cursor:default}@keyframes ez-helptext-fadein{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}span{font-size:var(--font-size--xsmall, 10px);line-height:var(--line-height--16, 16px);overflow:hidden;text-overflow:ellipsis;animation:ez-helptext-fadein 0.3s ease;color:var(--ez-tag-input--helptext-color)}';export{n as ez_tag_input}
@@ -1 +1 @@
1
- import{r,h as e,H as s}from"./p-e4c7eb39.js";const a=class{constructor(e){r(this,e),this.percent=void 0,this.label=void 0,this.helpText=void 0}renderHeader(){if(this.label)return e("div",{class:"ez-progress-bar__header"},e("span",{class:"ez-progress-bar__header-label"},this.label),e("span",{class:"ez-progress-bar__header-percent"},this.percent,"%"))}renderHelpText(){if(this.helpText)return e("div",{class:"ez-progress-bar__help-text"},this.helpText)}render(){return e(s,null,this.renderHeader(),e("div",{class:"progress-bar__container"},e("div",{class:"progress-bar__content",style:{width:`${this.percent}%`}})),this.renderHelpText())}};a.style=".sc-ez-progress-bar-h{--ez-progress-bar-container-height:var(--space--16, 16px);--ez-progress-bar-radius:var(--border--radius-10, 10px);--ez-progress-bar-container-background:var(--background--medium, #F0F3F7);--ez-progress-bar-container-border:1px solid var(--color--strokes, #DCE0E8);--ez-progress-bar-height:var(--space--12, 12px);--ez-progress-bar-background:var(--color--primary, #008561);--ez-progress-bar-font-size:var(--text--medium, 14px);--ez-progress-bar-header-color:var(--color--ocean-green-1000, #00281D);--ez-progress-bar-gap:var(--space--6, 6px);--ez-progress-bar-help-text-color:var(--color--ocean-green-1000, #00281D);--ez-progress-bar-help-text-font-size:var(--text--small, 12px);display:flex;flex-direction:column;width:100%;gap:var(--ez-progress-bar-gap)}.ez-progress-bar__header.sc-ez-progress-bar{display:flex;flex-direction:row;justify-content:space-between;color:var(--ez-progress-bar-header-color);font-size:var(--ez-progress-bar-font-size)}.progress-bar__container.sc-ez-progress-bar{width:100%;display:flex;align-items:center;justify-content:start;height:var(--ez-progress-bar-container-height);border-radius:var(--ez-progress-bar-radius);background:var(--ez-progress-bar-container-background);border:var(--ez-progress-bar-container-border);padding:var(--space--2, 2px)}.progress-bar__content.sc-ez-progress-bar{height:var(--ez-progress-bar-height);background:var(--ez-progress-bar-background);border-radius:var(--ez-progress-bar-radius)}.ez-progress-bar__help-text.sc-ez-progress-bar{color:var(--ez-progress-bar-help-text-color);font-size:var(--ez-progress-bar-help-text-font-size)}";export{a as ez_progress_bar}
1
+ import{r,h as e,H as s}from"./p-23a36bb6.js";const a=class{constructor(e){r(this,e),this.percent=void 0,this.label=void 0,this.helpText=void 0}renderHeader(){if(this.label)return e("div",{class:"ez-progress-bar__header"},e("span",{class:"ez-progress-bar__header-label"},this.label),e("span",{class:"ez-progress-bar__header-percent"},this.percent,"%"))}renderHelpText(){if(this.helpText)return e("div",{class:"ez-progress-bar__help-text"},this.helpText)}render(){return e(s,null,this.renderHeader(),e("div",{class:"progress-bar__container"},e("div",{class:"progress-bar__content",style:{width:`${this.percent}%`}})),this.renderHelpText())}};a.style=".sc-ez-progress-bar-h{--ez-progress-bar-container-height:var(--space--16, 16px);--ez-progress-bar-radius:var(--border--radius-10, 10px);--ez-progress-bar-container-background:var(--background--medium, #F0F3F7);--ez-progress-bar-container-border:1px solid var(--color--strokes, #DCE0E8);--ez-progress-bar-height:var(--space--12, 12px);--ez-progress-bar-background:var(--color--primary, #008561);--ez-progress-bar-font-size:var(--text--medium, 14px);--ez-progress-bar-header-color:var(--color--ocean-green-1000, #00281D);--ez-progress-bar-gap:var(--space--6, 6px);--ez-progress-bar-help-text-color:var(--color--ocean-green-1000, #00281D);--ez-progress-bar-help-text-font-size:var(--text--small, 12px);display:flex;flex-direction:column;width:100%;gap:var(--ez-progress-bar-gap)}.ez-progress-bar__header.sc-ez-progress-bar{display:flex;flex-direction:row;justify-content:space-between;color:var(--ez-progress-bar-header-color);font-size:var(--ez-progress-bar-font-size)}.progress-bar__container.sc-ez-progress-bar{width:100%;display:flex;align-items:center;justify-content:start;height:var(--ez-progress-bar-container-height);border-radius:var(--ez-progress-bar-radius);background:var(--ez-progress-bar-container-background);border:var(--ez-progress-bar-container-border);padding:var(--space--2, 2px)}.progress-bar__content.sc-ez-progress-bar{height:var(--ez-progress-bar-height);background:var(--ez-progress-bar-background);border-radius:var(--ez-progress-bar-radius)}.ez-progress-bar__help-text.sc-ez-progress-bar{color:var(--ez-progress-bar-help-text-color);font-size:var(--ez-progress-bar-help-text-font-size)}";export{a as ez_progress_bar}
@@ -1 +1 @@
1
- import{r as o,h as a,H as r,g as e}from"./p-e4c7eb39.js";import{ElementIDUtils as l}from"@sankhyalabs/core";const t=class{constructor(a){o(this,a),this.label=void 0,this.color="ocean-green",this.customBackgroundColor=void 0,this.customLabelColor=void 0}componentDidLoad(){this._element&&l.addIDInfo(this._element),this._tag&&l.addIDInfo(this._tag,"EzTag",{id:"embedded"})}validateLabel(){return this.label&&""!==this.label.trim()}render(){const o=Object.assign({},this.customBackgroundColor&&{"--ez-tag--custom-background-color":`var(${this.customBackgroundColor})`},this.customLabelColor&&{"--ez-tag_label--custom-color":`var(${this.customLabelColor})`});return a(r,{style:o},a("div",{ref:o=>{this._tag=o},class:`tag ${this.color||""}`},this.validateLabel()&&a("label",{title:this.label},this.label)))}get _element(){return e(this)}};t.style=":host{--ez-tag--padding-x:var(--space--8, 8px);--ez-tag--padding-y:var(--space--4, 4px);--ez-tag--min-width:var(--space--6, 6px);--ez-tag--min-height:var(--space--14, 14px);--ez-tag--border-radius:var(--border--radius-24, 24px);--ez-tag--background-color:var(--color--ocean-green-600, #008561);--ez-tag_label--font-weight:var(--font-weight--regular, 400);--ez-tag_label--font-size:var(--font-size--default, 14px);--ez-tag_label--color:var(--color--gray-70, #FFFFFF)}.tag{background-color:var(--ez-tag--custom-background-color, var(--ez-tag--background-color));padding:var(--ez-tag--padding-y) var(--ez-tag--padding-x);border-radius:var(--ez-tag--border-radius);min-width:var(--ez-tag--min-width);min-height:var(--ez-tag--min-height);display:inline-flex;justify-content:center;align-items:center}label{font-weight:var(--ez-tag_label--font-weight);font-size:var(--ez-tag_label--font-size);color:var(--ez-tag_label--custom-color, var(--ez-tag_label--color));font-family:var(--font--pattern, Arial);line-height:var(--ez-tag_label--font-size);text-align:center;line-height:normal}.light-ocean-green{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--ocean-green-100));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--ocean-green-600))}.green{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--green-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-70))}.light-green{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--green-200));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--green-600))}.yellow{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--yellow-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--yellow-900))}.light-yellow{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--yellow-200));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--yellow-800))}.red{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--red-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-70))}.light-red{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--red-200));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--red-600))}.gray{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--gray-500));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-100))}.light-gray{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--gray-100));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-400))}.petroleum{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--petroleum-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--petroleum-200))}.light-petroleum{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--petroleum-100));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--petroleum-400))}";export{t as ez_tag}
1
+ import{r as o,h as a,H as r,g as e}from"./p-23a36bb6.js";import{ElementIDUtils as l}from"@sankhyalabs/core";const t=class{constructor(a){o(this,a),this.label=void 0,this.color="ocean-green",this.customBackgroundColor=void 0,this.customLabelColor=void 0}componentDidLoad(){this._element&&l.addIDInfo(this._element),this._tag&&l.addIDInfo(this._tag,"EzTag",{id:"embedded"})}validateLabel(){return this.label&&""!==this.label.trim()}render(){const o=Object.assign({},this.customBackgroundColor&&{"--ez-tag--custom-background-color":`var(${this.customBackgroundColor})`},this.customLabelColor&&{"--ez-tag_label--custom-color":`var(${this.customLabelColor})`});return a(r,{style:o},a("div",{ref:o=>{this._tag=o},class:`tag ${this.color||""}`},this.validateLabel()&&a("label",{title:this.label},this.label)))}get _element(){return e(this)}};t.style=":host{--ez-tag--padding-x:var(--space--8, 8px);--ez-tag--padding-y:var(--space--4, 4px);--ez-tag--min-width:var(--space--6, 6px);--ez-tag--min-height:var(--space--14, 14px);--ez-tag--border-radius:var(--border--radius-24, 24px);--ez-tag--background-color:var(--color--ocean-green-600, #008561);--ez-tag_label--font-weight:var(--font-weight--regular, 400);--ez-tag_label--font-size:var(--font-size--default, 14px);--ez-tag_label--color:var(--color--gray-70, #FFFFFF)}.tag{background-color:var(--ez-tag--custom-background-color, var(--ez-tag--background-color));padding:var(--ez-tag--padding-y) var(--ez-tag--padding-x);border-radius:var(--ez-tag--border-radius);min-width:var(--ez-tag--min-width);min-height:var(--ez-tag--min-height);display:inline-flex;justify-content:center;align-items:center}label{font-weight:var(--ez-tag_label--font-weight);font-size:var(--ez-tag_label--font-size);color:var(--ez-tag_label--custom-color, var(--ez-tag_label--color));font-family:var(--font--pattern, Arial);line-height:var(--ez-tag_label--font-size);text-align:center;line-height:normal}.light-ocean-green{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--ocean-green-100));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--ocean-green-600))}.green{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--green-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-70))}.light-green{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--green-200));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--green-600))}.yellow{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--yellow-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--yellow-900))}.light-yellow{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--yellow-200));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--yellow-800))}.red{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--red-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-70))}.light-red{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--red-200));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--red-600))}.gray{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--gray-500));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-100))}.light-gray{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--gray-100));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--gray-400))}.petroleum{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--petroleum-600));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--petroleum-200))}.light-petroleum{--ez-tag--background-color:var(--ez-tag--custom-background-color, var(--color--petroleum-100));--ez-tag_label--color:var(--ez-tag_label--custom-color, var(--color--petroleum-400))}";export{t as ez_tag}
@@ -1 +1 @@
1
- import{r as e,c as t,h as i,H as a,F as s}from"./p-e4c7eb39.js";import{a as o,b as r,R as l}from"./p-3e767a74.js";import{i as n}from"./p-a61fdd20.js";import"@sankhyalabs/core";const c=class{constructor(i){e(this,i),this.executeToolbarCommand=t(this,"executeToolbarCommand",7),this.textToShow=void 0,this.link=void 0,this.openInNewGuide=!1}async show(e){this._popupElement.opened=!0,e&&(this.textToShow=e)}async hide(){this._popupElement.opened=!1}async componentWillLoad(){this.i18n=await n()}async handleCancel(){this.clearValues(),this.executeToolbarCommand.emit({command:o.FOCUS}),await this.hide()}clearValues(){this.link="",this.textToShow="",this.openInNewGuide=!1}async handleCreateLink(){this.executeToolbarCommand.emit({command:o.FORMAT,value:`<a href="${this.link}" ${this.openInNewGuide?'target="_blank" rel="noopener noreferrer"':""}>${this.textToShow?this.textToShow:this.link}</a>`}),this.clearValues(),await this.hide()}async handleActionPopup(e){"OK"!==e.detail?"CANCEL"!==e.detail&&"CLOSE"!==e.detail||await this.handleCancel():await this.handleCreateLink()}getOkButtonStatus(){var e;return(null===(e=this.link)||void 0===e?void 0:e.trim())?"ENABLED":"DISABLED"}render(){return i("ez-popup",{heightMode:"auto",size:"small",useHeader:!1,ref:e=>this._popupElement=e,onEzClosePopup:()=>this.clearValues()},i("div",null,i("ez-modal-container",{modalTitle:this.i18n("ez-link-builder.addLinkTitle"),modalSubTitle:this.i18n("ez-link-builder.addLinkSubtitle"),okButtonLabel:this.i18n("ez-link-builder.submit"),cancelButtonLabel:this.i18n("app.cancel"),onEzModalAction:this.handleActionPopup.bind(this),okButtonStatus:this.getOkButtonStatus()},i("div",{class:"link-builder-container"},i("ez-text-input",{id:"link_url_input",label:this.i18n("ez-link-builder.urlInputLabel"),value:this.link,onEzChange:e=>this.link=e.detail}),i("ez-text-input",{id:"link_text_input",label:this.i18n("ez-link-builder.textInputLabel"),value:this.textToShow,onEzChange:e=>this.textToShow=e.detail}),i("ez-check",{label:this.i18n("ez-link-builder.openInNewPage"),value:this.openInNewGuide,onEzChange:e=>this.openInNewGuide=e.detail})))))}};c.style=".link-builder-container.sc-ez-link-builder{font-family:'Roboto';color:#2b3a54;display:flex;flex-direction:column;gap:10px;justify-content:space-between}.header.sc-ez-link-builder{display:flex;font-weight:500;font-size:16px}.actions.sc-ez-link-builder{display:flex;justify-content:flex-end;gap:12px;margin-top:12px;width:100%}";const h=class{constructor(i){e(this,i),this.executeToolbarCommand=t(this,"executeToolbarCommand",7),this.showPreview=!0,this.isPreviewMode=!1,this.showConfigs=!0,this.showTextFormat=!0,this.showUndoRedo=!0}async componentWillLoad(){this.i18n=await n()}handleActionTriggered(e){this.executeToolbarCommand.emit({command:e.detail.command,value:e.detail.value})}handleClickPreview(){this.executeToolbarCommand.emit({command:o.PREVIEW})}renderArrows(){if(this.showUndoRedo)return i("div",{id:"rich-toolbar-undo-redo",class:"taskbar-group"},i("ez-rich-toolbar-arrows",null))}renderLetters(){if(this.showTextFormat)return i("div",{id:"rich-toolbar-text-format",class:"taskbar-group"},i("ez-rich-toolbar-letters",null))}renderConfigs(){if(this.showConfigs)return i("div",{id:"rich-toolbar-options-configs",class:"taskbar-group"},i("ez-rich-toolbar-configs",null))}renderPreview(){if(this.showPreview)return i("div",{class:"taskbar-group"},i("span",{id:"rich-text-preview-btn",class:"preview-btn",title:this.getPreviewTitle(),onClick:this.handleClickPreview.bind(this)},this.i18n(this.isPreviewMode?"ez-rich-text.edit":"ez-rich-text.preview")))}getPreviewTitle(){return this.i18n(this.isPreviewMode?"ez-rich-text.title.edit":"ez-rich-text.title.preview")}render(){return i(a,null,i("div",{class:"taskbar"},this.renderPreview(),this.renderArrows(),this.renderLetters(),this.renderConfigs()))}};h.style=".sc-ez-rich-toolbar-h{display:block;width:100%}.taskbar.sc-ez-rich-toolbar{display:flex;padding:8px;border-radius:4px 4px 0 0}.taskbar-group.sc-ez-rich-toolbar{display:flex;margin-right:15px;padding-right:15px;border-right:1px solid #ddd}.taskbar-group.sc-ez-rich-toolbar:last-child{border-right:none}.preview-btn.sc-ez-rich-toolbar{font-family:Roboto;font-size:14px;background:none;display:flex;align-items:center;padding:0 8px;border-radius:4px;cursor:pointer;color:var(--color--secondary, #383c45);transition:0.3s all ease-in-out;width:110px;justify-content:center}.preview-btn.sc-ez-rich-toolbar:hover{background-color:#f5f5f5}";const d=class{constructor(t){e(this,t)}async componentWillLoad(){this.i18n=await n()}render(){return i(a,null,i("ez-rich-toolbar-item",{icon:r.UNDO,command:o.UNDO,title:this.i18n("ez-rich-text.title.undo")}),i("ez-rich-toolbar-item",{icon:r.REDO,command:o.REDO,title:this.i18n("ez-rich-text.title.redo")}))}};d.style=".sc-ez-rich-toolbar-arrows-h{display:flex;gap:5px}";const p=class{constructor(t){e(this,t)}async componentWillLoad(){this.i18n=await n()}render(){return i(a,null,i("ez-rich-toolbar-item",{icon:r.LIST,command:o.FORMAT,value:l.LIST,title:this.i18n("ez-rich-text.title.list")}),i("ez-rich-toolbar-item",{icon:r.IMAGE,command:o.IMAGE,title:this.i18n("ez-rich-text.title.image")}),i("ez-rich-toolbar-item",{icon:r.LINK,command:o.LINK,title:this.i18n("ez-rich-text.title.link")}))}};p.style=".sc-ez-rich-toolbar-configs-h{display:flex;gap:5px}";const u=class{constructor(t){e(this,t)}async componentWillLoad(){this.i18n=await n()}render(){return i(a,null,i("ez-rich-toolbar-item",{icon:r.BOLD,command:o.FORMAT,value:l.BOLD,title:this.i18n("ez-rich-text.title.bold")}),i("ez-rich-toolbar-item",{icon:r.ITALIC,command:o.FORMAT,value:l.ITALIC,title:this.i18n("ez-rich-text.title.italic")}),i("ez-rich-toolbar-item",{icon:r.UNDERLINE,command:o.FORMAT,value:l.UNDERLINE,title:this.i18n("ez-rich-text.title.underline")}))}};function m(e,t=1){if(0===e)return"0 Bytes";const i=t<0?0:t,a=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,a)).toFixed(i))+" "+["Bytes","Kilobytes","Megabytes","Gigabytes","Terabytes","Petabytes","Exabytes","Zettabytes","Yottabytes"][a]}u.style=".sc-ez-rich-toolbar-letters-h{display:flex;gap:5px}";const b=class{constructor(i){e(this,i),this.executeToolbarCommand=t(this,"executeToolbarCommand",7),this.link=void 0,this.base64=void 0,this.messageError=void 0,this.selectedFile=void 0,this.maxSize=500}async show(){this._popupElement.opened=!0}async hide(){this._popupElement.opened=!1}async componentWillLoad(){this.i18n=await n()}async handleCancel(){this.removeSelectedFile(),this.executeToolbarCommand.emit({command:o.FOCUS}),await this.hide()}removeSelectedFile(e){null==e||e.stopPropagation(),this.link=void 0,this.base64=void 0,this.selectedFile=void 0,this.messageError=void 0}triggerFileSelect(){this.selectedFile||this._fileInput.click()}async handleImage(e){const t=e&&e[0];t&&(t.size<1e3*this.maxSize?(this.selectedFile=t,this.base64=await function(e){return new Promise(((t,i)=>{try{const i=new FileReader;i.onload=()=>{t(i.result)},i.readAsDataURL(e)}catch(e){i(e)}}))}(t)):this.messageError=this.i18n("ez-simple-image-uploader.imageTooLarge",{maxSize:m(this.maxSize)}))}getFileList(e){return e instanceof DragEvent?Array.from(e.dataTransfer.files):e.target.files}handleFileChange(e){e.preventDefault(),this.messageError=void 0,this._dropZone.classList.remove("dragging");const t=this.getFileList(e);this.handleImage(t),e.target.value=""}handleDragOver(e){e.stopPropagation(),e.preventDefault()}handleDragEnter(e){e.preventDefault(),this._dropZone.classList.add("dragging")}handleDragLeave(e){e.preventDefault(),this._dropZone.contains(e.relatedTarget)||this._dropZone.classList.remove("dragging")}async handleActionPopup(e){"OK"===e.detail?await this.handleCreateImgTag():"CANCEL"!==e.detail&&"CLOSE"!==e.detail||await this.handleCancel()}async handleCreateImgTag(){var e;const t=`<img src="${null!==(e=this.base64)&&void 0!==e?e:this.link}" alt="${this.i18n("ez-simple-image-uploader.imageAlt")}" />`;this.executeToolbarCommand.emit({command:o.FORMAT,value:t}),this.removeSelectedFile(),await this.hide()}getOkButtonStatus(){var e;return this.base64||(null===(e=this.link)||void 0===e?void 0:e.trim())?"ENABLED":"DISABLED"}render(){return i("ez-popup",{ref:e=>this._popupElement=e,heightMode:"auto",size:"small",useHeader:!1,onEzClosePopup:()=>this.handleCancel()},i("div",null,i("ez-modal-container",{modalTitle:this.i18n("ez-simple-image-uploader.uploadTitle"),modalSubTitle:this.i18n("ez-simple-image-uploader.uploadSubtitle"),okButtonLabel:this.i18n("ez-simple-image-uploader.submit"),cancelButtonLabel:this.i18n("app.cancel"),onEzModalAction:this.handleActionPopup.bind(this),okButtonStatus:this.getOkButtonStatus()},i("div",{class:"image-uploader-container"},i("ez-tooltip",{message:this.i18n("ez-simple-image-uploader.tooltipMessage"),active:!!this.selectedFile},i("ez-text-input",{label:this.i18n("ez-simple-image-uploader.urlInputLabel"),value:this.link,onEzChange:e=>this.link=e.detail,enabled:!this.selectedFile})),i("span",null,this.i18n("ez-simple-image-uploader.orText")),i("section",{class:"drop-zone-section"},i("div",{ref:e=>this._dropZone=e,class:"drop-zone",onDrop:e=>this.handleFileChange(e),onDragOver:e=>this.handleDragOver(e),onDragEnter:e=>this.handleDragEnter(e),onDragLeave:e=>this.handleDragLeave(e)},i("div",{class:{"drop-zone-container":!0,clickable:!this.selectedFile},onClick:()=>this.triggerFileSelect()},this.selectedFile?i(s,null,i("span",{class:"ez-text ez-text--primary ez-text--medium"},this.selectedFile.name," (",m(this.selectedFile.size),")"),i("button",{class:"button-close",onClick:e=>this.removeSelectedFile(e),title:this.i18n("ez-simple-image-uploader.removeFile")},i("ez-icon",{iconName:"close"}))):i(s,null,i("ez-icon",{iconName:"anexo"}),i("span",{class:"ez-text ez-text--primary ez-text--medium"},this.i18n("ez-simple-image-uploader.dragDropText")))),i("input",{ref:e=>this._fileInput=e,type:"file",accept:"image/*",style:{display:"none"},onChange:e=>this.handleFileChange(e)})),!!this.messageError&&i("span",{class:"text-error"},this.messageError))))))}};b.style='.image-uploader-container.sc-ez-simple-image-uploader{font-family:"Roboto";color:#2b3a54;display:flex;flex-direction:column;gap:var(--space--10, 10px);justify-content:space-between;align-items:center;padding-bottom:var(--space--8, 8px)}.header.sc-ez-simple-image-uploader{display:flex;font-weight:500;font-size:var(--font-size--medium, 16px)}.actions.sc-ez-simple-image-uploader{display:flex;justify-content:flex-end;gap:var(--space--12, 12px);margin-top:var(--space--12, 12px);width:100%}.drop-zone-section.sc-ez-simple-image-uploader{width:100%}.drop-zone.sc-ez-simple-image-uploader{display:flex;flex-wrap:wrap;background-color:var(--color--petroleum-70, #F4F6F9);padding:var(--space--6, 6px);width:100%;border-radius:var(--space--12, 12px);box-sizing:border-box;min-height:100px}.clickable.sc-ez-simple-image-uploader{cursor:pointer}.dragging.sc-ez-simple-image-uploader{background-color:var(--color--petroleum-100, #C8CCD3)}.drop-zone-container.sc-ez-simple-image-uploader{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;border:2px dashed var(--color-strokes, #DCE0E8);border-radius:6px;box-sizing:border-box}.text-error.sc-ez-simple-image-uploader{font-family:var(--font--pattern, "Roboto");color:var(--color--red-600, #BD0025);font-size:var(--font-size--small, 12px)}.button-close.sc-ez-simple-image-uploader{border:none;background:none;cursor:pointer}';export{c as ez_link_builder,h as ez_rich_toolbar,d as ez_rich_toolbar_arrows,p as ez_rich_toolbar_configs,u as ez_rich_toolbar_letters,b as ez_simple_image_uploader}
1
+ import{r as e,c as t,h as i,H as a,F as s}from"./p-23a36bb6.js";import{a as o,b as r,R as l}from"./p-3e767a74.js";import{i as n}from"./p-641ee538.js";import"@sankhyalabs/core";const c=class{constructor(i){e(this,i),this.executeToolbarCommand=t(this,"executeToolbarCommand",7),this.textToShow=void 0,this.link=void 0,this.openInNewGuide=!1}async show(e){this._popupElement.opened=!0,e&&(this.textToShow=e)}async hide(){this._popupElement.opened=!1}async componentWillLoad(){this.i18n=await n()}async handleCancel(){this.clearValues(),this.executeToolbarCommand.emit({command:o.FOCUS}),await this.hide()}clearValues(){this.link="",this.textToShow="",this.openInNewGuide=!1}async handleCreateLink(){this.executeToolbarCommand.emit({command:o.FORMAT,value:`<a href="${this.link}" ${this.openInNewGuide?'target="_blank" rel="noopener noreferrer"':""}>${this.textToShow?this.textToShow:this.link}</a>`}),this.clearValues(),await this.hide()}async handleActionPopup(e){"OK"!==e.detail?"CANCEL"!==e.detail&&"CLOSE"!==e.detail||await this.handleCancel():await this.handleCreateLink()}getOkButtonStatus(){var e;return(null===(e=this.link)||void 0===e?void 0:e.trim())?"ENABLED":"DISABLED"}render(){return i("ez-popup",{heightMode:"auto",size:"small",useHeader:!1,ref:e=>this._popupElement=e,onEzClosePopup:()=>this.clearValues()},i("div",null,i("ez-modal-container",{modalTitle:this.i18n("ez-link-builder.addLinkTitle"),modalSubTitle:this.i18n("ez-link-builder.addLinkSubtitle"),okButtonLabel:this.i18n("ez-link-builder.submit"),cancelButtonLabel:this.i18n("app.cancel"),onEzModalAction:this.handleActionPopup.bind(this),okButtonStatus:this.getOkButtonStatus()},i("div",{class:"link-builder-container"},i("ez-text-input",{id:"link_url_input",label:this.i18n("ez-link-builder.urlInputLabel"),value:this.link,onEzChange:e=>this.link=e.detail}),i("ez-text-input",{id:"link_text_input",label:this.i18n("ez-link-builder.textInputLabel"),value:this.textToShow,onEzChange:e=>this.textToShow=e.detail}),i("ez-check",{label:this.i18n("ez-link-builder.openInNewPage"),value:this.openInNewGuide,onEzChange:e=>this.openInNewGuide=e.detail})))))}};c.style=".link-builder-container.sc-ez-link-builder{font-family:'Roboto';color:#2b3a54;display:flex;flex-direction:column;gap:10px;justify-content:space-between}.header.sc-ez-link-builder{display:flex;font-weight:500;font-size:16px}.actions.sc-ez-link-builder{display:flex;justify-content:flex-end;gap:12px;margin-top:12px;width:100%}";const h=class{constructor(i){e(this,i),this.executeToolbarCommand=t(this,"executeToolbarCommand",7),this.showPreview=!0,this.isPreviewMode=!1,this.showConfigs=!0,this.showTextFormat=!0,this.showUndoRedo=!0}async componentWillLoad(){this.i18n=await n()}handleActionTriggered(e){this.executeToolbarCommand.emit({command:e.detail.command,value:e.detail.value})}handleClickPreview(){this.executeToolbarCommand.emit({command:o.PREVIEW})}renderArrows(){if(this.showUndoRedo)return i("div",{id:"rich-toolbar-undo-redo",class:"taskbar-group"},i("ez-rich-toolbar-arrows",null))}renderLetters(){if(this.showTextFormat)return i("div",{id:"rich-toolbar-text-format",class:"taskbar-group"},i("ez-rich-toolbar-letters",null))}renderConfigs(){if(this.showConfigs)return i("div",{id:"rich-toolbar-options-configs",class:"taskbar-group"},i("ez-rich-toolbar-configs",null))}renderPreview(){if(this.showPreview)return i("div",{class:"taskbar-group"},i("span",{id:"rich-text-preview-btn",class:"preview-btn",title:this.getPreviewTitle(),onClick:this.handleClickPreview.bind(this)},this.i18n(this.isPreviewMode?"ez-rich-text.edit":"ez-rich-text.preview")))}getPreviewTitle(){return this.i18n(this.isPreviewMode?"ez-rich-text.title.edit":"ez-rich-text.title.preview")}render(){return i(a,null,i("div",{class:"taskbar"},this.renderPreview(),this.renderArrows(),this.renderLetters(),this.renderConfigs()))}};h.style=".sc-ez-rich-toolbar-h{display:block;width:100%}.taskbar.sc-ez-rich-toolbar{display:flex;padding:8px;border-radius:4px 4px 0 0}.taskbar-group.sc-ez-rich-toolbar{display:flex;margin-right:15px;padding-right:15px;border-right:1px solid #ddd}.taskbar-group.sc-ez-rich-toolbar:last-child{border-right:none}.preview-btn.sc-ez-rich-toolbar{font-family:Roboto;font-size:14px;background:none;display:flex;align-items:center;padding:0 8px;border-radius:4px;cursor:pointer;color:var(--color--secondary, #383c45);transition:0.3s all ease-in-out;width:110px;justify-content:center}.preview-btn.sc-ez-rich-toolbar:hover{background-color:#f5f5f5}";const d=class{constructor(t){e(this,t)}async componentWillLoad(){this.i18n=await n()}render(){return i(a,null,i("ez-rich-toolbar-item",{icon:r.UNDO,command:o.UNDO,title:this.i18n("ez-rich-text.title.undo")}),i("ez-rich-toolbar-item",{icon:r.REDO,command:o.REDO,title:this.i18n("ez-rich-text.title.redo")}))}};d.style=".sc-ez-rich-toolbar-arrows-h{display:flex;gap:5px}";const p=class{constructor(t){e(this,t)}async componentWillLoad(){this.i18n=await n()}render(){return i(a,null,i("ez-rich-toolbar-item",{icon:r.LIST,command:o.FORMAT,value:l.LIST,title:this.i18n("ez-rich-text.title.list")}),i("ez-rich-toolbar-item",{icon:r.IMAGE,command:o.IMAGE,title:this.i18n("ez-rich-text.title.image")}),i("ez-rich-toolbar-item",{icon:r.LINK,command:o.LINK,title:this.i18n("ez-rich-text.title.link")}))}};p.style=".sc-ez-rich-toolbar-configs-h{display:flex;gap:5px}";const u=class{constructor(t){e(this,t)}async componentWillLoad(){this.i18n=await n()}render(){return i(a,null,i("ez-rich-toolbar-item",{icon:r.BOLD,command:o.FORMAT,value:l.BOLD,title:this.i18n("ez-rich-text.title.bold")}),i("ez-rich-toolbar-item",{icon:r.ITALIC,command:o.FORMAT,value:l.ITALIC,title:this.i18n("ez-rich-text.title.italic")}),i("ez-rich-toolbar-item",{icon:r.UNDERLINE,command:o.FORMAT,value:l.UNDERLINE,title:this.i18n("ez-rich-text.title.underline")}))}};function m(e,t=1){if(0===e)return"0 Bytes";const i=t<0?0:t,a=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,a)).toFixed(i))+" "+["Bytes","Kilobytes","Megabytes","Gigabytes","Terabytes","Petabytes","Exabytes","Zettabytes","Yottabytes"][a]}u.style=".sc-ez-rich-toolbar-letters-h{display:flex;gap:5px}";const b=class{constructor(i){e(this,i),this.executeToolbarCommand=t(this,"executeToolbarCommand",7),this.link=void 0,this.base64=void 0,this.messageError=void 0,this.selectedFile=void 0,this.maxSize=500}async show(){this._popupElement.opened=!0}async hide(){this._popupElement.opened=!1}async componentWillLoad(){this.i18n=await n()}async handleCancel(){this.removeSelectedFile(),this.executeToolbarCommand.emit({command:o.FOCUS}),await this.hide()}removeSelectedFile(e){null==e||e.stopPropagation(),this.link=void 0,this.base64=void 0,this.selectedFile=void 0,this.messageError=void 0}triggerFileSelect(){this.selectedFile||this._fileInput.click()}async handleImage(e){const t=e&&e[0];t&&(t.size<1e3*this.maxSize?(this.selectedFile=t,this.base64=await function(e){return new Promise(((t,i)=>{try{const i=new FileReader;i.onload=()=>{t(i.result)},i.readAsDataURL(e)}catch(e){i(e)}}))}(t)):this.messageError=this.i18n("ez-simple-image-uploader.imageTooLarge",{maxSize:m(this.maxSize)}))}getFileList(e){return e instanceof DragEvent?Array.from(e.dataTransfer.files):e.target.files}handleFileChange(e){e.preventDefault(),this.messageError=void 0,this._dropZone.classList.remove("dragging");const t=this.getFileList(e);this.handleImage(t),e.target.value=""}handleDragOver(e){e.stopPropagation(),e.preventDefault()}handleDragEnter(e){e.preventDefault(),this._dropZone.classList.add("dragging")}handleDragLeave(e){e.preventDefault(),this._dropZone.contains(e.relatedTarget)||this._dropZone.classList.remove("dragging")}async handleActionPopup(e){"OK"===e.detail?await this.handleCreateImgTag():"CANCEL"!==e.detail&&"CLOSE"!==e.detail||await this.handleCancel()}async handleCreateImgTag(){var e;const t=`<img src="${null!==(e=this.base64)&&void 0!==e?e:this.link}" alt="${this.i18n("ez-simple-image-uploader.imageAlt")}" />`;this.executeToolbarCommand.emit({command:o.FORMAT,value:t}),this.removeSelectedFile(),await this.hide()}getOkButtonStatus(){var e;return this.base64||(null===(e=this.link)||void 0===e?void 0:e.trim())?"ENABLED":"DISABLED"}render(){return i("ez-popup",{ref:e=>this._popupElement=e,heightMode:"auto",size:"small",useHeader:!1,onEzClosePopup:()=>this.handleCancel()},i("div",null,i("ez-modal-container",{modalTitle:this.i18n("ez-simple-image-uploader.uploadTitle"),modalSubTitle:this.i18n("ez-simple-image-uploader.uploadSubtitle"),okButtonLabel:this.i18n("ez-simple-image-uploader.submit"),cancelButtonLabel:this.i18n("app.cancel"),onEzModalAction:this.handleActionPopup.bind(this),okButtonStatus:this.getOkButtonStatus()},i("div",{class:"image-uploader-container"},i("ez-tooltip",{message:this.i18n("ez-simple-image-uploader.tooltipMessage"),active:!!this.selectedFile},i("ez-text-input",{label:this.i18n("ez-simple-image-uploader.urlInputLabel"),value:this.link,onEzChange:e=>this.link=e.detail,enabled:!this.selectedFile})),i("span",null,this.i18n("ez-simple-image-uploader.orText")),i("section",{class:"drop-zone-section"},i("div",{ref:e=>this._dropZone=e,class:"drop-zone",onDrop:e=>this.handleFileChange(e),onDragOver:e=>this.handleDragOver(e),onDragEnter:e=>this.handleDragEnter(e),onDragLeave:e=>this.handleDragLeave(e)},i("div",{class:{"drop-zone-container":!0,clickable:!this.selectedFile},onClick:()=>this.triggerFileSelect()},this.selectedFile?i(s,null,i("span",{class:"ez-text ez-text--primary ez-text--medium"},this.selectedFile.name," (",m(this.selectedFile.size),")"),i("button",{class:"button-close",onClick:e=>this.removeSelectedFile(e),title:this.i18n("ez-simple-image-uploader.removeFile")},i("ez-icon",{iconName:"close"}))):i(s,null,i("ez-icon",{iconName:"anexo"}),i("span",{class:"ez-text ez-text--primary ez-text--medium"},this.i18n("ez-simple-image-uploader.dragDropText")))),i("input",{ref:e=>this._fileInput=e,type:"file",accept:"image/*",style:{display:"none"},onChange:e=>this.handleFileChange(e)})),!!this.messageError&&i("span",{class:"text-error"},this.messageError))))))}};b.style='.image-uploader-container.sc-ez-simple-image-uploader{font-family:"Roboto";color:#2b3a54;display:flex;flex-direction:column;gap:var(--space--10, 10px);justify-content:space-between;align-items:center;padding-bottom:var(--space--8, 8px)}.header.sc-ez-simple-image-uploader{display:flex;font-weight:500;font-size:var(--font-size--medium, 16px)}.actions.sc-ez-simple-image-uploader{display:flex;justify-content:flex-end;gap:var(--space--12, 12px);margin-top:var(--space--12, 12px);width:100%}.drop-zone-section.sc-ez-simple-image-uploader{width:100%}.drop-zone.sc-ez-simple-image-uploader{display:flex;flex-wrap:wrap;background-color:var(--color--petroleum-70, #F4F6F9);padding:var(--space--6, 6px);width:100%;border-radius:var(--space--12, 12px);box-sizing:border-box;min-height:100px}.clickable.sc-ez-simple-image-uploader{cursor:pointer}.dragging.sc-ez-simple-image-uploader{background-color:var(--color--petroleum-100, #C8CCD3)}.drop-zone-container.sc-ez-simple-image-uploader{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;border:2px dashed var(--color-strokes, #DCE0E8);border-radius:6px;box-sizing:border-box}.text-error.sc-ez-simple-image-uploader{font-family:var(--font--pattern, "Roboto");color:var(--color--red-600, #BD0025);font-size:var(--font-size--small, 12px)}.button-close.sc-ez-simple-image-uploader{border:none;background:none;cursor:pointer}';export{c as ez_link_builder,h as ez_rich_toolbar,d as ez_rich_toolbar_arrows,p as ez_rich_toolbar_configs,u as ez_rich_toolbar_letters,b as ez_simple_image_uploader}
@@ -1 +1 @@
1
- import{r as e,h as n,H as r,g as s}from"./p-e4c7eb39.js";import{ElementIDUtils as i}from"@sankhyalabs/core";import{g as a}from"./p-a61fdd20.js";const t=class{constructor(n){e(this,n),this.size="small"}addInfoId(){this._element&&i.addIDInfo(this._element)}async componentWillLoad(){this.i18n=a()}componentDidLoad(){this.addInfoId()}render(){return n(r,null,n("div",{class:"spinner__container","data-size":this.size,role:"status","aria-label":this.i18n?this.i18n("spinner.loading"):"Carregando..."},n("svg",{viewBox:"0 0 24 24",class:"spinner__svg"},n("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"spinner__path"}))))}get _element(){return s(this)}};t.style=':host{--ez-spinner--color:var(--color--ocean-green-600, #008561);--ez-spinner--size-default:24px;--ez-spinner--size-medium:32px;--ez-spinner--size-large:42px;--ez-spinner--animation-duration:1.4s;display:inline-flex;align-items:center;justify-content:center}.spinner__container{display:inline-flex;align-items:center;justify-content:center}.spinner__svg{color:var(--ez-spinner--color);width:var(--ez-spinner--size-default);height:var(--ez-spinner--size-default)}.spinner__container[data-size="medium"] .spinner__svg{width:var(--ez-spinner--size-medium);height:var(--ez-spinner--size-medium)}.spinner__container[data-size="large"] .spinner__svg{width:var(--ez-spinner--size-large);height:var(--ez-spinner--size-large)}.spinner__path{animation:spinner-dash var(--ez-spinner--animation-duration) ease-in-out infinite,\n spinner-rotate var(--ez-spinner--animation-duration) linear infinite;transform-origin:center;will-change:stroke-dasharray, stroke-dashoffset}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes spinner-dash{0%{stroke-dasharray:1, 63;stroke-dashoffset:0}50%{stroke-dasharray:32, 63;stroke-dashoffset:-16}100%{stroke-dasharray:1, 63;stroke-dashoffset:-63}}';export{t as ez_spinner}
1
+ import{r as e,h as n,H as r,g as s}from"./p-23a36bb6.js";import{ElementIDUtils as i}from"@sankhyalabs/core";import{g as a}from"./p-641ee538.js";const t=class{constructor(n){e(this,n),this.size="small"}addInfoId(){this._element&&i.addIDInfo(this._element)}async componentWillLoad(){this.i18n=a()}componentDidLoad(){this.addInfoId()}render(){return n(r,null,n("div",{class:"spinner__container","data-size":this.size,role:"status","aria-label":this.i18n?this.i18n("spinner.loading"):"Carregando..."},n("svg",{viewBox:"0 0 24 24",class:"spinner__svg"},n("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"spinner__path"}))))}get _element(){return s(this)}};t.style=':host{--ez-spinner--color:var(--color--ocean-green-600, #008561);--ez-spinner--size-default:24px;--ez-spinner--size-medium:32px;--ez-spinner--size-large:42px;--ez-spinner--animation-duration:1.4s;display:inline-flex;align-items:center;justify-content:center}.spinner__container{display:inline-flex;align-items:center;justify-content:center}.spinner__svg{color:var(--ez-spinner--color);width:var(--ez-spinner--size-default);height:var(--ez-spinner--size-default)}.spinner__container[data-size="medium"] .spinner__svg{width:var(--ez-spinner--size-medium);height:var(--ez-spinner--size-medium)}.spinner__container[data-size="large"] .spinner__svg{width:var(--ez-spinner--size-large);height:var(--ez-spinner--size-large)}.spinner__path{animation:spinner-dash var(--ez-spinner--animation-duration) ease-in-out infinite,\n spinner-rotate var(--ez-spinner--animation-duration) linear infinite;transform-origin:center;will-change:stroke-dasharray, stroke-dashoffset}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes spinner-dash{0%{stroke-dasharray:1, 63;stroke-dashoffset:0}50%{stroke-dasharray:32, 63;stroke-dashoffset:-16}100%{stroke-dasharray:1, 63;stroke-dashoffset:-63}}';export{t as ez_spinner}
@@ -1 +1 @@
1
- import{r as t,c as o,h as i,H as e,g as s}from"./p-e4c7eb39.js";import{FloatingManager as r}from"@sankhyalabs/core";const n=class{constructor(i){t(this,i),this.ezVisibilityChange=o(this,"ezVisibilityChange",7),this._firstRender=!0,this.innerClickTest=(t,o,i)=>{const e=[t];this.innerElement&&("string"==typeof this.innerElement?e.push(document.querySelector(`#${this.innerElement}`)):this.innerElement.forEach((t=>{e.push(document.querySelector(`#${t}`))})));const s=(null==i?void 0:i.composedPath())||[];for(var r=0;r<e.length;r++){let t=e[r];if(null!=t){if(s.includes(t))return!0;if(t.contains(o))return!0;if(i&&"nodeType"in(null==i?void 0:i.target)&&t.contains(i.target))return!0;if(t.shadowRoot&&t.shadowRoot.contains(o))return!0;if(t=this._host,t.lastElementChild.shadowRoot?t.lastElementChild.shadowRoot.contains(o):t.contains(o))return!0}}return!1},this.backClickListener=()=>{this.ezVisibilityChange.emit(!1)},this.autoClose=!0,this.boxWidth="fit-content",this.opened=void 0,this.innerElement=void 0,this.overlayType="light"}observeOpened(t,o){t!=o&&(o?this.hide():this.show(),this.ezVisibilityChange.emit(t))}async updatePosition(t,o){r.updateFloatPosition(this._box,this._container,{autoClose:this.autoClose,top:t,left:o,innerClickTest:this.innerClickTest,backClickListener:this.backClickListener})}async show(t,o){this.float({top:t,left:o})}async showUnder(t,o){t&&this._host?this.float(this.calculatePosition(t,Object.assign({verticalGap:0,horizontalGap:0,fromRight:!1},o))):this.show((null==o?void 0:o.verticalGap)?`${o.verticalGap}px`:void 0,(null==o?void 0:o.horizontalGap)?`${o.horizontalGap}px`:void 0)}calculatePosition(t,o){const i=this._host.getBoundingClientRect(),e=t.getBoundingClientRect(),s=`${(o.fromRight?i.right-e.right:e.x-i.x)+o.horizontalGap}px`;return{top:`${e.bottom-i.y+o.verticalGap}px`,left:o.fromRight?"":s,right:o.fromRight?s:""}}float(t){this._box.style.top="",this._box.style.left="",this._box.style.right="";const o="none"!==this.overlayType,i=`ez-scrim ez-scrim--${this.overlayType}`;let e=Object.assign(Object.assign({},t),{autoClose:this.autoClose,innerClickTest:this.innerClickTest,backClickListener:this.backClickListener});o&&(e=Object.assign(Object.assign({},e),{autoClose:!0,useOverlay:o,overlayClassName:i})),this._floatingID=r.float(this._box,this._container,e),this.opened=!0}async hide(){void 0!==this._floatingID&&(r.close(this._floatingID),this._floatingID=void 0,this.opened=!1)}componentDidRender(){this._firstRender&&(this._box.remove(),this._firstRender=!1)}render(){return i(e,null,i("section",{ref:t=>this._container=t},i("div",{class:"popover__box "+("fit-content"===this.boxWidth?"popover__box--fit-content":"popover__box--full-width"),ref:t=>this._box=t},i("slot",null))))}get _host(){return s(this)}static get watchers(){return{opened:["observeOpened"]}}};n.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--most-visible, 3);position:relative;display:flex;user-select:none}.popover__box{z-index:var(--ez-popover__box--z-index);display:flex;flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:100%}";export{n as ez_popover}
1
+ import{r as t,c as o,h as i,H as e,g as s}from"./p-23a36bb6.js";import{FloatingManager as r}from"@sankhyalabs/core";const n=class{constructor(i){t(this,i),this.ezVisibilityChange=o(this,"ezVisibilityChange",7),this._firstRender=!0,this.innerClickTest=(t,o,i)=>{const e=[t];this.innerElement&&("string"==typeof this.innerElement?e.push(document.querySelector(`#${this.innerElement}`)):this.innerElement.forEach((t=>{e.push(document.querySelector(`#${t}`))})));const s=(null==i?void 0:i.composedPath())||[];for(var r=0;r<e.length;r++){let t=e[r];if(null!=t){if(s.includes(t))return!0;if(t.contains(o))return!0;if(i&&"nodeType"in(null==i?void 0:i.target)&&t.contains(i.target))return!0;if(t.shadowRoot&&t.shadowRoot.contains(o))return!0;if(t=this._host,t.lastElementChild.shadowRoot?t.lastElementChild.shadowRoot.contains(o):t.contains(o))return!0}}return!1},this.backClickListener=()=>{this.ezVisibilityChange.emit(!1)},this.autoClose=!0,this.boxWidth="fit-content",this.opened=void 0,this.innerElement=void 0,this.overlayType="light"}observeOpened(t,o){t!=o&&(o?this.hide():this.show(),this.ezVisibilityChange.emit(t))}async updatePosition(t,o){r.updateFloatPosition(this._box,this._container,{autoClose:this.autoClose,top:t,left:o,innerClickTest:this.innerClickTest,backClickListener:this.backClickListener})}async show(t,o){this.float({top:t,left:o})}async showUnder(t,o){t&&this._host?this.float(this.calculatePosition(t,Object.assign({verticalGap:0,horizontalGap:0,fromRight:!1},o))):this.show((null==o?void 0:o.verticalGap)?`${o.verticalGap}px`:void 0,(null==o?void 0:o.horizontalGap)?`${o.horizontalGap}px`:void 0)}calculatePosition(t,o){const i=this._host.getBoundingClientRect(),e=t.getBoundingClientRect(),s=`${(o.fromRight?i.right-e.right:e.x-i.x)+o.horizontalGap}px`;return{top:`${e.bottom-i.y+o.verticalGap}px`,left:o.fromRight?"":s,right:o.fromRight?s:""}}float(t){this._box.style.top="",this._box.style.left="",this._box.style.right="";const o="none"!==this.overlayType,i=`ez-scrim ez-scrim--${this.overlayType}`;let e=Object.assign(Object.assign({},t),{autoClose:this.autoClose,innerClickTest:this.innerClickTest,backClickListener:this.backClickListener});o&&(e=Object.assign(Object.assign({},e),{autoClose:!0,useOverlay:o,overlayClassName:i})),this._floatingID=r.float(this._box,this._container,e),this.opened=!0}async hide(){void 0!==this._floatingID&&(r.close(this._floatingID),this._floatingID=void 0,this.opened=!1)}componentDidRender(){this._firstRender&&(this._box.remove(),this._firstRender=!1)}render(){return i(e,null,i("section",{ref:t=>this._container=t},i("div",{class:"popover__box "+("fit-content"===this.boxWidth?"popover__box--fit-content":"popover__box--full-width"),ref:t=>this._box=t},i("slot",null))))}get _host(){return s(this)}static get watchers(){return{opened:["observeOpened"]}}};n.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--most-visible, 3);position:relative;display:flex;user-select:none}.popover__box{z-index:var(--ez-popover__box--z-index);display:flex;flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:100%}";export{n as ez_popover}
@@ -1 +1 @@
1
- import{r as t,h as o,H as i,g as e}from"./p-e4c7eb39.js";import{a,c as s,o as r,f as l,s as h,b as n}from"./p-2a806303.js";import{ElementIDUtils as p}from"@sankhyalabs/core";const d=class{constructor(o){t(this,o),this._opened=!1,this.message=void 0,this.anchoringElement=void 0,this.placement="bottom",this.gapOptions={horizontalGap:0,verticalGap:0},this.type="default",this.debouncingTime=500,this.active=!0,this.maxWidth=200,this.useAnchorSize=!1,this.strategy="absolute"}watchAnchoringElement(t,o){t&&(this.setEvents(t),this.removeEvents(o))}watchMessage(t){t?this.updatePosition():this.closeTooltip()}openTooltip(){this.message&&this.active&&(this._debouncingTimeout&&clearTimeout(this._debouncingTimeout),this._debouncingTimeout=setTimeout((()=>{this._opened=!0,this._tooltipElement.style.display="block",this.updatePosition()}),this.debouncingTime))}closeTooltip(){clearTimeout(this._debouncingTimeout),this._tooltipElement.style.display="none",this._opened=!1}async updatePosition(t=this.anchoringElement){if(t&&this._opened){if(this.useAnchorSize){const o=t.getBoundingClientRect().width;this._tooltipElement.style.width=`${o}px`}this._cleanup&&this._cleanup(),this._cleanup=a(t,this._tooltipElement,(()=>{s(t,this._tooltipElement,{placement:this.placement,strategy:this.strategy,middleware:[r(5),l(),h({padding:8}),n({element:this._arrowElement})]}).then((({x:t,y:o,placement:i,middlewareData:e})=>{const a=i.includes("bottom")?o+this.gapOptions.verticalGap:o-this.gapOptions.verticalGap,s=i.includes("start")?t+this.gapOptions.horizontalGap:t-this.gapOptions.horizontalGap;if(Object.assign(this._tooltipElement.style,{top:`${a}px`,left:`${s}px`}),e.arrow){const{x:t}=e.arrow,o=i.includes("bottom");Object.assign(this._arrowElement.style,{left:`${t}px`,top:o?-this._arrowElement.offsetHeight/2+"px":"",bottom:o?"":-this._arrowElement.offsetHeight/2+"px"})}}))}))}}handleSlotChange(t){const o=t.target.assignedElements()[0];this.anchoringElement=o}setEvents(t=this.anchoringElement){t&&(this.removeEvents(t),this._mouseEnterHandler=()=>this.openTooltip(),this._mouseLeaveHandler=()=>this.closeTooltip(),t.addEventListener("mouseenter",this._mouseEnterHandler),t.addEventListener("mouseleave",this._mouseLeaveHandler))}removeEvents(t=this.anchoringElement){t&&(this._mouseEnterHandler&&t.removeEventListener("mouseenter",this._mouseEnterHandler),this._mouseLeaveHandler&&t.removeEventListener("mouseleave",this._mouseLeaveHandler))}componentDidLoad(){this.setEvents(),this.addInfoId()}addInfoId(){this._element&&p.addIDInfo(this._element)}disconnectedCallback(){this.removeEvents(),this._cleanup&&this._cleanup(),clearTimeout(this._debouncingTimeout)}render(){return o(i,null,o("div",Object.assign({ref:t=>this._tooltipElement=t},{inert:!0},{class:"tooltip","data-type":this.type,"data-active":this.active.toString(),"data-strategy":this.strategy,style:{maxWidth:this.maxWidth&&!this.useAnchorSize?`${this.maxWidth}px`:void 0},role:"tooltip","data-element-id":p.getInternalIDInfo("tooltip")}),this.message,o("div",{ref:t=>this._arrowElement=t,class:"arrow"})),o("slot",{onSlotchange:t=>{this.handleSlotChange(t)}}))}get _element(){return e(this)}static get watchers(){return{anchoringElement:["watchAnchoringElement"],message:["watchMessage"]}}};d.style=':host{--ez-tooltip--triangle-size:var(--space--8);--ez-tooltip--z-index:var(--elevation--24);--ez-tooltip--padding:var(--space--4) var(--space--8);--ez-tooltip--border-radius:var(--border--radius-8);--ez-tooltip--font-family:var(--font--pattern);--ez-tooltip--font-size:var(--font-size--small);--ez-tooltip--font-weight:var(--font-weight--regular);width:100%}.tooltip{position:absolute;z-index:var(--ez-tooltip--z-index);padding:var(--ez-tooltip--padding);border-radius:var(--ez-tooltip--border-radius);box-sizing:border-box;font-family:var(--ez-tooltip--font-family);font-size:var(--ez-tooltip--font-size);font-weight:var(--ez-tooltip--font-weight);text-align:center;width:max-content;display:none}.tooltip[data-strategy="fixed"]{position:fixed}.arrow{position:absolute;width:var(--ez-tooltip--triangle-size);height:var(--ez-tooltip--triangle-size);transform:rotate(45deg)}.tooltip[data-type="default"]{background:var(--color--petroleum-600);color:var(--color--gray-70)}.tooltip[data-type="default"] .arrow{background:var(--color--petroleum-600)}.tooltip[data-type="error"]{background:var(--color--red-600);color:var(--color--red-100)}.tooltip[data-type="error"] .arrow{background:var(--color--red-600)}.tooltip[data-type="success"]{background:var(--color--green-600);color:var(--color--green-100)}.tooltip[data-type="success"] .arrow{background:var(--color--green-600)}.tooltip[data-type="warning"]{background:var(--color--yellow-600);color:var(--color--yellow-100)}.tooltip[data-type="warning"] .arrow{background:var(--color--yellow-600)}.tooltip[data-active="false"]{display:none !important}';export{d as ez_tooltip}
1
+ import{r as t,h as o,H as i,g as e}from"./p-23a36bb6.js";import{a,c as s,o as r,f as l,s as h,b as n}from"./p-2a806303.js";import{ElementIDUtils as p}from"@sankhyalabs/core";const d=class{constructor(o){t(this,o),this._opened=!1,this.message=void 0,this.anchoringElement=void 0,this.placement="bottom",this.gapOptions={horizontalGap:0,verticalGap:0},this.type="default",this.debouncingTime=500,this.active=!0,this.maxWidth=200,this.useAnchorSize=!1,this.strategy="absolute"}watchAnchoringElement(t,o){t&&(this.setEvents(t),this.removeEvents(o))}watchMessage(t){t?this.updatePosition():this.closeTooltip()}openTooltip(){this.message&&this.active&&(this._debouncingTimeout&&clearTimeout(this._debouncingTimeout),this._debouncingTimeout=setTimeout((()=>{this._opened=!0,this._tooltipElement.style.display="block",this.updatePosition()}),this.debouncingTime))}closeTooltip(){clearTimeout(this._debouncingTimeout),this._tooltipElement.style.display="none",this._opened=!1}async updatePosition(t=this.anchoringElement){if(t&&this._opened){if(this.useAnchorSize){const o=t.getBoundingClientRect().width;this._tooltipElement.style.width=`${o}px`}this._cleanup&&this._cleanup(),this._cleanup=a(t,this._tooltipElement,(()=>{s(t,this._tooltipElement,{placement:this.placement,strategy:this.strategy,middleware:[r(5),l(),h({padding:8}),n({element:this._arrowElement})]}).then((({x:t,y:o,placement:i,middlewareData:e})=>{const a=i.includes("bottom")?o+this.gapOptions.verticalGap:o-this.gapOptions.verticalGap,s=i.includes("start")?t+this.gapOptions.horizontalGap:t-this.gapOptions.horizontalGap;if(Object.assign(this._tooltipElement.style,{top:`${a}px`,left:`${s}px`}),e.arrow){const{x:t}=e.arrow,o=i.includes("bottom");Object.assign(this._arrowElement.style,{left:`${t}px`,top:o?-this._arrowElement.offsetHeight/2+"px":"",bottom:o?"":-this._arrowElement.offsetHeight/2+"px"})}}))}))}}handleSlotChange(t){const o=t.target.assignedElements()[0];this.anchoringElement=o}setEvents(t=this.anchoringElement){t&&(this.removeEvents(t),this._mouseEnterHandler=()=>this.openTooltip(),this._mouseLeaveHandler=()=>this.closeTooltip(),t.addEventListener("mouseenter",this._mouseEnterHandler),t.addEventListener("mouseleave",this._mouseLeaveHandler))}removeEvents(t=this.anchoringElement){t&&(this._mouseEnterHandler&&t.removeEventListener("mouseenter",this._mouseEnterHandler),this._mouseLeaveHandler&&t.removeEventListener("mouseleave",this._mouseLeaveHandler))}componentDidLoad(){this.setEvents(),this.addInfoId()}addInfoId(){this._element&&p.addIDInfo(this._element)}disconnectedCallback(){this.removeEvents(),this._cleanup&&this._cleanup(),clearTimeout(this._debouncingTimeout)}render(){return o(i,null,o("div",Object.assign({ref:t=>this._tooltipElement=t},{inert:!0},{class:"tooltip","data-type":this.type,"data-active":this.active.toString(),"data-strategy":this.strategy,style:{maxWidth:this.maxWidth&&!this.useAnchorSize?`${this.maxWidth}px`:void 0},role:"tooltip","data-element-id":p.getInternalIDInfo("tooltip")}),this.message,o("div",{ref:t=>this._arrowElement=t,class:"arrow"})),o("slot",{onSlotchange:t=>{this.handleSlotChange(t)}}))}get _element(){return e(this)}static get watchers(){return{anchoringElement:["watchAnchoringElement"],message:["watchMessage"]}}};d.style=':host{--ez-tooltip--triangle-size:var(--space--8);--ez-tooltip--z-index:var(--elevation--24);--ez-tooltip--padding:var(--space--4) var(--space--8);--ez-tooltip--border-radius:var(--border--radius-8);--ez-tooltip--font-family:var(--font--pattern);--ez-tooltip--font-size:var(--font-size--small);--ez-tooltip--font-weight:var(--font-weight--regular);width:100%}.tooltip{position:absolute;z-index:var(--ez-tooltip--z-index);padding:var(--ez-tooltip--padding);border-radius:var(--ez-tooltip--border-radius);box-sizing:border-box;font-family:var(--ez-tooltip--font-family);font-size:var(--ez-tooltip--font-size);font-weight:var(--ez-tooltip--font-weight);text-align:center;width:max-content;display:none}.tooltip[data-strategy="fixed"]{position:fixed}.arrow{position:absolute;width:var(--ez-tooltip--triangle-size);height:var(--ez-tooltip--triangle-size);transform:rotate(45deg)}.tooltip[data-type="default"]{background:var(--color--petroleum-600);color:var(--color--gray-70)}.tooltip[data-type="default"] .arrow{background:var(--color--petroleum-600)}.tooltip[data-type="error"]{background:var(--color--red-600);color:var(--color--red-100)}.tooltip[data-type="error"] .arrow{background:var(--color--red-600)}.tooltip[data-type="success"]{background:var(--color--green-600);color:var(--color--green-100)}.tooltip[data-type="success"] .arrow{background:var(--color--green-600)}.tooltip[data-type="warning"]{background:var(--color--yellow-600);color:var(--color--yellow-100)}.tooltip[data-type="warning"] .arrow{background:var(--color--yellow-600)}.tooltip[data-active="false"]{display:none !important}';export{d as ez_tooltip}
@@ -0,0 +1 @@
1
+ import{r as o,c as t,h as a}from"./p-23a36bb6.js";const i=class{constructor(a){o(this,a),this.applicationLoaded=t(this,"applicationLoaded",7)}componentWillLoad(){}componentDidLoad(){this.applicationLoaded.emit(!0)}render(){return a("div",null)}};i.style="";export{i as ez_application}
@@ -1 +1 @@
1
- import{r as t,c as i,f as o,h as a,g as e}from"./p-e4c7eb39.js";import{D as n}from"./p-ab574d59.js";import{FloatingManager as l,ElementIDUtils as d,KeyboardManager as r}from"@sankhyalabs/core";import{F as c}from"./p-dc628ed3.js";import{i as s}from"./p-a61fdd20.js";class h{constructor(t,i,o,a,e,n,l,d,r,c){this.title=t,this.message=i,this.dialogType=o,this.confirm=a,this.icon=e,this.labelCancel=n,this.labelConfirm=l,this.btnConfirmDanger=d,this.callBack=r,this.beforeClose=c}}const g=class{constructor(o){t(this,o),this.ezCancel=i(this,"ezCancel",7),this.ezAccept=i(this,"ezAccept",7),this.PRIMARY_BUTTON_ID="EZ_DIALOG_PRIMARY_BUTTON",this.btnConfirmDanger=!1,this._messageQueue=[],this._canFocusOnPrimaryBtn=!1,this.confirm=!1,this.dialogType=void 0,this.message=void 0,this.opened=!1,this.personalizedIconPath=void 0,this.ezTitle=void 0,this.beforeClose=void 0}observeConfig(t,i){this.manageOverflow(),t&&!i&&(this._canFocusOnPrimaryBtn=!0)}manageOverflow(){window.document.body.style.overflow=this.opened?"hidden":""}manageOverlay(){this.opened?this._overlayId=l.subscribeOverlayControl(this._overlayRef):l.unsubscribeOverlayControl(this._overlayRef||this._overlayId)}handleButtonClick(t){this._currentMessage.beforeClose&&!1===this._currentMessage.beforeClose(t)||(this.opened=this._messageQueue.length>0,this._currentMessage.callBack&&this._currentMessage.callBack(t),t?this.ezAccept.emit(t):this.ezCancel.emit(t),this._currentMessage=this._messageQueue.shift(),o(this))}async show(t,i,o,a,e,n,l,d,r){return this.opened=!0,new Promise((c=>{this._messageQueue.push(new h(t,i,o,a,e,n,l,d,c,r))}))}isCritical(t){return t===n.CRITICAL}getIconElement(t){if(t.dialogType===n.DEFAULT)return;const i=this.getIconClass(t.dialogType);return a("div",{class:`changeable__icon__container ${i}`},a("ez-icon",{class:"changeable__icon",size:"small",iconName:this.getIconName(t)}))}getIconClass(t){return this.isCritical(t)?"title-icon--critical":t===n.SUCCESS?"title-icon--success":t===n.WARN?"title-icon--warn":""}getIconName(t){return t.icon?t.icon:this.isCritical(t.dialogType)?"alert-circle-inverted":t.dialogType===n.WARN?"warning-outline":t.dialogType===n.SUCCESS?"check":void 0}getTypeIndicatorElement(t){if(t.dialogType!==n.DEFAULT)return a("div",{class:this.getClassIconIndicator(t.dialogType)})}getClassIconIndicator(t){return this.isCritical(t)?"dialog__critical--indicator":t==n.SUCCESS?"dialog__success--indicator":t==n.WARN?"dialog__warning--indicator":""}getClassContainer(t){return(t.dialogType||n.DEFAULT)===n.DEFAULT?"dialog__container dialog__container--default":"dialog__container"}getClassTitleLabel(t){return null==this.getIconElement(t)?"title title__label title__label--no-icon":"title title__label"}async componentWillLoad(){this.i18n=await s()}componentWillRender(){this._currentMessage||(this._messageQueue.length>0?this._currentMessage=this._messageQueue.pop():this.opened&&(this._currentMessage=new h(this.ezTitle,this.message,this.dialogType,this.confirm,this.personalizedIconPath,this.i18n("app.no"),this.i18n("app.yes"),this.btnConfirmDanger,null,this.beforeClose)))}componentDidLoad(){d.addIDInfo(this._element),this._keyboardManager=new r({propagate:!1,element:this._element}).bind("Enter",(()=>this.handleButtonClick(!0)),{description:this.i18n("ez-dialog.confirmButton"),element:this._element}).bind("Escape",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element}).bind("Esc",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element})}componentDidRender(){this.manageOverlay(),this.focusOnDialog(),this.handleFocusOnPrimaryButton()}focusOnDialog(){const t=this._element.shadowRoot.querySelector(".overlay .dialog");t instanceof HTMLDivElement&&(t.style.outline="none",this._lastActiveElement=document.activeElement,t.focus())}handleFocusOnPrimaryButton(){this._canFocusOnPrimaryBtn&&(this.focusOnPrimaryButton(),this._canFocusOnPrimaryBtn=!1)}focusOnPrimaryButton(){const t=this._element.shadowRoot.querySelector(`#${this.PRIMARY_BUTTON_ID}`),i=null==t?void 0:t.shadowRoot.querySelector("button");requestAnimationFrame((()=>{null==i||i.focus()}))}disconnectedCallback(){var t;c.resolveFocus(this._lastActiveElement),this._lastActiveElement=void 0,null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}render(){return this.opened&&this._currentMessage?a("div",{class:"overlay",ref:t=>this._overlayRef=t},a("div",{tabindex:"-1",class:"dialog"},this.getTypeIndicatorElement(this._currentMessage),a("div",{class:this.getClassContainer(this._currentMessage)},a("div",{class:"title__container"},a("div",{class:"title__box"},this.getIconElement(this._currentMessage),a("div",{class:this.getClassTitleLabel(this._currentMessage),innerHTML:this._currentMessage.title,"data-element-id":d.getInternalIDInfo("title")})),a("button",{class:"btn-close",onClick:()=>this.handleButtonClick(!1),"data-element-id":d.getInternalIDInfo("buttonClose")})),a("div",{class:"message",innerHTML:this._currentMessage.message,"data-element-id":d.getInternalIDInfo("message")}),this._currentMessage.confirm&&a("div",{class:"button-yes-no__container"},a("ez-button",{class:"button__cancel","data-element-id":d.getInternalIDInfo("cancel"),label:this._currentMessage.labelCancel,onClick:()=>this.handleButtonClick(!1)}),a("ez-button",{id:this.PRIMARY_BUTTON_ID,class:this._currentMessage.btnConfirmDanger?"button__confirm--danger":"button__confirm","data-element-id":d.getInternalIDInfo("confirm"),label:this._currentMessage.labelConfirm,onClick:()=>this.handleButtonClick(!0)})),!this._currentMessage.confirm&&a("div",{class:"button__confirm--container"},a("ez-button",{id:this.PRIMARY_BUTTON_ID,label:"Ok","data-element-id":d.getInternalIDInfo("ok"),class:"button__confirm",onClick:()=>this.handleButtonClick(!0)}))))):null}get _element(){return e(this)}static get watchers(){return{opened:["observeConfig"]}}};g.style=':host{--dialog__container-padding:var(--space--md, 20px);--dialog__btn__close--background-color:var(--title--primary, #2b3a54);--dialog__btn__no--padding-right:var(--space--large, 24px);--dialog__btn__close__image:url(\'data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>\');--dialog__title--font-pattern:var(--font-pattern, "Roboto");--dialog__title--padding-left:var(--space--small, 6px);--dialog__title__container--padding-bottom:var(--space--medium, 12px);--dialog__title--weight--large:var(--text-weight--large, 600);--dialog__body--font-pattern:var(--font-pattern, "Roboto");--dialog__body--text-shadow:var(--text-shadow, "0 0 0 #353535, 0 0 1px transparent");--dialog__body--text-weight--medium:var(--text-weight--medium, 400);--dialog__body--padding-bottom:var(--space--medium, 12px);--dialog__body--font-size:var(--text--medium, 14px);--dialog__body--color:var(--text--primary, #626e82);--dialog__icon--color:var(--text--inverted, #fff);--dialog__critical--background-color:var(--color--alert-error-800, #BD0025);--dialog__warning--background-color:var(--color--alert-warning-500, #EFB103);--dialog__success--background-color:var(--color--alert-success-500, #00523c);--dialog-z-index:var(--elevation--100, 100);--dialog--warning__image:url(\'data: image/svg+xml;utf8,<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M 7.5,0 0,13 h 15 z m 0,2.73684 5.1341,8.89476 H 2.36591 Z M 6.81818,5.47368 V 8.21053 H 8.18182 V 5.47368 Z m 0,4.10527 V 10.9474 H 8.18182 V 9.57895"/></svg>\');--dialog--critical__image:url(\'data: image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path d="M 7.6534493,6.4948538 12.762051,1.3864299 C 12.914368,1.2341297 13,1.027552 13,0.81215179 13,0.59676225 12.914369,0.39018443 12.762051,0.23787352 12.609733,0.08557341 12.40318,0 12.187747,0 11.972425,0 11.765762,0.08557341 11.613445,0.23787352 L 6.5048431,5.3462975 1.3961977,0.23787352 C 1.2438802,0.08557341 1.0373043,0 0.82189458,0 0.60649572,0 0.39990901,0.08557341 0.24759147,0.23787352 0.09527396,0.39018443 0.00970766,0.59676225 0.00970766,0.81215179 c 0,0.21540021 0.0855663,0.42197791 0.23788381,0.57427811 L 5.3562369,6.4948538 0.24759147,11.604381 c -0.0775121,0.07492 -0.13931586,0.164543 -0.18182835,0.263595 -0.04250169,0.09905 -0.064850182,0.205678 -0.0657357237,0.313391 -8.8554258e-4,0.107813 0.0197049337,0.214771 0.0605827337,0.314472 0.04086693,0.0998 0.10119858,0.190415 0.17746563,0.266625 0.0762779,0.07622 0.16695386,0.136398 0.26675594,0.177208 0.099802,0.04082 0.20672745,0.06127 0.31452961,0.06029 0.1078025,-9.53e-4 0.21433799,-0.0235 0.31337139,-0.06604 0.099045,-0.04265 0.1886052,-0.104571 0.263465,-0.182081 L 6.5048431,7.6434102 11.613445,12.751855 c 0.152317,0.152312 0.35898,0.237831 0.574302,0.237831 0.215433,0 0.421986,-0.08552 0.574304,-0.237831 C 12.914368,12.599545 13,12.393 13,12.177578 13,11.962157 12.91437,11.75561 12.762051,11.603299 Z"/></svg>\')}h2{margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px}.overlay{position:fixed;display:flex;top:0px;z-index:var(--dialog-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.dialog{display:flex;width:80%;position:absolute;top:50%;left:50%;margin-right:-50%;box-sizing:border-box;transform:translate(-50%, -50%);box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122)}@media screen and (min-width: 768px){.dialog{width:50%}}@media screen and (min-width: 992px){.dialog{width:33.33333%}}.dialog__container{width:100%;background:#FFFF;border-radius:0px 6px 6px 0px;box-sizing:border-box;padding:var(--dialog__container-padding)}.dialog__container--default{border-radius:6px 6px 6px 6px}.dialog__critical--indicator{box-sizing:border-box;width:12px;border-radius:6px 0px 0px 6px;background-color:var(--dialog__critical--background-color)}.dialog__warning--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__warning--background-color)}.dialog__success--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__success--background-color)}.message{font-size:var(--dialog__body--font-size);font-weight:var(--dialog__body--text-weight--medium);font-family:var(--dialog__body--font-pattern);text-shadow:var(--dialog__body--text-shadow);padding-bottom:var(--dialog__body--padding-bottom);color:var(--dialog__body--color);max-height:30vh;content-visibility:auto;margin-bottom:var(--space--medium);overflow-y:auto}.changeable__icon__container{background:var(--dialog__warning--background-color);display:flex;justify-content:center;align-items:center;min-width:26px;min-height:26px;border-radius:50%}.changeable__icon{--ez-icon--color:var(--dialog__icon--color)}.changeable__icon__container.title-icon--critical{background-color:var(--dialog__critical--background-color)}.changeable__icon__container.title-icon--success{background-color:var(--dialog__success--background-color)}.changeable__icon__container.title-icon--warn{background-color:var(--dialog__warning--background-color)}.changeable__icon__container.title-icon--warn ez-icon{transform:translateY(-1px)}.title{display:flex;font-family:var(--dialog__title--font-pattern);margin:0;font-weight:var(--dialog__title--weight--large);color:var(--title--primary)}.title__container{display:flex;padding-bottom:var(--dialog__title__container--padding-bottom)}.title__box{display:flex;width:100%;align-items:center;align-self:center}.title__label{padding-left:var(--dialog__title--padding-left)}.title__label--no-icon{padding-left:0}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--dialog__btn__close--background-color);width:12px;height:12px;-webkit-mask-image:var(--dialog__btn__close__image);mask-image:var(--dialog__btn__close__image)}.title-icon::after{content:\'\';display:flex;background-color:#FFFF;width:15px;height:15px;-webkit-mask-image:var(--dialog--warning__image);mask-image:var(--dialog--warning__image)}.button-yes-no__container{display:flex;box-sizing:border-box;align-self:center;align-items:center;justify-content:flex-end}.button__cancel{padding-right:var(--dialog__btn__no--padding-right)}.button__confirm{--ez-button--background-color:var(--color--primary);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color--primary-600);--ez-button--hover-color:var(--color--inverted)}.button__confirm--danger{--ez-button--background-color:var(--color--alert-error-800, #BD0025);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color-alert--error-900, #a10020);--ez-button--hover-color:var(--color--inverted)}.button__confirm--container{display:flex;justify-content:flex-end}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{g as ez_dialog}
1
+ import{r as t,c as i,f as o,h as a,g as e}from"./p-23a36bb6.js";import{D as n}from"./p-ab574d59.js";import{FloatingManager as l,ElementIDUtils as r,KeyboardManager as d}from"@sankhyalabs/core";import{F as c}from"./p-dc628ed3.js";import{i as s}from"./p-641ee538.js";class h{constructor(t,i,o,a,e,n,l,r,d,c){this.title=t,this.message=i,this.dialogType=o,this.confirm=a,this.icon=e,this.labelCancel=n,this.labelConfirm=l,this.btnConfirmDanger=r,this.callBack=d,this.beforeClose=c}}const g=class{constructor(o){t(this,o),this.ezCancel=i(this,"ezCancel",7),this.ezAccept=i(this,"ezAccept",7),this.PRIMARY_BUTTON_ID="EZ_DIALOG_PRIMARY_BUTTON",this.btnConfirmDanger=!1,this._messageQueue=[],this._canFocusOnPrimaryBtn=!1,this.confirm=!1,this.dialogType=void 0,this.message=void 0,this.opened=!1,this.personalizedIconPath=void 0,this.ezTitle=void 0,this.beforeClose=void 0}observeConfig(t,i){this.manageOverflow(),t&&!i&&(this._canFocusOnPrimaryBtn=!0)}manageOverflow(){window.document.body.style.overflow=this.opened?"hidden":""}manageOverlay(){this.opened?this._overlayId=l.subscribeOverlayControl(this._overlayRef):l.unsubscribeOverlayControl(this._overlayRef||this._overlayId)}handleButtonClick(t){this._currentMessage.beforeClose&&!1===this._currentMessage.beforeClose(t)||(this.opened=this._messageQueue.length>0,this._currentMessage.callBack&&this._currentMessage.callBack(t),t?this.ezAccept.emit(t):this.ezCancel.emit(t),this._currentMessage=this._messageQueue.shift(),o(this))}async show(t,i,o,a,e,n,l,r,d){return this.opened=!0,new Promise((c=>{this._messageQueue.push(new h(t,i,o,a,e,n,l,r,c,d))}))}isCritical(t){return t===n.CRITICAL}getIconElement(t){if(t.dialogType===n.DEFAULT)return;const i=this.getIconClass(t.dialogType);return a("div",{class:`changeable__icon__container ${i}`},a("ez-icon",{class:"changeable__icon",size:"small",iconName:this.getIconName(t)}))}getIconClass(t){return this.isCritical(t)?"title-icon--critical":t===n.SUCCESS?"title-icon--success":t===n.WARN?"title-icon--warn":""}getIconName(t){return t.icon?t.icon:this.isCritical(t.dialogType)?"alert-circle-inverted":t.dialogType===n.WARN?"warning-outline":t.dialogType===n.SUCCESS?"check":void 0}getTypeIndicatorElement(t){if(t.dialogType!==n.DEFAULT)return a("div",{class:this.getClassIconIndicator(t.dialogType)})}getClassIconIndicator(t){return this.isCritical(t)?"dialog__critical--indicator":t==n.SUCCESS?"dialog__success--indicator":t==n.WARN?"dialog__warning--indicator":""}getClassContainer(t){return(t.dialogType||n.DEFAULT)===n.DEFAULT?"dialog__container dialog__container--default":"dialog__container"}getClassTitleLabel(t){return null==this.getIconElement(t)?"title title__label title__label--no-icon":"title title__label"}async componentWillLoad(){this.i18n=await s()}componentWillRender(){this._currentMessage||(this._messageQueue.length>0?this._currentMessage=this._messageQueue.pop():this.opened&&(this._currentMessage=new h(this.ezTitle,this.message,this.dialogType,this.confirm,this.personalizedIconPath,this.i18n("app.no"),this.i18n("app.yes"),this.btnConfirmDanger,null,this.beforeClose)))}componentDidLoad(){r.addIDInfo(this._element),this._keyboardManager=new d({propagate:!1,element:this._element}).bind("Enter",(()=>this.handleButtonClick(!0)),{description:this.i18n("ez-dialog.confirmButton"),element:this._element}).bind("Escape",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element}).bind("Esc",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element})}componentDidRender(){this.manageOverlay(),this.focusOnDialog(),this.handleFocusOnPrimaryButton()}focusOnDialog(){const t=this._element.shadowRoot.querySelector(".overlay .dialog");t instanceof HTMLDivElement&&(t.style.outline="none",this._lastActiveElement=document.activeElement,t.focus())}handleFocusOnPrimaryButton(){this._canFocusOnPrimaryBtn&&(this.focusOnPrimaryButton(),this._canFocusOnPrimaryBtn=!1)}focusOnPrimaryButton(){const t=this._element.shadowRoot.querySelector(`#${this.PRIMARY_BUTTON_ID}`),i=null==t?void 0:t.shadowRoot.querySelector("button");requestAnimationFrame((()=>{null==i||i.focus()}))}disconnectedCallback(){var t;c.resolveFocus(this._lastActiveElement),this._lastActiveElement=void 0,null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}render(){return this.opened&&this._currentMessage?a("div",{class:"overlay",ref:t=>this._overlayRef=t},a("div",{tabindex:"-1",class:"dialog"},this.getTypeIndicatorElement(this._currentMessage),a("div",{class:this.getClassContainer(this._currentMessage)},a("div",{class:"title__container"},a("div",{class:"title__box"},this.getIconElement(this._currentMessage),a("div",{class:this.getClassTitleLabel(this._currentMessage),innerHTML:this._currentMessage.title,"data-element-id":r.getInternalIDInfo("title")})),a("button",{class:"btn-close",onClick:()=>this.handleButtonClick(!1),"data-element-id":r.getInternalIDInfo("buttonClose")})),a("div",{class:"message",innerHTML:this._currentMessage.message,"data-element-id":r.getInternalIDInfo("message")}),this._currentMessage.confirm&&a("div",{class:"button-yes-no__container"},a("ez-button",{class:"button__cancel","data-element-id":r.getInternalIDInfo("cancel"),label:this._currentMessage.labelCancel,onClick:()=>this.handleButtonClick(!1)}),a("ez-button",{id:this.PRIMARY_BUTTON_ID,class:this._currentMessage.btnConfirmDanger?"button__confirm--danger":"button__confirm","data-element-id":r.getInternalIDInfo("confirm"),label:this._currentMessage.labelConfirm,onClick:()=>this.handleButtonClick(!0)})),!this._currentMessage.confirm&&a("div",{class:"button__confirm--container"},a("ez-button",{id:this.PRIMARY_BUTTON_ID,label:"Ok","data-element-id":r.getInternalIDInfo("ok"),class:"button__confirm",onClick:()=>this.handleButtonClick(!0)}))))):null}get _element(){return e(this)}static get watchers(){return{opened:["observeConfig"]}}};g.style=':host{--dialog__container-padding:var(--space--md, 20px);--dialog__btn__close--background-color:var(--title--primary, #2b3a54);--dialog__btn__no--padding-right:var(--space--large, 24px);--dialog__btn__close__image:url(\'data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>\');--dialog__title--font-pattern:var(--font-pattern, "Roboto");--dialog__title--padding-left:var(--space--small, 6px);--dialog__title__container--padding-bottom:var(--space--medium, 12px);--dialog__title--weight--large:var(--text-weight--large, 600);--dialog__body--font-pattern:var(--font-pattern, "Roboto");--dialog__body--text-shadow:var(--text-shadow, "0 0 0 #353535, 0 0 1px transparent");--dialog__body--text-weight--medium:var(--text-weight--medium, 400);--dialog__body--padding-bottom:var(--space--medium, 12px);--dialog__body--font-size:var(--text--medium, 14px);--dialog__body--color:var(--text--primary, #626e82);--dialog__icon--color:var(--text--inverted, #fff);--dialog__critical--background-color:var(--color--alert-error-800, #BD0025);--dialog__warning--background-color:var(--color--alert-warning-500, #EFB103);--dialog__success--background-color:var(--color--alert-success-500, #00523c);--dialog-z-index:var(--elevation--100, 100);--dialog--warning__image:url(\'data: image/svg+xml;utf8,<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M 7.5,0 0,13 h 15 z m 0,2.73684 5.1341,8.89476 H 2.36591 Z M 6.81818,5.47368 V 8.21053 H 8.18182 V 5.47368 Z m 0,4.10527 V 10.9474 H 8.18182 V 9.57895"/></svg>\');--dialog--critical__image:url(\'data: image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path d="M 7.6534493,6.4948538 12.762051,1.3864299 C 12.914368,1.2341297 13,1.027552 13,0.81215179 13,0.59676225 12.914369,0.39018443 12.762051,0.23787352 12.609733,0.08557341 12.40318,0 12.187747,0 11.972425,0 11.765762,0.08557341 11.613445,0.23787352 L 6.5048431,5.3462975 1.3961977,0.23787352 C 1.2438802,0.08557341 1.0373043,0 0.82189458,0 0.60649572,0 0.39990901,0.08557341 0.24759147,0.23787352 0.09527396,0.39018443 0.00970766,0.59676225 0.00970766,0.81215179 c 0,0.21540021 0.0855663,0.42197791 0.23788381,0.57427811 L 5.3562369,6.4948538 0.24759147,11.604381 c -0.0775121,0.07492 -0.13931586,0.164543 -0.18182835,0.263595 -0.04250169,0.09905 -0.064850182,0.205678 -0.0657357237,0.313391 -8.8554258e-4,0.107813 0.0197049337,0.214771 0.0605827337,0.314472 0.04086693,0.0998 0.10119858,0.190415 0.17746563,0.266625 0.0762779,0.07622 0.16695386,0.136398 0.26675594,0.177208 0.099802,0.04082 0.20672745,0.06127 0.31452961,0.06029 0.1078025,-9.53e-4 0.21433799,-0.0235 0.31337139,-0.06604 0.099045,-0.04265 0.1886052,-0.104571 0.263465,-0.182081 L 6.5048431,7.6434102 11.613445,12.751855 c 0.152317,0.152312 0.35898,0.237831 0.574302,0.237831 0.215433,0 0.421986,-0.08552 0.574304,-0.237831 C 12.914368,12.599545 13,12.393 13,12.177578 13,11.962157 12.91437,11.75561 12.762051,11.603299 Z"/></svg>\')}h2{margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px}.overlay{position:fixed;display:flex;top:0px;z-index:var(--dialog-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.dialog{display:flex;width:80%;position:absolute;top:50%;left:50%;margin-right:-50%;box-sizing:border-box;transform:translate(-50%, -50%);box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122)}@media screen and (min-width: 768px){.dialog{width:50%}}@media screen and (min-width: 992px){.dialog{width:33.33333%}}.dialog__container{width:100%;background:#FFFF;border-radius:0px 6px 6px 0px;box-sizing:border-box;padding:var(--dialog__container-padding)}.dialog__container--default{border-radius:6px 6px 6px 6px}.dialog__critical--indicator{box-sizing:border-box;width:12px;border-radius:6px 0px 0px 6px;background-color:var(--dialog__critical--background-color)}.dialog__warning--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__warning--background-color)}.dialog__success--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__success--background-color)}.message{font-size:var(--dialog__body--font-size);font-weight:var(--dialog__body--text-weight--medium);font-family:var(--dialog__body--font-pattern);text-shadow:var(--dialog__body--text-shadow);padding-bottom:var(--dialog__body--padding-bottom);color:var(--dialog__body--color);max-height:30vh;content-visibility:auto;margin-bottom:var(--space--medium);overflow-y:auto}.changeable__icon__container{background:var(--dialog__warning--background-color);display:flex;justify-content:center;align-items:center;min-width:26px;min-height:26px;border-radius:50%}.changeable__icon{--ez-icon--color:var(--dialog__icon--color)}.changeable__icon__container.title-icon--critical{background-color:var(--dialog__critical--background-color)}.changeable__icon__container.title-icon--success{background-color:var(--dialog__success--background-color)}.changeable__icon__container.title-icon--warn{background-color:var(--dialog__warning--background-color)}.changeable__icon__container.title-icon--warn ez-icon{transform:translateY(-1px)}.title{display:flex;font-family:var(--dialog__title--font-pattern);margin:0;font-weight:var(--dialog__title--weight--large);color:var(--title--primary)}.title__container{display:flex;padding-bottom:var(--dialog__title__container--padding-bottom)}.title__box{display:flex;width:100%;align-items:center;align-self:center}.title__label{padding-left:var(--dialog__title--padding-left)}.title__label--no-icon{padding-left:0}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--dialog__btn__close--background-color);width:12px;height:12px;-webkit-mask-image:var(--dialog__btn__close__image);mask-image:var(--dialog__btn__close__image)}.title-icon::after{content:\'\';display:flex;background-color:#FFFF;width:15px;height:15px;-webkit-mask-image:var(--dialog--warning__image);mask-image:var(--dialog--warning__image)}.button-yes-no__container{display:flex;box-sizing:border-box;align-self:center;align-items:center;justify-content:flex-end}.button__cancel{padding-right:var(--dialog__btn__no--padding-right)}.button__confirm{--ez-button--background-color:var(--color--primary);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color--primary-600);--ez-button--hover-color:var(--color--inverted)}.button__confirm--danger{--ez-button--background-color:var(--color--alert-error-800, #BD0025);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color-alert--error-900, #a10020);--ez-button--hover-color:var(--color--inverted)}.button__confirm--container{display:flex;justify-content:flex-end}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{g as ez_dialog}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as e,c as s,g as o}from"./p-23a36bb6.js";import{ElementIDUtils as a,ObjectUtils as r,HTMLBuilder as h,StringUtils as l,KeyboardManager as n}from"@sankhyalabs/core";import{i as c}from"./p-641ee538.js";import{C as d}from"./p-30ffb9ed.js";import{R as b,a as m}from"./p-3e767a74.js";import{p as u}from"./p-228a4d2f.js";import{A as v}from"./p-5a11cf56.js";import"./p-ab574d59.js";import"./p-b853763b.js";import"./p-112455b1.js";const p=class{constructor(i){t(this,i),this.showLoading=void 0,this.visibleOptions=void 0,this.textEmptyList=void 0,this.showOptionValue=void 0,this.preSelection=void 0,this.maxWidth=void 0,this.width=void 0,this.onOptionSelect=void 0,this.onOptionHover=void 0}async nextOption(){var t,i;(null===(t=this.visibleOptions)||void 0===t?void 0:t.length)&&(void 0!==this.preSelection&&this.preSelection>=this.visibleOptions.length-1||(this.preSelection=void 0===this.preSelection?0:this.preSelection+1,this.scrollToOption(this.visibleOptions[this.preSelection]),null===(i=this.onOptionHover)||void 0===i||i.call(this,this.preSelection)))}async previousOption(){var t,i;(null===(t=this.visibleOptions)||void 0===t?void 0:t.length)&&(void 0!==this.preSelection&&this.preSelection<=0||(this.preSelection=void 0===this.preSelection?this.visibleOptions.length-1:this.preSelection-1,this.scrollToOption(this.visibleOptions[this.preSelection]),null===(i=this.onOptionHover)||void 0===i||i.call(this,this.preSelection)))}async selectCurrentOption(){void 0!==this.preSelection&&(this.onOptionSelect(this.visibleOptions[this.preSelection]),this.preSelection=void 0)}observeWidth(t,i){t!==i&&this._listWrapper&&(this._listWrapper.style.width=`${this.width}px`)}observeMaxWidth(t,i){t!==i&&this._listWrapper&&(this._listWrapper.style.maxWidth=this.maxWidth?`${this.maxWidth}px`:"")}handleKeyDown(t){switch(t.key){case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.nextOption();break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),this.previousOption();break;case"Enter":this.selectCurrentOption();break;case"Escape":this.preSelection=void 0}}buildItem(t,e){const s=this.showOptionValue&&this.maxWidth>0?`${this.maxWidth}px`:"";return t.label=t.label||t.value,i("li",{tabIndex:1,class:e===this.preSelection?"item preselected":"item",id:`item_${t.value}_${e}`,key:`item_${t.value}_${e}`,onMouseDown:()=>this.onOptionSelect(t),onMouseOver:()=>this.preSelection=e},this.showOptionValue?i("span",{class:"item__value",title:t.value,style:{width:s,minWidth:s,maxWidth:s}},t.value):void 0,i("span",{class:"item__label "+(this.showOptionValue?"item__label--bold":""),title:t.label},t.label))}scrollToOption(t){if(!(null==t?void 0:t.value)||!this._optionsList)return;const i=this.visibleOptions.indexOf(t);if(-1===i)return;const e=this._optionsList.querySelector(`li#item_${CSS.escape(t.value)}_${CSS.escape(String(i))}`);e&&e.scrollIntoView({behavior:"smooth",block:"nearest"})}async componentWillLoad(){this.i18n=await c()}componentDidLoad(){this._listWrapper.style.width=`${this.width}px`,this._listWrapper.style.maxWidth=this.maxWidth?`${this.maxWidth}px`:""}componentDidRender(){var t;null===(t=this._optionsList)||void 0===t||t.querySelectorAll(".item").forEach((t=>{a.addIDInfoIfNotExists(t,"itemComboBox")}))}render(){return i("section",{class:"list-container"},i("div",{class:"list-wrapper",ref:t=>this._listWrapper=t},i("ul",{class:"list-options",ref:t=>this._optionsList=t},!this.showLoading&&0===this.visibleOptions.length&&i("div",{class:"message"},i("span",{class:"message__no-result"},this.textEmptyList||this.i18n("ez-combo-box.noResults"))),this.showLoading&&i("div",{class:"message"},i("div",{class:"message__loading"})),this.showOptionValue&&i("span",{class:"item__value item__value--hidden"}),!this.showLoading&&this.visibleOptions.length>0&&this.visibleOptions.map(((t,i)=>this.buildItem(t,i))))))}static get watchers(){return{width:["observeWidth"],maxWidth:["observeMaxWidth"]}}};p.style=":host{--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--font-weight--large:var(--text-weight--large, 500);--ez-combo-box--font-weight--medium:var(--text-weight--medium, 400);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box--background-medium:var(--background--medium, #f0f3f7);--ez-combo-box--line-height:calc(var(--text--medium, 14px) + 4px);--ez-combo-box__list-title--primary:var(--title--primary, #2B3A54);--ez-combo-box__list-text--primary:var(--text--primary, #626e82);--ez-combo-box__list-height:calc(var(--ez-combo-box--font-size) + var(--ez-combo-box--space--medium) + 4px);--ez-combo-box--space--medium:var(--space--medium, 12px);--ez-combo-box--space--small:var(--space--small, 6px);--ez-combo-box__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-combo-box__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-combo-box__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-combo-box__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-combo-box__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-combo-box__scrollbar--width:var(--space--medium, 12px);--ez-combo-box__list-container--padding:var(--space--extra-small, 3px)}.list-container{padding-top:var(--ez-combo-box__list-container--padding)}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:calc(4*var(--ez-combo-box__list-height) + 2*var(--ez-combo-box--space--small) + 9px);background-color:var(--ez-combo-box--background-color--xlight);border-radius:var(--ez-combo-box--border-radius);box-shadow:var(--shadow--medium, 0 8px 24px 0 rgba(43, 58, 84, 0.10));padding:var(--ez-combo-box--space--small)}.list-options{box-sizing:border-box;width:100%;height:100%;padding:0;margin:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow:auto;scrollbar-width:thin;gap:3px;scrollbar-color:var(--ez-combo-box__scrollbar--color-clicked) var(--ez-combo-box__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-combo-box__scrollbar--color-background);width:var(--ez-combo-box__scrollbar--width);max-width:var(--ez-combo-box__scrollbar--width);min-width:var(--ez-combo-box__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-combo-box__scrollbar--color-background);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-combo-box__scrollbar--color-default);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-combo-box__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-combo-box__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-combo-box--border-radius-small);padding:var(--ez-combo-box--space--small);min-height:var(--ez-combo-box__list-height);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size);line-height:var(--ez-combo-box--line-height)}.item__label{font-weight:var(--ez-combo-box--font-weight--medium)}.item__label--bold{font-weight:var(--ez-combo-box--font-weight--large)}.item__value{text-align:center;color:var(--ez-combo-box__list-text--primary);font-weight:var(--ez-combo-box--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-combo-box__list-height)}.message__no-result{color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-combo-box__list-title--primary);border-top:3px solid transparent}li:hover{background-color:var(--ez-combo-box--background-medium)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";const x=class{constructor(i){t(this,i),this.gui=void 0,this.customEditor=void 0,this.formViewField=void 0,this.value=void 0,this.detailContext=void 0,this.builderFallback=void 0,this.selectedRecord=void 0}async setFocus(){var t,i;null===(i=null===(t=this.gui)||void 0===t?void 0:t.setFocus)||void 0===i||i.call(t)}async setBlur(){var t,i;null===(i=null===(t=this.gui)||void 0===t?void 0:t.setBlur)||void 0===i||i.call(t)}async isInvalid(){var t,i;return(null===(i=null===(t=this.gui)||void 0===t?void 0:t.isInvalid)||void 0===i?void 0:i.call(t))||!1}watchValue(){this.handleValue(this.gui)}watchCustomEditor(){this.getContent()}watchFormViewField(t,i){r.equals(t,i)||this.getContent()}watchDetailContext(){this.getContent()}watchBuilderFallback(){this.getContent()}watchSelectedRecord(t,i){(null==t?void 0:t.__record__id__)!==(null==i?void 0:i.__record__id__)&&this.getContent()}getContent(){var t,e,s,o,a;const r=new Map;for(const t in this.formViewField.props)r.set(t,this.formViewField.props[t]);const n={value:this.value,name:this.formViewField.name,currentEditor:this.builderFallback(this.formViewField),setValue:t=>this.setValue(t),getValue:this.getValue,record:this.selectedRecord,editorMetadata:{label:this.formViewField.label,hidden:!1===(null===(t=this.formViewField.props)||void 0===t?void 0:t.visible),userInterface:this.formViewField.userInterface,options:null===(e=this.formViewField.props)||void 0===e?void 0:e.options,props:this.formViewField.props?r:void 0,optionLoader:this.formViewField.optionLoader},source:d.FORM,detailContext:this.detailContext};let c=this.customEditor.getEditorElement(n);if(!c)return c=this.builderFallback(this.formViewField),this.handleValue(c),void(this.gui=c);if(!(c instanceof HTMLElement)&&"string"!=typeof c)return this.handleValue(c),void(this.gui=c);"string"==typeof c&&(c=h.parseElement(c));const b=null!==(a=null!==(o=null===(s=this.value)||void 0===s?void 0:s.value)&&void 0!==o?o:this.value)&&void 0!==a?a:"";c.setAttribute("value",b),this.gui=i("div",{key:l.generateUUID(),ref:t=>t&&t.appendChild(c)})}setValue(t){this.value=t}getValue(){return this.value}handleValue(t){var i;null===(i=t.t)||void 0===i||i.forEach((t=>{t.i.value=this.value}))}componentWillLoad(){this.getContent()}render(){return i(e,null,this.gui)}static get watchers(){return{value:["watchValue"],customEditor:["watchCustomEditor"],formViewField:["watchFormViewField"],detailContext:["watchDetailContext"],builderFallback:["watchBuilderFallback"],selectedRecord:["watchSelectedRecord"]}}},w=class{constructor(i){t(this,i),this.ezChange=s(this,"ezChange",7),this.historyStack=[],this.historyIndex=-1,this.previewMode=!1,this.showPreview=!0,this.value="",this.label=void 0,this.mode="regular",this.enabled=!0,this.rows=6,this.errorMessage=void 0,this.canShowError=!0,this.showConfigs=!0,this.showTextFormat=!0,this.showUndoRedo=!0}observeValue(t,i){r.equals(t,i)||this.ezChange.emit(t)}observeErrorMessage(t){t&&this.previewMode&&(this.previewMode=!1)}async handleExecuteToolbarCommand(t){const{command:i,value:e}=t.detail;await this.executeCommand(i,e)}async setFocus(){this.handleFocus()}async setBlur(){var t;await(null===(t=this.textAreaRef)||void 0===t?void 0:t.setBlur())}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}bindPreview(){this._keyboardManager&&this.showPreview&&this._keyboardManager.bind("ctrl + p",(async()=>{await this.togglePreview()}),{description:"Entra em modo de pré visualização.",element:this.element})}bindConfigs(){this._keyboardManager&&this.showConfigs&&this._keyboardManager.bind("ctrl + l",(async()=>{await this.handleFormatSelection(b.LIST)}),{description:this.i18n("ez-rich-text.listShortcut"),element:this.element}).bind("ctrl + k",(async()=>{await this.handleLink()}),{description:this.i18n("ez-rich-text.linkShortcut"),element:this.element}).bind("ctrl + o",(async()=>{await this.handleImage()}),{description:this.i18n("ez-rich-text.imageShortcut"),element:this.element})}bindTextFormat(){this._keyboardManager&&this.showTextFormat&&this._keyboardManager.bind("ctrl + b",(async()=>{await this.handleFormatSelection(b.BOLD)}),{description:this.i18n("ez-rich-text.boldShortcut"),element:this.element}).bind("ctrl + i",(async()=>{await this.handleFormatSelection(b.ITALIC)}),{description:this.i18n("ez-rich-text.italicShortcut"),element:this.element}).bind("ctrl + u",(async()=>{await this.handleFormatSelection(b.UNDERLINE)}),{description:this.i18n("ez-rich-text.underlineShortcut"),element:this.element})}initKeyboardManager(){this._keyboardManager=new n({propagate:!1,element:this.element}),this._keyboardManager.bind("ctrl + Enter",(async()=>{await this.handleFormatSelection(b.BREAK_LINE)}),{description:this.i18n("ez-rich-text.breakLineShortcut"),element:this.element}).bind("ctrl + z",(async()=>{await this.handleUndo()}),{description:this.i18n("ez-rich-text.undoShortcut"),element:this.element}).bind("ctrl + x",(async()=>{await this.handleRedo()}),{description:this.i18n("ez-rich-text.redoShortcut"),element:this.element}),this.bindPreview(),this.bindConfigs(),this.bindTextFormat()}async executeCommand(t,i){switch(t){case m.FOCUS:this.handleFocus();break;case m.PREVIEW:await this.togglePreview();break;case m.FORMAT:await this.handleFormatSelection(i);break;case m.UNDO:await this.handleUndo();break;case m.REDO:await this.handleRedo();break;case m.LINK:await this.handleLink();break;case m.IMAGE:await this.handleImage()}}handleFocus(){this.previewMode=!1,requestAnimationFrame((async()=>{await this.textAreaRef.setFocus()}))}async handleLink(){this.previewMode=!1,requestAnimationFrame((async()=>{await this.linkBuilderRef.show(this.getSelectedText())}))}async handleImage(){this.previewMode=!1,await this.imageUploaderRef.show()}async handleRedo(){this.previewMode=!1,requestAnimationFrame((async()=>{this.redo(),await this.textAreaRef.setFocus()}))}async handleUndo(){this.previewMode=!1,requestAnimationFrame((async()=>{this.undo(),await this.textAreaRef.setFocus()}))}async handleFormatSelection(t){t&&(this.previewMode=!1,requestAnimationFrame((async()=>{await this.formatSelection(t),await this.textAreaRef.setFocus()})))}async togglePreview(){this.previewMode=!this.previewMode,this.previewMode&&await this.textAreaRef.setFocus()}getSelectedText(){const t=this.getTextAreaElement();if(t)return(this.textAreaRef.value||"").substring(t.selectionStart,t.selectionEnd)}getTextAreaElement(){return this.element.querySelector("ez-text-area").shadowRoot.querySelector("textarea")}async formatSelection(t){if(!this.textAreaRef)return;const i=t.replace("$selection",this.getSelectedText()||"");await this.textAreaRef.appendTextToSelection(i),this.value=this.textAreaRef.value,this.addToHistory(this.value)}addToHistory(t){this.historyIndex>=0&&t===this.historyStack[this.historyIndex]||(this.historyStack.length>=50&&this.historyStack.splice(0,this.historyStack.length-49),this.historyStack.push(t),this.historyIndex=this.historyStack.length-1)}undo(){if(!this.canExecuteUndo())return;this.historyIndex--;const t=this.historyStack[this.historyIndex];this.value=t,this.textAreaRef.value=t}canExecuteUndo(){return this.historyIndex>0}redo(){this.canExecuteRedo()&&(this.historyIndex++,this.getValueFromHistory())}canExecuteRedo(){return this.historyIndex<this.historyStack.length-1}getValueFromHistory(){const t=this.historyStack[this.historyIndex];this.value=t,this.textAreaRef.value=t}handleTextAreaChanged(t){this.value=t.detail,this.addToHistory(this.value)}async removeShortcuts(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}async componentWillLoad(){this.i18n=await c()}componentDidLoad(){this.initKeyboardManager(),this.addToHistory(this.value)}async disconnectedCallback(){await this.removeShortcuts()}getSanitizedValue(){return u.sanitize(this.value,{ADD_ATTR:["target","rel"]})}renderContent(){return this.previewMode?i("div",{id:"rich-text-preview-container",class:"preview",innerHTML:this.getSanitizedValue()}):i("ez-text-area",{ref:t=>this.textAreaRef=t,label:this.label,value:this.value,enabled:this.enabled,rows:this.rows,mode:this.mode,canShowError:this.canShowError,errorMessage:this.errorMessage,onEzChange:this.handleTextAreaChanged.bind(this)})}render(){return i(e,null,i("div",{class:"editor-container bordered"},i("ez-rich-toolbar",{isPreviewMode:this.previewMode,showPreview:this.showPreview,showConfigs:this.showConfigs&&this.enabled,showTextFormat:this.showTextFormat&&this.enabled,showUndoRedo:this.showUndoRedo&&this.enabled}),this.renderContent()),i("ez-link-builder",{ref:t=>this.linkBuilderRef=t}),i("ez-simple-image-uploader",{ref:t=>this.imageUploaderRef=t}))}get element(){return o(this)}static get watchers(){return{value:["observeValue"],errorMessage:["observeErrorMessage"]}}};w.style=".sc-ez-rich-text-h{display:block;width:100%;font-family:Roboto;--ez-rich-text--box-shadow:0 0 3px 0 #DCE0E8;--ez-rich-text--shadow--outline:var(--shadow--outline) var(--color--strokes)}.editor-container.sc-ez-rich-text{width:100%;overflow:hidden;border-radius:12px;border:1px solid #DCE0E8}ez-text-area.sc-ez-rich-text{--text-area__input--border:1px solid}.preview.sc-ez-rich-text{min-height:20px;padding:12px;resize:both;overflow:auto;max-width:100%;border-top:1px solid #DCE0E8}";const _=class{constructor(i){t(this,i),this.saveEdition=s(this,"saveEdition",7),this.cancelEdition=s(this,"cancelEdition",7),this._newValue=void 0,this.value=void 0,this.styled=void 0}async applyFocusSelect(){this.calcSizeInput(this.value,!0)}calcSizeInput(t,i=!1){var e,s;const o=null===(s=null===(e=this._inputElement)||void 0===e?void 0:e.shadowRoot)||void 0===s?void 0:s.querySelector("input");if(null!=o){const e=this.getWidthValue(t);o.style.width=e+"px",i&&setTimeout((()=>o.select()),100)}}getWidthValue(t){if(null!=this._valueBasis){const i=this._valueBasis;if(null!=t){const e=2;return i.innerHTML=t,i.clientWidth>0?i.clientWidth+e:e}i.innerHTML=""}return 0}setStyledInput(){var t,i;let e="",s="",o="";null!=this.styled&&(e=this.styled.fontSize,s=this.styled.fontWeight,o=this.styled.fontFamily);const a=null===(i=null===(t=this._inputElement)||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.querySelector("input");null!=a&&(a.style.fontSize=e,a.style.fontWeight=s,a.style.fontFamily=o);const r=this._valueBasis;null!=r&&(r.style.fontSize=e,r.style.fontWeight=s,r.style.fontFamily=o)}handleSaveEdition(){this._newValue?this.saveEdition.emit({value:this.value,newValue:this._newValue}):v.alert(this.i18n("app.warning"),this.i18n("ez-text-edit.emptyFieldWarning")).then((()=>{this.setNewValue(this.value,!0)}))}handleCancelEdition(){this.cancelEdition.emit()}setNewValue(t,i=!1){this._newValue=t,this.calcSizeInput(this._newValue,i)}async componentWillLoad(){this.i18n=await c()}componentDidLoad(){this.applyFocusSelect(),this.setNewValue(this.value)}componentDidRender(){this.setStyledInput()}render(){return a.addIDInfoIfNotExists(this._element,"input"),i(e,null,i("span",{class:"text-edit__hidden-value",ref:t=>this._valueBasis=t}),i("ez-text-input",{"data-element-id":a.getInternalIDInfo("textInput"),onInput:()=>{this.calcSizeInput(this._newValue)},class:"text-edit__form-input",value:this._newValue,ref:t=>this._inputElement=t,mode:"slim",onEzChange:t=>this.setNewValue(null==t?void 0:t.detail),noBorder:!0}),i("ez-button",{class:"text-edit__icon-check",mode:"icon",iconName:"check",size:"small",onClick:()=>{this.handleSaveEdition()}}),i("ez-button",{class:"text-edit__icon-close",mode:"icon",iconName:"close",size:"small",onClick:()=>{this.handleCancelEdition()}}))}get _element(){return o(this)}};_.style=":host{display:flex;align-items:center;gap:5px}.text-edit__form-input{width:auto;--ez-text-input__input--padding:0px}.text-edit__hidden-value{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}";export{p as ez_combo_box_list,x as ez_custom_form_input,w as ez_rich_text,_ as ez_text_edit}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,g as a}from"./p-e4c7eb39.js";import{DateUtils as n,ElementIDUtils as o}from"@sankhyalabs/core";import{C as r}from"./p-ec7db713.js";import{i as h}from"./p-a61fdd20.js";const l=class{constructor(i){t(this,i),this.ezChange=e(this,"ezChange",7),this.ezStartChange=e(this,"ezStartChange",7),this.ezCancelWaitingChange=e(this,"ezCancelWaitingChange",7),this._changePending=!1,this._focused=!1,this._valuePromiseCallbacks=[],this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.mode="regular",this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,e){if(this._textInput&&t!=e){const i=n.validateDate(t),s=n.validateDate(e);if((null==i?void 0:i.getTime())!==(null==s?void 0:s.getTime())){const t=this.getTextValue(i)||"";!n.strToDate(t)&&this._focused||(this._textInput.value||"")===t||(this._textInput.value=t,this._focused=!1,this.errorMessage=""),this.ezChange.emit(null===i?void 0:i)}}this._changePending=!1}async setFocus(t){this._textInput.setFocus(t)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async getValueAsync(){return this._changePending?new Promise((t=>{this._valuePromiseCallbacks.push(t)})):Promise.resolve(this.value)}changeValue(t){const e=n.validateDate(this.value),i=n.validateDate(t);(null==e?void 0:e.getTime())!==(null==i?void 0:i.getTime())?this.value=i:this._changePending=!1}hideCalendar(){this.changeValue(this._calendar.value),this._popover.hide()}handleBlur(){if(this._changePending)try{const t=this._textInput.value,e=n.strToDate(t);if(e||!t){this.errorMessage="";const t=n.validateDate(this.value),i=n.validateDate(e);(null==t?void 0:t.getTime())===(null==i?void 0:i.getTime())?(i&&(this._textInput.value=this.getTextValue(i)||"",this._focused=!1),this.ezCancelWaitingChange.emit()):(this._focused=!1,this.changeValue(i))}else this.changeValue(void 0),this.ezCancelWaitingChange.emit(),this.errorMessage=this.i18n("ez-date-input.invalidDate")}finally{for(const t of this._valuePromiseCallbacks)t(this.value);this._valuePromiseCallbacks=[]}}getTextValue(t){return t?n.formatDate(t):void 0}handleInput(t){const e=n.strToDate(this._textInput.value),i=n.validateDate(this.value),s=n.validateDate(e);(null==i?void 0:i.getTime())!==(null==s?void 0:s.getTime())&&(this._changePending=!0,this._focused=!0,this.ezStartChange.emit({waitmessage:"",blocking:!1})),"H"!==t.data&&"h"!==t.data||this.changeValue(new Date)}setInputValue(){const t=this.getTextValue(this.value)||"";(this._textInput.value||"")!==t&&(this._textInput.value=t)}disconnectedCallback(){this._popover.hide()}async componentWillLoad(){this.i18n=await h()}componentDidLoad(){r.applyVarsTextInput(this._elem,this._textInput),this.setInputValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return o.addIDInfoIfNotExists(this._elem,"input"),i(s,null,i("ez-text-input",{"data-element-id":o.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",label:this.label,onBlur:()=>this.handleBlur(),onInput:t=>this.handleInput(t),restrict:"0123456789/",enabled:this.enabled,errorMessage:this.errorMessage,mode:this.mode,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder},i("button",{disabled:!this.enabled,tabindex:-1,class:"btn-open-cal",onClick:()=>{var t;return null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput)},slot:"leftIcon"})),i("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none","data-element-id":this._elem.getAttribute("data-element-id"),onEzVisibilityChange:t=>t.stopPropagation()},i("ez-calendar",{ref:t=>this._calendar=t,"data-element-id":o.getInternalIDInfo("calendar"),onEzChange:t=>{this.hideCalendar(),t.stopPropagation()}})))}get _elem(){return a(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};l.style=':host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>\')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}';export{l as ez_date_input}
1
+ import{r as t,c as e,h as i,H as s,g as a}from"./p-23a36bb6.js";import{DateUtils as n,ElementIDUtils as o}from"@sankhyalabs/core";import{C as r}from"./p-ec7db713.js";import{i as h}from"./p-641ee538.js";const l=class{constructor(i){t(this,i),this.ezChange=e(this,"ezChange",7),this.ezStartChange=e(this,"ezStartChange",7),this.ezCancelWaitingChange=e(this,"ezCancelWaitingChange",7),this._changePending=!1,this._focused=!1,this._valuePromiseCallbacks=[],this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.mode="regular",this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,e){if(this._textInput&&t!=e){const i=n.validateDate(t),s=n.validateDate(e);if((null==i?void 0:i.getTime())!==(null==s?void 0:s.getTime())){const t=this.getTextValue(i)||"";!n.strToDate(t)&&this._focused||(this._textInput.value||"")===t||(this._textInput.value=t,this._focused=!1,this.errorMessage=""),this.ezChange.emit(null===i?void 0:i)}}this._changePending=!1}async setFocus(t){this._textInput.setFocus(t)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async getValueAsync(){return this._changePending?new Promise((t=>{this._valuePromiseCallbacks.push(t)})):Promise.resolve(this.value)}changeValue(t){const e=n.validateDate(this.value),i=n.validateDate(t);(null==e?void 0:e.getTime())!==(null==i?void 0:i.getTime())?this.value=i:this._changePending=!1}hideCalendar(){this.changeValue(this._calendar.value),this._popover.hide()}handleBlur(){if(this._changePending)try{const t=this._textInput.value,e=n.strToDate(t);if(e||!t){this.errorMessage="";const t=n.validateDate(this.value),i=n.validateDate(e);(null==t?void 0:t.getTime())===(null==i?void 0:i.getTime())?(i&&(this._textInput.value=this.getTextValue(i)||"",this._focused=!1),this.ezCancelWaitingChange.emit()):(this._focused=!1,this.changeValue(i))}else this.changeValue(void 0),this.ezCancelWaitingChange.emit(),this.errorMessage=this.i18n("ez-date-input.invalidDate")}finally{for(const t of this._valuePromiseCallbacks)t(this.value);this._valuePromiseCallbacks=[]}}getTextValue(t){return t?n.formatDate(t):void 0}handleInput(t){const e=n.strToDate(this._textInput.value),i=n.validateDate(this.value),s=n.validateDate(e);(null==i?void 0:i.getTime())!==(null==s?void 0:s.getTime())&&(this._changePending=!0,this._focused=!0,this.ezStartChange.emit({waitmessage:"",blocking:!1})),"H"!==t.data&&"h"!==t.data||this.changeValue(new Date)}setInputValue(){const t=this.getTextValue(this.value)||"";(this._textInput.value||"")!==t&&(this._textInput.value=t)}disconnectedCallback(){this._popover.hide()}async componentWillLoad(){this.i18n=await h()}componentDidLoad(){r.applyVarsTextInput(this._elem,this._textInput),this.setInputValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return o.addIDInfoIfNotExists(this._elem,"input"),i(s,null,i("ez-text-input",{"data-element-id":o.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",label:this.label,onBlur:()=>this.handleBlur(),onInput:t=>this.handleInput(t),restrict:"0123456789/",enabled:this.enabled,errorMessage:this.errorMessage,mode:this.mode,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder},i("button",{disabled:!this.enabled,tabindex:-1,class:"btn-open-cal",onClick:()=>{var t;return null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput)},slot:"leftIcon"})),i("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none","data-element-id":this._elem.getAttribute("data-element-id"),onEzVisibilityChange:t=>t.stopPropagation()},i("ez-calendar",{ref:t=>this._calendar=t,"data-element-id":o.getInternalIDInfo("calendar"),onEzChange:t=>{this.hideCalendar(),t.stopPropagation()}})))}get _elem(){return a(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};l.style=':host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>\')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}';export{l as ez_date_input}
@@ -1 +1 @@
1
- import{r,h as e,H as o,g as t}from"./p-e4c7eb39.js";import{ElementIDUtils as a}from"@sankhyalabs/core";const d=class{constructor(e){r(this,e),this.color="default",this.height=void 0,this.width=void 0}componentDidRender(){this._element&&a.addIDInfo(this._element),this._container&&a.addIDInfo(this._container,"empty-card",{id:"container"})}render(){const r=Object.assign(Object.assign({},this.height?{"--ez-empty-card--custom-height":`${this.height}px`}:{}),this.width?{"--ez-empty-card--custom-width":`${this.width}px`}:{});return e(o,{style:r},e("div",{ref:r=>this._container=r,class:`card_container ${this.color}`},e("slot",null)))}get _element(){return t(this)}};d.style=":host{--ez-empty-card--width:335px;--ez-empty-card--height:155px;--ez-empty-card--padding:var(--space--24, 24px);--ez-empty-card--border-radius:var(--border--radius-24, 24px);--ez-empty-card--background-color:var(--color--gray-70, #ffffff)}div{width:var(--ez-empty-card--custom-width, var(--ez-empty-card--width));height:var(--ez-empty-card--custom-height, var(--ez-empty-card--height));border-radius:var(--ez-empty-card--border-radius);background-color:var(--ez-empty-card--background-color);padding:var(--ez-empty-card--padding);display:block;overflow:hidden;outline:none;box-shadow:none;border:none;box-sizing:border-box}.gray{--ez-empty-card--background-color:var(--color--gray-80)}.green{--ez-empty-card--background-color:var(--color--ocean-green-90)}.yellow{--ez-empty-card--background-color:var(--color--yellow-100)}.red{--ez-empty-card--background-color:var(--color--red-100)}.petroleum{--ez-empty-card--background-color:var(--color--petroleum-90)}";export{d as ez_empty_card}
1
+ import{r,h as e,H as o,g as t}from"./p-23a36bb6.js";import{ElementIDUtils as a}from"@sankhyalabs/core";const d=class{constructor(e){r(this,e),this.color="default",this.height=void 0,this.width=void 0}componentDidRender(){this._element&&a.addIDInfo(this._element),this._container&&a.addIDInfo(this._container,"empty-card",{id:"container"})}render(){const r=Object.assign(Object.assign({},this.height?{"--ez-empty-card--custom-height":`${this.height}px`}:{}),this.width?{"--ez-empty-card--custom-width":`${this.width}px`}:{});return e(o,{style:r},e("div",{ref:r=>this._container=r,class:`card_container ${this.color}`},e("slot",null)))}get _element(){return t(this)}};d.style=":host{--ez-empty-card--width:335px;--ez-empty-card--height:155px;--ez-empty-card--padding:var(--space--24, 24px);--ez-empty-card--border-radius:var(--border--radius-24, 24px);--ez-empty-card--background-color:var(--color--gray-70, #ffffff)}div{width:var(--ez-empty-card--custom-width, var(--ez-empty-card--width));height:var(--ez-empty-card--custom-height, var(--ez-empty-card--height));border-radius:var(--ez-empty-card--border-radius);background-color:var(--ez-empty-card--background-color);padding:var(--ez-empty-card--padding);display:block;overflow:hidden;outline:none;box-shadow:none;border:none;box-sizing:border-box}.gray{--ez-empty-card--background-color:var(--color--gray-80)}.green{--ez-empty-card--background-color:var(--color--ocean-green-90)}.yellow{--ez-empty-card--background-color:var(--color--yellow-100)}.red{--ez-empty-card--background-color:var(--color--red-100)}.petroleum{--ez-empty-card--background-color:var(--color--petroleum-90)}";export{d as ez_empty_card}