@sankhyalabs/ezui 7.3.4 → 7.3.5-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 (1035) hide show
  1. package/README.md +8 -8
  2. package/dist/cjs/{ApplicationUtils-999d2366.js → ApplicationUtils-34e43a14.js} +1 -1
  3. package/dist/cjs/{search-column-254df8ea.js → DataBinder-cdc66d4e.js} +4 -31
  4. package/dist/cjs/FormLayout-fe8da83c.js +9 -0
  5. package/dist/cjs/FormMetadata-16c68f51.js +278 -0
  6. package/dist/cjs/{app-globals-1fea23aa.js → app-globals-a03da63f.js} +1 -1
  7. package/dist/cjs/classic-search-list_11.cjs.entry.js +1483 -0
  8. package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
  9. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-card-item.cjs.entry.js +62 -0
  13. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +38 -15
  15. package/dist/cjs/ez-classic-date-input.cjs.entry.js +201 -0
  16. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +246 -0
  17. package/dist/cjs/ez-classic-input.cjs.entry.js +144 -18
  18. package/dist/cjs/ez-classic-number-input.cjs.entry.js +205 -0
  19. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +420 -0
  20. package/dist/cjs/ez-classic-search.cjs.entry.js +683 -0
  21. package/dist/cjs/ez-classic-text-area.cjs.entry.js +13 -2
  22. package/dist/cjs/ez-classic-time-input.cjs.entry.js +198 -0
  23. package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -3
  24. package/dist/cjs/ez-combo-box.cjs.entry.js +4 -3
  25. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-filter.cjs.entry.js +426 -0
  33. package/dist/cjs/ez-form-view.cjs.entry.js +130 -37
  34. package/dist/cjs/ez-form.cjs.entry.js +27 -233
  35. package/dist/cjs/ez-grid-pagination.cjs.entry.js +331 -0
  36. package/dist/cjs/ez-grid.cjs.entry.js +984 -267
  37. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  42. package/dist/cjs/{ez-card-item_5.cjs.entry.js → ez-multi-selection-list_5.cjs.entry.js} +222 -56
  43. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-popover.cjs.entry.js +8 -0
  46. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
  48. package/dist/cjs/ez-rich-toolbar-arrows_3.cjs.entry.js +57 -0
  49. package/dist/cjs/ez-scroller_2.cjs.entry.js +81 -14
  50. package/dist/cjs/ez-search-plus.cjs.entry.js +18 -8
  51. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-search.cjs.entry.js +49 -11
  53. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
  56. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-split-button.cjs.entry.js +16 -17
  58. package/dist/cjs/ez-split-item.cjs.entry.js +7 -5
  59. package/dist/cjs/ez-split-panel.cjs.entry.js +6 -4
  60. package/dist/cjs/ez-tabselector.cjs.entry.js +209 -61
  61. package/dist/cjs/ez-text-input.cjs.entry.js +37 -0
  62. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  64. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  65. package/dist/cjs/ezui.cjs.js +3 -3
  66. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  67. package/dist/cjs/index-a7b0c73d.js +70 -34
  68. package/dist/cjs/{index-637af219.js → index-f98939e1.js} +180 -12
  69. package/dist/cjs/loader.cjs.js +3 -3
  70. package/dist/cjs/{purify-ef86f048.js → purify-4f39f037.js} +1 -0
  71. package/dist/cjs/search-column-f1c7a355.js +32 -0
  72. package/dist/cjs/searchFormatters-051f8677.js +23 -0
  73. package/dist/cjs/{FormLayout-18853e70.js → types-6a5df0c7.js} +0 -6
  74. package/dist/collection/collection-manifest.json +65 -3
  75. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +5 -0
  76. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +96 -18
  77. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +44 -0
  78. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +541 -0
  79. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +44 -0
  80. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +586 -0
  81. package/dist/collection/components/ez-classic-input/ez-classic-input.css +33 -5
  82. package/dist/collection/components/ez-classic-input/ez-classic-input.js +200 -19
  83. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +16 -0
  84. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +583 -0
  85. package/dist/collection/components/ez-classic-search/ez-classic-search.css +126 -0
  86. package/dist/collection/components/ez-classic-search/ez-classic-search.js +1330 -0
  87. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +227 -0
  88. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +316 -0
  89. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +18 -0
  90. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +428 -0
  91. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +1003 -0
  92. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +221 -0
  93. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +298 -0
  94. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +3 -2
  95. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
  96. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +14 -0
  97. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +512 -0
  98. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  99. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  100. package/dist/collection/components/ez-filter/ez-filter.css +134 -0
  101. package/dist/collection/components/ez-filter/ez-filter.js +1076 -0
  102. package/dist/collection/components/ez-filter/interfaces/IFilterChange.js +1 -0
  103. package/dist/collection/components/ez-filter/interfaces/IFilterCustomField.js +1 -0
  104. package/dist/collection/components/ez-filter/interfaces/index.js +1 -0
  105. package/dist/collection/components/ez-form/ez-form.js +30 -4
  106. package/dist/collection/components/ez-form-view/ez-form-view.css +27 -8
  107. package/dist/collection/components/ez-form-view/ez-form-view.js +62 -4
  108. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +9 -4
  109. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +9 -6
  110. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +8 -1
  111. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +30 -6
  112. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  113. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js +4 -0
  114. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +12 -5
  115. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
  116. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +9 -3
  117. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +8 -1
  118. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +7 -1
  119. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +8 -1
  120. package/dist/collection/components/ez-form-view/structure/index.js +1 -1
  121. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +138 -13
  122. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +11 -1
  123. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
  124. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
  125. package/dist/collection/components/ez-grid/ez-grid.css +5 -60
  126. package/dist/collection/components/ez-grid/ez-grid.js +52 -150
  127. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
  128. package/dist/collection/components/ez-grid/utils/index.js +1 -0
  129. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +217 -0
  130. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +516 -0
  131. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js +1 -0
  132. package/dist/collection/components/ez-icon/ez-icon.css +8 -7
  133. package/dist/collection/components/ez-image-input/ez-image-input.css +189 -0
  134. package/dist/collection/components/ez-image-input/ez-image-input.js +329 -0
  135. package/dist/collection/components/ez-modal/ez-modal.css +3 -0
  136. package/dist/collection/components/ez-popover/ez-popover.js +27 -0
  137. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
  138. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
  139. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
  140. package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
  141. package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
  142. package/dist/collection/components/ez-search/ez-search.css +4 -0
  143. package/dist/collection/components/ez-search/ez-search.js +75 -3
  144. package/dist/collection/components/ez-search-plus/ez-search-plus.js +11 -2
  145. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  146. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  147. package/dist/collection/components/ez-split-button/ez-split-button.js +20 -15
  148. package/dist/collection/components/ez-split-panel/ez-split-panel.css +29 -0
  149. package/dist/collection/components/ez-split-panel/ez-split-panel.js +23 -3
  150. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +9 -0
  151. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +20 -1
  152. package/dist/collection/components/ez-tabselector/ez-tabselector.css +33 -1
  153. package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
  154. package/dist/collection/components/ez-text-input/ez-text-input.js +38 -1
  155. package/dist/collection/utils/form/DataBinder.js +2 -2
  156. package/dist/collection/utils/form/FormMetadata.js +132 -74
  157. package/dist/collection/utils/form/interfaces/FormLayout.js +3 -1
  158. package/dist/collection/utils/i18n/locales/en-us.js +60 -4
  159. package/dist/collection/utils/i18n/locales/es-es.js +60 -4
  160. package/dist/collection/utils/i18n/locales/pt-br.js +60 -4
  161. package/dist/collection/utils/searchColumn/search-column.js +8 -6
  162. package/dist/custom-elements/index.d.ts +72 -0
  163. package/dist/custom-elements/index.js +5231 -572
  164. package/dist/esm/{ApplicationUtils-7270d89f.js → ApplicationUtils-aaf24be5.js} +1 -1
  165. package/dist/esm/{search-column-d98f7d96.js → DataBinder-81d15b1b.js} +5 -28
  166. package/dist/esm/FormLayout-bda67973.js +9 -0
  167. package/dist/esm/FormMetadata-112f11d8.js +276 -0
  168. package/dist/esm/{RichToolbarHelper-f3a149c4.js → RichToolbarHelper-cad0978a.js} +1 -1
  169. package/dist/esm/{app-globals-6208a4b6.js → app-globals-d5fb68f0.js} +1 -1
  170. package/dist/esm/classic-search-list_11.entry.js +1469 -0
  171. package/dist/esm/ez-actions-button.entry.js +4 -3
  172. package/dist/esm/ez-alert-list.entry.js +1 -1
  173. package/dist/esm/ez-avatar.entry.js +1 -1
  174. package/dist/esm/ez-calendar.entry.js +1 -1
  175. package/dist/esm/ez-card-item.entry.js +58 -0
  176. package/dist/esm/ez-chart.entry.js +1 -1
  177. package/dist/esm/ez-classic-combo-box.entry.js +38 -15
  178. package/dist/esm/ez-classic-date-input.entry.js +197 -0
  179. package/dist/esm/ez-classic-date-time-input.entry.js +242 -0
  180. package/dist/esm/ez-classic-input.entry.js +145 -19
  181. package/dist/esm/ez-classic-number-input.entry.js +201 -0
  182. package/dist/esm/ez-classic-search-plus.entry.js +416 -0
  183. package/dist/esm/ez-classic-search.entry.js +679 -0
  184. package/dist/esm/ez-classic-text-area.entry.js +13 -2
  185. package/dist/esm/ez-classic-time-input.entry.js +194 -0
  186. package/dist/esm/ez-collapsible-box.entry.js +4 -3
  187. package/dist/esm/ez-combo-box.entry.js +4 -3
  188. package/dist/esm/ez-date-input.entry.js +1 -1
  189. package/dist/esm/ez-date-time-input.entry.js +1 -1
  190. package/dist/esm/ez-dialog.entry.js +1 -1
  191. package/dist/esm/ez-double-list.entry.js +1 -1
  192. package/dist/esm/ez-dropdown.entry.js +1 -1
  193. package/dist/esm/ez-empty-card.entry.js +1 -1
  194. package/dist/esm/ez-file-item.entry.js +1 -1
  195. package/dist/esm/ez-filter.entry.js +422 -0
  196. package/dist/esm/ez-form-view.entry.js +130 -37
  197. package/dist/esm/ez-form.entry.js +15 -221
  198. package/dist/esm/ez-grid-pagination.entry.js +327 -0
  199. package/dist/esm/ez-grid.entry.js +980 -263
  200. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  201. package/dist/esm/ez-icon.entry.js +1 -1
  202. package/dist/esm/ez-list.entry.js +1 -1
  203. package/dist/esm/ez-modal-container.entry.js +1 -1
  204. package/dist/esm/ez-modal.entry.js +2 -2
  205. package/dist/esm/{ez-card-item_5.entry.js → ez-multi-selection-list_5.entry.js} +224 -58
  206. package/dist/esm/ez-number-input.entry.js +1 -1
  207. package/dist/esm/ez-pagination.entry.js +1 -1
  208. package/dist/esm/ez-popover.entry.js +8 -0
  209. package/dist/esm/ez-popup.entry.js +1 -1
  210. package/dist/esm/ez-record-navigation.entry.js +117 -0
  211. package/dist/esm/ez-rich-toolbar-arrows_3.entry.js +51 -0
  212. package/dist/esm/ez-scroller_2.entry.js +81 -14
  213. package/dist/esm/ez-search-plus.entry.js +15 -5
  214. package/dist/esm/ez-search-result-list.entry.js +1 -1
  215. package/dist/esm/ez-search.entry.js +44 -6
  216. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  217. package/dist/esm/ez-skeleton.entry.js +1 -1
  218. package/dist/esm/ez-sortable-list.entry.js +2 -2
  219. package/dist/esm/ez-spinner.entry.js +1 -1
  220. package/dist/esm/ez-split-button.entry.js +16 -17
  221. package/dist/esm/ez-split-item.entry.js +7 -5
  222. package/dist/esm/ez-split-panel.entry.js +6 -4
  223. package/dist/esm/ez-tabselector.entry.js +209 -61
  224. package/dist/esm/ez-text-input.entry.js +37 -0
  225. package/dist/esm/ez-time-input.entry.js +1 -1
  226. package/dist/esm/ez-tree.entry.js +1 -1
  227. package/dist/esm/ez-upload.entry.js +2 -2
  228. package/dist/esm/ezui.js +3 -3
  229. package/dist/esm/filter-column.entry.js +1 -1
  230. package/dist/esm/index-baa5e267.js +70 -34
  231. package/dist/esm/{index-8088eb6e.js → index-d37095f4.js} +180 -12
  232. package/dist/esm/loader.js +3 -3
  233. package/dist/esm/{purify-96c0d5c2.js → purify-f52f5419.js} +1 -0
  234. package/dist/esm/search-column-8b15de9a.js +27 -0
  235. package/dist/esm/searchFormatters-6d9b06e4.js +20 -0
  236. package/dist/esm/{FormLayout-071d324c.js → types-6f6b2650.js} +1 -7
  237. package/dist/ezui/ezui.esm.js +1 -1
  238. package/dist/ezui/p-0583e935.entry.js +1 -0
  239. package/dist/ezui/p-05af2c30.entry.js +1 -0
  240. package/dist/ezui/p-0d80e3ec.entry.js +1 -0
  241. package/dist/ezui/{p-fadf0509.entry.js → p-0ec3061a.entry.js} +1 -1
  242. package/dist/ezui/p-0f6e6ff6.entry.js +1 -0
  243. package/dist/ezui/p-10da38bf.js +1 -0
  244. package/dist/ezui/p-1283b53a.entry.js +1 -0
  245. package/dist/ezui/p-133c9bac.entry.js +1 -0
  246. package/dist/ezui/p-178cb9df.entry.js +1 -0
  247. package/dist/ezui/p-1878f204.entry.js +1 -0
  248. package/dist/ezui/p-1a017dc3.entry.js +1 -0
  249. package/dist/ezui/{p-513baabe.entry.js → p-1b3151a3.entry.js} +1 -1
  250. package/dist/ezui/p-1e82a5b6.entry.js +1 -0
  251. package/dist/ezui/p-20059180.js +1 -0
  252. package/dist/ezui/{p-87d12992.entry.js → p-2b467976.entry.js} +1 -1
  253. package/dist/ezui/p-2c74a7c2.entry.js +1 -0
  254. package/dist/ezui/p-2fe3d4c5.entry.js +1 -0
  255. package/dist/ezui/p-3a3926dd.entry.js +1 -0
  256. package/dist/ezui/{p-bf5b6db2.entry.js → p-3ff798b2.entry.js} +1 -1
  257. package/dist/ezui/p-47e4a8ce.js +1 -0
  258. package/dist/ezui/p-49bc0b59.entry.js +1 -0
  259. package/dist/ezui/{p-95a521ce.entry.js → p-4f48f23a.entry.js} +1 -1
  260. package/dist/ezui/p-53ed3234.entry.js +1 -0
  261. package/dist/ezui/p-5895e687.js +1 -0
  262. package/dist/ezui/{p-f90e8299.js → p-58ce160e.js} +1 -1
  263. package/dist/ezui/{p-b663ec25.entry.js → p-5a1abe6a.entry.js} +1 -1
  264. package/dist/ezui/p-5af2fb3b.entry.js +1 -0
  265. package/dist/ezui/{p-8a74deab.entry.js → p-62f331fe.entry.js} +1 -1
  266. package/dist/ezui/p-63409a57.entry.js +1 -0
  267. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  268. package/dist/ezui/p-638a30d0.js +1 -0
  269. package/dist/ezui/{p-27fd20cf.entry.js → p-65215a4f.entry.js} +1 -1
  270. package/dist/ezui/p-65b9fe4c.entry.js +1 -0
  271. package/dist/ezui/{p-f949bb8b.entry.js → p-68107165.entry.js} +1 -1
  272. package/dist/ezui/{p-f14b1400.entry.js → p-7a0a96fa.entry.js} +1 -1
  273. package/dist/ezui/p-7f7b4b9b.js +1 -0
  274. package/dist/ezui/p-83781530.entry.js +1 -0
  275. package/dist/ezui/p-88a115b3.js +1 -0
  276. package/dist/ezui/p-8c339d46.entry.js +1 -0
  277. package/dist/ezui/{p-8bbb3df7.entry.js → p-8d346a47.entry.js} +1 -1
  278. package/dist/ezui/{p-7ab75605.entry.js → p-8ddeb58b.entry.js} +1 -1
  279. package/dist/ezui/p-989849b8.entry.js +1 -0
  280. package/dist/ezui/{p-1cfe7c1b.entry.js → p-9bff4320.entry.js} +1 -1
  281. package/dist/ezui/{p-e2fe1b5d.entry.js → p-9c0fdc8e.entry.js} +1 -1
  282. package/dist/ezui/p-abfbbe1e.entry.js +1 -0
  283. package/dist/ezui/{p-b6bc4499.entry.js → p-af0196b7.entry.js} +1 -1
  284. package/dist/ezui/p-b29d9b0e.entry.js +1 -0
  285. package/dist/ezui/{p-4d30b703.entry.js → p-b50289bb.entry.js} +1 -1
  286. package/dist/ezui/{p-3e767a74.js → p-b50ed164.js} +1 -1
  287. package/dist/ezui/p-bcf0460e.entry.js +1 -0
  288. package/dist/ezui/{p-e50e1c80.entry.js → p-bd7c1dd6.entry.js} +1 -1
  289. package/dist/ezui/p-bf3c7f5f.entry.js +1 -0
  290. package/dist/ezui/{p-f9054bd6.entry.js → p-c086e527.entry.js} +1 -1
  291. package/dist/ezui/p-c6f28649.entry.js +309 -0
  292. package/dist/ezui/{p-efd28447.entry.js → p-ca707def.entry.js} +2 -2
  293. package/dist/ezui/{p-8ddeb513.entry.js → p-ce4d51eb.entry.js} +1 -1
  294. package/dist/ezui/p-d393677b.entry.js +1 -0
  295. package/dist/ezui/p-d6f50207.entry.js +1 -0
  296. package/dist/ezui/{p-25c1aa0a.js → p-d878fb19.js} +1 -1
  297. package/dist/ezui/p-df1cb82b.entry.js +1 -0
  298. package/dist/ezui/p-df539dd1.entry.js +1 -0
  299. package/dist/ezui/p-df6173c8.entry.js +1 -0
  300. package/dist/ezui/{p-30425ea2.entry.js → p-e11574fb.entry.js} +1 -1
  301. package/dist/ezui/p-e25a7874.entry.js +1 -0
  302. package/dist/ezui/{p-fa5cc755.entry.js → p-e2defb84.entry.js} +1 -1
  303. package/dist/ezui/{p-abe0dd62.entry.js → p-e95d93ba.entry.js} +1 -1
  304. package/dist/ezui/p-ea184272.entry.js +1 -0
  305. package/dist/ezui/{p-fa6732f2.entry.js → p-efea2c79.entry.js} +1 -1
  306. package/dist/ezui/p-f60a6b1f.js +1 -0
  307. package/dist/ezui/{p-ce269c9c.entry.js → p-ff79e5c2.entry.js} +1 -1
  308. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +11 -3
  309. package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +91 -0
  310. package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +95 -0
  311. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +24 -1
  312. package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +101 -0
  313. package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +219 -0
  314. package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +29 -0
  315. package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +2 -0
  316. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +189 -0
  317. package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +29 -0
  318. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
  319. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  320. package/dist/types/components/ez-filter/ez-filter.d.ts +207 -0
  321. package/dist/types/components/ez-filter/interfaces/IFilterChange.d.ts +13 -0
  322. package/dist/types/components/ez-filter/interfaces/IFilterCustomField.d.ts +34 -0
  323. package/dist/types/components/ez-filter/interfaces/index.d.ts +2 -0
  324. package/dist/types/components/ez-form/ez-form.d.ts +6 -0
  325. package/dist/types/components/ez-form-view/ez-form-view.d.ts +11 -0
  326. package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +9 -0
  327. package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +3 -2
  328. package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +2 -1
  329. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +5 -4
  330. package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +2 -1
  331. package/dist/types/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.d.ts +2 -0
  332. package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +3 -2
  333. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -1
  334. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +2 -1
  335. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -1
  336. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +2 -1
  337. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +2 -1
  338. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
  339. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +14 -0
  340. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
  341. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
  342. package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
  343. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
  344. package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
  345. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +91 -0
  346. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.model.d.ts +7 -0
  347. package/dist/types/components/ez-image-input/ez-image-input.d.ts +43 -0
  348. package/dist/types/components/ez-popover/ez-popover.d.ts +9 -0
  349. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
  350. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
  351. package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
  352. package/dist/types/components/ez-search/ez-search.d.ts +12 -1
  353. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +1 -0
  354. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
  355. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +4 -0
  356. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +4 -0
  357. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +42 -20
  358. package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
  359. package/dist/types/components.d.ts +3747 -2031
  360. package/dist/types/utils/form/FormMetadata.d.ts +2 -1
  361. package/dist/types/utils/form/interfaces/FormLayout.d.ts +3 -1
  362. package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +3 -0
  363. package/dist/types/utils/form/interfaces/ITabConfig.d.ts +3 -0
  364. package/dist/types/utils/i18n/locales/en-us.d.ts +59 -3
  365. package/dist/types/utils/i18n/locales/es-es.d.ts +59 -3
  366. package/dist/types/utils/i18n/locales/pt-br.d.ts +59 -3
  367. package/dist/types/utils/i18n/translations.d.ts +177 -9
  368. package/package.json +5 -5
  369. package/react/components.d.ts +12 -0
  370. package/react/components.js +12 -0
  371. package/react/components.js.map +1 -1
  372. package/dist/cjs/ApplicationUtils-999d2366.js.gz +0 -0
  373. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  374. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  375. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  376. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  377. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  378. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  379. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  380. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  381. package/dist/cjs/app-globals-1fea23aa.js.gz +0 -0
  382. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  383. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  384. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  385. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  386. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  387. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  388. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  389. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  390. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  391. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  392. package/dist/cjs/ez-card-item_5.cjs.entry.js.gz +0 -0
  393. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  394. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  395. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  396. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  397. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  398. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  399. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  400. package/dist/cjs/ez-combo-box-list_5.cjs.entry.js +0 -866
  401. package/dist/cjs/ez-combo-box-list_5.cjs.entry.js.gz +0 -0
  402. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  403. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  404. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  405. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  406. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  407. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  408. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  409. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  410. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  411. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  412. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  413. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  414. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  415. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  416. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  417. package/dist/cjs/ez-link-builder_6.cjs.entry.js +0 -315
  418. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  419. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  420. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  421. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  422. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  423. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  424. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  425. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  426. package/dist/cjs/ez-popover-core.cjs.entry.js +0 -227
  427. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  428. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  429. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  430. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  431. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  432. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  433. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  434. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  435. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  436. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  437. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  438. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  439. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  440. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  441. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  442. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  443. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  444. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  445. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  446. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  447. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  448. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  449. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  450. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  451. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  452. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  453. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  454. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  455. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  456. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  457. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  458. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  459. package/dist/cjs/ezui.cjs.js.gz +0 -0
  460. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  461. package/dist/cjs/floating-ui.dom.esm-4a0428c0.js.gz +0 -0
  462. package/dist/cjs/index-637af219.js.gz +0 -0
  463. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  464. package/dist/cjs/index.cjs.js.gz +0 -0
  465. package/dist/cjs/loader.cjs.js.gz +0 -0
  466. package/dist/cjs/purify-ef86f048.js.gz +0 -0
  467. package/dist/cjs/search-column-254df8ea.js.gz +0 -0
  468. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  469. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  470. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  471. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  472. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  473. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  474. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  475. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  476. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  477. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  478. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  479. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  480. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  481. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  482. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  483. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  484. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  485. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  486. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  487. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  488. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  489. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  490. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  491. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  492. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  493. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  494. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  495. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  496. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  497. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  498. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  499. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  500. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  501. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  502. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  503. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  504. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  505. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  506. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  507. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  508. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  509. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  510. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  511. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  512. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  513. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  514. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  515. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  516. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  517. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  518. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  519. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  520. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  521. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  522. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  523. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  524. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  525. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  526. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  527. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  528. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  529. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  530. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  531. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  532. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  533. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  534. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  535. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  536. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  537. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  538. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  539. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  540. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  541. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  542. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  543. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  544. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  545. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  546. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  547. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  548. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  549. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  550. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  551. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  552. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  553. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  554. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  555. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  556. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  557. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  558. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  559. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  560. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  561. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  562. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
  563. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  564. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  565. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  566. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  567. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  568. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  569. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  570. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  571. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  572. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  573. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  574. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  575. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  576. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  577. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  578. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  579. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  580. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  581. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  582. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  583. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  584. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  585. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  586. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  587. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  588. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  589. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  590. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  591. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  592. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  593. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  594. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  595. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  596. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  597. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  598. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  599. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  600. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  601. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  602. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  603. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  604. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  605. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  606. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  607. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  608. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  609. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  610. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  611. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  612. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  613. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  614. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  615. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  616. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  617. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  618. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  619. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  620. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  621. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  622. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  623. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  624. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  625. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  626. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  627. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  628. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  629. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  630. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  631. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  632. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  633. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  634. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  635. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  636. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  637. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
  638. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
  639. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  640. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  641. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  642. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  643. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  644. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  645. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  646. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  647. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  648. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  649. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  650. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  651. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  652. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  653. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  654. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  655. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  656. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  657. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  658. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  659. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  660. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  661. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  662. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  663. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  664. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  665. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  666. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  667. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  668. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  669. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  670. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  671. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  672. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  673. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  674. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  675. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  676. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  677. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  678. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  679. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  680. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  681. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  682. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  683. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  684. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  685. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  686. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  687. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  688. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  689. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  690. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  691. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  692. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  693. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  694. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  695. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  696. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  697. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  698. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  699. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  700. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  701. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  702. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  703. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  704. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  705. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  706. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  707. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  708. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  709. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  710. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  711. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  712. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  713. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  714. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  715. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  716. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  717. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  718. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  719. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  720. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  721. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  722. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  723. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  724. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  725. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  726. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  727. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  728. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  729. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  730. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  731. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  732. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  733. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  734. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  735. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  736. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  737. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  738. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  739. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  740. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  741. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  742. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  743. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  744. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  745. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  746. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  747. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  748. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  749. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  750. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  751. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  752. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  753. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  754. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  755. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  756. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  757. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  758. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  759. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  760. package/dist/collection/global/app-init.js.gz +0 -0
  761. package/dist/collection/index.js.gz +0 -0
  762. package/dist/collection/servidor.js.gz +0 -0
  763. package/dist/collection/setupTests.js.gz +0 -0
  764. package/dist/collection/sw.js.gz +0 -0
  765. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  766. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  767. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  768. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  769. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  770. package/dist/collection/utils/constants.js.gz +0 -0
  771. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  772. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  773. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  774. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  775. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  776. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  777. package/dist/collection/utils/form/index.js.gz +0 -0
  778. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  779. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  780. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  781. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  782. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  783. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  784. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  785. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  786. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  787. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  788. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  789. package/dist/collection/utils/i18n/index.js.gz +0 -0
  790. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  791. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  792. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  793. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  794. package/dist/collection/utils/index.js.gz +0 -0
  795. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  796. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  797. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  798. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  799. package/dist/collection/utils/search/types.js.gz +0 -0
  800. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  801. package/dist/collection/utils/utils.js.gz +0 -0
  802. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  803. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  804. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  805. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  806. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  807. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  808. package/dist/custom-elements/index.js.gz +0 -0
  809. package/dist/esm/ApplicationUtils-7270d89f.js.gz +0 -0
  810. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  811. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  812. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  813. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  814. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  815. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  816. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  817. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  818. package/dist/esm/app-globals-6208a4b6.js.gz +0 -0
  819. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  820. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  821. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  822. package/dist/esm/ez-alert.entry.js.gz +0 -0
  823. package/dist/esm/ez-application.entry.js.gz +0 -0
  824. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  825. package/dist/esm/ez-badge.entry.js.gz +0 -0
  826. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  827. package/dist/esm/ez-button.entry.js.gz +0 -0
  828. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  829. package/dist/esm/ez-card-item_5.entry.js.gz +0 -0
  830. package/dist/esm/ez-chart.entry.js.gz +0 -0
  831. package/dist/esm/ez-check.entry.js.gz +0 -0
  832. package/dist/esm/ez-chip.entry.js.gz +0 -0
  833. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  834. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  835. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  836. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  837. package/dist/esm/ez-combo-box-list_5.entry.js +0 -858
  838. package/dist/esm/ez-combo-box-list_5.entry.js.gz +0 -0
  839. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  840. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  841. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  842. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  843. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  844. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  845. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  846. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  847. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  848. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  849. package/dist/esm/ez-form.entry.js.gz +0 -0
  850. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  851. package/dist/esm/ez-grid.entry.js.gz +0 -0
  852. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  853. package/dist/esm/ez-icon.entry.js.gz +0 -0
  854. package/dist/esm/ez-link-builder_6.entry.js +0 -306
  855. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  856. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  857. package/dist/esm/ez-list.entry.js.gz +0 -0
  858. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  859. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  860. package/dist/esm/ez-modal.entry.js.gz +0 -0
  861. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  862. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  863. package/dist/esm/ez-popover-core.entry.js +0 -223
  864. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  865. package/dist/esm/ez-popover.entry.js.gz +0 -0
  866. package/dist/esm/ez-popup.entry.js.gz +0 -0
  867. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  868. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  869. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  870. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  871. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  872. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  873. package/dist/esm/ez-search.entry.js.gz +0 -0
  874. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  875. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  876. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  877. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  878. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  879. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  880. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  881. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  882. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  883. package/dist/esm/ez-tag.entry.js.gz +0 -0
  884. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  885. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  886. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  887. package/dist/esm/ez-tile.entry.js.gz +0 -0
  888. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  889. package/dist/esm/ez-toast.entry.js.gz +0 -0
  890. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  891. package/dist/esm/ez-tree.entry.js.gz +0 -0
  892. package/dist/esm/ez-underface.entry.js.gz +0 -0
  893. package/dist/esm/ez-upload.entry.js.gz +0 -0
  894. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  895. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  896. package/dist/esm/ezui.js.gz +0 -0
  897. package/dist/esm/filter-column.entry.js.gz +0 -0
  898. package/dist/esm/floating-ui.dom.esm-ffa73324.js.gz +0 -0
  899. package/dist/esm/index-8088eb6e.js.gz +0 -0
  900. package/dist/esm/index-baa5e267.js.gz +0 -0
  901. package/dist/esm/index.js.gz +0 -0
  902. package/dist/esm/loader.js.gz +0 -0
  903. package/dist/esm/polyfills/core-js.js.gz +0 -0
  904. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  905. package/dist/esm/polyfills/dom.js.gz +0 -0
  906. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  907. package/dist/esm/polyfills/index.js.gz +0 -0
  908. package/dist/esm/polyfills/system.js.gz +0 -0
  909. package/dist/esm/purify-96c0d5c2.js.gz +0 -0
  910. package/dist/esm/search-column-d98f7d96.js.gz +0 -0
  911. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  912. package/dist/ezui/ezui.esm.js.gz +0 -0
  913. package/dist/ezui/index.esm.js.gz +0 -0
  914. package/dist/ezui/p-03eb09b0.entry.js +0 -1
  915. package/dist/ezui/p-03eb09b0.entry.js.gz +0 -0
  916. package/dist/ezui/p-0ec37151.entry.js +0 -1
  917. package/dist/ezui/p-0ec37151.entry.js.gz +0 -0
  918. package/dist/ezui/p-112455b1.js.gz +0 -0
  919. package/dist/ezui/p-1cfe7c1b.entry.js.gz +0 -0
  920. package/dist/ezui/p-1e21475d.entry.js +0 -1
  921. package/dist/ezui/p-1e21475d.entry.js.gz +0 -0
  922. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  923. package/dist/ezui/p-1f3867a8.entry.js +0 -1
  924. package/dist/ezui/p-1f3867a8.entry.js.gz +0 -0
  925. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  926. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  927. package/dist/ezui/p-21647085.entry.js +0 -1
  928. package/dist/ezui/p-21647085.entry.js.gz +0 -0
  929. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  930. package/dist/ezui/p-25c1aa0a.js.gz +0 -0
  931. package/dist/ezui/p-27fd20cf.entry.js.gz +0 -0
  932. package/dist/ezui/p-288631d1.entry.js +0 -1
  933. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  934. package/dist/ezui/p-29aa849f.js +0 -1
  935. package/dist/ezui/p-29aa849f.js.gz +0 -0
  936. package/dist/ezui/p-30425ea2.entry.js.gz +0 -0
  937. package/dist/ezui/p-30da1152.entry.js +0 -1
  938. package/dist/ezui/p-30da1152.entry.js.gz +0 -0
  939. package/dist/ezui/p-30ffb9ed.js +0 -1
  940. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  941. package/dist/ezui/p-359430a5.entry.js.gz +0 -0
  942. package/dist/ezui/p-3e767a74.js.gz +0 -0
  943. package/dist/ezui/p-40a60148.js.gz +0 -0
  944. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  945. package/dist/ezui/p-48effc69.entry.js +0 -1
  946. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  947. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  948. package/dist/ezui/p-513baabe.entry.js.gz +0 -0
  949. package/dist/ezui/p-55cc66bb.entry.js +0 -1
  950. package/dist/ezui/p-55cc66bb.entry.js.gz +0 -0
  951. package/dist/ezui/p-5832d458.entry.js +0 -1
  952. package/dist/ezui/p-5832d458.entry.js.gz +0 -0
  953. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  954. package/dist/ezui/p-6020f3d5.entry.js +0 -1
  955. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  956. package/dist/ezui/p-65f830ba.entry.js +0 -1
  957. package/dist/ezui/p-65f830ba.entry.js.gz +0 -0
  958. package/dist/ezui/p-669dc773.entry.js +0 -1
  959. package/dist/ezui/p-669dc773.entry.js.gz +0 -0
  960. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  961. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  962. package/dist/ezui/p-7995dcb4.entry.js +0 -1
  963. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  964. package/dist/ezui/p-7ab75605.entry.js.gz +0 -0
  965. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  966. package/dist/ezui/p-7fe97ef5.entry.js +0 -1
  967. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  968. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  969. package/dist/ezui/p-85deadad.entry.js +0 -1
  970. package/dist/ezui/p-85deadad.entry.js.gz +0 -0
  971. package/dist/ezui/p-87d12992.entry.js.gz +0 -0
  972. package/dist/ezui/p-8a74deab.entry.js.gz +0 -0
  973. package/dist/ezui/p-8bbb3df7.entry.js.gz +0 -0
  974. package/dist/ezui/p-8ddeb513.entry.js.gz +0 -0
  975. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  976. package/dist/ezui/p-8dfd01b1.js +0 -1
  977. package/dist/ezui/p-8dfd01b1.js.gz +0 -0
  978. package/dist/ezui/p-8ebe11f4.js.gz +0 -0
  979. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  980. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  981. package/dist/ezui/p-941e02ff.entry.js +0 -1
  982. package/dist/ezui/p-941e02ff.entry.js.gz +0 -0
  983. package/dist/ezui/p-95a521ce.entry.js.gz +0 -0
  984. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  985. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  986. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  987. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  988. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  989. package/dist/ezui/p-a80b1287.entry.js +0 -1
  990. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  991. package/dist/ezui/p-ab574d59.js.gz +0 -0
  992. package/dist/ezui/p-abe0dd62.entry.js.gz +0 -0
  993. package/dist/ezui/p-b1e45320.js.gz +0 -0
  994. package/dist/ezui/p-b663ec25.entry.js.gz +0 -0
  995. package/dist/ezui/p-b6bc4499.entry.js.gz +0 -0
  996. package/dist/ezui/p-b853763b.js.gz +0 -0
  997. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  998. package/dist/ezui/p-bf5b6db2.entry.js.gz +0 -0
  999. package/dist/ezui/p-bf9ff8fe.js +0 -1
  1000. package/dist/ezui/p-bf9ff8fe.js.gz +0 -0
  1001. package/dist/ezui/p-ce269c9c.entry.js.gz +0 -0
  1002. package/dist/ezui/p-d1421af5.entry.js +0 -1
  1003. package/dist/ezui/p-d1421af5.entry.js.gz +0 -0
  1004. package/dist/ezui/p-d2645bdf.entry.js +0 -1
  1005. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  1006. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  1007. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  1008. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  1009. package/dist/ezui/p-e2fe1b5d.entry.js.gz +0 -0
  1010. package/dist/ezui/p-e50e1c80.entry.js.gz +0 -0
  1011. package/dist/ezui/p-e6ac0c4d.entry.js +0 -309
  1012. package/dist/ezui/p-e6ac0c4d.entry.js.gz +0 -0
  1013. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  1014. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  1015. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  1016. package/dist/ezui/p-ec7db713.js.gz +0 -0
  1017. package/dist/ezui/p-efd28447.entry.js.gz +0 -0
  1018. package/dist/ezui/p-f00c9dc2.entry.js +0 -1
  1019. package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
  1020. package/dist/ezui/p-f14b1400.entry.js.gz +0 -0
  1021. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  1022. package/dist/ezui/p-f67d789c.entry.js +0 -1
  1023. package/dist/ezui/p-f67d789c.entry.js.gz +0 -0
  1024. package/dist/ezui/p-f7b8d2b9.entry.js +0 -1
  1025. package/dist/ezui/p-f7b8d2b9.entry.js.gz +0 -0
  1026. package/dist/ezui/p-f9054bd6.entry.js.gz +0 -0
  1027. package/dist/ezui/p-f90e8299.js.gz +0 -0
  1028. package/dist/ezui/p-f949bb8b.entry.js.gz +0 -0
  1029. package/dist/ezui/p-fa5cc755.entry.js.gz +0 -0
  1030. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  1031. package/dist/ezui/p-fa7fc44f.entry.js +0 -1
  1032. package/dist/ezui/p-fa7fc44f.entry.js.gz +0 -0
  1033. package/dist/ezui/p-fadf0509.entry.js.gz +0 -0
  1034. package/dist/index.cjs.js.gz +0 -0
  1035. package/dist/index.js.gz +0 -0
@@ -0,0 +1,1483 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-a7b0c73d.js');
6
+ const core = require('@sankhyalabs/core');
7
+ const searchFormatters = require('./searchFormatters-051f8677.js');
8
+ const index$1 = require('./index-f98939e1.js');
9
+ const types = require('./types-6a5df0c7.js');
10
+ const RichToolbarHelper = require('./RichToolbarHelper-ea12328f.js');
11
+ const purify = require('./purify-4f39f037.js');
12
+ const ApplicationUtils = require('./ApplicationUtils-34e43a14.js');
13
+ require('./DialogType-2114c337.js');
14
+ require('./CheckMode-ecb90b87.js');
15
+ require('./FormLayout-fe8da83c.js');
16
+ require('./_commonjsHelpers-537d719a.js');
17
+
18
+ const classicSearchListCss = ":host{--ez-classic-search__list-title--primary:var(--title--primary, #2B3A54);--ez-classic-search__list-text--primary:var(--text--primary, #626e82);--ez-classic-search__list-height:calc(var(--ez-classic-search--font-size) + var(--ez-classic-search--space--medium) + 4px);--ez-classic-search__list-min-width:64px;--ez-classic-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-classic-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-classic-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-classic-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-classic-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-classic-search__scrollbar--width:var(--space--small, 6px);--ez-classic-search--border-radius-small:var(--border--radius-small, 6px);--ez-classic-search--font-size:var(--text--medium, 14px);--ez-classic-search--font-family:var(--font-pattern, Arial);--ez-classic-search--font-weight--large:var(--text-weight--large, 500);--ez-classic-search--font-weight--medium:var(--text-weight--medium, 400);--ez-classic-search--background-medium:var(--background--medium, #f0f3f7);--ez-classic-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-classic-search__scrollbar--color-clicked) var(--ez-classic-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-classic-search__scrollbar--color-background);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-classic-search__scrollbar--color-default);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-classic-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-classic-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-classic-search__list-height)}.message__no-result{color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--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-classic-search__list-title--primary);border-top:3px solid transparent}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size);line-height:var(--ez-classic-search--line-height)}.item__label{font-weight:var(--ez-classic-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-classic-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-classic-search__list-text--primary);font-weight:var(--ez-classic-search--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}.item__list>li:hover{background-color:var(--ez-classic-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-classic-search--border-radius-small);gap:var(--space--small, 6px)}.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)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";
19
+
20
+ const ClassicSearchList = class {
21
+ constructor(hostRef) {
22
+ index.registerInstance(this, hostRef);
23
+ this.changeValue = index.createEvent(this, "changeValue", 7);
24
+ this.changePreSelection = index.createEvent(this, "changePreSelection", 7);
25
+ this._startHighlightTag = "<span class='card-item__highlight'>";
26
+ this._endHighlightTag = "</span>";
27
+ this.MAX_HEIGHT = 350;
28
+ this.HEADER_MENU_HEIGHT = 60;
29
+ this.showLoading = undefined;
30
+ this.visibleOptions = [];
31
+ this.textEmptyList = undefined;
32
+ this.canShowListOptions = undefined;
33
+ this.value = undefined;
34
+ this.showOptionValue = true;
35
+ this.preSelection = undefined;
36
+ }
37
+ async nextOption() {
38
+ const newPreSelection = this.preSelection === undefined ? 0 : Math.min(this.preSelection + 1, this.visibleOptions.length - 1);
39
+ this.changePreSelection.emit(newPreSelection);
40
+ this.scrollToOption(this.visibleOptions[newPreSelection]);
41
+ }
42
+ async previousOption() {
43
+ const newPreSelection = this.preSelection === undefined ? 0 : Math.max(this.preSelection - 1, 0);
44
+ this.changePreSelection.emit(newPreSelection);
45
+ this.scrollToOption(this.visibleOptions[newPreSelection]);
46
+ }
47
+ selectOption(newOption) {
48
+ const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: searchFormatters.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: searchFormatters.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
49
+ const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: searchFormatters.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: searchFormatters.replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
50
+ this.changeValue.emit(newOptionsFormatted);
51
+ }
52
+ createOption(detail) {
53
+ let { key, title } = detail;
54
+ const startHighlight = new RegExp(this._startHighlightTag, 'g');
55
+ const endHighlight = new RegExp(this._endHighlightTag, 'g');
56
+ title = core.StringUtils.decodeHtmlEntities(title);
57
+ const option = {
58
+ value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
59
+ label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
60
+ };
61
+ this.selectOption(option);
62
+ }
63
+ scrollToOption(opt) {
64
+ window.requestAnimationFrame(() => {
65
+ const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
66
+ ? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
67
+ : undefined;
68
+ if (liElem) {
69
+ liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
70
+ }
71
+ });
72
+ }
73
+ buildItem(opt, index$1) {
74
+ opt.label = opt.label || opt.value;
75
+ const card = {
76
+ key: opt.value,
77
+ title: opt.label,
78
+ details: opt.details
79
+ };
80
+ return index.h("div", { style: { "height": "100%" }, class: index$1 === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this.changePreSelection.emit(index$1) }, index.h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
81
+ }
82
+ componentDidLoad() {
83
+ if (this._optionsList) {
84
+ this._optionsList.style.maxHeight = `${this.MAX_HEIGHT}px`;
85
+ }
86
+ }
87
+ componentDidUpdate() {
88
+ if (this._optionsList) {
89
+ const rect = this._optionsList.getBoundingClientRect();
90
+ const spaceBelow = window.innerHeight - rect.bottom;
91
+ if (spaceBelow < 0) {
92
+ this.adjustMaxHeight(rect);
93
+ }
94
+ }
95
+ }
96
+ adjustMaxHeight(rect) {
97
+ if (this._optionsList) {
98
+ const spaceAbove = rect.top - this.HEADER_MENU_HEIGHT;
99
+ const maxHeight = this.MAX_HEIGHT;
100
+ const height = Math.min(spaceAbove, maxHeight);
101
+ this._optionsList.style.maxHeight = `${height}px`;
102
+ }
103
+ }
104
+ cleanEmptyObjectArray(arr) {
105
+ return arr.filter(item => ((item === null || item === void 0 ? void 0 : item.value) !== undefined));
106
+ }
107
+ render() {
108
+ return (index.h(index.Host, null, index.h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
109
+ && this.cleanEmptyObjectArray(this.visibleOptions).length === 0
110
+ && index.h("div", { class: "message" }, index.h("span", { class: "message__no-result" }, this.textEmptyList)), this.showLoading
111
+ && index.h("div", { class: "message" }, index.h("div", { class: "message__loading" })), this.canShowListOptions && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
112
+ }
113
+ };
114
+ ClassicSearchList.style = classicSearchListCss;
115
+
116
+ const ezClassicSearchResultListCss = ":host{--ez-classic-search__list-title--primary:var(--title--primary, #2B3A54);--ez-classic-search__list-text--primary:var(--text--primary, #626e82);--ez-classic-search__list-height:calc(var(--ez-classic-search--font-size) + var(--ez-classic-search--space--medium) + 4px);--ez-classic-search__list-min-width:64px;--ez-classic-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-classic-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-classic-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-classic-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-classic-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-classic-search__scrollbar--width:var(--space--small, 6px);--ez-classic-search--border-radius-small:var(--border--radius-small, 6px);--ez-classic-search--font-size:var(--text--medium, 14px);--ez-classic-search--font-family:var(--font-pattern, Arial);--ez-classic-search--font-weight--large:var(--text-weight--large, 500);--ez-classic-search--font-weight--medium:var(--text-weight--medium, 400);--ez-classic-search--background-medium:var(--background--medium, #f0f3f7);--ez-classic-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-classic-search__scrollbar--color-clicked) var(--ez-classic-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-classic-search__scrollbar--color-background);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-classic-search__scrollbar--color-default);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-classic-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-classic-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-classic-search__list-height)}.message__no-result{color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size)}.loading__container{display:flex;flex-direction:column;margin:var(--space--small)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size);line-height:var(--ez-classic-search--line-height)}.item__label{font-weight:var(--ez-classic-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-classic-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-classic-search__list-text--primary);font-weight:var(--ez-classic-search--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}.item__list>li:hover{background-color:var(--ez-classic-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-classic-search--border-radius-small);gap:var(--space--small, 6px)}.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)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";
117
+
118
+ const EzClassicSearchResultList = class {
119
+ constructor(hostRef) {
120
+ index.registerInstance(this, hostRef);
121
+ this.changeValue = index.createEvent(this, "changeValue", 7);
122
+ this._startHighlightTag = "<span class='card-item__highlight'>";
123
+ this._endHighlightTag = "</span>";
124
+ this.showLoading = undefined;
125
+ this.visibleOptions = [];
126
+ this.value = undefined;
127
+ this.showOptionValue = true;
128
+ this._preSelection = undefined;
129
+ }
130
+ observerVisivleOptions(newValue) {
131
+ if (newValue.length) {
132
+ this.preSelectItemByIndex(0);
133
+ }
134
+ }
135
+ async nextOption() {
136
+ const newPreSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this.visibleOptions.length - 1);
137
+ this.preSelectItemByIndex(newPreSelection);
138
+ }
139
+ async previousOption() {
140
+ const newPreSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
141
+ this.preSelectItemByIndex(newPreSelection);
142
+ }
143
+ preSelectItemByIndex(newIndex) {
144
+ this._preSelection = newIndex;
145
+ const option = this.visibleOptions[newIndex];
146
+ this.scrollToOption(option);
147
+ }
148
+ selectOption(newOption) {
149
+ const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: newOption === null || newOption === void 0 ? void 0 : newOption.value, label: newOption === null || newOption === void 0 ? void 0 : newOption.label });
150
+ const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: this.removeHighLight(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: this.removeHighLight(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
151
+ this.changeValue.emit(newOptionsFormatted);
152
+ }
153
+ removeHighLight(text) {
154
+ if (!text || typeof text !== 'string') {
155
+ return text;
156
+ }
157
+ const startHighlight = new RegExp(this._startHighlightTag, 'g');
158
+ const endHighlight = new RegExp(this._endHighlightTag, 'g');
159
+ return text.replace(startHighlight, '').replace(endHighlight, '');
160
+ }
161
+ createAndSelectOption(detail) {
162
+ let { key, title } = detail;
163
+ key = String(key !== null && key !== void 0 ? key : "");
164
+ title = core.StringUtils.decodeHtmlEntities(title);
165
+ const option = {
166
+ value: this.removeHighLight(key),
167
+ label: this.removeHighLight(title)
168
+ };
169
+ this.selectOption(option);
170
+ }
171
+ scrollToOption(opt) {
172
+ if (!(opt === null || opt === void 0 ? void 0 : opt.value) || !this._optionsList)
173
+ return;
174
+ window.requestAnimationFrame(() => {
175
+ var _a;
176
+ const currentValue = String((_a = opt === null || opt === void 0 ? void 0 : opt.value) !== null && _a !== void 0 ? _a : "");
177
+ const liElem = currentValue
178
+ ? this._optionsList.querySelector(`div#item_${currentValue.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
179
+ : undefined;
180
+ if (liElem) {
181
+ liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
182
+ }
183
+ });
184
+ }
185
+ buildItem(opt, index$1) {
186
+ var _a;
187
+ opt.label = opt.label || opt.value;
188
+ const card = {
189
+ key: String((_a = opt.presentationValue) !== null && _a !== void 0 ? _a : ""),
190
+ title: opt.presentationLabel,
191
+ details: opt.details
192
+ };
193
+ return index.h("div", { style: { "height": "100%" }, class: index$1 === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createAndSelectOption(card), onMouseOver: () => { this._preSelection = index$1; } }, index.h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
194
+ }
195
+ async selectCurrentItem() {
196
+ this.selectOption(this.visibleOptions[this._preSelection]);
197
+ }
198
+ async cancelSelection() {
199
+ this.cancelPreselection();
200
+ }
201
+ cancelPreselection() {
202
+ this._preSelection = undefined;
203
+ }
204
+ canShowListOptions() {
205
+ return !this.showLoading && this.visibleOptions.length > 0;
206
+ }
207
+ async componentWillLoad() {
208
+ this.i18n = await index$1.initI18n();
209
+ }
210
+ render() {
211
+ return (index.h(index.Host, null, index.h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
212
+ && this.visibleOptions.length === 0
213
+ && index.h("div", { class: "message" }, index.h("span", { class: "message__no-result" }, this.i18n("ez-classic-search-plus.emptyList"))), this.showLoading && (index.h("div", { class: "loading__container" }, index.h("ez-skeleton", { count: 4, height: '20px' }))), this.canShowListOptions() && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
214
+ }
215
+ static get watchers() { return {
216
+ "visibleOptions": ["observerVisivleOptions"]
217
+ }; }
218
+ };
219
+ EzClassicSearchResultList.style = ezClassicSearchResultListCss;
220
+
221
+ const ezComboBoxListCss = ":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)}}";
222
+
223
+ const EzComboBoxList = class {
224
+ constructor(hostRef) {
225
+ index.registerInstance(this, hostRef);
226
+ this.showLoading = undefined;
227
+ this.visibleOptions = undefined;
228
+ this.textEmptyList = undefined;
229
+ this.showOptionValue = undefined;
230
+ this.preSelection = undefined;
231
+ this.maxWidth = undefined;
232
+ this.width = undefined;
233
+ this.onOptionSelect = undefined;
234
+ this.onOptionHover = undefined;
235
+ }
236
+ /**
237
+ * Move a seleção para a próxima opção na lista.
238
+ */
239
+ async nextOption() {
240
+ var _a, _b;
241
+ if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
242
+ return;
243
+ const isAtLastOption = this.preSelection !== undefined && this.preSelection >= this.visibleOptions.length - 1;
244
+ if (!isAtLastOption) {
245
+ this.preSelection = this.preSelection === undefined ? 0 : this.preSelection + 1;
246
+ this.scrollToOption(this.visibleOptions[this.preSelection]);
247
+ (_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
248
+ }
249
+ }
250
+ /**
251
+ * Move a seleção para a opção anterior na lista, sem ultrapassar o início.
252
+ */
253
+ async previousOption() {
254
+ var _a, _b;
255
+ if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
256
+ return;
257
+ const isAtFirstOption = this.preSelection !== undefined && this.preSelection <= 0;
258
+ if (!isAtFirstOption) {
259
+ this.preSelection = this.preSelection === undefined ? this.visibleOptions.length - 1 : this.preSelection - 1;
260
+ this.scrollToOption(this.visibleOptions[this.preSelection]);
261
+ (_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
262
+ }
263
+ }
264
+ /**
265
+ * Seleciona a opção atualmente pré-selecionada.
266
+ */
267
+ async selectCurrentOption() {
268
+ if (this.preSelection !== undefined) {
269
+ this.onOptionSelect(this.visibleOptions[this.preSelection]);
270
+ this.preSelection = undefined;
271
+ }
272
+ }
273
+ /**
274
+ * Observa mudanças na propriedade `width` e ajusta a largura da lista.
275
+ *
276
+ * @param newValue O novo valor da largura.
277
+ * @param oldValue O valor anterior da largura.
278
+ */
279
+ observeWidth(newValue, oldValue) {
280
+ if (newValue === oldValue)
281
+ return;
282
+ if (!this._listWrapper)
283
+ return;
284
+ this._listWrapper.style.width = `${this.width}px`;
285
+ }
286
+ /**
287
+ * Observa mudanças na propriedade `maxWidth` e ajusta a largura máxima da lista.
288
+ *
289
+ * @param newValue O novo valor da largura máxima.
290
+ * @param oldValue O valor anterior da largura máxima.
291
+ */
292
+ observeMaxWidth(newValue, oldValue) {
293
+ if (newValue === oldValue)
294
+ return;
295
+ if (!this._listWrapper)
296
+ return;
297
+ this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
298
+ }
299
+ /**
300
+ * Gerencia a navegação por teclado na lista do combo box.
301
+ *
302
+ * - `ArrowDown`: Move para a próxima opção.
303
+ * - `ArrowUp`: Move para a opção anterior.
304
+ * - `Enter`: Seleciona a opção atual.
305
+ * - `Escape`: Limpa a pré-seleção.
306
+ *
307
+ * @param event O evento de teclado.
308
+ */
309
+ handleKeyDown(event) {
310
+ switch (event.key) {
311
+ case "ArrowDown":
312
+ event.preventDefault();
313
+ event.stopPropagation();
314
+ this.nextOption();
315
+ break;
316
+ case "ArrowUp":
317
+ event.preventDefault();
318
+ event.stopPropagation();
319
+ this.previousOption();
320
+ break;
321
+ case "Enter":
322
+ this.selectCurrentOption();
323
+ break;
324
+ case "Escape":
325
+ this.preSelection = undefined;
326
+ break;
327
+ }
328
+ }
329
+ buildItem(opt, index$1) {
330
+ const widthValue = this.showOptionValue && this.maxWidth > 0 ? `${this.maxWidth}px` : '';
331
+ opt.label = opt.label || opt.value;
332
+ return index.h("li", { tabIndex: 1, class: index$1 === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}_${index$1}`, key: `item_${opt.value}_${index$1}`, onMouseDown: () => this.onOptionSelect(opt), onMouseOver: () => this.preSelection = index$1 }, this.showOptionValue
333
+ ? index.h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
334
+ : undefined, index.h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
335
+ }
336
+ scrollToOption(opt) {
337
+ if (!(opt === null || opt === void 0 ? void 0 : opt.value) || !this._optionsList)
338
+ return;
339
+ const index = this.visibleOptions.indexOf(opt);
340
+ if (index === -1)
341
+ return;
342
+ const liElem = this._optionsList.querySelector(`li#item_${CSS.escape(opt.value)}_${CSS.escape(String(index))}`);
343
+ if (liElem) {
344
+ liElem.scrollIntoView({
345
+ behavior: "smooth",
346
+ block: "nearest"
347
+ });
348
+ }
349
+ }
350
+ async componentWillLoad() {
351
+ this.i18n = await index$1.initI18n();
352
+ }
353
+ componentDidLoad() {
354
+ this._listWrapper.style.width = `${this.width}px`;
355
+ this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
356
+ }
357
+ componentDidRender() {
358
+ var _a;
359
+ (_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
360
+ core.ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
361
+ });
362
+ }
363
+ render() {
364
+ return (index.h("section", { class: "list-container" }, index.h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, index.h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading && this.visibleOptions.length === 0 && (index.h("div", { class: "message" }, index.h("span", { class: "message__no-result" }, this.textEmptyList || this.i18n("ez-combo-box.noResults")))), this.showLoading && (index.h("div", { class: "message" }, index.h("div", { class: "message__loading" }))), this.showOptionValue && (index.h("span", { class: "item__value item__value--hidden" })), !this.showLoading && this.visibleOptions.length > 0 &&
365
+ this.visibleOptions.map((opt, index) => this.buildItem(opt, index))))));
366
+ }
367
+ static get watchers() { return {
368
+ "width": ["observeWidth"],
369
+ "maxWidth": ["observeMaxWidth"]
370
+ }; }
371
+ };
372
+ EzComboBoxList.style = ezComboBoxListCss;
373
+
374
+ const EzCustomFormInput = class {
375
+ constructor(hostRef) {
376
+ index.registerInstance(this, hostRef);
377
+ this.gui = undefined;
378
+ this.customEditor = undefined;
379
+ this.formViewField = undefined;
380
+ this.value = undefined;
381
+ this.detailContext = undefined;
382
+ this.builderFallback = undefined;
383
+ this.selectedRecord = undefined;
384
+ }
385
+ /**
386
+ * Aplica foco no campo.
387
+ */
388
+ async setFocus() {
389
+ var _a, _b;
390
+ (_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setFocus"]) === null || _b === void 0 ? void 0 : _b.call(_a);
391
+ }
392
+ /**
393
+ * Remove o foco do campo.
394
+ */
395
+ async setBlur() {
396
+ var _a, _b;
397
+ (_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setBlur"]) === null || _b === void 0 ? void 0 : _b.call(_a);
398
+ }
399
+ /**
400
+ * Retorna se o conteúdo é inválido.
401
+ */
402
+ async isInvalid() {
403
+ var _a, _b;
404
+ return ((_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["isInvalid"]) === null || _b === void 0 ? void 0 : _b.call(_a)) || false;
405
+ }
406
+ watchValue() {
407
+ this.handleValue(this.gui);
408
+ }
409
+ watchCustomEditor() {
410
+ this.getContent();
411
+ }
412
+ watchFormViewField(newValue, oldValue) {
413
+ if (!core.ObjectUtils.equals(newValue, oldValue))
414
+ this.getContent();
415
+ }
416
+ watchDetailContext() {
417
+ this.getContent();
418
+ }
419
+ watchBuilderFallback() {
420
+ this.getContent();
421
+ }
422
+ watchSelectedRecord(newValue, oldValue) {
423
+ const newRecordId = newValue === null || newValue === void 0 ? void 0 : newValue['__record__id__'];
424
+ const oldRecordId = oldValue === null || oldValue === void 0 ? void 0 : oldValue['__record__id__'];
425
+ if (newRecordId !== oldRecordId) {
426
+ this.getContent();
427
+ }
428
+ }
429
+ getContent() {
430
+ var _a, _b, _c, _d, _e;
431
+ const fieldProps = new Map();
432
+ for (const prop in this.formViewField.props) {
433
+ fieldProps.set(prop, this.formViewField.props[prop]);
434
+ }
435
+ const params = {
436
+ value: this.value,
437
+ name: this.formViewField.name,
438
+ currentEditor: this.builderFallback(this.formViewField),
439
+ setValue: (value) => this.setValue(value),
440
+ getValue: this.getValue,
441
+ record: this.selectedRecord,
442
+ editorMetadata: {
443
+ label: this.formViewField.label,
444
+ hidden: ((_a = this.formViewField.props) === null || _a === void 0 ? void 0 : _a.visible) === false,
445
+ userInterface: this.formViewField.userInterface,
446
+ options: (_b = this.formViewField.props) === null || _b === void 0 ? void 0 : _b.options,
447
+ props: this.formViewField.props ? fieldProps : undefined,
448
+ optionLoader: this.formViewField.optionLoader
449
+ },
450
+ source: types.CustomEditorSource.FORM,
451
+ detailContext: this.detailContext
452
+ };
453
+ let gui = this.customEditor.getEditorElement(params);
454
+ if (!gui) {
455
+ gui = this.builderFallback(this.formViewField);
456
+ this.handleValue(gui);
457
+ this.gui = gui;
458
+ return;
459
+ }
460
+ if (!(gui instanceof HTMLElement) && typeof gui !== 'string') {
461
+ this.handleValue(gui);
462
+ this.gui = gui;
463
+ return;
464
+ }
465
+ if (typeof gui === 'string') {
466
+ gui = core.HTMLBuilder.parseElement(gui);
467
+ }
468
+ const value = (_e = (_d = (_c = this.value) === null || _c === void 0 ? void 0 : _c.value) !== null && _d !== void 0 ? _d : this.value) !== null && _e !== void 0 ? _e : '';
469
+ gui.setAttribute('value', value);
470
+ this.gui = index.h("div", { key: core.StringUtils.generateUUID(), ref: el => el && el.appendChild(gui) });
471
+ }
472
+ setValue(value) {
473
+ this.value = value;
474
+ }
475
+ getValue() {
476
+ return this.value;
477
+ }
478
+ handleValue(gui) {
479
+ var _a;
480
+ //@ts-ignore
481
+ (_a = gui.$children$) === null || _a === void 0 ? void 0 : _a.forEach((child) => {
482
+ child.$attrs$.value = this.value;
483
+ });
484
+ }
485
+ componentWillLoad() {
486
+ this.getContent();
487
+ }
488
+ render() {
489
+ return (index.h(index.Host, null, this.gui));
490
+ }
491
+ static get watchers() { return {
492
+ "value": ["watchValue"],
493
+ "customEditor": ["watchCustomEditor"],
494
+ "formViewField": ["watchFormViewField"],
495
+ "detailContext": ["watchDetailContext"],
496
+ "builderFallback": ["watchBuilderFallback"],
497
+ "selectedRecord": ["watchSelectedRecord"]
498
+ }; }
499
+ };
500
+
501
+ const ezImageInputCss = ":host{display:block;--ez-image-input--container-height:200px;--ez-image-input--container-width:280px;--ez-image-input--background-color:var(--color--gray-80);--ez-image-input--border-color:var(--color--gray-200);--ez-image-input--border-color-hover:var(--color--ocean-green-600);--ez-image-input--border-color-dragging:var(--color--ocean-green-500);--ez-image-input--border-color-disabled:var(--color--gray-200);--ez-image-input--label-color:var(--color--petroleum-900);--ez-image-input--icon-color:var(--color--gray-400);--ez-image-input--border-radius:var(--border--radius-24);--ez-image-input--border-width:2px;--ez-image-input--remove-button-bg:var(--color--red-600);--ez-image-input--remove-button-bg-hover:var(--color--red-700);--ez-image-input--remove-button-color:var(--color--gray-70);--ez-image-input--remove-button-border:1px solid var(--color--red-700)}.image-input__container{display:flex;align-items:center;justify-content:center;position:relative;height:var(--ez-image-input--container-height);width:var(--ez-image-input--container-width);border:var(--ez-image-input--border-width) dashed var(--ez-image-input--border-color);border-radius:var(--ez-image-input--border-radius);background-color:var(--ez-image-input--background-color);cursor:pointer;transition:all 0.3s ease;overflow:hidden}.image-input__container:hover:not(.image-input__container--disabled){border-color:var(--ez-image-input--border-color-hover)}.image-input__container--dragging{border-color:var(--ez-image-input--border-color-dragging);background-color:var(--color--ocean-green-90)}.image-input__container--disabled{cursor:not-allowed;opacity:0.6;border-color:var(--ez-image-input--border-color-disabled)}.image-input__container--has-image{border-style:solid;padding:var(--space--0)}.image-input__file-input{display:none}.image-input__dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space--16);padding:var(--space--24);text-align:center}.image-input__dropzone ez-icon{color:var(--ez-image-input--icon-color)}.image-input__label{font-family:var(--font--pattern);font-size:var(--font-size--default);font-weight:var(--font-weight--medium);color:var(--ez-image-input--label-color);line-height:var(--line-height--20)}.image-input__preview{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.image-input__image{height:100%;object-fit:cover;border-radius:calc(var(--ez-image-input--border-radius) - var(--ez-image-input--border-width))}.image-input__actions{position:absolute;top:var(--space--8);right:var(--space--8);display:flex;flex-direction:column;gap:var(--space--4);opacity:0;transition:opacity 0.2s ease}.image-input__container:hover .image-input__actions{opacity:1}.image-input__remove-button{--ez-button--background-color:var(--ez-image-input--remove-button-bg);--ez-button--hover--background-color:var(--ez-image-input--remove-button-bg-hover);--ez-button--color:var(--ez-image-input--remove-button-color);--ez-button--border:var(--ez-image-input--remove-button-border);--ez-button--hover--border:var(--ez-image-input--remove-button-border)}.image-input__edit-button{--ez-button--background-color:var(--ez-image-input--edit-button-bg);--ez-button--hover--background-color:var(--ez-image-input--edit-button-bg-hover);--ez-button--color:var(--ez-image-input--edit-button-color);--ez-button--border:var(--ez-image-input--edit-button-border);--ez-button--hover--border:var(--ez-image-input--edit-button-border);--ez-button--left-icon--color:var(--ez-image-input--edit-button-color);--ez-button--right-icon--color:var(--ez-image-input--edit-button-color)}.image-input__popup-content{display:flex;align-items:center;justify-content:center;padding:var(--space--16);height:100%}.image-input__popup-image{max-width:100%;max-height:70vh;object-fit:contain;border-radius:var(--border--radius-8)}.image-input__image{height:100%;object-fit:cover;border-radius:calc(var(--ez-image-input--border-radius) - var(--ez-image-input--border-width));cursor:pointer;transition:transform 0.2s ease}.image-input__image:hover{transform:scale(1.02)}ez-skeleton{--skeleton-width:var(--ez-image-input--container-width);--skeleton-height:var(--ez-image-input--container-height)}";
502
+
503
+ const EzImageInput = class {
504
+ constructor(hostRef) {
505
+ index.registerInstance(this, hostRef);
506
+ this.ezChange = index.createEvent(this, "ezChange", 7);
507
+ this.ezError = index.createEvent(this, "ezError", 7);
508
+ this.handleFileSelect = (event) => {
509
+ const input = event.target;
510
+ if (input.files && input.files[0]) {
511
+ this.processFile(input.files[0]);
512
+ }
513
+ };
514
+ this.handleDrop = (event) => {
515
+ var _a;
516
+ event.preventDefault();
517
+ event.stopPropagation();
518
+ this._isDragging = false;
519
+ if (!this.enabled)
520
+ return;
521
+ const files = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.files;
522
+ if (files && files[0]) {
523
+ this.processFile(files[0]);
524
+ }
525
+ };
526
+ this.handleDragOver = (event) => {
527
+ event.preventDefault();
528
+ event.stopPropagation();
529
+ if (this.enabled) {
530
+ this._isDragging = true;
531
+ }
532
+ };
533
+ this.handleDragLeave = (event) => {
534
+ event.preventDefault();
535
+ event.stopPropagation();
536
+ this._isDragging = false;
537
+ };
538
+ this.handleRemoveImage = (event) => {
539
+ event.stopPropagation();
540
+ this.value = undefined;
541
+ this._hasImage = false;
542
+ if (this._inputElem) {
543
+ this._inputElem.value = '';
544
+ }
545
+ this.ezChange.emit('');
546
+ };
547
+ this.handleEditImage = (event) => {
548
+ var _a;
549
+ event.stopPropagation();
550
+ (_a = this._inputElem) === null || _a === void 0 ? void 0 : _a.click();
551
+ };
552
+ this.handleClickDropZone = () => {
553
+ var _a;
554
+ if (this.enabled && !this._hasImage) {
555
+ (_a = this._inputElem) === null || _a === void 0 ? void 0 : _a.click();
556
+ }
557
+ };
558
+ this.handleImageClick = (event) => {
559
+ event.stopPropagation();
560
+ if (this._hasImage && this.value) {
561
+ this._showImagePopup = true;
562
+ }
563
+ };
564
+ this.handlePopupAction = (event) => {
565
+ const action = event.detail;
566
+ if (action === 'CANCEL' || action === 'OK') {
567
+ this.handleClosePopup();
568
+ }
569
+ };
570
+ this.handleClosePopup = () => {
571
+ this._showImagePopup = false;
572
+ };
573
+ this.enabled = true;
574
+ this.label = undefined;
575
+ this.name = undefined;
576
+ this.value = undefined;
577
+ this.maxFileSize = 20 * 1024 * 1024;
578
+ this.accept = 'image/*';
579
+ this.loading = false;
580
+ this._hasImage = false;
581
+ this._isDragging = false;
582
+ this._showImagePopup = false;
583
+ }
584
+ onValueChange(newValue, oldValue) {
585
+ if (newValue !== oldValue) {
586
+ this._hasImage = !!newValue;
587
+ }
588
+ if (!newValue && this._inputElem) {
589
+ this._inputElem.value = '';
590
+ }
591
+ }
592
+ addInfoId() {
593
+ if (this._element) {
594
+ core.ElementIDUtils.addIDInfo(this._element);
595
+ }
596
+ if (this._inputElem) {
597
+ const dataInfo = { id: 'embedded' };
598
+ core.ElementIDUtils.addIDInfo(this._inputElem, 'image-input', dataInfo);
599
+ }
600
+ }
601
+ processFile(file) {
602
+ // Validar tipo de arquivo
603
+ if (!file.type.startsWith('image/')) {
604
+ const errorMsg = this.i18n('ez-image-input.invalidFileType');
605
+ this.ezError.emit(errorMsg);
606
+ return;
607
+ }
608
+ // Validar tamanho do arquivo
609
+ if (this.maxFileSize && file.size > this.maxFileSize) {
610
+ const maxSizeMB = (this.maxFileSize / (1024 * 1024)).toFixed(2);
611
+ const errorMsg = this.i18n('ez-image-input.fileTooLarge', { maxSize: `${maxSizeMB}MB` });
612
+ this.ezError.emit(errorMsg);
613
+ return;
614
+ }
615
+ // Converter para base64
616
+ const reader = new FileReader();
617
+ reader.onload = (e) => {
618
+ var _a;
619
+ const base64 = (_a = e.target) === null || _a === void 0 ? void 0 : _a.result;
620
+ this.value = base64;
621
+ this._hasImage = true;
622
+ this.ezChange.emit(base64);
623
+ };
624
+ reader.readAsDataURL(file);
625
+ }
626
+ async componentWillLoad() {
627
+ this.i18n = await index$1.initI18n();
628
+ this._hasImage = !!this.value;
629
+ }
630
+ componentDidLoad() {
631
+ this.addInfoId();
632
+ }
633
+ render() {
634
+ if (this.loading) {
635
+ return (index.h(index.Host, null, index.h("ez-skeleton", { width: "280px", height: '200px' })));
636
+ }
637
+ const dropZoneLabel = this.label || this.i18n('ez-image-input.defaultLabel');
638
+ return (index.h(index.Host, null, index.h("div", { class: {
639
+ 'image-input__container': true,
640
+ 'image-input__container--disabled': !this.enabled,
641
+ 'image-input__container--dragging': this._isDragging,
642
+ 'image-input__container--has-image': this._hasImage
643
+ }, "data-enabled": this.enabled.toString(), "data-has-image": this._hasImage.toString(), onClick: this.handleClickDropZone, onDrop: this.handleDrop, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, role: "button", "aria-label": dropZoneLabel, tabindex: this.enabled ? 0 : -1 }, index.h("input", { ref: (el) => (this._inputElem = el), type: "file", accept: this.accept, name: this.name, disabled: !this.enabled, onChange: this.handleFileSelect, class: "image-input__file-input", "aria-hidden": "true" }), this._hasImage && this.value ? (index.h("div", { class: "image-input__preview" }, index.h("img", { src: this.value, alt: this.i18n('ez-image-input.imageAlt'), class: "image-input__image", onClick: this.handleImageClick }), this.enabled && (index.h("div", { class: "image-input__actions" }, index.h("ez-button", { class: "image-input__remove-button", variant: "primary", type: "button", mode: "icon", size: "small", iconName: "trash-alt", onClick: this.handleRemoveImage, "aria-label": this.i18n('ez-image-input.removeImage'), title: this.i18n('ez-image-input.removeImage') }), index.h("ez-button", { class: "image-input__edit-button", variant: "secondary", type: "button", mode: "icon", size: "small", iconName: "edit", onClick: this.handleEditImage, "aria-label": this.i18n('ez-image-input.editImage'), title: this.i18n('ez-image-input.editImage') }))))) : (index.h("div", { class: "image-input__dropzone" }, index.h("ez-icon", { iconName: "image", size: "x-large" }), index.h("span", { class: "image-input__label" }, dropZoneLabel)))), index.h("ez-popup", { opened: this._showImagePopup, ezTitle: this.i18n('ez-image-input.imagePreview'), size: "large", heightMode: "auto", onEzPopupAction: this.handlePopupAction, onEzClosePopup: this.handleClosePopup }, index.h("div", { class: "image-input__popup-content" }, index.h("img", { src: this.value, alt: this.i18n('ez-image-input.imageAlt'), class: "image-input__popup-image" })))));
644
+ }
645
+ get _element() { return index.getElement(this); }
646
+ static get watchers() { return {
647
+ "value": ["onValueChange"]
648
+ }; }
649
+ };
650
+ EzImageInput.style = ezImageInputCss;
651
+
652
+ const ezLinkBuilderCss = ".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%}";
653
+
654
+ const EzLinkBuilder = class {
655
+ constructor(hostRef) {
656
+ index.registerInstance(this, hostRef);
657
+ this.executeToolbarCommand = index.createEvent(this, "executeToolbarCommand", 7);
658
+ this.textToShow = undefined;
659
+ this.link = undefined;
660
+ this.openInNewGuide = false;
661
+ }
662
+ async show(text) {
663
+ this._popupElement.opened = true;
664
+ if (text) {
665
+ this.textToShow = text;
666
+ }
667
+ }
668
+ async hide() {
669
+ this._popupElement.opened = false;
670
+ }
671
+ async componentWillLoad() {
672
+ this.i18n = await index$1.initI18n();
673
+ }
674
+ async handleCancel() {
675
+ this.clearValues();
676
+ this.executeToolbarCommand.emit({ command: RichToolbarHelper.RICH_TOOLBAR_COMMANDS.FOCUS });
677
+ await this.hide();
678
+ }
679
+ clearValues() {
680
+ this.link = '';
681
+ this.textToShow = '';
682
+ this.openInNewGuide = false;
683
+ }
684
+ async handleCreateLink() {
685
+ const tag = `<a href="${this.link}" ${this.openInNewGuide ? 'target="_blank" rel="noopener noreferrer"' : ''}>${this.textToShow ? this.textToShow : this.link}</a>`;
686
+ this.executeToolbarCommand.emit({ command: RichToolbarHelper.RICH_TOOLBAR_COMMANDS.FORMAT, value: tag });
687
+ this.clearValues();
688
+ await this.hide();
689
+ }
690
+ async handleActionPopup(event) {
691
+ if (event.detail === 'OK') {
692
+ await this.handleCreateLink();
693
+ return;
694
+ }
695
+ if (event.detail === 'CANCEL' || event.detail === 'CLOSE') {
696
+ await this.handleCancel();
697
+ }
698
+ }
699
+ getOkButtonStatus() {
700
+ var _a;
701
+ return ((_a = this.link) === null || _a === void 0 ? void 0 : _a.trim()) ? 'ENABLED' : 'DISABLED';
702
+ }
703
+ render() {
704
+ return (index.h("ez-popup", { heightMode: 'auto', size: 'small', useHeader: false, ref: ref => this._popupElement = ref, onEzClosePopup: () => this.clearValues() }, index.h("div", null, index.h("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() }, index.h("div", { class: 'link-builder-container' }, index.h("ez-text-input", { id: 'link_url_input', label: this.i18n("ez-link-builder.urlInputLabel"), value: this.link, onEzChange: (e) => this.link = e.detail }), index.h("ez-text-input", { id: 'link_text_input', label: this.i18n("ez-link-builder.textInputLabel"), value: this.textToShow, onEzChange: (e) => this.textToShow = e.detail }), index.h("ez-check", { label: this.i18n("ez-link-builder.openInNewPage"), value: this.openInNewGuide, onEzChange: (e) => this.openInNewGuide = e.detail }))))));
705
+ }
706
+ };
707
+ EzLinkBuilder.style = ezLinkBuilderCss;
708
+
709
+ const ezMultiSelectInputCss = ":host{--ez-multi-select-input--height:42px;--ez-multi-select-input--height--slim:32px;--ez-multi-select-input--width:100%;--ez-multi-select-input__min-width:0px;--ez-multi-select-input__max-width:100%;--ez-multi-select-input__icon--width:30px;--ez-multi-select-input--font-size:var(--text--medium, 14px);--ez-multi-select-input--font-family:var(--font-pattern, Arial);--ez-multi-select-input--font-weight:var(--text-weight--medium, 400);--ez-multi-select-input--color:var(--title--primary, #2B3A54);--ez-multi-select-input--border-radius:var(--border--radius-medium, 12px);--ez-multi-select-input__input--border:var(--border--small, 1px solid);--ez-multi-select-input__input--border-color:var(--color--strokes, #DCE0E8);--ez-multi-select-input__input--focus--border-color:var(--color--primary, #008561);--ez-multi-select-input__input--error--border-color:var(--color-alert--error-800, #BD0025);--ez-multi-select-input__input--background-color:var(--background--light, #ffffff);--ez-multi-select-input__input--disabled--background-color:var(--background--medium, #F0F3F7);--ez-multi-select-input__input--disabled--color:var(--text--primary, #626E82);--ez-multi-select-input__label--floating--top:6px;--ez-multi-select-input__label--padding-top:12px;--ez-multi-select-input__label--padding-left:14px;--ez-multi-select-input__placeholder--color:var(--text--secondary, #a2abb9);--ez-multi-select-input__tooltip_icon--error--color:var(--color-alert--error-800, #BD0025);--ez-multi-select-input__tooltip-icon---width:var(--space--large);--ez-multi-select-input__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-multi-select-input__tooltip-icon---vertical-margin:10px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-multi-select-input--width);min-width:var(--ez-multi-select-input__min-width);max-width:var(--ez-multi-select-input__max-width)}.trigger{position:relative;display:flex;align-items:center;box-sizing:border-box;cursor:pointer;width:100%;overflow:hidden;height:var(--ez-multi-select-input--height);border-radius:var(--ez-multi-select-input--border-radius);font-family:var(--ez-multi-select-input--font-family);font-size:var(--ez-multi-select-input--font-size);font-weight:var(--ez-multi-select-input--font-weight);color:var(--ez-multi-select-input--color);background-color:var(--ez-multi-select-input__input--background-color);border:var(--ez-multi-select-input__input--border);border-color:var(--ez-multi-select-input__input--border-color);padding:0 var(--ez-multi-select-input__icon--width) 0 14px;margin-bottom:var(--space--small)}.trigger:focus{outline:none}.trigger--focused{border:var(--border--medium, 2px solid);outline:none;border-color:var(--ez-multi-select-input__input--focus--border-color)}.trigger--error{border:var(--border--medium, 2px solid);border-color:var(--ez-multi-select-input__input--error--border-color)}.trigger--disabled{cursor:not-allowed;background-color:var(--ez-multi-select-input__input--disabled--background-color);color:var(--ez-multi-select-input__input--disabled--color)}.trigger--no-border{box-shadow:none;border:none}.trigger--slim{height:var(--ez-multi-select-input--height--slim)}.trigger__label{position:absolute;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;font-family:var(--ez-multi-select-input--font-family);font-size:var(--ez-multi-select-input--font-size);font-weight:var(--ez-multi-select-input--font-weight);color:var(--ez-multi-select-input--color);top:var(--ez-multi-select-input__label--padding-top);left:var(--ez-multi-select-input__label--padding-left)}.trigger__label--floated{font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-multi-select-input__label--floating--top)}.trigger__label--disabled{color:var(--ez-multi-select-input__input--disabled--color)}.trigger__label--error{color:var(--ez-multi-select-input__tooltip_icon--error--color)}.trigger__value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trigger__value--placeholder{color:var(--ez-multi-select-input__placeholder--color)}.trigger__value--with-label{padding-top:14px}.trigger__chevron{position:absolute;right:8px;display:flex;align-items:center;color:var(--ez-multi-select-input--color)}.trigger--disabled .trigger__chevron{color:var(--ez-multi-select-input__input--disabled--color)}ez-icon.tooltip-icon{position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden;width:var(--ez-multi-select-input__tooltip-icon---width);height:22px;margin:var(--ez-multi-select-input__tooltip-icon---vertical-margin)\n var(--ez-multi-select-input__tooltip-icon---horizontal-margin);top:0;right:var(--ez-multi-select-input__icon--width);border-radius:var(--ez-multi-select-input--border-radius)}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-multi-select-input__tooltip_icon--error--color)}ez-popover-core ez-multi-selection-list{padding:var(--space--2xs, 8px);--ez-multi-selection-default-width:100%}";
710
+
711
+ const EzMultiSelectInput = class {
712
+ constructor(hostRef) {
713
+ index.registerInstance(this, hostRef);
714
+ this.ezChange = index.createEvent(this, "ezChange", 7);
715
+ /**
716
+ * Chave da última seleção conhecida (valores marcados, ordenados). Usada para
717
+ * deduplicar emissões de `ezChange`: o ez-multi-selection-list emite
718
+ * `changeFilteredOptions` também ao montar e a cada sincronização programática
719
+ * de `options`/`value`, então só propagamos mudanças reais de seleção.
720
+ */
721
+ this._lastSelectionKey = '';
722
+ this.label = undefined;
723
+ this.enabled = true;
724
+ this.errorMessage = undefined;
725
+ this.hasInvalid = false;
726
+ this.canShowError = true;
727
+ this.mode = 'regular';
728
+ this.noBorder = false;
729
+ this.options = undefined;
730
+ this.dataSource = undefined;
731
+ this.columnName = undefined;
732
+ this.useOptions = false;
733
+ this.isTextSearch = false;
734
+ this.orderSelectedFirst = false;
735
+ this.value = undefined;
736
+ this._selectedCount = 0;
737
+ this._isOpen = false;
738
+ }
739
+ //---------------------------------------------
740
+ // Watchers
741
+ //---------------------------------------------
742
+ observeHasInvalid(newValue, oldValue) {
743
+ if (newValue === oldValue) {
744
+ return;
745
+ }
746
+ }
747
+ observeOptions(newOptions) {
748
+ if (!newOptions) {
749
+ this._selectedCount = 0;
750
+ this._lastSelectionKey = '';
751
+ return;
752
+ }
753
+ this._selectedCount = newOptions.filter(o => o.check).length;
754
+ this._lastSelectionKey = this.selectionKey(newOptions);
755
+ }
756
+ observeValue(newValue) {
757
+ if (!Array.isArray(newValue)) {
758
+ return;
759
+ }
760
+ if (this.selectionKey(newValue) === this._lastSelectionKey) {
761
+ return;
762
+ }
763
+ this.options = newValue;
764
+ }
765
+ //---------------------------------------------
766
+ // Public methods
767
+ //---------------------------------------------
768
+ /**
769
+ * Retorna as opções com o estado de check atual.
770
+ */
771
+ async getSelectedOptions() {
772
+ var _a, _b;
773
+ const source = (_b = (_a = this.value) !== null && _a !== void 0 ? _a : this.options) !== null && _b !== void 0 ? _b : [];
774
+ return source.filter(o => o.check);
775
+ }
776
+ /**
777
+ * Limpa todas as seleções. Delega ao ez-multi-selection-list.
778
+ */
779
+ async clearSelection() {
780
+ var _a, _b;
781
+ const list = (_a = this._list) !== null && _a !== void 0 ? _a : (_b = this._popover) === null || _b === void 0 ? void 0 : _b.querySelector('ez-multi-selection-list');
782
+ await (list === null || list === void 0 ? void 0 : list.clearSelection());
783
+ this._selectedCount = 0;
784
+ }
785
+ //---------------------------------------------
786
+ // Private methods
787
+ //---------------------------------------------
788
+ handleTogglePopover() {
789
+ if (!this.enabled) {
790
+ return;
791
+ }
792
+ if (this._isOpen) {
793
+ this._popover.hide();
794
+ }
795
+ else {
796
+ this._popover.showUnder(this._trigger);
797
+ }
798
+ }
799
+ handleKeyDown(event) {
800
+ if (event.key === 'Enter' || event.key === ' ' || event.key === 'Spacebar') {
801
+ event.preventDefault();
802
+ this.handleTogglePopover();
803
+ }
804
+ }
805
+ handleVisibilityChange(event) {
806
+ this._isOpen = event.detail;
807
+ }
808
+ stopInnerChangeEvents(event) {
809
+ event.stopPropagation();
810
+ }
811
+ handleSelectionChange(event) {
812
+ var _a;
813
+ const opts = (_a = event.detail) !== null && _a !== void 0 ? _a : [];
814
+ this._selectedCount = opts.filter(o => o.check).length;
815
+ const key = this.selectionKey(opts);
816
+ if (key === this._lastSelectionKey) {
817
+ return;
818
+ }
819
+ this._lastSelectionKey = key;
820
+ this.value = opts;
821
+ this.ezChange.emit(opts);
822
+ }
823
+ selectionKey(opts) {
824
+ return (opts || [])
825
+ .filter(o => o.check)
826
+ .map(o => o.value)
827
+ .sort()
828
+ .join('|');
829
+ }
830
+ buildDisplayText() {
831
+ return this._selectedCount > 0 ? `${this._selectedCount} selecionado(s)` : '';
832
+ }
833
+ buildTriggerClass() {
834
+ const classes = ['trigger'];
835
+ if (!this.enabled)
836
+ classes.push('trigger--disabled');
837
+ if (this._isOpen)
838
+ classes.push('trigger--focused');
839
+ if (this.hasError())
840
+ classes.push('trigger--error');
841
+ if (this.noBorder)
842
+ classes.push('trigger--no-border');
843
+ if (this.mode === 'slim')
844
+ classes.push('trigger--slim');
845
+ return classes.join(' ');
846
+ }
847
+ hasError() {
848
+ if (!this.canShowError) {
849
+ return false;
850
+ }
851
+ return this.hasInvalid || (typeof this.errorMessage === 'string' && this.errorMessage.trim() !== '');
852
+ }
853
+ //---------------------------------------------
854
+ // Lifecycle
855
+ //---------------------------------------------
856
+ componentWillLoad() {
857
+ if (Array.isArray(this.value) && this.value !== this.options) {
858
+ this.options = this.value;
859
+ }
860
+ const source = this.options;
861
+ if (source) {
862
+ this._selectedCount = source.filter(o => o.check).length;
863
+ this._lastSelectionKey = this.selectionKey(source);
864
+ }
865
+ }
866
+ render() {
867
+ core.ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'multi-select-input');
868
+ const displayText = this.buildDisplayText();
869
+ const hasError = this.hasError();
870
+ const isFloated = this._selectedCount > 0 || this._isOpen;
871
+ return (index.h(index.Host, null, index.h("div", { ref: el => this._trigger = el, class: this.buildTriggerClass(), tabindex: this.enabled ? '0' : '-1', onClick: () => this.handleTogglePopover(), onKeyDown: (e) => this.handleKeyDown(e), "data-element-id": core.ElementIDUtils.getInternalIDInfo('trigger') }, this.label && this.mode !== 'slim' && (index.h("label", { class: {
872
+ 'trigger__label': true,
873
+ 'trigger__label--floated': isFloated,
874
+ 'trigger__label--disabled': !this.enabled,
875
+ 'trigger__label--error': hasError,
876
+ }, title: this.label }, this.label)), index.h("span", { class: {
877
+ 'trigger__value': true,
878
+ 'trigger__value--placeholder': this._selectedCount === 0,
879
+ 'trigger__value--with-label': !!this.label && this.mode !== 'slim',
880
+ } }, displayText || (this.mode === 'slim' && this.label ? this.label : '')), index.h("ez-icon", { class: "trigger__chevron", iconName: this._isOpen ? 'chevron-up' : 'chevron-down' }), hasError && this.mode !== 'slim' && this.errorMessage && (
881
+ // strategy="fixed": o tooltip fica dentro de `.trigger` (que tem
882
+ // overflow: hidden); com position:fixed o balão escapa do recorte do
883
+ // container — z-index sozinho não resolve recorte por overflow.
884
+ index.h("ez-tooltip", { type: "error", message: this.errorMessage, strategy: "fixed" }, index.h("ez-icon", { class: "tooltip-icon hasError", "data-element-id": core.ElementIDUtils.getInternalIDInfo('tooltip-icon'), iconName: "alert-circle" })))), index.h("ez-popover-core", { ref: el => this._popover = el, overlayType: "light", fitInViewport: true, useAnchorSize: true, onEzVisibilityChange: (e) => this.handleVisibilityChange(e) }, index.h("ez-multi-selection-list", { ref: el => {
885
+ this._list = el;
886
+ el === null || el === void 0 ? void 0 : el.removeEventListener('ezChange', this.stopInnerChangeEvents);
887
+ el === null || el === void 0 ? void 0 : el.addEventListener('ezChange', this.stopInnerChangeEvents);
888
+ }, columnName: this.columnName, dataSource: this.dataSource, useOptions: this.useOptions, options: this.options, isTextSearch: this.isTextSearch, orderSelectedFirst: this.orderSelectedFirst, onChangeFilteredOptions: (e) => this.handleSelectionChange(e) }))));
889
+ }
890
+ get _hostElement() { return index.getElement(this); }
891
+ static get watchers() { return {
892
+ "hasInvalid": ["observeHasInvalid"],
893
+ "errorMessage": ["observeHasInvalid"],
894
+ "canShowError": ["observeHasInvalid"],
895
+ "options": ["observeOptions"],
896
+ "value": ["observeValue"]
897
+ }; }
898
+ };
899
+ EzMultiSelectInput.style = ezMultiSelectInputCss;
900
+
901
+ const ezRichTextCss = ".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}";
902
+
903
+ const EzRichText = class {
904
+ constructor(hostRef) {
905
+ index.registerInstance(this, hostRef);
906
+ this.ezChange = index.createEvent(this, "ezChange", 7);
907
+ this.historyStack = [];
908
+ this.historyIndex = -1;
909
+ this.previewMode = false;
910
+ this.showPreview = true;
911
+ this.value = undefined;
912
+ this.label = undefined;
913
+ this.mode = "regular";
914
+ this.enabled = true;
915
+ this.rows = 6;
916
+ this.errorMessage = undefined;
917
+ this.canShowError = true;
918
+ this.showConfigs = true;
919
+ this.showTextFormat = true;
920
+ this.showUndoRedo = true;
921
+ }
922
+ observeValue(newValue, oldValue) {
923
+ if (core.ObjectUtils.equals(newValue, oldValue))
924
+ return;
925
+ this.ezChange.emit(newValue);
926
+ }
927
+ observeErrorMessage(newValue) {
928
+ if (newValue && this.previewMode) {
929
+ this.previewMode = false;
930
+ }
931
+ }
932
+ async handleExecuteToolbarCommand(event) {
933
+ const { command, value } = event.detail;
934
+ await this.executeCommand(command, value);
935
+ }
936
+ /**
937
+ * Aplica o foco no campo.
938
+ */
939
+ async setFocus() {
940
+ this.handleFocus();
941
+ }
942
+ /**
943
+ * Remove o foco do campo.
944
+ */
945
+ async setBlur() {
946
+ var _a;
947
+ await ((_a = this.textAreaRef) === null || _a === void 0 ? void 0 : _a.setBlur());
948
+ }
949
+ /**
950
+ * Retorna se o conteúdo é inválido.
951
+ */
952
+ async isInvalid() {
953
+ return typeof this.errorMessage === 'string' && this.errorMessage.trim() !== '';
954
+ }
955
+ bindPreview() {
956
+ if (!this._keyboardManager || !this.showPreview)
957
+ return;
958
+ this._keyboardManager
959
+ .bind('ctrl + p', async () => {
960
+ await this.togglePreview();
961
+ }, { description: 'Entra em modo de pré visualização.', element: this.element });
962
+ }
963
+ bindConfigs() {
964
+ if (!this._keyboardManager || !this.showConfigs)
965
+ return;
966
+ this._keyboardManager
967
+ .bind('ctrl + l', async () => {
968
+ await this.handleFormatSelection(RichToolbarHelper.RICH_TOOLBAR_FORMAT_TAGS.LIST);
969
+ }, { description: this.i18n("ez-rich-text.listShortcut"), element: this.element })
970
+ .bind('ctrl + k', async () => {
971
+ await this.handleLink();
972
+ }, { description: this.i18n("ez-rich-text.linkShortcut"), element: this.element })
973
+ .bind('ctrl + o', async () => {
974
+ await this.handleImage();
975
+ }, { description: this.i18n("ez-rich-text.imageShortcut"), element: this.element });
976
+ }
977
+ bindTextFormat() {
978
+ if (!this._keyboardManager || !this.showTextFormat)
979
+ return;
980
+ this._keyboardManager
981
+ .bind('ctrl + b', async () => {
982
+ await this.handleFormatSelection(RichToolbarHelper.RICH_TOOLBAR_FORMAT_TAGS.BOLD);
983
+ }, { description: this.i18n("ez-rich-text.boldShortcut"), element: this.element })
984
+ .bind('ctrl + i', async () => {
985
+ await this.handleFormatSelection(RichToolbarHelper.RICH_TOOLBAR_FORMAT_TAGS.ITALIC);
986
+ }, { description: this.i18n("ez-rich-text.italicShortcut"), element: this.element })
987
+ .bind('ctrl + u', async () => {
988
+ await this.handleFormatSelection(RichToolbarHelper.RICH_TOOLBAR_FORMAT_TAGS.UNDERLINE);
989
+ }, { description: this.i18n("ez-rich-text.underlineShortcut"), element: this.element });
990
+ }
991
+ initKeyboardManager() {
992
+ this._keyboardManager = new core.KeyboardManager({ propagate: false, element: this.element });
993
+ this._keyboardManager
994
+ .bind('ctrl + Enter', async () => {
995
+ await this.handleFormatSelection(RichToolbarHelper.RICH_TOOLBAR_FORMAT_TAGS.BREAK_LINE);
996
+ }, { description: this.i18n("ez-rich-text.breakLineShortcut"), element: this.element })
997
+ .bind('ctrl + z', async () => {
998
+ await this.handleUndo();
999
+ }, { description: this.i18n("ez-rich-text.undoShortcut"), element: this.element })
1000
+ .bind('ctrl + x', async () => {
1001
+ await this.handleRedo();
1002
+ }, { description: this.i18n("ez-rich-text.redoShortcut"), element: this.element });
1003
+ this.bindPreview();
1004
+ this.bindConfigs();
1005
+ this.bindTextFormat();
1006
+ }
1007
+ async executeCommand(command, value) {
1008
+ switch (command) {
1009
+ case RichToolbarHelper.RICH_TOOLBAR_COMMANDS.FOCUS:
1010
+ this.handleFocus();
1011
+ break;
1012
+ case RichToolbarHelper.RICH_TOOLBAR_COMMANDS.PREVIEW:
1013
+ await this.togglePreview();
1014
+ break;
1015
+ case RichToolbarHelper.RICH_TOOLBAR_COMMANDS.FORMAT:
1016
+ await this.handleFormatSelection(value);
1017
+ break;
1018
+ case RichToolbarHelper.RICH_TOOLBAR_COMMANDS.UNDO:
1019
+ await this.handleUndo();
1020
+ break;
1021
+ case RichToolbarHelper.RICH_TOOLBAR_COMMANDS.REDO:
1022
+ await this.handleRedo();
1023
+ break;
1024
+ case RichToolbarHelper.RICH_TOOLBAR_COMMANDS.LINK:
1025
+ await this.handleLink();
1026
+ break;
1027
+ case RichToolbarHelper.RICH_TOOLBAR_COMMANDS.IMAGE:
1028
+ await this.handleImage();
1029
+ break;
1030
+ }
1031
+ }
1032
+ handleFocus() {
1033
+ this.previewMode = false;
1034
+ requestAnimationFrame(async () => {
1035
+ await this.textAreaRef.setFocus();
1036
+ });
1037
+ }
1038
+ async handleLink() {
1039
+ this.previewMode = false;
1040
+ requestAnimationFrame(async () => {
1041
+ await this.linkBuilderRef.show(this.getSelectedText());
1042
+ });
1043
+ }
1044
+ async handleImage() {
1045
+ this.previewMode = false;
1046
+ await this.imageUploaderRef.show();
1047
+ }
1048
+ async handleRedo() {
1049
+ this.previewMode = false;
1050
+ requestAnimationFrame(async () => {
1051
+ this.redo();
1052
+ await this.textAreaRef.setFocus();
1053
+ });
1054
+ }
1055
+ async handleUndo() {
1056
+ this.previewMode = false;
1057
+ requestAnimationFrame(async () => {
1058
+ this.undo();
1059
+ await this.textAreaRef.setFocus();
1060
+ });
1061
+ }
1062
+ async handleFormatSelection(value) {
1063
+ if (!value)
1064
+ return;
1065
+ this.previewMode = false;
1066
+ requestAnimationFrame(async () => {
1067
+ await this.formatSelection(value);
1068
+ await this.textAreaRef.setFocus();
1069
+ });
1070
+ }
1071
+ async togglePreview() {
1072
+ this.previewMode = !this.previewMode;
1073
+ if (this.previewMode) {
1074
+ await this.textAreaRef.setFocus();
1075
+ }
1076
+ }
1077
+ getSelectedText() {
1078
+ const textarea = this.getTextAreaElement();
1079
+ if (!textarea)
1080
+ return undefined;
1081
+ const selectionStart = textarea.selectionStart;
1082
+ const selectionEnd = textarea.selectionEnd;
1083
+ const currentValue = this.textAreaRef.value || '';
1084
+ return currentValue.substring(selectionStart, selectionEnd);
1085
+ }
1086
+ getTextAreaElement() {
1087
+ const textAreaElement = this.element.querySelector('ez-text-area');
1088
+ return textAreaElement.shadowRoot.querySelector('textarea');
1089
+ }
1090
+ async formatSelection(htmlTag) {
1091
+ if (!this.textAreaRef)
1092
+ return;
1093
+ const formattedHtml = htmlTag.replace('$selection', this.getSelectedText() || '');
1094
+ await this.textAreaRef.appendTextToSelection(formattedHtml);
1095
+ this.value = this.textAreaRef.value;
1096
+ this.addToHistory(this.value);
1097
+ }
1098
+ addToHistory(content) {
1099
+ // Só adiciona ao histórico se for diferente do estado atual
1100
+ if (this.historyIndex >= 0 && content === this.historyStack[this.historyIndex]) {
1101
+ return;
1102
+ }
1103
+ //se o tamanho do histórico chegou ao máximo, faz um splice mantendo os últimos 49 elementos
1104
+ if (this.historyStack.length >= 50) {
1105
+ this.historyStack.splice(0, this.historyStack.length - 49);
1106
+ }
1107
+ //Adiciona novo estado ao histórico
1108
+ this.historyStack.push(content);
1109
+ this.historyIndex = this.historyStack.length - 1;
1110
+ }
1111
+ undo() {
1112
+ if (!this.canExecuteUndo())
1113
+ return;
1114
+ this.historyIndex--;
1115
+ const content = this.historyStack[this.historyIndex];
1116
+ this.value = content;
1117
+ this.textAreaRef.value = content;
1118
+ }
1119
+ canExecuteUndo() {
1120
+ return this.historyIndex > 0;
1121
+ }
1122
+ redo() {
1123
+ if (!this.canExecuteRedo())
1124
+ return;
1125
+ this.historyIndex++;
1126
+ this.getValueFromHistory();
1127
+ }
1128
+ canExecuteRedo() {
1129
+ return this.historyIndex < this.historyStack.length - 1;
1130
+ }
1131
+ getValueFromHistory() {
1132
+ const content = this.historyStack[this.historyIndex];
1133
+ this.value = content;
1134
+ this.textAreaRef.value = content;
1135
+ }
1136
+ handleTextAreaChanged(event) {
1137
+ this.value = event.detail;
1138
+ this.addToHistory(this.value);
1139
+ }
1140
+ async removeShortcuts() {
1141
+ var _a;
1142
+ (_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
1143
+ }
1144
+ async componentWillLoad() {
1145
+ this.i18n = await index$1.initI18n();
1146
+ }
1147
+ componentDidLoad() {
1148
+ this.initKeyboardManager();
1149
+ this.addToHistory(this.value);
1150
+ }
1151
+ async disconnectedCallback() {
1152
+ await this.removeShortcuts();
1153
+ }
1154
+ getSanitizedValue() {
1155
+ return purify.purify.sanitize(this.value, {
1156
+ ADD_ATTR: ['target', 'rel']
1157
+ });
1158
+ }
1159
+ renderContent() {
1160
+ if (this.previewMode) {
1161
+ return (index.h("div", { id: 'rich-text-preview-container', class: "preview", innerHTML: this.getSanitizedValue() }));
1162
+ }
1163
+ return index.h("ez-text-area", { ref: (el) => this.textAreaRef = el, 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) });
1164
+ }
1165
+ render() {
1166
+ return (index.h(index.Host, null, index.h("div", { class: 'editor-container bordered' }, index.h("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()), index.h("ez-link-builder", { ref: (el) => this.linkBuilderRef = el }), index.h("ez-simple-image-uploader", { ref: (el) => this.imageUploaderRef = el })));
1167
+ }
1168
+ get element() { return index.getElement(this); }
1169
+ static get watchers() { return {
1170
+ "value": ["observeValue"],
1171
+ "errorMessage": ["observeErrorMessage"]
1172
+ }; }
1173
+ };
1174
+ EzRichText.style = ezRichTextCss;
1175
+
1176
+ const ezRichToolbarCss = ".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}";
1177
+
1178
+ const EzRichToolbar = class {
1179
+ constructor(hostRef) {
1180
+ index.registerInstance(this, hostRef);
1181
+ this.executeToolbarCommand = index.createEvent(this, "executeToolbarCommand", 7);
1182
+ this.showPreview = true;
1183
+ this.isPreviewMode = false;
1184
+ this.showConfigs = true;
1185
+ this.showTextFormat = true;
1186
+ this.showUndoRedo = true;
1187
+ }
1188
+ async componentWillLoad() {
1189
+ this.i18n = await index$1.initI18n();
1190
+ }
1191
+ handleActionTriggered(event) {
1192
+ this.executeToolbarCommand.emit({ command: event.detail.command, value: event.detail.value });
1193
+ }
1194
+ handleClickPreview() {
1195
+ this.executeToolbarCommand.emit({ command: RichToolbarHelper.RICH_TOOLBAR_COMMANDS.PREVIEW });
1196
+ }
1197
+ renderArrows() {
1198
+ if (!this.showUndoRedo)
1199
+ return;
1200
+ return (index.h("div", { id: "rich-toolbar-undo-redo", class: "taskbar-group" }, index.h("ez-rich-toolbar-arrows", null)));
1201
+ }
1202
+ renderLetters() {
1203
+ if (!this.showTextFormat)
1204
+ return;
1205
+ return (index.h("div", { id: "rich-toolbar-text-format", class: "taskbar-group" }, index.h("ez-rich-toolbar-letters", null)));
1206
+ }
1207
+ renderConfigs() {
1208
+ if (!this.showConfigs)
1209
+ return;
1210
+ return (index.h("div", { id: "rich-toolbar-options-configs", class: "taskbar-group" }, index.h("ez-rich-toolbar-configs", null)));
1211
+ }
1212
+ renderPreview() {
1213
+ if (!this.showPreview)
1214
+ return;
1215
+ return (index.h("div", { class: "taskbar-group" }, index.h("span", { id: 'rich-text-preview-btn', class: "preview-btn", title: this.getPreviewTitle(), onClick: this.handleClickPreview.bind(this) }, this.isPreviewMode ? this.i18n("ez-rich-text.edit") : this.i18n("ez-rich-text.preview"))));
1216
+ }
1217
+ getPreviewTitle() {
1218
+ return this.isPreviewMode
1219
+ ? this.i18n("ez-rich-text.title.edit")
1220
+ : this.i18n("ez-rich-text.title.preview");
1221
+ }
1222
+ render() {
1223
+ return (index.h(index.Host, null, index.h("div", { class: "taskbar" }, this.renderPreview(), this.renderArrows(), this.renderLetters(), this.renderConfigs())));
1224
+ }
1225
+ };
1226
+ EzRichToolbar.style = ezRichToolbarCss;
1227
+
1228
+ function formatBytes(bytes, decimals = 1) {
1229
+ if (bytes === 0) {
1230
+ return "0 Bytes";
1231
+ }
1232
+ const k = 1024;
1233
+ const dm = decimals < 0 ? 0 : decimals;
1234
+ const sizes = ["Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Petabytes", "Exabytes", "Zettabytes", "Yottabytes"];
1235
+ const i = Math.floor(Math.log(bytes) / Math.log(k));
1236
+ return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
1237
+ }
1238
+
1239
+ function fileToBase64(file) {
1240
+ return new Promise((resolve, reject) => {
1241
+ try {
1242
+ const reader = new FileReader();
1243
+ reader.onload = () => {
1244
+ resolve(reader.result);
1245
+ };
1246
+ reader.readAsDataURL(file);
1247
+ }
1248
+ catch (error) {
1249
+ reject(error);
1250
+ }
1251
+ });
1252
+ }
1253
+
1254
+ const ezSimpleImageUploaderCss = ".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}";
1255
+
1256
+ const EzSimpleImageUploader = class {
1257
+ constructor(hostRef) {
1258
+ index.registerInstance(this, hostRef);
1259
+ this.executeToolbarCommand = index.createEvent(this, "executeToolbarCommand", 7);
1260
+ this.link = undefined;
1261
+ this.base64 = undefined;
1262
+ this.messageError = undefined;
1263
+ this.selectedFile = undefined;
1264
+ this.maxSize = 500;
1265
+ }
1266
+ /**
1267
+ * Método responsável pela abertura do popup.
1268
+ */
1269
+ async show() {
1270
+ this._popupElement.opened = true;
1271
+ }
1272
+ /**
1273
+ * Método responsável pelo fechamento do popup.
1274
+ */
1275
+ async hide() {
1276
+ this._popupElement.opened = false;
1277
+ }
1278
+ async componentWillLoad() {
1279
+ this.i18n = await index$1.initI18n();
1280
+ }
1281
+ async handleCancel() {
1282
+ this.removeSelectedFile();
1283
+ this.executeToolbarCommand.emit({ command: RichToolbarHelper.RICH_TOOLBAR_COMMANDS.FOCUS });
1284
+ await this.hide();
1285
+ }
1286
+ removeSelectedFile(event) {
1287
+ event === null || event === void 0 ? void 0 : event.stopPropagation();
1288
+ this.link = undefined;
1289
+ this.base64 = undefined;
1290
+ this.selectedFile = undefined;
1291
+ this.messageError = undefined;
1292
+ }
1293
+ triggerFileSelect() {
1294
+ if (!this.selectedFile) {
1295
+ this._fileInput.click();
1296
+ }
1297
+ }
1298
+ async handleImage(files) {
1299
+ const file = files && files[0];
1300
+ if (!file) {
1301
+ return;
1302
+ }
1303
+ if (file.size < (this.maxSize * 1000)) {
1304
+ this.selectedFile = file;
1305
+ this.base64 = await fileToBase64(file);
1306
+ }
1307
+ else {
1308
+ this.messageError = this.i18n("ez-simple-image-uploader.imageTooLarge", { maxSize: formatBytes(this.maxSize) });
1309
+ }
1310
+ }
1311
+ getFileList(event) {
1312
+ if (event instanceof DragEvent) {
1313
+ return Array.from(event.dataTransfer.files);
1314
+ }
1315
+ else {
1316
+ const input = event.target;
1317
+ return input.files;
1318
+ }
1319
+ }
1320
+ handleFileChange(event) {
1321
+ event.preventDefault();
1322
+ this.messageError = undefined;
1323
+ this._dropZone.classList.remove("dragging");
1324
+ const files = this.getFileList(event);
1325
+ this.handleImage(files);
1326
+ const input = event.target;
1327
+ input.value = "";
1328
+ }
1329
+ handleDragOver(event) {
1330
+ event.stopPropagation();
1331
+ event.preventDefault();
1332
+ }
1333
+ handleDragEnter(event) {
1334
+ event.preventDefault();
1335
+ this._dropZone.classList.add("dragging");
1336
+ }
1337
+ handleDragLeave(event) {
1338
+ event.preventDefault();
1339
+ if (!this._dropZone.contains(event.relatedTarget)) {
1340
+ this._dropZone.classList.remove("dragging");
1341
+ }
1342
+ }
1343
+ async handleActionPopup(event) {
1344
+ if (event.detail === "OK") {
1345
+ await this.handleCreateImgTag();
1346
+ }
1347
+ else if (event.detail === "CANCEL" || event.detail === "CLOSE") {
1348
+ await this.handleCancel();
1349
+ }
1350
+ }
1351
+ async handleCreateImgTag() {
1352
+ var _a;
1353
+ const tag = `<img src="${(_a = this.base64) !== null && _a !== void 0 ? _a : this.link}" alt="${this.i18n("ez-simple-image-uploader.imageAlt")}" />`;
1354
+ this.executeToolbarCommand.emit({ command: RichToolbarHelper.RICH_TOOLBAR_COMMANDS.FORMAT, value: tag });
1355
+ this.removeSelectedFile();
1356
+ await this.hide();
1357
+ }
1358
+ getOkButtonStatus() {
1359
+ var _a;
1360
+ return (!this.base64 && !((_a = this.link) === null || _a === void 0 ? void 0 : _a.trim())) ? 'DISABLED' : 'ENABLED';
1361
+ }
1362
+ render() {
1363
+ return (index.h("ez-popup", { ref: ref => this._popupElement = ref, heightMode: "auto", size: "small", useHeader: false, onEzClosePopup: () => this.handleCancel() }, index.h("div", null, index.h("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() }, index.h("div", { class: "image-uploader-container" }, index.h("ez-tooltip", { message: this.i18n("ez-simple-image-uploader.tooltipMessage"), active: !!this.selectedFile }, index.h("ez-text-input", { label: this.i18n("ez-simple-image-uploader.urlInputLabel"), value: this.link, onEzChange: (e) => this.link = e.detail, enabled: !this.selectedFile })), index.h("span", null, this.i18n("ez-simple-image-uploader.orText")), index.h("section", { class: "drop-zone-section" }, index.h("div", { ref: (ref) => this._dropZone = ref, class: "drop-zone", onDrop: (ev) => this.handleFileChange(ev), onDragOver: (ev) => this.handleDragOver(ev), onDragEnter: (ev) => this.handleDragEnter(ev), onDragLeave: (ev) => this.handleDragLeave(ev) }, index.h("div", { class: {
1364
+ "drop-zone-container": true,
1365
+ "clickable": !this.selectedFile,
1366
+ }, onClick: () => this.triggerFileSelect() }, !!this.selectedFile ?
1367
+ index.h(index.Fragment, null, index.h("span", { class: "ez-text ez-text--primary ez-text--medium" }, this.selectedFile.name, " (", formatBytes(this.selectedFile.size), ")"), index.h("button", { class: "button-close", onClick: (event) => this.removeSelectedFile(event), title: this.i18n("ez-simple-image-uploader.removeFile") }, index.h("ez-icon", { iconName: "close" })))
1368
+ :
1369
+ index.h(index.Fragment, null, index.h("ez-icon", { iconName: "anexo" }), index.h("span", { class: "ez-text ez-text--primary ez-text--medium" }, this.i18n("ez-simple-image-uploader.dragDropText")))), index.h("input", { ref: (el) => this._fileInput = el, type: "file", accept: "image/*", style: { display: "none" }, onChange: (ev) => this.handleFileChange(ev) })), !!this.messageError && index.h("span", { class: "text-error" }, this.messageError)))))));
1370
+ }
1371
+ };
1372
+ EzSimpleImageUploader.style = ezSimpleImageUploaderCss;
1373
+
1374
+ const ezTextEditCss = ":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}";
1375
+
1376
+ const EzTextEdit = class {
1377
+ constructor(hostRef) {
1378
+ index.registerInstance(this, hostRef);
1379
+ this.saveEdition = index.createEvent(this, "saveEdition", 7);
1380
+ this.cancelEdition = index.createEvent(this, "cancelEdition", 7);
1381
+ this._newValue = undefined;
1382
+ this.value = undefined;
1383
+ this.styled = undefined;
1384
+ }
1385
+ /**
1386
+ * Aplica foco no campo.
1387
+ */
1388
+ async applyFocusSelect() {
1389
+ this.calcSizeInput(this.value, true);
1390
+ }
1391
+ calcSizeInput(value, setSelect = false) {
1392
+ var _a, _b;
1393
+ const textInput = (_b = (_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
1394
+ if (textInput != undefined) {
1395
+ const sizeText = this.getWidthValue(value);
1396
+ textInput.style.width = sizeText + 'px';
1397
+ if (setSelect) {
1398
+ setTimeout(() => textInput.select(), 100);
1399
+ }
1400
+ }
1401
+ }
1402
+ getWidthValue(value) {
1403
+ if (this._valueBasis != undefined) {
1404
+ const span = this._valueBasis;
1405
+ if (value != undefined) {
1406
+ const cursorSpace = 2;
1407
+ span.innerHTML = value;
1408
+ return span.clientWidth > 0 ? (span.clientWidth + cursorSpace) : cursorSpace;
1409
+ }
1410
+ else {
1411
+ span.innerHTML = "";
1412
+ }
1413
+ }
1414
+ return 0;
1415
+ }
1416
+ setStyledInput() {
1417
+ var _a, _b;
1418
+ let fontSize = "";
1419
+ let fontWeight = "";
1420
+ let fontFamily = "";
1421
+ if (this.styled != undefined) {
1422
+ fontSize = this.styled.fontSize;
1423
+ fontWeight = this.styled.fontWeight;
1424
+ fontFamily = this.styled.fontFamily;
1425
+ }
1426
+ const textInput = (_b = (_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
1427
+ if (textInput != undefined) {
1428
+ textInput.style.fontSize = fontSize;
1429
+ textInput.style.fontWeight = fontWeight;
1430
+ textInput.style.fontFamily = fontFamily;
1431
+ }
1432
+ const span = this._valueBasis;
1433
+ if (span != undefined) {
1434
+ span.style.fontSize = fontSize;
1435
+ span.style.fontWeight = fontWeight;
1436
+ span.style.fontFamily = fontFamily;
1437
+ }
1438
+ }
1439
+ handleSaveEdition() {
1440
+ if (!this._newValue) {
1441
+ ApplicationUtils.ApplicationUtils.alert(this.i18n("app.warning"), this.i18n("ez-text-edit.emptyFieldWarning")).then(() => {
1442
+ this.setNewValue(this.value, true);
1443
+ });
1444
+ return;
1445
+ }
1446
+ this.saveEdition.emit({ value: this.value, newValue: this._newValue });
1447
+ }
1448
+ handleCancelEdition() {
1449
+ this.cancelEdition.emit();
1450
+ }
1451
+ setNewValue(value, setSelect = false) {
1452
+ this._newValue = value;
1453
+ this.calcSizeInput(this._newValue, setSelect);
1454
+ }
1455
+ async componentWillLoad() {
1456
+ this.i18n = await index$1.initI18n();
1457
+ }
1458
+ componentDidLoad() {
1459
+ this.applyFocusSelect();
1460
+ this.setNewValue(this.value);
1461
+ }
1462
+ componentDidRender() {
1463
+ this.setStyledInput();
1464
+ }
1465
+ render() {
1466
+ core.ElementIDUtils.addIDInfoIfNotExists(this._element, 'input');
1467
+ return (index.h(index.Host, null, index.h("span", { class: "text-edit__hidden-value", ref: elem => this._valueBasis = elem }), index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), onInput: () => { this.calcSizeInput(this._newValue); }, class: "text-edit__form-input", value: this._newValue, ref: (elem) => this._inputElement = elem, mode: "slim", onEzChange: (evt) => this.setNewValue(evt === null || evt === void 0 ? void 0 : evt.detail), noBorder: true }), index.h("ez-button", { class: "text-edit__icon-check", mode: "icon", iconName: "check", size: "small", onClick: () => { this.handleSaveEdition(); } }), index.h("ez-button", { class: "text-edit__icon-close", mode: "icon", iconName: "close", size: "small", onClick: () => { this.handleCancelEdition(); } })));
1468
+ }
1469
+ get _element() { return index.getElement(this); }
1470
+ };
1471
+ EzTextEdit.style = ezTextEditCss;
1472
+
1473
+ exports.classic_search_list = ClassicSearchList;
1474
+ exports.ez_classic_search_result_list = EzClassicSearchResultList;
1475
+ exports.ez_combo_box_list = EzComboBoxList;
1476
+ exports.ez_custom_form_input = EzCustomFormInput;
1477
+ exports.ez_image_input = EzImageInput;
1478
+ exports.ez_link_builder = EzLinkBuilder;
1479
+ exports.ez_multi_select_input = EzMultiSelectInput;
1480
+ exports.ez_rich_text = EzRichText;
1481
+ exports.ez_rich_toolbar = EzRichToolbar;
1482
+ exports.ez_simple_image_uploader = EzSimpleImageUploader;
1483
+ exports.ez_text_edit = EzTextEdit;