@sankhyalabs/ezui 5.22.0-dev.10 → 5.22.0-dev.101

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 (357) hide show
  1. package/dist/cjs/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
  2. package/dist/cjs/DataBinder-e92314c2.js +445 -0
  3. package/dist/cjs/FocusResolver-885f2173.js +35 -0
  4. package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
  5. package/dist/cjs/ez-badge.cjs.entry.js +14 -2
  6. package/dist/cjs/ez-button.cjs.entry.js +11 -5
  7. package/dist/cjs/ez-card-item_2.cjs.entry.js +1485 -0
  8. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +387 -0
  12. package/dist/cjs/ez-combo-box.cjs.entry.js +82 -155
  13. package/dist/cjs/ez-date-input.cjs.entry.js +15 -19
  14. package/dist/cjs/ez-date-time-input.cjs.entry.js +14 -20
  15. package/dist/cjs/ez-dialog.cjs.entry.js +14 -7
  16. package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
  17. package/dist/cjs/{ez-dropdown.cjs.entry.js → ez-dropdown_2.cjs.entry.js} +75 -8
  18. package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
  19. package/dist/cjs/ez-form-view.cjs.entry.js +26 -20
  20. package/dist/cjs/ez-form.cjs.entry.js +6 -325
  21. package/dist/cjs/ez-grid.cjs.entry.js +15067 -69836
  22. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-list.cjs.entry.js +258 -211
  24. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
  25. package/dist/cjs/ez-modal.cjs.entry.js +12 -3
  26. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
  27. package/dist/cjs/ez-number-input.cjs.entry.js +15 -3
  28. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +200 -0
  29. package/dist/cjs/ez-popup.cjs.entry.js +24 -2
  30. package/dist/cjs/ez-scroller_2.cjs.entry.js +3 -3
  31. package/dist/cjs/ez-search.cjs.entry.js +119 -188
  32. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
  34. package/dist/cjs/ez-split-item.cjs.entry.js +6 -3
  35. package/dist/cjs/ez-split-panel.cjs.entry.js +68 -6
  36. package/dist/cjs/ez-text-area.cjs.entry.js +68 -6
  37. package/dist/cjs/ez-text-input.cjs.entry.js +152 -16
  38. package/dist/cjs/ez-time-input.cjs.entry.js +7 -1
  39. package/dist/cjs/ez-tooltip.cjs.entry.js +55 -0
  40. package/dist/cjs/ez-tree.cjs.entry.js +5 -4
  41. package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
  42. package/dist/cjs/ezui.cjs.js +1 -1
  43. package/dist/cjs/filter-column.cjs.entry.js +10 -47
  44. package/dist/cjs/index-a7b0c73d.js +22 -10
  45. package/dist/cjs/loader.cjs.js +1 -1
  46. package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
  47. package/dist/collection/collection-manifest.json +8 -2
  48. package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
  49. package/dist/collection/components/ez-badge/ez-badge.css +12 -1
  50. package/dist/collection/components/ez-badge/ez-badge.js +31 -1
  51. package/dist/collection/components/ez-button/ez-button.css +24 -14
  52. package/dist/collection/components/ez-button/ez-button.js +12 -6
  53. package/dist/collection/components/ez-card-item/ez-card-item.css +58 -10
  54. package/dist/collection/components/ez-card-item/ez-card-item.js +30 -3
  55. package/dist/collection/components/ez-check/ez-check.css +1 -6
  56. package/dist/collection/components/ez-chip/ez-chip.css +5 -1
  57. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
  58. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
  59. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +426 -0
  60. package/dist/collection/components/ez-combo-box/ez-combo-box.css +8 -246
  61. package/dist/collection/components/ez-combo-box/ez-combo-box.js +129 -166
  62. package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
  63. package/dist/collection/components/ez-date-input/ez-date-input.js +40 -19
  64. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
  65. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +39 -20
  66. package/dist/collection/components/ez-dialog/ez-dialog.css +3 -3
  67. package/dist/collection/components/ez-dialog/ez-dialog.js +14 -16
  68. package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
  69. package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
  70. package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
  71. package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
  72. package/dist/collection/components/ez-filter-input/ez-filter-input.css +1 -1
  73. package/dist/collection/components/ez-filter-input/ez-filter-input.js +35 -4
  74. package/dist/collection/components/ez-form/ez-form.js +1 -0
  75. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +49 -6
  76. package/dist/collection/components/ez-form-view/ez-form-view.css +5 -2
  77. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -1
  78. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
  79. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
  80. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
  81. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  82. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
  83. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
  84. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
  85. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
  86. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +297 -63
  87. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +151 -31
  88. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
  89. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +219 -42
  90. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +16 -0
  91. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
  92. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +8 -0
  93. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
  94. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
  95. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
  96. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +8 -1
  97. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
  98. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +2 -0
  99. package/dist/collection/components/ez-grid/ez-grid.css +95 -10
  100. package/dist/collection/components/ez-grid/ez-grid.js +375 -12
  101. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
  102. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +9 -46
  103. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js +7 -54
  104. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +20 -4
  105. package/dist/collection/components/ez-icon/ez-icon.css +156 -149
  106. package/dist/collection/components/ez-list/ez-list.css +5 -4
  107. package/dist/collection/components/ez-list/ez-list.js +301 -212
  108. package/dist/collection/components/ez-list/ezListHelper.js +85 -0
  109. package/dist/collection/components/ez-modal/ez-modal.css +7 -2
  110. package/dist/collection/components/ez-modal/ez-modal.js +13 -4
  111. package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
  112. package/dist/collection/components/ez-modal-container/ez-modal-container.js +1 -1
  113. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +3 -3
  114. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +1 -1
  115. package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
  116. package/dist/collection/components/ez-number-input/ez-number-input.js +49 -1
  117. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +3 -0
  118. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +425 -0
  119. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
  120. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +528 -0
  121. package/dist/collection/components/ez-popup/ez-popup.css +8 -3
  122. package/dist/collection/components/ez-popup/ez-popup.js +43 -3
  123. package/dist/collection/components/ez-scroller/ez-scroller.css +4 -0
  124. package/dist/collection/components/ez-search/ez-search.css +2 -210
  125. package/dist/collection/components/ez-search/ez-search.js +204 -203
  126. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
  127. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +289 -0
  128. package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
  129. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +3 -0
  130. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
  131. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +4 -1
  132. package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
  133. package/dist/collection/components/ez-split-button/ez-split-button.css +52 -14
  134. package/dist/collection/components/ez-split-button/ez-split-button.js +3 -3
  135. package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
  136. package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
  137. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
  138. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +14 -2
  139. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
  140. package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
  141. package/dist/collection/components/ez-text-area/ez-text-area.js +104 -4
  142. package/dist/collection/components/ez-text-input/ez-text-input.css +106 -91
  143. package/dist/collection/components/ez-text-input/ez-text-input.js +166 -15
  144. package/dist/collection/components/ez-time-input/ez-time-input.js +24 -0
  145. package/dist/collection/components/ez-tooltip/ez-tooltip.css +20 -0
  146. package/dist/collection/components/ez-tooltip/ez-tooltip.js +116 -0
  147. package/dist/collection/components/ez-tree/ez-tree.js +21 -1
  148. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  149. package/dist/collection/sw.js +46 -0
  150. package/dist/collection/utils/CSSVarsUtils.js +1 -0
  151. package/dist/collection/utils/FocusResolver.js +31 -0
  152. package/dist/collection/utils/ResponsiveInputUtils.js +26 -0
  153. package/dist/collection/utils/form/DataBinder.js +22 -7
  154. package/dist/collection/utils/form/FormMetadata.js +2 -1
  155. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
  156. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
  157. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
  158. package/dist/custom-elements/index.d.ts +36 -0
  159. package/dist/custom-elements/index.js +18614 -70878
  160. package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
  161. package/dist/esm/DataBinder-9c877244.js +441 -0
  162. package/dist/esm/FocusResolver-1ccbf850.js +33 -0
  163. package/dist/esm/ez-actions-button.entry.js +4 -3
  164. package/dist/esm/ez-badge.entry.js +14 -2
  165. package/dist/esm/ez-button.entry.js +11 -5
  166. package/dist/esm/ez-card-item_2.entry.js +1480 -0
  167. package/dist/esm/ez-check.entry.js +1 -1
  168. package/dist/esm/ez-chip.entry.js +1 -1
  169. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  170. package/dist/esm/ez-combo-box-list_3.entry.js +381 -0
  171. package/dist/esm/ez-combo-box.entry.js +83 -156
  172. package/dist/esm/ez-date-input.entry.js +15 -19
  173. package/dist/esm/ez-date-time-input.entry.js +14 -20
  174. package/dist/esm/ez-dialog.entry.js +15 -8
  175. package/dist/esm/ez-double-list.entry.js +283 -0
  176. package/dist/esm/{ez-dropdown.entry.js → ez-dropdown_2.entry.js} +75 -9
  177. package/dist/esm/ez-filter-input.entry.js +125 -0
  178. package/dist/esm/ez-form-view.entry.js +26 -20
  179. package/dist/esm/ez-form.entry.js +5 -324
  180. package/dist/esm/ez-grid.entry.js +14989 -69758
  181. package/dist/esm/ez-icon.entry.js +1 -1
  182. package/dist/esm/ez-list.entry.js +258 -211
  183. package/dist/esm/ez-modal-container.entry.js +2 -2
  184. package/dist/esm/ez-modal.entry.js +12 -3
  185. package/dist/esm/ez-multi-selection-list.entry.js +2 -2
  186. package/dist/esm/ez-number-input.entry.js +15 -3
  187. package/dist/esm/ez-popover-plus_3.entry.js +194 -0
  188. package/dist/esm/ez-popup.entry.js +24 -2
  189. package/dist/esm/ez-scroller_2.entry.js +3 -3
  190. package/dist/esm/ez-search.entry.js +120 -189
  191. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  192. package/dist/esm/ez-split-button.entry.js +2 -2
  193. package/dist/esm/ez-split-item.entry.js +6 -3
  194. package/dist/esm/ez-split-panel.entry.js +69 -7
  195. package/dist/esm/ez-text-area.entry.js +68 -6
  196. package/dist/esm/ez-text-input.entry.js +152 -16
  197. package/dist/esm/ez-time-input.entry.js +7 -1
  198. package/dist/esm/ez-tooltip.entry.js +51 -0
  199. package/dist/esm/ez-tree.entry.js +5 -4
  200. package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
  201. package/dist/esm/ezui.js +1 -1
  202. package/dist/esm/filter-column.entry.js +10 -47
  203. package/dist/esm/index-baa5e267.js +22 -10
  204. package/dist/esm/loader.js +1 -1
  205. package/dist/esm/searchFormatters-8229207e.js +20 -0
  206. package/dist/ezui/ezui.esm.js +1 -1
  207. package/dist/ezui/p-0fa52b0f.entry.js +1 -0
  208. package/dist/ezui/p-17de16e5.entry.js +1 -0
  209. package/dist/ezui/p-17eabf46.entry.js +1 -0
  210. package/dist/ezui/p-1ad6c61b.entry.js +1 -0
  211. package/dist/ezui/p-20c024f7.entry.js +1 -0
  212. package/dist/ezui/p-20cb13fa.entry.js +1 -0
  213. package/dist/ezui/p-23b6128c.entry.js +1 -0
  214. package/dist/ezui/p-2872fd16.entry.js +1 -0
  215. package/dist/ezui/p-288631d1.entry.js +1 -0
  216. package/dist/ezui/p-2f45506d.entry.js +1 -0
  217. package/dist/ezui/p-3195a7a7.entry.js +1 -0
  218. package/dist/ezui/p-31b71e50.entry.js +1 -0
  219. package/dist/ezui/p-31da1b57.entry.js +1 -0
  220. package/dist/ezui/p-40a60148.js +1 -0
  221. package/dist/ezui/p-556468d9.entry.js +1 -0
  222. package/dist/ezui/p-56fe5341.entry.js +1 -0
  223. package/dist/ezui/p-6cdd3e0a.entry.js +1 -0
  224. package/dist/ezui/p-788467fe.entry.js +1 -0
  225. package/dist/ezui/p-7e677b7b.entry.js +1 -0
  226. package/dist/ezui/{p-bf79aaa1.entry.js → p-7fdd479f.entry.js} +1 -1
  227. package/dist/ezui/p-80dfc50b.js +1 -0
  228. package/dist/ezui/p-a4cee65d.entry.js +1 -0
  229. package/dist/ezui/p-a69355eb.entry.js +1 -0
  230. package/dist/ezui/p-acddfb2e.js +1 -0
  231. package/dist/ezui/p-b7706b43.entry.js +1 -0
  232. package/dist/ezui/p-c1527804.entry.js +1 -0
  233. package/dist/ezui/p-c297aa52.entry.js +1 -0
  234. package/dist/ezui/p-cb1535f7.entry.js +1 -0
  235. package/dist/ezui/p-cb5cd243.entry.js +309 -0
  236. package/dist/ezui/p-cf87aacb.entry.js +1 -0
  237. package/dist/ezui/p-da1b4a38.entry.js +1 -0
  238. package/dist/ezui/p-dc628ed3.js +1 -0
  239. package/dist/ezui/p-dc73e1fe.entry.js +1 -0
  240. package/dist/ezui/p-dcf3c8e5.entry.js +1 -0
  241. package/dist/ezui/{p-17be134a.entry.js → p-e06a9886.entry.js} +1 -1
  242. package/dist/ezui/{p-84e439b9.entry.js → p-e347df9c.entry.js} +1 -1
  243. package/dist/ezui/p-e6a9041d.entry.js +1 -0
  244. package/dist/ezui/p-e75c7a23.entry.js +1 -0
  245. package/dist/ezui/p-ea54d056.entry.js +1 -0
  246. package/dist/ezui/p-ec7db713.js +1 -0
  247. package/dist/ezui/p-f5931caa.entry.js +1 -0
  248. package/dist/ezui/p-fa6732f2.entry.js +1 -0
  249. package/dist/ezui/p-fd0a19d6.entry.js +1 -0
  250. package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
  251. package/dist/types/components/ez-button/ez-button.d.ts +2 -1
  252. package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
  253. package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
  254. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
  255. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +17 -15
  256. package/dist/types/components/ez-date-input/ez-date-input.d.ts +8 -3
  257. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +8 -3
  258. package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -1
  259. package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
  260. package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
  261. package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +4 -0
  262. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +1 -1
  263. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +6 -1
  264. package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +7 -1
  265. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
  266. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
  267. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +71 -4
  268. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +37 -4
  269. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +25 -2
  270. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +33 -7
  271. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +4 -1
  272. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
  273. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  274. package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
  275. package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
  276. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +2 -1
  277. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
  278. package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +1 -0
  279. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
  280. package/dist/types/components/ez-grid/ez-grid.d.ts +59 -1
  281. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +0 -11
  282. package/dist/types/components/ez-grid/utils/ColumnFilterManager.d.ts +1 -1
  283. package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +3 -0
  284. package/dist/types/components/ez-list/ez-list.d.ts +23 -2
  285. package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
  286. package/dist/types/components/ez-modal/ez-modal.d.ts +2 -1
  287. package/dist/types/components/ez-number-input/ez-number-input.d.ts +8 -0
  288. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +73 -0
  289. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +91 -0
  290. package/dist/types/components/ez-popup/ez-popup.d.ts +8 -1
  291. package/dist/types/components/ez-search/ez-search.d.ts +32 -18
  292. package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +23 -0
  293. package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
  294. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -1
  295. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
  296. package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
  297. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
  298. package/dist/types/components/ez-text-area/ez-text-area.d.ts +17 -0
  299. package/dist/types/components/ez-text-input/ez-text-input.d.ts +24 -2
  300. package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
  301. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +21 -0
  302. package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
  303. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  304. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  305. package/dist/types/components.d.ts +793 -29
  306. package/dist/types/utils/FocusResolver.d.ts +5 -0
  307. package/dist/types/utils/ResponsiveInputUtils.d.ts +6 -0
  308. package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +2 -0
  309. package/dist/types/utils/form/DataBinder.d.ts +3 -0
  310. package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
  311. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
  312. package/package.json +11 -3
  313. package/react/components.d.ts +6 -0
  314. package/react/components.js +6 -0
  315. package/react/components.js.map +1 -1
  316. package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
  317. package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -183
  318. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -206
  319. package/dist/cjs/ez-skeleton.cjs.entry.js +0 -67
  320. package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
  321. package/dist/esm/ez-card-item_3.entry.js +0 -177
  322. package/dist/esm/ez-custom-form-input_2.entry.js +0 -201
  323. package/dist/esm/ez-skeleton.entry.js +0 -63
  324. package/dist/ezui/p-04f24913.js +0 -1
  325. package/dist/ezui/p-072e6347.entry.js +0 -1
  326. package/dist/ezui/p-1285c902.entry.js +0 -1
  327. package/dist/ezui/p-13d2fe2d.entry.js +0 -1
  328. package/dist/ezui/p-2097d0cf.entry.js +0 -1
  329. package/dist/ezui/p-32e553e5.entry.js +0 -304
  330. package/dist/ezui/p-34b6916c.entry.js +0 -1
  331. package/dist/ezui/p-3b4eeeb6.entry.js +0 -1
  332. package/dist/ezui/p-3faa2b46.entry.js +0 -1
  333. package/dist/ezui/p-42533ea4.entry.js +0 -1
  334. package/dist/ezui/p-49456b34.entry.js +0 -1
  335. package/dist/ezui/p-4d5235f1.entry.js +0 -1
  336. package/dist/ezui/p-5bd5e68f.entry.js +0 -1
  337. package/dist/ezui/p-650e4b6d.entry.js +0 -1
  338. package/dist/ezui/p-784fe207.entry.js +0 -1
  339. package/dist/ezui/p-7922142b.entry.js +0 -1
  340. package/dist/ezui/p-7af81663.entry.js +0 -1
  341. package/dist/ezui/p-7bc07c31.entry.js +0 -1
  342. package/dist/ezui/p-85c8baae.entry.js +0 -1
  343. package/dist/ezui/p-8888d9ed.entry.js +0 -1
  344. package/dist/ezui/p-9050d2cd.entry.js +0 -1
  345. package/dist/ezui/p-922ac38b.entry.js +0 -1
  346. package/dist/ezui/p-9e11fc7b.js +0 -1
  347. package/dist/ezui/p-a31b9c90.entry.js +0 -1
  348. package/dist/ezui/p-aba3da00.entry.js +0 -1
  349. package/dist/ezui/p-af95cd16.entry.js +0 -1
  350. package/dist/ezui/p-bae4e180.entry.js +0 -1
  351. package/dist/ezui/p-baf80b13.entry.js +0 -1
  352. package/dist/ezui/p-bcb53f27.entry.js +0 -1
  353. package/dist/ezui/p-cdc472cc.entry.js +0 -1
  354. package/dist/ezui/p-d9401ea0.entry.js +0 -1
  355. package/dist/ezui/p-e85c48d7.entry.js +0 -1
  356. package/dist/ezui/p-ecc2c1ec.entry.js +0 -1
  357. package/dist/ezui/p-fcf0acce.entry.js +0 -1
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CheckMode } from './CheckMode-bdb2ec19.js';
4
4
 
5
- const ezCheckCss = ":host{--ez-check--box--width:20px;--ez-check--box--height:20px;--ez-check--width:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--height:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--border-radius:var(--border--radius-small);--ez-check--checked--background-color:var(--color--primary-200);--ez-check--focus--background-color:var(--color--strokes, #FFFFFF);--ez-check--hover--background-color:var(--background--medium);--ez-check--checked--disabled--background-color:var(--color--disable-secondary);--ez-check--border:var(--border--medium) var(--title--primary);--ez-check--disabled--border:var(--border--medium) var(--color--strokes);--ez-check--checked--border:var(--border--medium) var(--color--primary);--ez-check--checked--hover--background-color:var(--color--primary-200);--ez-check--checked--focus--background-color:var(--color--primary-300, #FFFFFF);--ez-check--check--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"7\" viewBox=\"0 0 8 7\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z\"/></svg>');--ez-check--indeterminate--image:url('data:image/svg+xml;utf8,<svg width=\"10\" height=\"2\" viewBox=\"0 0 10 2\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 1,0 h 8 c 0.554,0 1,0.446 1,1 0,0.554 -0.446,1 -1,1 H 1 C 0.446,2 0,1.554 0,1 0,0.446 0.446,0 1,0 Z\" /></svg>');--ez-check--check--background-color:var(--color--primary);--ez-check--check--disabled--background-color:var(--color--strokes);--ez-switch--slider--width:34px;--ez-switch--slider--height:14px;--ez-switch--pin--width:19px;--ez-switch--pin--height:19px;--ez-switch--focus--width:32px;--ez-switch--focus--height:32px;--ez-switch--background-color:var(--color--strokes);--ez-switch--disabled--background-color:var(--color--disable-secondary);--ez-switch--disabled--checked--background-color:var(--color--primary-300);--ez-switch--checked--background-color:var(--color--primary);--ez-switch--pin--background-color:var(--background--xlight);--ez-switch--pin--disabled--background-color:var(--color--disable-primary);--ez-switch--pin--checked--background-color:var(--background--xlight);--ez-switch--pin--checked--disabled--background-color:#E8F7F4;--ez-switch--pin--focus--background-color:var(--text--disable);--ez-switch--pin--checked--focus--background-color:var(--color--primary);--ez-switch--pin--border-color:var(--text--primary);--ez-switch--pin--disabled--border-color:var(--text--secondary);--ez-check--label--font-size:var(--text--medium, 14px);--ez-check--label--font-family:var(--font-pattern, Arial);--ez-check--label--color:var(--title--primary, #000);--ez-check--label--disabled--color:var(--text--disable, #AFB6C0);display:flex;align-items:center;margin:0;max-width:100%}input.regular-mode{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;border-radius:50%;position:relative;width:var(--ez-check--width);height:var(--ez-check--height)}input.compact{margin-right:0px}input.regular-mode:enabled:hover{background-color:var(--ez-check--hover--background-color)}input.regular-mode:enabled:focus{outline:none;background-color:var(--ez-check--focus--background-color)}input.regular-mode:disabled{cursor:auto;background:none}input.regular-mode::before{box-sizing:border-box;content:\"\";display:block;width:var(--ez-check--box--width);height:var(--ez-check--box--height);border-radius:var(--ez-check--border-radius);border:var(--ez-check--border)}input.regular-mode:disabled::before{border:var(--ez-check--disabled--border)}input.regular-mode:checked:enabled:hover,input.regular-mode:indeterminate:enabled:hover{background-color:var(--ez-check--checked--hover--background-color)}input.regular-mode:checked:enabled:focus,input.regular-mode:indeterminate:enabled:focus{background-color:var(--ez-check--checked--focus--background-color)}input.regular-mode:checked::before,input.regular-mode:indeterminate::before{border:var(--ez-check--checked--border);background-color:var(--ez-check--checked--background-color)}input.regular-mode:disabled:before{border:var(--ez-check--disabled--border);background-color:var(--ez-check--checked--disabled--background-color)}input.regular-mode:checked::after,input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:8px;height:7px;-webkit-mask-image:var(--ez-check--check--image);mask-image:var(--ez-check--check--image)}input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:10px;height:2px;-webkit-mask-image:var(--ez-check--indeterminate--image);mask-image:var(--ez-check--indeterminate--image)}input.regular-mode:checked:disabled::after,input.regular-mode:indeterminate:disabled::after{background-color:var(--ez-check--check--disabled--background-color)}input.switch-mode{flex-shrink:0;-webkit-appearance:none;appearance:none;position:relative;outline:none;cursor:pointer;border-radius:20px;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);transition:background-color var(--transition);width:var(--ez-switch--slider--width);height:var(--ez-switch--slider--height);background-color:var(--ez-switch--background-color)}input.switch-mode:disabled{background-color:var(--ez-switch--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked:disabled{background-color:var(--ez-switch--disabled--checked--background-color)}input.switch-mode::after{content:\"\";display:block;position:absolute;box-shadow:var(--shadow);transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(-2px) translateY(-4px);border-radius:50%;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);width:var(--ez-switch--pin--width);height:var(--ez-switch--pin--height);background-color:var(--ez-switch--pin--background-color)}input.switch-mode:disabled::after{background-color:var(--ez-switch--pin--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked{transition:background-color var(--transition), border var(--transition);background-color:var(--ez-switch--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode::before{display:block;content:\"\";display:block;position:absolute;border-radius:50%;opacity:0;width:var(--ez-switch--focus--width);height:var(--ez-switch--focus--height);top:calc((var(--ez-switch--slider--height) - var(--ez-switch--focus--height)) / 2);left:calc((var(--ez-switch--pin--width) - var(--ez-switch--focus--width) - 2px) / 2);background-color:var(--ez-switch--pin--focus--background-color)}input.switch-mode:focus::before{opacity:0.24;transition:opacity var(--transition)}input.switch-mode:checked:focus::before{background-color:var(--ez-switch--pin--checked--focus--background-color);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width) + 2px))}input.switch-mode:checked::after{transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width))) translateY(-4px);box-shadow:var(--shadow);background-color:var(--ez-switch--pin--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode:checked:disabled::after{background-color:var(--ez-switch--pin--checked--disabled--background-color)}.label{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-check--label--color);font-size:var(--ez-check--label--font-size);font-family:var(--ez-check--label--font-family);cursor:default;width:inherit}.label--disabled{color:var(--ez-check--label--disabled--color)}.label--padding{padding-left:var(--space--small)}";
5
+ const ezCheckCss = ":host{--ez-check--box--width:20px;--ez-check--box--height:20px;--ez-check--width:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--height:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--border-radius:var(--border--radius-small);--ez-check--checked--background-color:var(--color--primary-200);--ez-check--focus--background-color:var(--color--strokes, #FFFFFF);--ez-check--hover--background-color:var(--background--medium);--ez-check--checked--disabled--background-color:var(--color--disable-secondary);--ez-check--border:var(--border--medium) var(--title--primary);--ez-check--disabled--border:var(--border--medium) var(--color--strokes);--ez-check--checked--border:var(--border--medium) var(--color--primary);--ez-check--checked--hover--background-color:var(--color--primary-200);--ez-check--checked--focus--background-color:var(--color--primary-300, #FFFFFF);--ez-check--check--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"7\" viewBox=\"0 0 8 7\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z\"/></svg>');--ez-check--indeterminate--image:url('data:image/svg+xml;utf8,<svg width=\"10\" height=\"2\" viewBox=\"0 0 10 2\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 1,0 h 8 c 0.554,0 1,0.446 1,1 0,0.554 -0.446,1 -1,1 H 1 C 0.446,2 0,1.554 0,1 0,0.446 0.446,0 1,0 Z\" /></svg>');--ez-check--check--background-color:var(--color--primary);--ez-check--check--disabled--background-color:var(--color--strokes);--ez-switch--slider--width:34px;--ez-switch--slider--height:14px;--ez-switch--pin--width:19px;--ez-switch--pin--height:19px;--ez-switch--focus--width:32px;--ez-switch--focus--height:32px;--ez-switch--background-color:var(--color--strokes);--ez-switch--disabled--background-color:var(--color--disable-secondary);--ez-switch--disabled--checked--background-color:var(--color--primary-300);--ez-switch--checked--background-color:var(--color--primary);--ez-switch--pin--background-color:var(--background--xlight);--ez-switch--pin--disabled--background-color:var(--color--disable-primary);--ez-switch--pin--checked--background-color:var(--background--xlight);--ez-switch--pin--checked--disabled--background-color:#E8F7F4;--ez-switch--pin--focus--background-color:var(--text--disable);--ez-switch--pin--checked--focus--background-color:var(--color--primary);--ez-switch--pin--border-color:var(--text--primary);--ez-switch--pin--disabled--border-color:var(--text--secondary);--ez-check--label--font-size:var(--text--medium, 14px);--ez-check--label--font-family:var(--font-pattern, Arial);--ez-check--label--color:var(--title--primary, #000);--ez-check--label--disabled--color:var(--text--disable, #AFB6C0);display:flex;align-items:center;margin:0;max-width:100%}input.regular-mode{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;border-radius:50%;position:relative}input.compact{margin-right:0px}input.regular-mode:enabled:hover{background-color:var(--ez-check--hover--background-color)}input.regular-mode:enabled:focus{outline:none;background-color:var(--ez-check--focus--background-color)}input.regular-mode:disabled{cursor:auto;background:none}input.regular-mode::before{box-sizing:border-box;content:\"\";display:block;width:var(--ez-check--box--width);height:var(--ez-check--box--height);border-radius:var(--ez-check--border-radius);border:var(--ez-check--border)}input.regular-mode:disabled::before{border:var(--ez-check--disabled--border)}input.regular-mode:checked:enabled:hover,input.regular-mode:indeterminate:enabled:hover{background-color:var(--ez-check--checked--hover--background-color)}input.regular-mode:checked:enabled:focus,input.regular-mode:indeterminate:enabled:focus{background-color:var(--ez-check--checked--focus--background-color)}input.regular-mode:checked::before,input.regular-mode:indeterminate::before{border:var(--ez-check--checked--border);background-color:var(--ez-check--checked--background-color)}input.regular-mode:disabled:before{border:var(--ez-check--disabled--border);background-color:var(--ez-check--checked--disabled--background-color)}input.regular-mode:checked::after,input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:8px;height:7px;-webkit-mask-image:var(--ez-check--check--image);mask-image:var(--ez-check--check--image)}input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:10px;height:2px;-webkit-mask-image:var(--ez-check--indeterminate--image);mask-image:var(--ez-check--indeterminate--image)}input.regular-mode:checked:disabled::after,input.regular-mode:indeterminate:disabled::after{background-color:var(--ez-check--check--disabled--background-color)}input.switch-mode{flex-shrink:0;-webkit-appearance:none;appearance:none;position:relative;outline:none;cursor:pointer;border-radius:20px;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);transition:background-color var(--transition);width:var(--ez-switch--slider--width);height:var(--ez-switch--slider--height);background-color:var(--ez-switch--background-color)}input.switch-mode:disabled{background-color:var(--ez-switch--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked:disabled{background-color:var(--ez-switch--disabled--checked--background-color)}input.switch-mode::after{content:\"\";display:block;position:absolute;box-shadow:var(--shadow);transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(-2px) translateY(-4px);border-radius:50%;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);width:var(--ez-switch--pin--width);height:var(--ez-switch--pin--height);background-color:var(--ez-switch--pin--background-color)}input.switch-mode:disabled::after{background-color:var(--ez-switch--pin--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked{transition:background-color var(--transition), border var(--transition);background-color:var(--ez-switch--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode::before{display:block;content:\"\";display:block;position:absolute;border-radius:50%;opacity:0;width:var(--ez-switch--focus--width);height:var(--ez-switch--focus--height);top:calc((var(--ez-switch--slider--height) - var(--ez-switch--focus--height)) / 2);left:calc((var(--ez-switch--pin--width) - var(--ez-switch--focus--width) - 2px) / 2);background-color:var(--ez-switch--pin--focus--background-color)}input.switch-mode:focus::before{opacity:0.24;transition:opacity var(--transition)}input.switch-mode:checked:focus::before{background-color:var(--ez-switch--pin--checked--focus--background-color);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width) + 2px))}input.switch-mode:checked::after{transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width))) translateY(-4px);box-shadow:var(--shadow);background-color:var(--ez-switch--pin--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode:checked:disabled::after{background-color:var(--ez-switch--pin--checked--disabled--background-color)}.label{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-check--label--color);font-size:var(--ez-check--label--font-size);font-family:var(--ez-check--label--font-family);cursor:default;width:inherit}.label--disabled{color:var(--ez-check--label--disabled--color)}.label--padding{padding-left:var(--space--extra-small)}";
6
6
 
7
7
  const EzCheck = class {
8
8
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
- const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:var(--border--medium) var(--ez-label-chip__label__container--default--border-color--active)}.label__container--disabled:hover{cursor:default;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__content__icon{display:flex;cursor:pointer;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--row-reverse{flex-direction:row-reverse}.label__container .btn-close{padding:0px 0px 0px 8px}.label__container--row-reverse .btn-close{padding:0px 8px 0px 0px}.cursor-disable{cursor:default}ez-icon{--ez-icon--color:inherit}";
4
+ const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary);--ez-label-chip__label__container--default--margin-top:var(--space-extra-small, 3px)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active);margin-top:var(--ez-label-chip__label__container--default--margin-top)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:none;box-shadow:0 0 0 2px var(--ez-label-chip__label__container--default--border-color--active)}.label__container--disabled:hover{cursor:default;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__content__icon{display:flex;cursor:pointer;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--row-reverse{flex-direction:row-reverse}.label__container .btn-close{padding:0px 0px 0px 8px}.label__container--row-reverse .btn-close{padding:0px 8px 0px 0px}.cursor-disable{cursor:default}ez-icon{--ez-icon--color:inherit}";
5
5
 
6
6
  const EzChip = class {
7
7
  constructor(hostRef) {
@@ -5,7 +5,7 @@ import './DialogType-54a62731.js';
5
5
  import './CheckMode-bdb2ec19.js';
6
6
  import './ICustomRender-875b5a40.js';
7
7
 
8
- const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--subtitle--font-size:var(--text--medium, 14px);--ez-collapsible-box--subtitle--font-family:var(--font-pattern, 'Roboto');--ez-collapsible-box--subtitle--font-weight:var(--text-weight--medium, 400);--ez-collapsible-box--subtitle--color:var(--text--primary);--ez-collapsible-box--subtitle--margin-bottom:var(--space--medium, 12px);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsable-box--bordered{border:var(--border--small);border-color:var(--color--strokes);border-radius:var(--border--radius-medium);padding:var(--space--xs)}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:auto;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.subtitle-box__label{display:flex;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;font-family:var(--ez-collapsible-box--subtitle--font-family);font-size:var(--ez-collapsible-box--subtitle--font-size);font-weight:var(--ez-collapsible-box--subtitle--font-weight);color:var(--ez-collapsible-box--subtitle--color);margin-bottom:var(--ez-collapsible-box--subtitle--margin-bottom)}.subtitle-box__content{width:100%}.collapsible-box__label ez-icon{visibility:hidden;transition:2s all ease-in-out}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--left{margin-right:auto}.collapsible-box__title--right{margin-left:auto}.collapsible-box__title--center{margin-left:auto;margin-right:auto}.collapsible-box__title--stretch{justify-content:space-between;width:100%}.collapsible-box__title--no-margin{margin-bottom:0}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";
8
+ const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--subtitle--font-size:var(--text--medium, 14px);--ez-collapsible-box--subtitle--font-family:var(--font-pattern, 'Roboto');--ez-collapsible-box--subtitle--font-weight:var(--text-weight--medium, 400);--ez-collapsible-box--subtitle--color:var(--text--primary);--ez-collapsible-box--subtitle--margin-bottom:var(--space--medium, 12px);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsable-box--bordered{border:var(--border--small);border-color:var(--color--strokes);border-radius:var(--border--radius-medium);padding:var(--space--xs)}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:100%;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:block;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.subtitle-box__label{display:flex;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;font-family:var(--ez-collapsible-box--subtitle--font-family);font-size:var(--ez-collapsible-box--subtitle--font-size);font-weight:var(--ez-collapsible-box--subtitle--font-weight);color:var(--ez-collapsible-box--subtitle--color);margin-bottom:var(--ez-collapsible-box--subtitle--margin-bottom)}.subtitle-box__content{width:100%}.collapsible-box__label ez-icon{visibility:hidden;transition:2s all ease-in-out}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--left{margin-right:auto}.collapsible-box__title--right{margin-left:auto}.collapsible-box__title--center{margin-left:auto;margin-right:auto}.collapsible-box__title--stretch{justify-content:space-between;width:100%}.collapsible-box__title--no-margin{margin-bottom:0}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";
9
9
 
10
10
  const EzCollapsibleBox = class {
11
11
  constructor(hostRef) {
@@ -0,0 +1,381 @@
1
+ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-baa5e267.js';
2
+ import { ElementIDUtils, ObjectUtils, HTMLBuilder, StringUtils } from '@sankhyalabs/core';
3
+ import { C as CustomEditorSource } from './ICustomRender-875b5a40.js';
4
+ import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
5
+ import './DialogType-54a62731.js';
6
+ import './CheckMode-bdb2ec19.js';
7
+
8
+ 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;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)}}";
9
+
10
+ const EzComboBoxList = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.showLoading = undefined;
14
+ this.visibleOptions = undefined;
15
+ this.textEmptyList = "Nenhum resultado encontrado";
16
+ this.showOptionValue = undefined;
17
+ this.preSelection = undefined;
18
+ this.maxWidth = undefined;
19
+ this.width = undefined;
20
+ this.onOptionSelect = undefined;
21
+ this.onOptionHover = undefined;
22
+ }
23
+ /**
24
+ * Move a seleção para a próxima opção na lista.
25
+ */
26
+ async nextOption() {
27
+ var _a, _b;
28
+ if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
29
+ return;
30
+ const isAtLastOption = this.preSelection !== undefined && this.preSelection >= this.visibleOptions.length - 1;
31
+ if (!isAtLastOption) {
32
+ this.preSelection = this.preSelection === undefined ? 0 : this.preSelection + 1;
33
+ this.scrollToOption(this.visibleOptions[this.preSelection]);
34
+ (_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
35
+ }
36
+ }
37
+ /**
38
+ * Move a seleção para a opção anterior na lista, sem ultrapassar o início.
39
+ */
40
+ async previousOption() {
41
+ var _a, _b;
42
+ if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
43
+ return;
44
+ const isAtFirstOption = this.preSelection !== undefined && this.preSelection <= 0;
45
+ if (!isAtFirstOption) {
46
+ this.preSelection = this.preSelection === undefined ? this.visibleOptions.length - 1 : this.preSelection - 1;
47
+ this.scrollToOption(this.visibleOptions[this.preSelection]);
48
+ (_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
49
+ }
50
+ }
51
+ /**
52
+ * Seleciona a opção atualmente pré-selecionada.
53
+ */
54
+ async selectCurrentOption() {
55
+ if (this.preSelection !== undefined) {
56
+ this.onOptionSelect(this.visibleOptions[this.preSelection]);
57
+ this.preSelection = undefined;
58
+ }
59
+ }
60
+ /**
61
+ * Observa mudanças na propriedade `width` e ajusta a largura da lista.
62
+ *
63
+ * @param newValue O novo valor da largura.
64
+ * @param oldValue O valor anterior da largura.
65
+ */
66
+ observeWidth(newValue, oldValue) {
67
+ if (newValue === oldValue)
68
+ return;
69
+ if (!this._listWrapper)
70
+ return;
71
+ this._listWrapper.style.width = `${this.width}px`;
72
+ }
73
+ /**
74
+ * Observa mudanças na propriedade `maxWidth` e ajusta a largura máxima da lista.
75
+ *
76
+ * @param newValue O novo valor da largura máxima.
77
+ * @param oldValue O valor anterior da largura máxima.
78
+ */
79
+ observeMaxWidth(newValue, oldValue) {
80
+ if (newValue === oldValue)
81
+ return;
82
+ if (!this._listWrapper)
83
+ return;
84
+ this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
85
+ }
86
+ /**
87
+ * Gerencia a navegação por teclado na lista do combo box.
88
+ *
89
+ * - `ArrowDown`: Move para a próxima opção.
90
+ * - `ArrowUp`: Move para a opção anterior.
91
+ * - `Enter`: Seleciona a opção atual.
92
+ * - `Escape`: Limpa a pré-seleção.
93
+ *
94
+ * @param event O evento de teclado.
95
+ */
96
+ handleKeyDown(event) {
97
+ switch (event.key) {
98
+ case "ArrowDown":
99
+ event.preventDefault();
100
+ event.stopPropagation();
101
+ this.nextOption();
102
+ break;
103
+ case "ArrowUp":
104
+ event.preventDefault();
105
+ event.stopPropagation();
106
+ this.previousOption();
107
+ break;
108
+ case "Enter":
109
+ this.selectCurrentOption();
110
+ break;
111
+ case "Escape":
112
+ this.preSelection = undefined;
113
+ break;
114
+ }
115
+ }
116
+ buildItem(opt, index) {
117
+ const widthValue = this.showOptionValue && this.maxWidth > 0 ? `${this.maxWidth}px` : '';
118
+ opt.label = opt.label || opt.value;
119
+ return h("li", { tabIndex: 1, class: index === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}_${index}`, key: `item_${opt.value}_${index}`, onMouseDown: () => this.onOptionSelect(opt), onMouseOver: () => this.preSelection = index }, this.showOptionValue
120
+ ? h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
121
+ : undefined, h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
122
+ }
123
+ scrollToOption(opt) {
124
+ if (!(opt === null || opt === void 0 ? void 0 : opt.value) || !this._optionsList)
125
+ return;
126
+ const index = this.visibleOptions.indexOf(opt);
127
+ if (index === -1)
128
+ return;
129
+ const liElem = this._optionsList.querySelector(`li#item_${CSS.escape(opt.value)}_${CSS.escape(String(index))}`);
130
+ if (liElem) {
131
+ liElem.scrollIntoView({
132
+ behavior: "smooth",
133
+ block: "nearest"
134
+ });
135
+ }
136
+ }
137
+ componentDidLoad() {
138
+ this._listWrapper.style.width = `${this.width}px`;
139
+ this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
140
+ }
141
+ componentDidRender() {
142
+ var _a;
143
+ (_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
144
+ ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
145
+ });
146
+ }
147
+ render() {
148
+ return (h("section", { class: "list-container" }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading && this.visibleOptions.length === 0 && (h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList))), this.showLoading && (h("div", { class: "message" }, h("div", { class: "message__loading" }))), this.showOptionValue && (h("span", { class: "item__value item__value--hidden" })), !this.showLoading && this.visibleOptions.length > 0 &&
149
+ this.visibleOptions.map((opt, index) => this.buildItem(opt, index))))));
150
+ }
151
+ static get watchers() { return {
152
+ "width": ["observeWidth"],
153
+ "maxWidth": ["observeMaxWidth"]
154
+ }; }
155
+ };
156
+ EzComboBoxList.style = ezComboBoxListCss;
157
+
158
+ const EzCustomFormInput = class {
159
+ constructor(hostRef) {
160
+ registerInstance(this, hostRef);
161
+ this.gui = undefined;
162
+ this.customEditor = undefined;
163
+ this.formViewField = undefined;
164
+ this.value = undefined;
165
+ this.detailContext = undefined;
166
+ this.builderFallback = undefined;
167
+ this.selectedRecord = undefined;
168
+ }
169
+ /**
170
+ * Aplica foco no campo.
171
+ */
172
+ async setFocus() {
173
+ var _a, _b;
174
+ (_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setFocus"]) === null || _b === void 0 ? void 0 : _b.call(_a);
175
+ }
176
+ /**
177
+ * Remove o foco do campo.
178
+ */
179
+ async setBlur() {
180
+ var _a, _b;
181
+ (_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setBlur"]) === null || _b === void 0 ? void 0 : _b.call(_a);
182
+ }
183
+ /**
184
+ * Retorna se o conteúdo é inválido.
185
+ */
186
+ async isInvalid() {
187
+ var _a, _b;
188
+ return ((_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["isInvalid"]) === null || _b === void 0 ? void 0 : _b.call(_a)) || false;
189
+ }
190
+ watchValue() {
191
+ this.handleValue(this.gui);
192
+ }
193
+ watchCustomEditor() {
194
+ this.getContent();
195
+ }
196
+ watchFormViewField(newValue, oldValue) {
197
+ if (!ObjectUtils.equals(newValue, oldValue))
198
+ this.getContent();
199
+ }
200
+ watchDetailContext() {
201
+ this.getContent();
202
+ }
203
+ watchBuilderFallback() {
204
+ this.getContent();
205
+ }
206
+ watchSelectedRecord(newValue, oldValue) {
207
+ const newRecordId = newValue === null || newValue === void 0 ? void 0 : newValue['__record__id__'];
208
+ const oldRecordId = oldValue === null || oldValue === void 0 ? void 0 : oldValue['__record__id__'];
209
+ if (newRecordId !== oldRecordId) {
210
+ this.getContent();
211
+ }
212
+ }
213
+ getContent() {
214
+ var _a, _b, _c, _d, _e;
215
+ const fieldProps = new Map();
216
+ for (const prop in this.formViewField.props) {
217
+ fieldProps.set(prop, this.formViewField.props[prop]);
218
+ }
219
+ const params = {
220
+ value: this.value,
221
+ name: this.formViewField.name,
222
+ currentEditor: this.builderFallback(this.formViewField),
223
+ setValue: (value) => this.setValue(value),
224
+ getValue: this.getValue,
225
+ record: this.selectedRecord,
226
+ editorMetadata: {
227
+ label: this.formViewField.label,
228
+ hidden: ((_a = this.formViewField.props) === null || _a === void 0 ? void 0 : _a.visible) === false,
229
+ userInterface: this.formViewField.userInterface,
230
+ options: (_b = this.formViewField.props) === null || _b === void 0 ? void 0 : _b.options,
231
+ props: this.formViewField.props ? fieldProps : undefined,
232
+ optionLoader: this.formViewField.optionLoader
233
+ },
234
+ source: CustomEditorSource.FORM,
235
+ detailContext: this.detailContext
236
+ };
237
+ let gui = this.customEditor.getEditorElement(params);
238
+ if (!gui) {
239
+ gui = this.builderFallback(this.formViewField);
240
+ this.handleValue(gui);
241
+ this.gui = gui;
242
+ return;
243
+ }
244
+ if (!(gui instanceof HTMLElement) && typeof gui !== 'string') {
245
+ this.handleValue(gui);
246
+ this.gui = gui;
247
+ return;
248
+ }
249
+ if (typeof gui === 'string') {
250
+ gui = HTMLBuilder.parseElement(gui);
251
+ }
252
+ 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 : '';
253
+ gui.setAttribute('value', value);
254
+ this.gui = h("div", { key: StringUtils.generateUUID(), ref: el => el && el.appendChild(gui) });
255
+ }
256
+ setValue(value) {
257
+ this.value = value;
258
+ }
259
+ getValue() {
260
+ return this.value;
261
+ }
262
+ handleValue(gui) {
263
+ var _a;
264
+ //@ts-ignore
265
+ (_a = gui.$children$) === null || _a === void 0 ? void 0 : _a.forEach((child) => {
266
+ child.$attrs$.value = this.value;
267
+ });
268
+ }
269
+ componentWillLoad() {
270
+ this.getContent();
271
+ }
272
+ render() {
273
+ return (h(Host, null, this.gui));
274
+ }
275
+ static get watchers() { return {
276
+ "value": ["watchValue"],
277
+ "customEditor": ["watchCustomEditor"],
278
+ "formViewField": ["watchFormViewField"],
279
+ "detailContext": ["watchDetailContext"],
280
+ "builderFallback": ["watchBuilderFallback"],
281
+ "selectedRecord": ["watchSelectedRecord"]
282
+ }; }
283
+ };
284
+
285
+ 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}";
286
+
287
+ const EzTextEdit = class {
288
+ constructor(hostRef) {
289
+ registerInstance(this, hostRef);
290
+ this.saveEdition = createEvent(this, "saveEdition", 7);
291
+ this.cancelEdition = createEvent(this, "cancelEdition", 7);
292
+ this._newValue = undefined;
293
+ this.value = undefined;
294
+ this.styled = undefined;
295
+ }
296
+ /**
297
+ * Aplica foco no campo.
298
+ */
299
+ async applyFocusSelect() {
300
+ this.calcSizeInput(this.value, true);
301
+ }
302
+ calcSizeInput(value, setSelect = false) {
303
+ var _a, _b;
304
+ const textInput = (_b = (_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
305
+ if (textInput != undefined) {
306
+ const sizeText = this.getWidthValue(value);
307
+ textInput.style.width = sizeText + 'px';
308
+ if (setSelect) {
309
+ setTimeout(() => textInput.select(), 100);
310
+ }
311
+ }
312
+ }
313
+ getWidthValue(value) {
314
+ if (this._valueBasis != undefined) {
315
+ const span = this._valueBasis;
316
+ if (value != undefined) {
317
+ const cursorSpace = 2;
318
+ span.innerHTML = value;
319
+ return span.clientWidth > 0 ? (span.clientWidth + cursorSpace) : cursorSpace;
320
+ }
321
+ else {
322
+ span.innerHTML = "";
323
+ }
324
+ }
325
+ return 0;
326
+ }
327
+ setStyledInput() {
328
+ var _a, _b;
329
+ let fontSize = "";
330
+ let fontWeight = "";
331
+ let fontFamily = "";
332
+ if (this.styled != undefined) {
333
+ fontSize = this.styled.fontSize;
334
+ fontWeight = this.styled.fontWeight;
335
+ fontFamily = this.styled.fontFamily;
336
+ }
337
+ const textInput = (_b = (_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
338
+ if (textInput != undefined) {
339
+ textInput.style.fontSize = fontSize;
340
+ textInput.style.fontWeight = fontWeight;
341
+ textInput.style.fontFamily = fontFamily;
342
+ }
343
+ const span = this._valueBasis;
344
+ if (span != undefined) {
345
+ span.style.fontSize = fontSize;
346
+ span.style.fontWeight = fontWeight;
347
+ span.style.fontFamily = fontFamily;
348
+ }
349
+ }
350
+ handleSaveEdition() {
351
+ if (!this._newValue) {
352
+ ApplicationUtils.alert("Aviso", "Não é possível salvar um campo em branco.").then(() => {
353
+ this.setNewValue(this.value, true);
354
+ });
355
+ return;
356
+ }
357
+ this.saveEdition.emit({ value: this.value, newValue: this._newValue });
358
+ }
359
+ handleCancelEdition() {
360
+ this.cancelEdition.emit();
361
+ }
362
+ setNewValue(value, setSelect = false) {
363
+ this._newValue = value;
364
+ this.calcSizeInput(this._newValue, setSelect);
365
+ }
366
+ componentDidLoad() {
367
+ this.applyFocusSelect();
368
+ this.setNewValue(this.value);
369
+ }
370
+ componentDidRender() {
371
+ this.setStyledInput();
372
+ }
373
+ render() {
374
+ ElementIDUtils.addIDInfoIfNotExists(this._element, 'input');
375
+ return (h(Host, null, h("span", { class: "text-edit__hidden-value", ref: elem => this._valueBasis = elem }), h("ez-text-input", { "data-element-id": 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 }), h("ez-button", { class: "text-edit__icon-check", mode: "icon", iconName: "check", size: "small", onClick: () => { this.handleSaveEdition(); } }), h("ez-button", { class: "text-edit__icon-close", mode: "icon", iconName: "close", size: "small", onClick: () => { this.handleCancelEdition(); } })));
376
+ }
377
+ get _element() { return getElement(this); }
378
+ };
379
+ EzTextEdit.style = ezTextEditCss;
380
+
381
+ export { EzComboBoxList as ez_combo_box_list, EzCustomFormInput as ez_custom_form_input, EzTextEdit as ez_text_edit };