@sankhyalabs/ezui 5.22.0-dev.12 → 5.22.0-dev.121

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 (469) hide show
  1. package/dist/cjs/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
  2. package/dist/cjs/DataBinder-b9973a19.js +474 -0
  3. package/dist/cjs/FocusResolver-885f2173.js +35 -0
  4. package/dist/cjs/FormLayout-c2451c7f.js +7 -0
  5. package/dist/cjs/{constants-2714478b.js → constants-569271bc.js} +4 -0
  6. package/dist/cjs/ez-actions-button.cjs.entry.js +7 -5
  7. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-badge.cjs.entry.js +15 -3
  11. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-button.cjs.entry.js +12 -6
  13. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-card-item_2.cjs.entry.js +270 -0
  15. package/dist/cjs/ez-chart.cjs.entry.js +4 -4
  16. package/dist/cjs/ez-check.cjs.entry.js +19 -11
  17. package/dist/cjs/ez-chip.cjs.entry.js +2 -2
  18. package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -3
  19. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +388 -0
  20. package/dist/cjs/ez-combo-box.cjs.entry.js +80 -157
  21. package/dist/cjs/ez-date-input.cjs.entry.js +17 -20
  22. package/dist/cjs/ez-date-time-input.cjs.entry.js +16 -21
  23. package/dist/cjs/ez-dialog.cjs.entry.js +19 -9
  24. package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
  25. package/dist/cjs/ez-dropdown.cjs.entry.js +15 -9
  26. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
  28. package/dist/cjs/ez-form-view.cjs.entry.js +42 -28
  29. package/dist/cjs/ez-form.cjs.entry.js +35 -328
  30. package/dist/cjs/ez-grid.cjs.entry.js +15221 -69822
  31. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  33. package/dist/cjs/ez-list.cjs.entry.js +259 -212
  34. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-modal-container.cjs.entry.js +8 -4
  36. package/dist/cjs/ez-modal.cjs.entry.js +18 -5
  37. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +3 -3
  38. package/dist/cjs/ez-number-input.cjs.entry.js +17 -4
  39. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +209 -0
  40. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-popup.cjs.entry.js +30 -4
  42. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-scroller_2.cjs.entry.js +4 -4
  44. package/dist/cjs/ez-search-plus.cjs.entry.js +398 -0
  45. package/dist/cjs/ez-search-result-list.cjs.entry.js +97 -0
  46. package/dist/cjs/ez-search.cjs.entry.js +125 -192
  47. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
  48. package/dist/cjs/ez-skeleton.cjs.entry.js +2 -2
  49. package/dist/cjs/ez-split-button.cjs.entry.js +3 -3
  50. package/dist/cjs/ez-split-item.cjs.entry.js +9 -5
  51. package/dist/cjs/ez-split-panel.cjs.entry.js +69 -7
  52. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-text-area.cjs.entry.js +92 -9
  54. package/dist/cjs/ez-text-input.cjs.entry.js +136 -31
  55. package/dist/cjs/ez-time-input.cjs.entry.js +10 -3
  56. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-tooltip.cjs.entry.js +135 -0
  58. package/dist/cjs/ez-tree.cjs.entry.js +6 -5
  59. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  60. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  61. package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
  62. package/dist/cjs/ezui.cjs.js +2 -2
  63. package/dist/cjs/filter-column.cjs.entry.js +25 -52
  64. package/dist/cjs/floating-ui.dom.esm-017acce4.js +1404 -0
  65. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +32 -11
  66. package/dist/cjs/loader.cjs.js +2 -2
  67. package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
  68. package/dist/cjs/{ICustomRender-6fafffce.js → types-6a5df0c7.js} +8 -0
  69. package/dist/collection/collection-manifest.json +20 -2
  70. package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
  71. package/dist/collection/components/ez-badge/ez-badge.css +12 -1
  72. package/dist/collection/components/ez-badge/ez-badge.js +31 -1
  73. package/dist/collection/components/ez-button/ez-button.css +24 -14
  74. package/dist/collection/components/ez-button/ez-button.js +12 -6
  75. package/dist/collection/components/ez-card-item/ez-card-item.css +58 -10
  76. package/dist/collection/components/ez-card-item/ez-card-item.js +30 -3
  77. package/dist/collection/components/ez-chart/ez-chart.js +2 -2
  78. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js +1 -0
  79. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js +3 -3
  80. package/dist/collection/components/ez-check/ez-check.css +10 -6
  81. package/dist/collection/components/ez-check/ez-check.js +34 -9
  82. package/dist/collection/components/ez-chip/ez-chip.css +5 -1
  83. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
  84. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
  85. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +426 -0
  86. package/dist/collection/components/ez-combo-box/ez-combo-box.css +8 -246
  87. package/dist/collection/components/ez-combo-box/ez-combo-box.js +139 -165
  88. package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
  89. package/dist/collection/components/ez-date-input/ez-date-input.js +58 -19
  90. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
  91. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +57 -20
  92. package/dist/collection/components/ez-dialog/ez-dialog.css +27 -24
  93. package/dist/collection/components/ez-dialog/ez-dialog.js +18 -17
  94. package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
  95. package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
  96. package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
  97. package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
  98. package/dist/collection/components/ez-filter-input/ez-filter-input.css +1 -1
  99. package/dist/collection/components/ez-filter-input/ez-filter-input.js +35 -4
  100. package/dist/collection/components/ez-form/ez-form.js +32 -4
  101. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +49 -6
  102. package/dist/collection/components/ez-form-view/ez-form-view.css +13 -2
  103. package/dist/collection/components/ez-form-view/ez-form-view.js +21 -2
  104. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +5 -2
  105. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
  106. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
  107. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
  108. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  109. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
  110. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
  111. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +6 -0
  112. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
  113. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
  114. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +419 -75
  115. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +172 -33
  116. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
  117. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +248 -43
  118. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +16 -0
  119. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
  120. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +10 -0
  121. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
  122. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
  123. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
  124. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +8 -1
  125. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js +15 -0
  126. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
  127. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +2 -0
  128. package/dist/collection/components/ez-grid/ez-grid.css +95 -10
  129. package/dist/collection/components/ez-grid/ez-grid.js +370 -12
  130. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
  131. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +23 -50
  132. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js +7 -54
  133. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +20 -4
  134. package/dist/collection/components/ez-icon/ez-icon.css +156 -149
  135. package/dist/collection/components/ez-list/ez-list.css +5 -4
  136. package/dist/collection/components/ez-list/ez-list.js +301 -212
  137. package/dist/collection/components/ez-list/ezListHelper.js +85 -0
  138. package/dist/collection/components/ez-modal/ez-modal.css +7 -2
  139. package/dist/collection/components/ez-modal/ez-modal.js +18 -5
  140. package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
  141. package/dist/collection/components/ez-modal-container/ez-modal-container.js +6 -2
  142. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +3 -3
  143. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +1 -1
  144. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js +1 -0
  145. package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
  146. package/dist/collection/components/ez-number-input/ez-number-input.js +67 -1
  147. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +3 -0
  148. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +434 -0
  149. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
  150. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +527 -0
  151. package/dist/collection/components/ez-popup/ez-popup.css +8 -3
  152. package/dist/collection/components/ez-popup/ez-popup.js +48 -4
  153. package/dist/collection/components/ez-scroller/ez-scroller.css +4 -0
  154. package/dist/collection/components/ez-search/ez-search.css +2 -210
  155. package/dist/collection/components/ez-search/ez-search.js +223 -204
  156. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
  157. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +289 -0
  158. package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
  159. package/dist/collection/components/ez-search-plus/ez-search-plus.css +373 -0
  160. package/dist/collection/components/ez-search-plus/ez-search-plus.js +984 -0
  161. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css +221 -0
  162. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +278 -0
  163. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +3 -0
  164. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
  165. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +4 -1
  166. package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
  167. package/dist/collection/components/ez-split-button/ez-split-button.css +52 -14
  168. package/dist/collection/components/ez-split-button/ez-split-button.js +3 -3
  169. package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
  170. package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
  171. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
  172. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +14 -2
  173. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
  174. package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
  175. package/dist/collection/components/ez-text-area/ez-text-area.js +151 -6
  176. package/dist/collection/components/ez-text-input/ez-text-input.css +126 -93
  177. package/dist/collection/components/ez-text-input/ez-text-input.js +216 -28
  178. package/dist/collection/components/ez-time-input/ez-time-input.js +43 -1
  179. package/dist/collection/components/ez-tooltip/ez-tooltip.css +61 -0
  180. package/dist/collection/components/ez-tooltip/ez-tooltip.js +310 -0
  181. package/dist/collection/components/ez-tree/ez-tree.js +21 -1
  182. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  183. package/dist/collection/sw.js +46 -0
  184. package/dist/collection/utils/CSSVarsUtils.js +1 -0
  185. package/dist/collection/utils/FocusResolver.js +31 -0
  186. package/dist/collection/utils/constants.js +2 -0
  187. package/dist/collection/utils/form/DataBinder.js +65 -21
  188. package/dist/collection/utils/form/FormMetadata.js +2 -1
  189. package/dist/collection/utils/form/interfaces/FormLayout.js +5 -0
  190. package/dist/collection/utils/form/interfaces/index.js +1 -1
  191. package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
  192. package/dist/collection/utils/index.js +2 -0
  193. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
  194. package/dist/collection/utils/search/types.js +7 -0
  195. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
  196. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
  197. package/dist/custom-elements/index.d.ts +48 -0
  198. package/dist/custom-elements/index.js +21838 -73085
  199. package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
  200. package/dist/esm/DataBinder-1035e36f.js +470 -0
  201. package/dist/esm/FocusResolver-1ccbf850.js +33 -0
  202. package/dist/esm/FormLayout-54092963.js +7 -0
  203. package/dist/esm/constants-b036528f.js +7 -0
  204. package/dist/esm/ez-actions-button.entry.js +7 -5
  205. package/dist/esm/ez-alert-list.entry.js +1 -1
  206. package/dist/esm/ez-alert.entry.js +1 -1
  207. package/dist/esm/ez-application.entry.js +1 -1
  208. package/dist/esm/ez-badge.entry.js +15 -3
  209. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  210. package/dist/esm/ez-button.entry.js +12 -6
  211. package/dist/esm/ez-calendar.entry.js +1 -1
  212. package/dist/esm/ez-card-item_2.entry.js +265 -0
  213. package/dist/esm/ez-chart.entry.js +4 -4
  214. package/dist/esm/ez-check.entry.js +19 -11
  215. package/dist/esm/ez-chip.entry.js +2 -2
  216. package/dist/esm/ez-collapsible-box.entry.js +4 -3
  217. package/dist/esm/ez-combo-box-list_3.entry.js +382 -0
  218. package/dist/esm/ez-combo-box.entry.js +81 -158
  219. package/dist/esm/ez-date-input.entry.js +17 -20
  220. package/dist/esm/ez-date-time-input.entry.js +16 -21
  221. package/dist/esm/ez-dialog.entry.js +20 -10
  222. package/dist/esm/ez-double-list.entry.js +283 -0
  223. package/dist/esm/ez-dropdown.entry.js +15 -9
  224. package/dist/esm/ez-file-item.entry.js +1 -1
  225. package/dist/esm/ez-filter-input.entry.js +125 -0
  226. package/dist/esm/ez-form-view.entry.js +43 -29
  227. package/dist/esm/ez-form.entry.js +34 -327
  228. package/dist/esm/ez-grid.entry.js +15219 -69820
  229. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  230. package/dist/esm/ez-icon.entry.js +2 -2
  231. package/dist/esm/ez-list.entry.js +259 -212
  232. package/dist/esm/ez-loading-bar.entry.js +1 -1
  233. package/dist/esm/ez-modal-container.entry.js +8 -4
  234. package/dist/esm/ez-modal.entry.js +18 -5
  235. package/dist/esm/ez-multi-selection-list.entry.js +3 -3
  236. package/dist/esm/ez-number-input.entry.js +17 -4
  237. package/dist/esm/ez-popover-plus_3.entry.js +203 -0
  238. package/dist/esm/ez-popover.entry.js +1 -1
  239. package/dist/esm/ez-popup.entry.js +30 -4
  240. package/dist/esm/ez-radio-button.entry.js +1 -1
  241. package/dist/esm/ez-scroller_2.entry.js +4 -4
  242. package/dist/esm/ez-search-plus.entry.js +394 -0
  243. package/dist/esm/ez-search-result-list.entry.js +93 -0
  244. package/dist/esm/ez-search.entry.js +126 -193
  245. package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
  246. package/dist/esm/ez-skeleton.entry.js +2 -2
  247. package/dist/esm/ez-split-button.entry.js +3 -3
  248. package/dist/esm/ez-split-item.entry.js +9 -5
  249. package/dist/esm/ez-split-panel.entry.js +69 -7
  250. package/dist/esm/ez-tabselector.entry.js +1 -1
  251. package/dist/esm/ez-text-area.entry.js +92 -9
  252. package/dist/esm/ez-text-input.entry.js +136 -31
  253. package/dist/esm/ez-time-input.entry.js +10 -3
  254. package/dist/esm/ez-toast.entry.js +1 -1
  255. package/dist/esm/ez-tooltip.entry.js +131 -0
  256. package/dist/esm/ez-tree.entry.js +6 -5
  257. package/dist/esm/ez-upload.entry.js +1 -1
  258. package/dist/esm/ez-view-stack.entry.js +1 -1
  259. package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
  260. package/dist/esm/ezui.js +3 -3
  261. package/dist/esm/filter-column.entry.js +25 -52
  262. package/dist/esm/floating-ui.dom.esm-5d3da819.js +1398 -0
  263. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +33 -11
  264. package/dist/esm/loader.js +3 -3
  265. package/dist/esm/searchFormatters-8229207e.js +20 -0
  266. package/dist/esm/{ICustomRender-875b5a40.js → types-6f6b2650.js} +9 -1
  267. package/dist/ezui/ezui.esm.js +1 -1
  268. package/dist/ezui/{p-e6b38ade.entry.js → p-0306dff7.entry.js} +1 -1
  269. package/dist/ezui/p-03c106f6.entry.js +1 -0
  270. package/dist/ezui/{p-91ccae0c.entry.js → p-09de35a2.entry.js} +1 -1
  271. package/dist/ezui/p-0bffeffc.entry.js +1 -0
  272. package/dist/ezui/p-15ea0c98.js +1 -0
  273. package/dist/ezui/p-173f68ea.js +1 -0
  274. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  275. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  276. package/dist/ezui/p-20c024f7.entry.js +1 -0
  277. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  278. package/dist/ezui/p-2872fd16.entry.js +1 -0
  279. package/dist/ezui/p-288631d1.entry.js +1 -0
  280. package/dist/ezui/p-2b4df33d.entry.js +1 -0
  281. package/dist/ezui/p-3ba9565c.entry.js +1 -0
  282. package/dist/ezui/p-40a60148.js +1 -0
  283. package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
  284. package/dist/ezui/p-496f7832.entry.js +1 -0
  285. package/dist/ezui/p-4bd6dd6a.entry.js +1 -0
  286. package/dist/ezui/{p-82ac8b06.entry.js → p-4cf0aaeb.entry.js} +1 -1
  287. package/dist/ezui/{p-7567ccdd.entry.js → p-555c9018.entry.js} +1 -1
  288. package/dist/ezui/p-56fe5341.entry.js +1 -0
  289. package/dist/ezui/p-5895e687.js +1 -0
  290. package/dist/ezui/p-5a14f506.entry.js +1 -0
  291. package/dist/ezui/p-5ec0ae79.entry.js +1 -0
  292. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  293. package/dist/ezui/p-5eea9886.js +1 -0
  294. package/dist/ezui/p-629d15ed.entry.js +1 -0
  295. package/dist/ezui/p-6754489a.entry.js +1 -0
  296. package/dist/ezui/p-6825bdc7.entry.js +1 -0
  297. package/dist/ezui/p-6b39b79a.entry.js +309 -0
  298. package/dist/ezui/{p-fc194825.entry.js → p-6e429cff.entry.js} +1 -1
  299. package/dist/ezui/p-6f4681f8.entry.js +1 -0
  300. package/dist/ezui/p-7019f782.entry.js +1 -0
  301. package/dist/ezui/p-7742802c.entry.js +1 -0
  302. package/dist/ezui/{p-11bfeca3.entry.js → p-77a4bd35.entry.js} +1 -1
  303. package/dist/ezui/p-7e677b7b.entry.js +1 -0
  304. package/dist/ezui/p-80dfc50b.js +1 -0
  305. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  306. package/dist/ezui/p-9478b13b.entry.js +1 -0
  307. package/dist/ezui/p-9567b31a.entry.js +1 -0
  308. package/dist/ezui/p-9c5cd3b2.entry.js +1 -0
  309. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  310. package/dist/ezui/p-a4cee65d.entry.js +1 -0
  311. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  312. package/dist/ezui/p-b81881ac.entry.js +1 -0
  313. package/dist/ezui/p-bac0f920.entry.js +1 -0
  314. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  315. package/dist/ezui/p-bf9dec89.entry.js +1 -0
  316. package/dist/ezui/p-c00df4be.entry.js +1 -0
  317. package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
  318. package/dist/ezui/p-cb75eb46.entry.js +1 -0
  319. package/dist/ezui/{p-044d46d5.entry.js → p-d47dabdf.entry.js} +1 -1
  320. package/dist/ezui/p-da1b4a38.entry.js +1 -0
  321. package/dist/ezui/p-dc628ed3.js +1 -0
  322. package/dist/ezui/p-dc73e1fe.entry.js +1 -0
  323. package/dist/ezui/{p-b2f6bc0a.entry.js → p-e06a9886.entry.js} +1 -1
  324. package/dist/ezui/p-e07e4671.js +1 -0
  325. package/dist/ezui/p-e6a9041d.entry.js +1 -0
  326. package/dist/ezui/p-e75c7a23.entry.js +1 -0
  327. package/dist/ezui/p-ebd23857.entry.js +1 -0
  328. package/dist/ezui/p-ec7db713.js +1 -0
  329. package/dist/ezui/p-ecaac11f.entry.js +1 -0
  330. package/dist/ezui/p-f4861c6a.entry.js +1 -0
  331. package/dist/ezui/p-f5a30e35.entry.js +1 -0
  332. package/dist/ezui/p-f6316720.entry.js +1 -0
  333. package/dist/ezui/p-fa6732f2.entry.js +1 -0
  334. package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
  335. package/dist/types/components/ez-button/ez-button.d.ts +2 -1
  336. package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
  337. package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
  338. package/dist/types/components/ez-chart/interfaces/ChartAxis.d.ts +2 -0
  339. package/dist/types/components/ez-chart/interfaces/ChartTypeValue.d.ts +1 -0
  340. package/dist/types/components/ez-check/ez-check.d.ts +7 -2
  341. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
  342. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +19 -15
  343. package/dist/types/components/ez-date-input/ez-date-input.d.ts +12 -3
  344. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +12 -3
  345. package/dist/types/components/ez-dialog/ez-dialog.d.ts +3 -1
  346. package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
  347. package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
  348. package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +4 -0
  349. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +1 -1
  350. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +6 -1
  351. package/dist/types/components/ez-form/ez-form.d.ts +5 -1
  352. package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +7 -1
  353. package/dist/types/components/ez-form-view/ez-form-view.d.ts +4 -0
  354. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
  355. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -0
  356. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
  357. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +75 -4
  358. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +44 -6
  359. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +26 -2
  360. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +34 -7
  361. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +4 -1
  362. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
  363. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  364. package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
  365. package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
  366. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +2 -1
  367. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
  368. package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +1 -0
  369. package/dist/types/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.d.ts +3 -0
  370. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
  371. package/dist/types/components/ez-grid/ez-grid.d.ts +59 -1
  372. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +1 -11
  373. package/dist/types/components/ez-grid/utils/ColumnFilterManager.d.ts +1 -1
  374. package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +3 -0
  375. package/dist/types/components/ez-list/ez-list.d.ts +23 -2
  376. package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
  377. package/dist/types/components/ez-modal/ez-modal.d.ts +4 -1
  378. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  379. package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -1
  380. package/dist/types/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.d.ts +3 -0
  381. package/dist/types/components/ez-number-input/ez-number-input.d.ts +12 -0
  382. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +74 -0
  383. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +91 -0
  384. package/dist/types/components/ez-popup/ez-popup.d.ts +10 -1
  385. package/dist/types/components/ez-search/ez-search.d.ts +36 -18
  386. package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +23 -0
  387. package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
  388. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +186 -0
  389. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +26 -0
  390. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -1
  391. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
  392. package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
  393. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
  394. package/dist/types/components/ez-text-area/ez-text-area.d.ts +25 -0
  395. package/dist/types/components/ez-text-input/ez-text-input.d.ts +35 -3
  396. package/dist/types/components/ez-time-input/ez-time-input.d.ts +8 -0
  397. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +57 -0
  398. package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
  399. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  400. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  401. package/dist/types/components.d.ts +1233 -63
  402. package/dist/types/utils/FocusResolver.d.ts +5 -0
  403. package/dist/types/utils/constants.d.ts +2 -0
  404. package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +2 -0
  405. package/dist/types/utils/form/DataBinder.d.ts +7 -2
  406. package/dist/types/utils/form/interfaces/FormLayout.d.ts +4 -0
  407. package/dist/types/utils/form/interfaces/index.d.ts +1 -0
  408. package/dist/types/utils/index.d.ts +2 -0
  409. package/dist/types/utils/search/types.d.ts +12 -0
  410. package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
  411. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
  412. package/package.json +12 -4
  413. package/react/components.d.ts +62 -54
  414. package/react/components.js +8 -0
  415. package/react/components.js.map +1 -1
  416. package/react/react-component-lib/createComponent.d.ts +1 -1
  417. package/react/react-component-lib/createComponent.js.map +1 -1
  418. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  419. package/react/react-component-lib/interfaces.js +1 -0
  420. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  421. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  422. package/react/react-component-lib/utils/dev.js.map +1 -1
  423. package/react/react-component-lib/utils/index.d.ts +2 -2
  424. package/react/react-component-lib/utils/index.js.map +1 -1
  425. package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
  426. package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -183
  427. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -206
  428. package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
  429. package/dist/esm/constants-4e0d35b7.js +0 -5
  430. package/dist/esm/ez-card-item_3.entry.js +0 -177
  431. package/dist/esm/ez-custom-form-input_2.entry.js +0 -201
  432. package/dist/ezui/p-04f24913.js +0 -1
  433. package/dist/ezui/p-05e1f4e7.js +0 -1
  434. package/dist/ezui/p-0ee0ac03.entry.js +0 -1
  435. package/dist/ezui/p-11b09aa1.entry.js +0 -1
  436. package/dist/ezui/p-1b08bf3c.entry.js +0 -1
  437. package/dist/ezui/p-24ca32a3.entry.js +0 -1
  438. package/dist/ezui/p-2af4e2de.entry.js +0 -1
  439. package/dist/ezui/p-30951bd7.entry.js +0 -1
  440. package/dist/ezui/p-3141ee18.entry.js +0 -1
  441. package/dist/ezui/p-31674f8e.entry.js +0 -1
  442. package/dist/ezui/p-33792b2b.entry.js +0 -1
  443. package/dist/ezui/p-36180f4d.entry.js +0 -1
  444. package/dist/ezui/p-3f8c33e0.entry.js +0 -1
  445. package/dist/ezui/p-4607fb89.js +0 -1
  446. package/dist/ezui/p-52100a6e.entry.js +0 -1
  447. package/dist/ezui/p-5517995b.entry.js +0 -1
  448. package/dist/ezui/p-5fefcdc9.entry.js +0 -1
  449. package/dist/ezui/p-615def37.entry.js +0 -304
  450. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  451. package/dist/ezui/p-752c4069.entry.js +0 -1
  452. package/dist/ezui/p-81cffa53.entry.js +0 -1
  453. package/dist/ezui/p-81f99ace.entry.js +0 -1
  454. package/dist/ezui/p-868b56f7.entry.js +0 -1
  455. package/dist/ezui/p-8eef0f70.entry.js +0 -1
  456. package/dist/ezui/p-9634631d.entry.js +0 -1
  457. package/dist/ezui/p-9a23d513.entry.js +0 -1
  458. package/dist/ezui/p-9aa27e69.entry.js +0 -1
  459. package/dist/ezui/p-9c2e2d68.entry.js +0 -1
  460. package/dist/ezui/p-9e11fc7b.js +0 -1
  461. package/dist/ezui/p-b0e71d23.entry.js +0 -1
  462. package/dist/ezui/p-c3b7a23e.entry.js +0 -1
  463. package/dist/ezui/p-cd1a2e6b.entry.js +0 -1
  464. package/dist/ezui/p-dbeee5aa.entry.js +0 -1
  465. package/dist/ezui/p-de870657.entry.js +0 -1
  466. package/dist/ezui/p-ee9315ff.entry.js +0 -1
  467. package/dist/ezui/p-f1c2c19e.entry.js +0 -1
  468. package/dist/ezui/p-f1c3f85d.entry.js +0 -1
  469. package/dist/ezui/p-f291db18.entry.js +0 -1
@@ -2,16 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-9e5554cb.js');
6
- const CSSVarsUtils = require('./CSSVarsUtils-10c9d5b4.js');
5
+ const index = require('./index-a7b0c73d.js');
6
+ const CSSVarsUtils = require('./CSSVarsUtils-f20973d1.js');
7
7
  const core = require('@sankhyalabs/core');
8
8
  const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
9
9
  require('./DialogType-2114c337.js');
10
10
  require('./CheckMode-ecb90b87.js');
11
- require('./ICustomRender-6fafffce.js');
12
- const constants = require('./constants-2714478b.js');
11
+ require('./types-6a5df0c7.js');
12
+ require('./FormLayout-c2451c7f.js');
13
+ const constants = require('./constants-569271bc.js');
14
+ const searchFormatters = require('./searchFormatters-b7e1ed1e.js');
13
15
 
14
- const ezSearchCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.list-container{min-width:var(--ez-search__list-min-width);overflow:auto;position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;min-width:150px;background-color:var(--ez-search--background-color--xlight);border-radius:var(--ez-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000);padding:var(--ez-search--space--small)}.list-options{box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow:auto;scrollbar-width:thin;gap:3px;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-search__scrollbar--color-background);width:var(--ez-search__scrollbar--width);max-width:var(--ez-search__scrollbar--width);min-width:var(--ez-search__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__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-search--border-radius-small);padding:var(--ez-search--space--small);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-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}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-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-search__list-title--primary);border-top:3px solid transparent}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:unset;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
16
+ const ezSearchCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}";
15
17
 
16
18
  const EzSearch = class {
17
19
  constructor(hostRef) {
@@ -30,15 +32,18 @@ const EzSearch = class {
30
32
  this._visibleOptions = undefined;
31
33
  this._startLoading = false;
32
34
  this._showLoading = true;
35
+ this._showLoadingDescription = false;
33
36
  this._criteria = undefined;
34
37
  this.value = undefined;
35
38
  this.label = undefined;
36
39
  this.enabled = true;
37
40
  this.errorMessage = undefined;
38
41
  this.optionLoader = undefined;
42
+ this.contextProperties = undefined;
39
43
  this.showSelectedValue = true;
40
44
  this.showOptionValue = true;
41
45
  this.suppressEmptyOption = false;
46
+ this.stopPropagateEnterKeyEvent = false;
42
47
  this.mode = "regular";
43
48
  this.canShowError = true;
44
49
  this.hideErrorOnFocusOut = true;
@@ -47,7 +52,10 @@ const EzSearch = class {
47
52
  this.ignoreLimitCharsToSearch = false;
48
53
  this.options = undefined;
49
54
  this.suppressSearch = false;
50
- this.fromGrid = false;
55
+ this.ensureClearButtonVisible = false;
56
+ this.suppressPreLoad = true;
57
+ this.autoFocus = false;
58
+ this.alternativePlaceholder = undefined;
51
59
  }
52
60
  observeErrorMessage() {
53
61
  var _a;
@@ -58,12 +66,21 @@ const EzSearch = class {
58
66
  }
59
67
  }
60
68
  }
69
+ getValue(val) {
70
+ return typeof val === 'object' ? val === null || val === void 0 ? void 0 : val.value : val;
71
+ }
61
72
  validateNewValue(newValue, oldValue) {
62
- const getValue = (val) => typeof val === 'object' ? val === null || val === void 0 ? void 0 : val.value : val;
63
- return (getValue(newValue) !== getValue(oldValue));
73
+ const parsedNewValue = this.getValue(newValue);
74
+ const parsedOldValue = this.getValue(oldValue);
75
+ const newValueIsValid = parsedNewValue !== "[object Object]";
76
+ const valuesIsDifferent = parsedNewValue !== parsedOldValue;
77
+ if (newValueIsValid && valuesIsDifferent) {
78
+ return true;
79
+ }
80
+ return false;
64
81
  }
65
82
  async observeValue(newValue, oldValue) {
66
- if (this._textInput && newValue !== oldValue && this.validateNewValue(newValue, oldValue)) {
83
+ if (this._textInput && this.validateNewValue(newValue, oldValue)) {
67
84
  if (typeof newValue === "string") {
68
85
  await this.handleValueAsString(newValue);
69
86
  return;
@@ -80,7 +97,7 @@ const EzSearch = class {
80
97
  }
81
98
  }
82
99
  observeOptions(newOptions, oldOptions) {
83
- if (!newOptions.length && this.fromGrid)
100
+ if (!newOptions.length && this.suppressPreLoad)
84
101
  return;
85
102
  if ((newOptions === null || newOptions === void 0 ? void 0 : newOptions.join('')) === (oldOptions === null || oldOptions === void 0 ? void 0 : oldOptions.join('')))
86
103
  return;
@@ -106,9 +123,9 @@ const EzSearch = class {
106
123
  /**
107
124
  * Aplica o foco no campo.
108
125
  */
109
- async setFocus() {
126
+ async setFocus(options) {
110
127
  if (this._textInput) {
111
- this._textInput.setFocus();
128
+ this._textInput.setFocus(options);
112
129
  }
113
130
  }
114
131
  /**
@@ -131,73 +148,19 @@ const EzSearch = class {
131
148
  async clearValue() {
132
149
  this.clearSearch();
133
150
  }
134
- scrollListener() {
135
- var _a;
136
- if (this._floatingID == undefined) {
137
- return;
138
- }
139
- if ((_a = this.listOptionsPosition) === null || _a === void 0 ? void 0 : _a.hardPosition) {
140
- this.hideOptions();
141
- }
142
- else {
143
- window.requestAnimationFrame(() => {
144
- this.updateListPosition();
145
- });
146
- }
147
- }
148
151
  async handleValueAsString(value) {
149
152
  if (this.getSelectedOption(value)) {
150
153
  this.setInputValue();
151
154
  return;
152
155
  }
153
156
  await this.loadDescriptionValue(value);
157
+ if (!this._currentValue) {
158
+ return;
159
+ }
154
160
  this.setInputValue();
155
161
  this.ezChange.emit(this.value);
156
162
  this._currentValue = this.value;
157
163
  }
158
- updateListPosition() {
159
- let { verticalPosition, horizontalPosition, fromBottom, fromRight, bottomLimit, hardPosition } = this.getListPosition();
160
- const elementRect = this._listWrapper.getBoundingClientRect();
161
- const containerRect = this._listContainer.getBoundingClientRect();
162
- const textInputRect = this._textInput.getBoundingClientRect();
163
- const limitHeight = bottomLimit || window.innerHeight;
164
- const neededHeight = containerRect.bottom + elementRect.height;
165
- if (!fromBottom && (elementRect.top < 0 || neededHeight > limitHeight)) {
166
- fromBottom = true;
167
- }
168
- if (!hardPosition) {
169
- verticalPosition = verticalPosition || 0;
170
- horizontalPosition = horizontalPosition || 0;
171
- if (fromBottom) {
172
- verticalPosition = window.innerHeight - textInputRect.top + verticalPosition;
173
- }
174
- else {
175
- verticalPosition += containerRect.top;
176
- }
177
- if (fromRight) {
178
- horizontalPosition = window.innerWidth - textInputRect.right + horizontalPosition;
179
- }
180
- else {
181
- horizontalPosition += containerRect.left;
182
- }
183
- }
184
- if (verticalPosition != undefined) {
185
- this._listWrapper.style[fromBottom ? "bottom" : "top"] = `${verticalPosition}px`;
186
- this._listWrapper.style[fromBottom ? "top" : "bottom"] = "";
187
- }
188
- if (horizontalPosition != undefined) {
189
- this._listWrapper.style[fromRight ? "right" : "left"] = `${horizontalPosition}px`;
190
- this._listWrapper.style[fromRight ? "left" : "right"] = "";
191
- }
192
- }
193
- getListPosition() {
194
- if (this.listOptionsPosition) {
195
- return this.listOptionsPosition;
196
- }
197
- return {
198
- verticalPosition: (this.errorMessage || !this.canShowError || this.mode === "slim") ? 6 : -13
199
- };
200
- }
201
164
  isDifferentValues(firstValue, secondValue) {
202
165
  return core.ObjectUtils.objectToString(firstValue || {}) !== core.ObjectUtils.objectToString(secondValue || {});
203
166
  }
@@ -205,28 +168,21 @@ const EzSearch = class {
205
168
  if (currentValue == undefined) {
206
169
  return;
207
170
  }
208
- let text = (!this.showSelectedValue || currentValue.value == undefined) ? currentValue.label : `${currentValue.value} - ${currentValue.label}`;
209
- text = text.replace(new RegExp(this._startHighlightTag, 'g'), '').replace(new RegExp(this._endHighlightTag, 'g'), '');
171
+ let text = (!this.showSelectedValue || currentValue.value == undefined) ? currentValue.label : currentValue.label ? `${currentValue.value} - ${currentValue.label}` : currentValue.value;
172
+ text = text === null || text === void 0 ? void 0 : text.replace(new RegExp(this._startHighlightTag, 'g'), '').replace(new RegExp(this._endHighlightTag, 'g'), '');
210
173
  return text;
211
174
  }
212
175
  getText() {
213
176
  const currentValue = this.getSelectedOption(this._currentValue);
214
177
  const text = this.getFormattedText(currentValue);
215
- if (text == undefined) {
216
- return;
217
- }
218
- return String(text)
219
- .replace(/&amp;/g, '&')
220
- .replace(/&lt;/g, '<')
221
- .replace(/&gt;/g, '>')
222
- .replace(/&quot;/g, '"');
178
+ return searchFormatters.replaceQuotes(text);
223
179
  }
224
180
  getSelectedOption(value) {
225
181
  if (typeof value === "string" || value instanceof String) {
226
182
  return this._visibleOptions.find(o => o.value === value);
227
183
  }
228
184
  if (value) {
229
- return Object.assign(Object.assign({}, value), { value: this.replaceHighlight(value === null || value === void 0 ? void 0 : value.value), label: this.replaceHighlight(value === null || value === void 0 ? void 0 : value.label) });
185
+ return Object.assign(Object.assign({}, value), { value: searchFormatters.replaceHighlight(value === null || value === void 0 ? void 0 : value.value), label: searchFormatters.replaceHighlight(value === null || value === void 0 ? void 0 : value.label) });
230
186
  }
231
187
  return value;
232
188
  }
@@ -264,75 +220,19 @@ const EzSearch = class {
264
220
  }
265
221
  return 0;
266
222
  }
267
- createOption(detail) {
268
- let { key, title } = detail;
269
- const startHighlight = new RegExp(this._startHighlightTag, 'g');
270
- const endHighlight = new RegExp(this._endHighlightTag, 'g');
271
- title = core.StringUtils.decodeHtmlEntities(title);
272
- const option = {
273
- value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
274
- label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
275
- };
276
- this.selectOption(option);
277
- }
278
- buildItem(opt, index$1) {
279
- opt.label = opt.label || opt.value;
280
- const card = {
281
- key: opt.value,
282
- title: opt.label,
283
- details: opt.details
284
- };
285
- 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._preSelection = index$1 }, index.h("ez-card-item", { item: card }));
286
- }
287
223
  showOptions() {
288
224
  if (!this.enabled)
289
225
  return;
290
226
  if (this.isOptionsVisible()) {
291
227
  return;
292
228
  }
293
- if (!!this._resizeObserver)
294
- this._resizeObserver.observe(this._textInput);
295
- this._floatingID = core.FloatingManager.float(this._listWrapper, this._listContainer, { autoClose: false, isFixed: true, backClickListener: () => this.hideOptions() });
296
- this.setFocus();
297
- window.requestAnimationFrame(() => {
298
- this.updateListPosition();
299
- if (!this.listOptionsPosition) {
300
- this._listWrapper.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
301
- }
302
- });
229
+ this._ezPopOverPlusElement.showUnder(this._textInput);
303
230
  }
304
231
  hideOptions() {
305
- if (this._floatingID !== undefined) {
306
- core.FloatingManager.close(this._floatingID);
307
- }
308
- this._floatingID = undefined;
309
- if (!!this._resizeObserver)
310
- this._resizeObserver.unobserve(this._textInput);
232
+ this._ezPopOverPlusElement.hide();
311
233
  }
312
234
  isOptionsVisible() {
313
- return this._floatingID !== undefined && core.FloatingManager.isFloating(this._floatingID);
314
- }
315
- nextOption() {
316
- if (!this.isOptionsVisible()) {
317
- return;
318
- }
319
- this.showOptions();
320
- this._preSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this._visibleOptions.length - 1);
321
- this.scrollToOption(this._visibleOptions[this._preSelection]);
322
- }
323
- previousOption() {
324
- this._preSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
325
- this.scrollToOption(this._visibleOptions[this._preSelection]);
326
- }
327
- scrollToOption(opt) {
328
- window.requestAnimationFrame(() => {
329
- const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
330
- ? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
331
- : undefined;
332
- if (liElem) {
333
- liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
334
- }
335
- });
235
+ return this._ezPopOverPlusElement.opened;
336
236
  }
337
237
  selectCurrentOption() {
338
238
  if (this._preSelection !== undefined) {
@@ -347,10 +247,13 @@ const EzSearch = class {
347
247
  this._startLoading = false;
348
248
  if (source instanceof Promise) {
349
249
  this._showLoading = true;
250
+ this._showLoadingDescription = true;
350
251
  source.then(result => {
351
- this._showLoading = false;
352
252
  this.updateSource(result);
353
- }).catch(() => this._showLoading = false);
253
+ }).finally(() => {
254
+ this._showLoading = false;
255
+ this._showLoadingDescription = false;
256
+ });
354
257
  this.updateVisibleOptions();
355
258
  }
356
259
  else {
@@ -360,7 +263,7 @@ const EzSearch = class {
360
263
  this.updateVisibleOptions();
361
264
  if (this._tabPressed) {
362
265
  this._tabPressed = false;
363
- this.controlEmptySearch();
266
+ this.controlEmptySearch(false);
364
267
  }
365
268
  }
366
269
  else {
@@ -372,18 +275,14 @@ const EzSearch = class {
372
275
  this._source = [];
373
276
  this.updateVisibleOptions();
374
277
  }
375
- replaceHighlight(value) {
376
- const startHighlight = new RegExp(this._startHighlightTag, 'g');
377
- const endHighlight = new RegExp(this._endHighlightTag, 'g');
378
- return (value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
379
- }
380
- selectOption(newOption) {
278
+ selectOption(newOption, focusOnInput = true) {
381
279
  var _a, _b;
382
280
  const currentValue = this.getSelectedOption(this.value);
383
- const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: this.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: this.replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
384
- if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value) === null || _b === void 0 ? void 0 : _b.toString()))
385
- || (currentValue == undefined && newOptionsReplaced != undefined && "value" in newOptionsReplaced)) {
386
- const adjustedOpt = !(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value) ? undefined : newOptionsReplaced;
281
+ 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) });
282
+ 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) });
283
+ if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) === null || _b === void 0 ? void 0 : _b.toString()))
284
+ || (currentValue == undefined && newOptionsFormatted != undefined && "value" in newOptionsFormatted)) {
285
+ const adjustedOpt = !(newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) ? undefined : newOptionsFormatted;
387
286
  this.value = adjustedOpt;
388
287
  this._currentValue = adjustedOpt;
389
288
  }
@@ -393,20 +292,25 @@ const EzSearch = class {
393
292
  }
394
293
  this._visibleOptions = [];
395
294
  this.clearSource();
295
+ if (focusOnInput) {
296
+ setTimeout(() => {
297
+ this.setFocus();
298
+ }, 0);
299
+ }
396
300
  }
397
301
  loadOptions(mode, argument = "") {
398
302
  this._criteria = argument;
399
303
  this._startLoading = true;
400
304
  if (this.optionLoader) {
401
305
  const searchArgument = { mode, argument };
402
- this.updateSource(this.optionLoader(searchArgument));
306
+ this.updateSource(this.optionLoader(searchArgument, this.contextProperties));
403
307
  }
404
308
  else {
405
309
  this.updateSource(this.options);
406
310
  }
407
311
  }
408
312
  cancelPreselection() {
409
- if (!this._textInput.value && this._currentValue) {
313
+ if (!this._textInput.value && this._currentValue && this._source.length > 0) {
410
314
  this.selectOption(undefined);
411
315
  }
412
316
  else {
@@ -429,7 +333,7 @@ const EzSearch = class {
429
333
  this.value = null;
430
334
  this._currentValue = null;
431
335
  }
432
- controlListWithOnlyOne() {
336
+ controlListWithOnlyOne(focusOnInput = true) {
433
337
  var _a, _b;
434
338
  const source = (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.filter((opt) => opt.label !== "" && opt.value != undefined);
435
339
  if ((source === null || source === void 0 ? void 0 : source.length) > 0) {
@@ -440,32 +344,19 @@ const EzSearch = class {
440
344
  value: (_b = source[0].value) === null || _b === void 0 ? void 0 : _b.replace(startHighlight, '').replace(endHighlight, ''),
441
345
  label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
442
346
  };
443
- this.selectOption(option);
347
+ this.selectOption(option, focusOnInput);
444
348
  }
445
349
  }
446
- controlEmptySearch() {
350
+ controlEmptySearch(focusOnInput = true) {
447
351
  var _a;
448
352
  if (!((_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.length)) {
449
353
  this.clearSearch();
450
354
  ApplicationUtils.ApplicationUtils.info(this._textEmptyList);
451
355
  }
452
356
  else {
453
- this.controlListWithOnlyOne();
357
+ this.controlListWithOnlyOne(focusOnInput);
454
358
  }
455
359
  }
456
- validateDescriptionValue() {
457
- if (core.StringUtils.isEmpty(this.value)) {
458
- return;
459
- }
460
- if (!this.validateNewValue(this.value, this._currentValue)) {
461
- return;
462
- }
463
- let value = this.value;
464
- if (typeof value === "object") {
465
- return;
466
- }
467
- this.loadDescriptionValue(value);
468
- }
469
360
  async loadDescriptionValue(argument) {
470
361
  var _a, _b;
471
362
  if (argument == undefined) {
@@ -479,7 +370,7 @@ const EzSearch = class {
479
370
  mode: SearchMode.PREDICTIVE,
480
371
  argument
481
372
  };
482
- const source = await ((_b = this.optionLoader) === null || _b === void 0 ? void 0 : _b.call(this, searchArgument));
373
+ const source = await ((_b = this.optionLoader) === null || _b === void 0 ? void 0 : _b.call(this, searchArgument, this.contextProperties));
483
374
  if (source == undefined) {
484
375
  return;
485
376
  }
@@ -498,8 +389,17 @@ const EzSearch = class {
498
389
  this.showNoResultMessage();
499
390
  return;
500
391
  }
501
- this._currentValue = value ? Object.assign(Object.assign({}, value), { value: this.replaceHighlight(value.value), label: this.replaceHighlight(value.label) }) : value;
392
+ this._currentValue = value ? Object.assign(Object.assign({}, value), { value: searchFormatters.replaceHighlight(value.value), label: searchFormatters.replaceHighlight(value.label) }) : value;
502
393
  this.value = this._currentValue;
394
+ this.setTextInputValue();
395
+ }
396
+ setTextInputValue() {
397
+ if (this._textInput && (this._textInput.value === null || this._textInput.value === undefined)) {
398
+ if (this.value === undefined || this.value === null)
399
+ return;
400
+ const textValue = (typeof this.value === 'string') ? this.value : this.getFormattedText(this.value);
401
+ this._textInput.value = searchFormatters.replaceQuotes(textValue);
402
+ }
503
403
  }
504
404
  loadOptionValue(argument) {
505
405
  var _a;
@@ -525,6 +425,19 @@ const EzSearch = class {
525
425
  this._preSelection = undefined;
526
426
  this.updateVisibleOptions();
527
427
  }
428
+ async handleInitialValue() {
429
+ const valueIsValid = !!this.getValue(this.value);
430
+ if (!valueIsValid) {
431
+ return;
432
+ }
433
+ if (typeof this.value === "string") {
434
+ await this.handleValueAsString(this.value);
435
+ return;
436
+ }
437
+ let text = this.getFormattedText(this.value);
438
+ text = searchFormatters.replaceQuotes(text);
439
+ this._textInput.value = text;
440
+ }
528
441
  //---------------------------------------------
529
442
  // Lifecycle web component
530
443
  //---------------------------------------------
@@ -549,28 +462,29 @@ const EzSearch = class {
549
462
  }
550
463
  componentDidRender() {
551
464
  var _a;
552
- if (this._floatingID === undefined) {
553
- this._listWrapper.remove();
554
- }
555
465
  (_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
556
466
  core.ElementIDUtils.addIDInfoIfNotExists(elem, "itemSearch");
557
467
  });
558
- this.validateDescriptionValue();
559
468
  }
560
- componentDidLoad() {
469
+ async componentDidLoad() {
561
470
  this._currentValue = this.value;
562
471
  CSSVarsUtils.CSSVarsUtils.applyVarsTextInput(this.el, this._textInput);
563
- this.setInputValue(false);
564
472
  this._resizeObserver = new ResizeObserver((entries) => {
565
473
  window.requestAnimationFrame(() => {
566
474
  if (!Array.isArray(entries) || !entries.length)
567
475
  return;
568
- const { clientWidth } = this._listContainer;
569
- if (clientWidth > 0 && !!this._listWrapper) {
570
- this._listWrapper.style.width = `${clientWidth}px`;
571
- }
572
476
  });
573
477
  });
478
+ await this.handleInitialValue();
479
+ if (this.autoFocus) {
480
+ requestAnimationFrame(() => {
481
+ this.setFocus({ selectText: true });
482
+ });
483
+ }
484
+ }
485
+ disconnectedCallback() {
486
+ var _a;
487
+ (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
574
488
  }
575
489
  //---------------------------------------------
576
490
  // Event handlers
@@ -625,7 +539,7 @@ const EzSearch = class {
625
539
  this._changeDeboucingTimeout = null;
626
540
  }
627
541
  }
628
- keyDownHandler(event) {
542
+ async keyDownHandler(event) {
629
543
  this._tabPressed = false;
630
544
  if (event.ctrlKey) {
631
545
  if (event.key === "f" || event.key === "F") {
@@ -640,14 +554,24 @@ const EzSearch = class {
640
554
  }
641
555
  switch (event.key) {
642
556
  case "ArrowDown":
643
- this.nextOption();
644
557
  event.stopPropagation();
558
+ if (this.canShowListOptions()) {
559
+ event.preventDefault();
560
+ }
561
+ if (!this.isOptionsVisible()) {
562
+ this.showOptions();
563
+ }
564
+ await this._searchList.nextOption();
645
565
  break;
646
566
  case "ArrowUp":
647
- this.previousOption();
648
567
  event.stopPropagation();
568
+ if (this.canShowListOptions()) {
569
+ event.preventDefault();
570
+ }
571
+ await this._searchList.previousOption();
649
572
  break;
650
573
  case "Enter":
574
+ this.handleEventPropagation(event);
651
575
  this.selectCurrentOption();
652
576
  break;
653
577
  case "Escape":
@@ -655,7 +579,7 @@ const EzSearch = class {
655
579
  break;
656
580
  case "Tab":
657
581
  this._tabPressed = true;
658
- this.controlListWithOnlyOne();
582
+ this.controlListWithOnlyOne(false);
659
583
  break;
660
584
  }
661
585
  //ATENÇÃO: Existe a necessidade de propagar o evento de teclado.
@@ -664,6 +588,12 @@ const EzSearch = class {
664
588
  //e o contexto pode reagir (fechar um popup por exemplo).
665
589
  //event.stopPropagation();
666
590
  }
591
+ //O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
592
+ handleEventPropagation(event) {
593
+ if (this._ezPopOverPlusElement.opened && this.stopPropagateEnterKeyEvent) {
594
+ event.stopPropagation();
595
+ }
596
+ }
667
597
  onTextInputFocusOutHandler() {
668
598
  if (this.hideErrorOnFocusOut)
669
599
  this.cancelPreselection();
@@ -671,15 +601,18 @@ const EzSearch = class {
671
601
  canShowListOptions() {
672
602
  return !this._showLoading && this._visibleOptions.length > 0;
673
603
  }
604
+ canShowLoadSpinDescription() {
605
+ return this._showLoadingDescription && !this._ezPopOverPlusElement.opened;
606
+ }
607
+ onChangePreSelection(value) {
608
+ this._preSelection = value;
609
+ }
674
610
  render() {
675
611
  var _a;
676
612
  core.ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
677
- return (index.h(index.Host, null, index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, index.h("button", { class: "btn", slot: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, index.h("ez-icon", { iconName: "search" })), (((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value) || this.fromGrid)
613
+ return (index.h(index.Host, null, index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, alternativePlaceholder: this.alternativePlaceholder }, index.h("button", { class: "btn", slot: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, this.canShowLoadSpinDescription() ? index.h("div", { class: "message__loading" }) : index.h("ez-icon", { iconName: "search" })), (((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value) || this.ensureClearButtonVisible)
678
614
  ? index.h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, index.h("ez-icon", { iconName: "close" }))
679
- : undefined), index.h("section", { class: "list-container", ref: elem => this._listContainer = elem }, index.h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, index.h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this._showLoading
680
- && this._visibleOptions.length === 0
681
- && index.h("div", { class: "message" }, index.h("span", { class: "message__no-result" }, this._textEmptyList)), this._showLoading
682
- && index.h("div", { class: "message" }, index.h("div", { class: "message__loading" })), index.h("span", { class: "item__value item__value--hidden", ref: elem => this._itemValueBasis = elem }), this.canShowListOptions() && this._visibleOptions.map((opt, index) => this.buildItem(opt, index)))))));
615
+ : undefined), index.h("ez-popover-plus", { ref: elem => this._ezPopOverPlusElement = elem, autoClose: false, overlayType: "none", useAnchorSize: true, anchorElement: [this._textInput, this.el] }, index.h("search-list", { ref: (ref) => this._searchList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, canShowListOptions: this.canShowListOptions(), value: this.value, showOptionValue: this.showOptionValue, preSelection: this._preSelection, onChangeValue: ({ detail }) => this.selectOption(detail), onChangePreSelection: ({ detail }) => this.onChangePreSelection(detail) }))));
683
616
  }
684
617
  get el() { return index.getElement(this); }
685
618
  static get watchers() { return {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-9e5554cb.js');
5
+ const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const EzScrollDirection = require('./EzScrollDirection-b2c99895.js');
8
8
 
@@ -32,7 +32,7 @@ const MESSAGES = {
32
32
  PUSH_PIN_MENU: 'Fixar menu',
33
33
  };
34
34
 
35
- const ezSidebarNavigatorCss = ":host{--ez-sidebar-navigator--padding-left:var(--space--xs, 12px);--ez-sidebar-navigator--padding-right:var(--space--xs, 12px);--ez-sidebar-navigator--gap:var(--space--xs, 12px);--ez-sidebar-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-sidebar-navigator--background-color:var(--color--inverted);--ez-sidebar-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-sidebar-navigator--height:calc(100vh - var(--space--lg, 24px));--ez-sidebar-navigator--header-gap:var(--space--xs, 12px);--ez-sidebar-navigator--footer-gap:var(--space--xs, 12px);--ez-ez-sidebar-navigator__title--font-family:var(--font-pattern, \"Roboto\");--ez-ez-sidebar-navigator__title--font-size:var(--title--medium, 16px);--ez-ez-sidebar-navigator__title--color:var(--title--primary, #2b3a54);--ez-ez-sidebar-navigator__title--font-weight:var(--text-weight--extra-large, 700)}.inverted{transform:rotate(180deg)}.ez-sidebar-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:var(--ez-sidebar-navigator--height);padding-top:var(--space--xs, 12px);padding-bottom:var(--space--xs, 12px);gap:var(--ez-sidebar-navigator--gap);padding-left:var(--ez-sidebar-navigator--padding-left);padding-right:var(--ez-sidebar-navigator--padding-right);background-color:var(--ez-sidebar-navigator--background-color);-webkit-box-shadow:var(--ez-sidebar-navigator--box-shadow);box-shadow:var(--ez-sidebar-navigator--box-shadow);border-radius:var(--ez-sidebar-navigator--border-radius)}.ez-sidebar-navigator__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;justify-content:space-between;gap:var(--ez-sidebar-navigator--header-gap)}.ez-sidebar-navigator__content{height:100%}.ez-sidebar-navigator__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-sidebar-navigator--footer-gap)}.ez-sidebar-navigator__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-family:var(--ez-ez-sidebar-navigator__title--font-family);font-size:var(--ez-ez-sidebar-navigator__title--font-size);font-weight:var(--ez-ez-sidebar-navigator__title--font-weight);color:var(--ez-ez-sidebar-navigator__title--color)}.ez-sidebar-navigator__end{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto;gap:var(--ez-sidebar-navigator--gap)}.dynamic{position:absolute;z-index:var(--most-visible\t, 4)}.fixed{position:relative}.hidden{display:none}.show{animation:fadeIn .1s ease-in-out 1}@keyframes fadeIn{from{transform:translate(-100%)}}.sm{width:240px}.md{width:280px}.lg{width:320px}@media screen and (max-width: 991px){.responsive{width:240px}}@media screen and (min-width: 992px){.responsive{width:280px}}@media screen and (min-width: 1200px){.responsive{width:320px}}";
35
+ const ezSidebarNavigatorCss = ":host{--ez-sidebar-navigator--padding-left:var(--space--xs, 12px);--ez-sidebar-navigator--padding-right:var(--space--xs, 12px);--ez-sidebar-navigator--gap:var(--space--xs, 12px);--ez-sidebar-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-sidebar-navigator--background-color:var(--color--inverted);--ez-sidebar-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-sidebar-navigator--height:calc(100vh - var(--space--lg, 24px));--ez-sidebar-navigator--z-index:var(--elevation--20, 20);--ez-sidebar-navigator--header-gap:var(--space--xs, 12px);--ez-sidebar-navigator--footer-gap:var(--space--xs, 12px);--ez-ez-sidebar-navigator__title--font-family:var(--font-pattern, \"Roboto\");--ez-ez-sidebar-navigator__title--font-size:var(--title--medium, 16px);--ez-ez-sidebar-navigator__title--color:var(--title--primary, #2b3a54);--ez-ez-sidebar-navigator__title--font-weight:var(--text-weight--extra-large, 700)}.inverted{transform:rotate(180deg)}.ez-sidebar-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:var(--ez-sidebar-navigator--height);padding-top:var(--space--xs, 12px);padding-bottom:var(--space--xs, 12px);outline:none;gap:var(--ez-sidebar-navigator--gap);padding-left:var(--ez-sidebar-navigator--padding-left);padding-right:var(--ez-sidebar-navigator--padding-right);background-color:var(--ez-sidebar-navigator--background-color);-webkit-box-shadow:var(--ez-sidebar-navigator--box-shadow);box-shadow:var(--ez-sidebar-navigator--box-shadow);border-radius:var(--ez-sidebar-navigator--border-radius)}.ez-sidebar-navigator__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;justify-content:space-between;gap:var(--ez-sidebar-navigator--header-gap)}.ez-sidebar-navigator__content{height:100%}.ez-sidebar-navigator__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-sidebar-navigator--footer-gap)}.ez-sidebar-navigator__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-family:var(--ez-ez-sidebar-navigator__title--font-family);font-size:var(--ez-ez-sidebar-navigator__title--font-size);font-weight:var(--ez-ez-sidebar-navigator__title--font-weight);color:var(--ez-ez-sidebar-navigator__title--color)}.ez-sidebar-navigator__end{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto;gap:var(--ez-sidebar-navigator--gap)}.dynamic{position:absolute;z-index:var(--ez-sidebar-navigator--z-index)}.fixed{position:relative}.hidden{display:none}.show{animation:fadeIn .1s ease-in-out 1}@keyframes fadeIn{from{transform:translate(-100%)}}.sm{width:240px}.md{width:280px}.lg{width:320px}@media screen and (max-width: 991px){.responsive{width:240px}}@media screen and (min-width: 992px){.responsive{width:280px}}@media screen and (min-width: 1200px){.responsive{width:320px}}";
36
36
 
37
37
  const EzSidebarNavigator = class {
38
38
  constructor(hostRef) {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-9e5554cb.js');
5
+ const index = require('./index-a7b0c73d.js');
6
6
 
7
7
  const ALLOWED_ANIMATIONS = ['progress', 'progress-dark', 'pulse', 'false'];
8
8
 
9
- const ezSkeletonCss = ".skeleton {\n\tbox-sizing: border-box;\n\toutline: none;\n\toverflow: hidden;\n\tposition: relative;\n\n\tbackground:var(--skeleton-background, #eff1f6) no-repeat;\n\n\tborder-radius: var(--skeleton-border-radius, 4px);\n\twidth: var(--skeleton-width, 100%);\n\theight: var(--skeleton-height, 20px);\n\tdisplay: inline-block;\n\tmargin-bottom: var(--skeleton-margin-bottom, 0px);\n\twill-change: transform;\n\n\t&:after,\n\t&:before {\n\t\tbox-sizing: border-box;\n\t}\n\n\t&.circle {\n\t\twidth: var(--skeleton-width, 40px);\n\t\theight: var(--skeleton-height, 40px);\n\t\tmargin-bottom: var(--skeleton-margin-bottom, 5px);\n\t\tborder-radius: var(--skeleton-border-radius, 50%);\n\t}\n\n\t&.rect {\n\t\tborder-radius: var(--skeleton-border-radius, 0px);\n\t}\n\n\t&.progress,\n\t&.progress-dark {\n\t\tanimation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tbackground-size: 200px 100%;\n\t}\n\n\t&.progress {\n\t\tbackground-image: linear-gradient(\n\t\t\t90deg,\n\t\t\trgba(255, 255, 255, 0),\n\t\t\trgba(255, 255, 255, 0.6),\n\t\t\trgba(255, 255, 255, 0)\n\t\t);\n\t}\n\n\t&.progress-dark {\n\t\tbackground-image: linear-gradient(\n\t\t\t90deg,\n\t\t\ttransparent,\n\t\t\trgba(0, 0, 0, 0.2),\n\t\t\ttransparent\n\t\t);\n\t}\n\n\t&.pulse {\n\t\tanimation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation-delay: 0.5s;\n\t}\n\n\t@media (prefers-reduced-motion: reduce) {\n\t\t&.pulse,\n\t\t&.progress-dark,\n\t\t&.progress {\n\t\t\tanimation: none;\n\t\t}\n\n\t\t&.progress,\n\t\t&.progress-dark {\n\t\t\tbackground-image: none;\n\t\t}\n\t}\n}\n\n@keyframes progress {\n\t0% {\n\t\tbackground-position: -200px 0;\n\t}\n\t100% {\n\t\tbackground-position: calc(200px + 100%) 0;\n\t}\n}\n\n@keyframes pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0.4;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}";
9
+ const ezSkeletonCss = ".skeleton {\n\tbackground: var(--skeleton-background, #eff1f6) no-repeat;\n\n\tborder-radius: var(--skeleton-border-radius, 4px);\n\twidth: var(--skeleton-width, 100%);\n\theight: var(--skeleton-height, 20px);\n\tdisplay: inline-block;\n\tmargin-bottom: var(--skeleton-margin-bottom, 0px);\t\n\tbox-sizing: border-box;\n\toutline: none;\n\toverflow: hidden;\n\tposition: relative;\n\t-webkit-will-change: transform;\n -moz-will-change: transform;\n\twill-change: transform;\n\n\t&:after,\n\t&:before {\n\t\tbox-sizing: border-box;\n\t}\n\n\t&.circle {\n\t\twidth: var(--skeleton-width, 40px);\n\t\theight: var(--skeleton-height, 40px);\n\t\tmargin-bottom: var(--skeleton-margin-bottom, 5px);\n\t\tborder-radius: var(--skeleton-border-radius, 50%);\n\t}\n\n\t&.rect {\n\t\tborder-radius: var(--skeleton-border-radius, 0px);\n\t}\n\n\t&.progress,\n\t&.progress-dark {\n\t\t-webkit-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tbackground-size: 200px 100%;\n\t}\n\n\t&.progress {\n\t\tbackground-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));\n\t}\n\n\t&.progress-dark {\n\t\tbackground-image: -webkit-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: -moz-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: -ms-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent); \n\t\tbackground-image: linear-gradient(90deg,transparent,rgba(0, 0, 0, 0.2),transparent);\n\t}\n\n\t&.pulse {\n\t\t-webkit-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n\t\tanimation-delay: 0.5s;\n\t}\n\n\t@media (prefers-reduced-motion: reduce) {\n\t\t&.pulse,\n\t\t&.progress-dark,\n\t\t&.progress {\n\t\t\tanimation: none;\n\t\t}\n\n\t\t&.progress,\n\t\t&.progress-dark {\n\t\t\tbackground-image: none;\n\t\t}\n\t}\n}\n\n@-webkit-keyframes progress {\n 0% { background-position: -200px 0; }\n 100% { background-position: calc(200px + 100%) 0; }\n}\n@-moz-keyframes progress {\n 0% { background-position: -200px 0; }\n 100% { background-position: calc(200px + 100%) 0; }\n}\n@-ms-keyframes progress {\n 0% { background-position: -200px 0; }\n 100% { background-position: calc(200px + 100%) 0; }\n}\n@keyframes progress {\n\t0% { background-position: -200px 0; }\n\t100% { background-position: calc(200px + 100%) 0; }\n}\n\n@-webkit-keyframes pulse {\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n}\n@-moz-keyframes pulse {\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n}\n@-ms-keyframes pulse {\n 0% { opacity: 1; }\n 50% { opacity: 0.4; }\n 100% { opacity: 1; }\n}\n@keyframes pulse {\n\t0% { opacity: 1; }\n\t50% { opacity: 0.4; }\n\t100% { opacity: 1; }\n}";
10
10
 
11
11
  const EzSkeleton = class {
12
12
  constructor(hostRef) {