@sankhyalabs/ezui 5.22.0-dev.14 → 5.22.0-dev.141

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 (443) hide show
  1. package/dist/cjs/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
  2. package/dist/cjs/FocusResolver-885f2173.js +35 -0
  3. package/dist/cjs/FormLayout-18853e70.js +27 -0
  4. package/dist/cjs/{constants-2714478b.js → constants-569271bc.js} +4 -0
  5. package/dist/cjs/ez-actions-button.cjs.entry.js +6 -5
  6. package/dist/cjs/ez-avatar.cjs.entry.js +50 -0
  7. package/dist/cjs/ez-badge.cjs.entry.js +14 -2
  8. package/dist/cjs/ez-button.cjs.entry.js +11 -5
  9. package/dist/cjs/ez-card-item_2.cjs.entry.js +267 -0
  10. package/dist/cjs/ez-chart.cjs.entry.js +3 -3
  11. package/dist/cjs/ez-check.cjs.entry.js +18 -10
  12. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
  14. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +387 -0
  15. package/dist/cjs/ez-combo-box.cjs.entry.js +80 -158
  16. package/dist/cjs/ez-date-input.cjs.entry.js +16 -19
  17. package/dist/cjs/ez-date-time-input.cjs.entry.js +15 -20
  18. package/dist/cjs/ez-dialog.cjs.entry.js +18 -8
  19. package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
  20. package/dist/cjs/ez-dropdown.cjs.entry.js +14 -8
  21. package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
  22. package/dist/cjs/ez-form-view.cjs.entry.js +41 -27
  23. package/dist/cjs/ez-form.cjs.entry.js +89 -327
  24. package/dist/cjs/ez-grid.cjs.entry.js +15290 -69794
  25. package/dist/cjs/ez-icon.cjs.entry.js +12 -6
  26. package/dist/cjs/ez-list.cjs.entry.js +258 -211
  27. package/dist/cjs/ez-modal-container.cjs.entry.js +7 -3
  28. package/dist/cjs/ez-modal.cjs.entry.js +17 -4
  29. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
  30. package/dist/cjs/ez-number-input.cjs.entry.js +16 -3
  31. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +238 -0
  32. package/dist/cjs/ez-popup.cjs.entry.js +29 -3
  33. package/dist/cjs/ez-scroller_2.cjs.entry.js +3 -3
  34. package/dist/cjs/ez-search-plus.cjs.entry.js +397 -0
  35. package/dist/cjs/ez-search-result-list.cjs.entry.js +97 -0
  36. package/dist/cjs/ez-search.cjs.entry.js +134 -191
  37. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-skeleton.cjs.entry.js +118 -36
  39. package/dist/cjs/ez-split-button.cjs.entry.js +16 -7
  40. package/dist/cjs/ez-split-item.cjs.entry.js +7 -4
  41. package/dist/cjs/ez-split-panel.cjs.entry.js +68 -6
  42. package/dist/cjs/ez-text-area.cjs.entry.js +91 -8
  43. package/dist/cjs/ez-text-input.cjs.entry.js +150 -31
  44. package/dist/cjs/ez-time-input.cjs.entry.js +9 -2
  45. package/dist/cjs/ez-tooltip.cjs.entry.js +135 -0
  46. package/dist/cjs/ez-tree.cjs.entry.js +5 -4
  47. package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
  48. package/dist/cjs/ezui.cjs.js +1 -1
  49. package/dist/cjs/filter-column.cjs.entry.js +24 -52
  50. package/dist/cjs/floating-ui.dom.esm-017acce4.js +1404 -0
  51. package/dist/cjs/index-a7b0c73d.js +36 -8
  52. package/dist/cjs/loader.cjs.js +1 -1
  53. package/dist/cjs/search-column-27d1f72f.js +505 -0
  54. package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
  55. package/dist/collection/collection-manifest.json +21 -2
  56. package/dist/collection/components/ez-actions-button/ez-actions-button.css +2 -0
  57. package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
  58. package/dist/collection/components/ez-avatar/ez-avatar.css +139 -0
  59. package/dist/collection/components/ez-avatar/ez-avatar.js +143 -0
  60. package/dist/collection/components/ez-badge/ez-badge.css +12 -1
  61. package/dist/collection/components/ez-badge/ez-badge.js +31 -1
  62. package/dist/collection/components/ez-button/ez-button.css +24 -14
  63. package/dist/collection/components/ez-button/ez-button.js +12 -6
  64. package/dist/collection/components/ez-card-item/ez-card-item.css +58 -10
  65. package/dist/collection/components/ez-card-item/ez-card-item.js +30 -3
  66. package/dist/collection/components/ez-chart/ez-chart.js +2 -2
  67. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js +1 -0
  68. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js +3 -3
  69. package/dist/collection/components/ez-check/ez-check.css +10 -6
  70. package/dist/collection/components/ez-check/ez-check.js +34 -9
  71. package/dist/collection/components/ez-chip/ez-chip.css +5 -1
  72. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -1
  73. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
  74. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +426 -0
  75. package/dist/collection/components/ez-combo-box/ez-combo-box.css +8 -246
  76. package/dist/collection/components/ez-combo-box/ez-combo-box.js +141 -167
  77. package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
  78. package/dist/collection/components/ez-date-input/ez-date-input.js +58 -19
  79. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
  80. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +57 -20
  81. package/dist/collection/components/ez-dialog/ez-dialog.css +27 -24
  82. package/dist/collection/components/ez-dialog/ez-dialog.js +18 -17
  83. package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
  84. package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
  85. package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
  86. package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
  87. package/dist/collection/components/ez-filter-input/ez-filter-input.css +1 -1
  88. package/dist/collection/components/ez-filter-input/ez-filter-input.js +35 -4
  89. package/dist/collection/components/ez-form/ez-form.js +125 -4
  90. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +49 -6
  91. package/dist/collection/components/ez-form-view/ez-form-view.css +13 -2
  92. package/dist/collection/components/ez-form-view/ez-form-view.js +21 -2
  93. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +5 -2
  94. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
  95. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
  96. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
  97. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  98. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
  99. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
  100. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +6 -0
  101. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
  102. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
  103. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +443 -76
  104. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +172 -33
  105. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
  106. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +248 -43
  107. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +16 -0
  108. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
  109. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +10 -0
  110. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
  111. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
  112. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
  113. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +8 -1
  114. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js +15 -0
  115. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
  116. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +2 -0
  117. package/dist/collection/components/ez-grid/ez-grid.css +107 -10
  118. package/dist/collection/components/ez-grid/ez-grid.js +518 -23
  119. package/dist/collection/components/ez-grid/interfaces/IGridMode.js +1 -0
  120. package/dist/collection/components/ez-grid/interfaces/index.js +1 -0
  121. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
  122. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +23 -51
  123. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js +7 -54
  124. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +20 -4
  125. package/dist/collection/components/ez-icon/ez-icon.css +156 -149
  126. package/dist/collection/components/ez-icon/ez-icon.js +28 -5
  127. package/dist/collection/components/ez-list/ez-list.css +6 -4
  128. package/dist/collection/components/ez-list/ez-list.js +301 -212
  129. package/dist/collection/components/ez-list/ezListHelper.js +85 -0
  130. package/dist/collection/components/ez-modal/ez-modal.css +7 -2
  131. package/dist/collection/components/ez-modal/ez-modal.js +18 -5
  132. package/dist/collection/components/ez-modal-container/ez-modal-container.css +3 -1
  133. package/dist/collection/components/ez-modal-container/ez-modal-container.js +6 -2
  134. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +3 -3
  135. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +1 -1
  136. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js +1 -0
  137. package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
  138. package/dist/collection/components/ez-number-input/ez-number-input.js +67 -1
  139. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +3 -0
  140. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +434 -0
  141. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
  142. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +524 -0
  143. package/dist/collection/components/ez-popup/ez-popup.css +8 -3
  144. package/dist/collection/components/ez-popup/ez-popup.js +48 -4
  145. package/dist/collection/components/ez-scroller/ez-scroller.css +4 -0
  146. package/dist/collection/components/ez-search/ez-search.css +2 -210
  147. package/dist/collection/components/ez-search/ez-search.js +234 -204
  148. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
  149. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +318 -0
  150. package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
  151. package/dist/collection/components/ez-search-plus/ez-search-plus.css +373 -0
  152. package/dist/collection/components/ez-search-plus/ez-search-plus.js +960 -0
  153. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css +221 -0
  154. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +278 -0
  155. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +3 -0
  156. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
  157. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +4 -1
  158. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +25 -1
  159. package/dist/collection/components/ez-skeleton/ez-skeleton.css +140 -78
  160. package/dist/collection/components/ez-skeleton/ez-skeleton.js +210 -46
  161. package/dist/collection/components/ez-split-button/ez-split-button.css +53 -15
  162. package/dist/collection/components/ez-split-button/ez-split-button.js +90 -13
  163. package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
  164. package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
  165. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
  166. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +14 -2
  167. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
  168. package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
  169. package/dist/collection/components/ez-text-area/ez-text-area.js +151 -6
  170. package/dist/collection/components/ez-text-input/ez-text-input.css +133 -93
  171. package/dist/collection/components/ez-text-input/ez-text-input.js +231 -29
  172. package/dist/collection/components/ez-time-input/ez-time-input.js +43 -1
  173. package/dist/collection/components/ez-tooltip/ez-tooltip.css +62 -0
  174. package/dist/collection/components/ez-tooltip/ez-tooltip.js +310 -0
  175. package/dist/collection/components/ez-tree/ez-tree.js +21 -1
  176. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  177. package/dist/collection/sw.js +46 -0
  178. package/dist/collection/utils/CSSVarsUtils.js +1 -0
  179. package/dist/collection/utils/FocusResolver.js +31 -0
  180. package/dist/collection/utils/constants.js +2 -0
  181. package/dist/collection/utils/form/DataBinder.js +65 -21
  182. package/dist/collection/utils/form/FormMetadata.js +2 -1
  183. package/dist/collection/utils/form/interfaces/FormLayout.js +5 -0
  184. package/dist/collection/utils/form/interfaces/index.js +1 -1
  185. package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
  186. package/dist/collection/utils/index.js +3 -0
  187. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
  188. package/dist/collection/utils/search/types.js +7 -0
  189. package/dist/collection/utils/searchColumn/search-column.js +35 -0
  190. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
  191. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
  192. package/dist/custom-elements/index.d.ts +54 -0
  193. package/dist/custom-elements/index.js +20072 -70949
  194. package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
  195. package/dist/esm/FocusResolver-1ccbf850.js +33 -0
  196. package/dist/esm/FormLayout-071d324c.js +27 -0
  197. package/dist/esm/constants-b036528f.js +7 -0
  198. package/dist/esm/ez-actions-button.entry.js +6 -5
  199. package/dist/esm/ez-avatar.entry.js +46 -0
  200. package/dist/esm/ez-badge.entry.js +14 -2
  201. package/dist/esm/ez-button.entry.js +11 -5
  202. package/dist/esm/ez-card-item_2.entry.js +262 -0
  203. package/dist/esm/ez-chart.entry.js +3 -3
  204. package/dist/esm/ez-check.entry.js +18 -10
  205. package/dist/esm/ez-chip.entry.js +1 -1
  206. package/dist/esm/ez-collapsible-box.entry.js +2 -2
  207. package/dist/esm/ez-combo-box-list_3.entry.js +381 -0
  208. package/dist/esm/ez-combo-box.entry.js +81 -159
  209. package/dist/esm/ez-date-input.entry.js +16 -19
  210. package/dist/esm/ez-date-time-input.entry.js +15 -20
  211. package/dist/esm/ez-dialog.entry.js +19 -9
  212. package/dist/esm/ez-double-list.entry.js +283 -0
  213. package/dist/esm/ez-dropdown.entry.js +14 -8
  214. package/dist/esm/ez-filter-input.entry.js +125 -0
  215. package/dist/esm/ez-form-view.entry.js +42 -28
  216. package/dist/esm/ez-form.entry.js +88 -326
  217. package/dist/esm/ez-grid.entry.js +15289 -69793
  218. package/dist/esm/ez-icon.entry.js +12 -6
  219. package/dist/esm/ez-list.entry.js +258 -211
  220. package/dist/esm/ez-modal-container.entry.js +7 -3
  221. package/dist/esm/ez-modal.entry.js +17 -4
  222. package/dist/esm/ez-multi-selection-list.entry.js +2 -2
  223. package/dist/esm/ez-number-input.entry.js +16 -3
  224. package/dist/esm/ez-popover-plus_3.entry.js +232 -0
  225. package/dist/esm/ez-popup.entry.js +29 -3
  226. package/dist/esm/ez-scroller_2.entry.js +3 -3
  227. package/dist/esm/ez-search-plus.entry.js +393 -0
  228. package/dist/esm/ez-search-result-list.entry.js +93 -0
  229. package/dist/esm/ez-search.entry.js +135 -192
  230. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  231. package/dist/esm/ez-skeleton.entry.js +118 -36
  232. package/dist/esm/ez-split-button.entry.js +16 -7
  233. package/dist/esm/ez-split-item.entry.js +7 -4
  234. package/dist/esm/ez-split-panel.entry.js +69 -7
  235. package/dist/esm/ez-text-area.entry.js +91 -8
  236. package/dist/esm/ez-text-input.entry.js +150 -31
  237. package/dist/esm/ez-time-input.entry.js +9 -2
  238. package/dist/esm/ez-tooltip.entry.js +131 -0
  239. package/dist/esm/ez-tree.entry.js +5 -4
  240. package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
  241. package/dist/esm/ezui.js +1 -1
  242. package/dist/esm/filter-column.entry.js +24 -52
  243. package/dist/esm/floating-ui.dom.esm-5d3da819.js +1398 -0
  244. package/dist/esm/index-baa5e267.js +36 -8
  245. package/dist/esm/loader.js +1 -1
  246. package/dist/esm/search-column-e609d513.js +495 -0
  247. package/dist/esm/searchFormatters-8229207e.js +20 -0
  248. package/dist/ezui/ezui.esm.js +1 -1
  249. package/dist/ezui/p-07894c4a.entry.js +1 -0
  250. package/dist/ezui/p-0d9856a4.entry.js +1 -0
  251. package/dist/ezui/p-1bcfd88c.entry.js +1 -0
  252. package/dist/ezui/p-1eb34cad.entry.js +1 -0
  253. package/dist/ezui/p-20c024f7.entry.js +1 -0
  254. package/dist/ezui/p-26685c50.entry.js +1 -0
  255. package/dist/ezui/p-288631d1.entry.js +1 -0
  256. package/dist/ezui/p-2b42abbb.entry.js +1 -0
  257. package/dist/ezui/p-2b4df33d.entry.js +1 -0
  258. package/dist/ezui/p-30ffb9ed.js +1 -0
  259. package/dist/ezui/p-33326ac5.entry.js +1 -0
  260. package/dist/ezui/p-341da682.entry.js +1 -0
  261. package/dist/ezui/p-35115d5d.entry.js +1 -0
  262. package/dist/ezui/p-3ba9565c.entry.js +1 -0
  263. package/dist/ezui/p-40a60148.js +1 -0
  264. package/dist/ezui/p-496f7832.entry.js +1 -0
  265. package/dist/ezui/p-4b67138e.entry.js +1 -0
  266. package/dist/ezui/p-4bd6dd6a.entry.js +1 -0
  267. package/dist/ezui/p-4d30b703.entry.js +1 -0
  268. package/dist/ezui/p-57363cfd.entry.js +1 -0
  269. package/dist/ezui/p-58f69d24.entry.js +1 -0
  270. package/dist/ezui/{p-84e439b9.entry.js → p-5dde9df3.entry.js} +1 -1
  271. package/dist/ezui/p-5eea9886.js +1 -0
  272. package/dist/ezui/p-69937816.entry.js +1 -0
  273. package/dist/ezui/p-7019f782.entry.js +1 -0
  274. package/dist/ezui/p-79044c3e.entry.js +1 -0
  275. package/dist/ezui/p-7e677b7b.entry.js +1 -0
  276. package/dist/ezui/p-7eae6986.entry.js +1 -0
  277. package/dist/ezui/p-80dfc50b.js +1 -0
  278. package/dist/ezui/p-9478b13b.entry.js +1 -0
  279. package/dist/ezui/p-9567b31a.entry.js +1 -0
  280. package/dist/ezui/p-97c7cf51.entry.js +1 -0
  281. package/dist/ezui/p-998afb6a.entry.js +1 -0
  282. package/dist/ezui/p-9c5cd3b2.entry.js +1 -0
  283. package/dist/ezui/p-a148e994.entry.js +1 -0
  284. package/dist/ezui/p-a3bf8cf1.entry.js +1 -0
  285. package/dist/ezui/p-b38411b4.entry.js +309 -0
  286. package/dist/ezui/p-b81881ac.entry.js +1 -0
  287. package/dist/ezui/p-bac0f920.entry.js +1 -0
  288. package/dist/ezui/p-bff24a7b.js +1 -0
  289. package/dist/ezui/p-cb75eb46.entry.js +1 -0
  290. package/dist/ezui/{p-5b205c80.entry.js → p-d47dabdf.entry.js} +1 -1
  291. package/dist/ezui/p-da1b4a38.entry.js +1 -0
  292. package/dist/ezui/p-dc628ed3.js +1 -0
  293. package/dist/ezui/p-dc73e1fe.entry.js +1 -0
  294. package/dist/ezui/{p-17be134a.entry.js → p-e06a9886.entry.js} +1 -1
  295. package/dist/ezui/p-e07e4671.js +1 -0
  296. package/dist/ezui/p-e6a9041d.entry.js +1 -0
  297. package/dist/ezui/p-e75c7a23.entry.js +1 -0
  298. package/dist/ezui/p-ec7db713.js +1 -0
  299. package/dist/ezui/p-fa6732f2.entry.js +1 -0
  300. package/dist/types/components/ez-avatar/ez-avatar.d.ts +24 -0
  301. package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
  302. package/dist/types/components/ez-button/ez-button.d.ts +2 -1
  303. package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
  304. package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
  305. package/dist/types/components/ez-chart/interfaces/ChartAxis.d.ts +2 -0
  306. package/dist/types/components/ez-chart/interfaces/ChartTypeValue.d.ts +1 -0
  307. package/dist/types/components/ez-check/ez-check.d.ts +7 -2
  308. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
  309. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +19 -15
  310. package/dist/types/components/ez-date-input/ez-date-input.d.ts +12 -3
  311. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +12 -3
  312. package/dist/types/components/ez-dialog/ez-dialog.d.ts +3 -1
  313. package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
  314. package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
  315. package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +4 -0
  316. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +4 -4
  317. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +6 -1
  318. package/dist/types/components/ez-form/ez-form.d.ts +23 -1
  319. package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +7 -1
  320. package/dist/types/components/ez-form-view/ez-form-view.d.ts +4 -0
  321. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
  322. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -0
  323. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
  324. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +84 -5
  325. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +47 -7
  326. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +26 -2
  327. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +34 -7
  328. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +4 -1
  329. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
  330. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  331. package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
  332. package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
  333. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +2 -1
  334. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
  335. package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +1 -0
  336. package/dist/types/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.d.ts +3 -0
  337. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
  338. package/dist/types/components/ez-grid/ez-grid.d.ts +80 -2
  339. package/dist/types/components/ez-grid/interfaces/IGridMode.d.ts +1 -0
  340. package/dist/types/components/ez-grid/interfaces/index.d.ts +1 -0
  341. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +1 -11
  342. package/dist/types/components/ez-grid/utils/ColumnFilterManager.d.ts +1 -1
  343. package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +3 -0
  344. package/dist/types/components/ez-icon/ez-icon.d.ts +5 -0
  345. package/dist/types/components/ez-list/ez-list.d.ts +23 -2
  346. package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
  347. package/dist/types/components/ez-modal/ez-modal.d.ts +4 -1
  348. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  349. package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -1
  350. package/dist/types/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.d.ts +3 -0
  351. package/dist/types/components/ez-number-input/ez-number-input.d.ts +12 -0
  352. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +74 -0
  353. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +89 -0
  354. package/dist/types/components/ez-popup/ez-popup.d.ts +10 -1
  355. package/dist/types/components/ez-search/ez-search.d.ts +37 -18
  356. package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +29 -0
  357. package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
  358. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +186 -0
  359. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +26 -0
  360. package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +55 -1
  361. package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +50 -22
  362. package/dist/types/components/ez-split-button/ez-split-button.d.ts +15 -3
  363. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
  364. package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
  365. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
  366. package/dist/types/components/ez-text-area/ez-text-area.d.ts +25 -0
  367. package/dist/types/components/ez-text-input/ez-text-input.d.ts +37 -3
  368. package/dist/types/components/ez-time-input/ez-time-input.d.ts +8 -0
  369. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +57 -0
  370. package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
  371. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  372. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  373. package/dist/types/components.d.ts +1390 -54
  374. package/dist/types/utils/FocusResolver.d.ts +5 -0
  375. package/dist/types/utils/constants.d.ts +2 -0
  376. package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +2 -0
  377. package/dist/types/utils/form/DataBinder.d.ts +7 -2
  378. package/dist/types/utils/form/interfaces/FormLayout.d.ts +4 -0
  379. package/dist/types/utils/form/interfaces/index.d.ts +1 -0
  380. package/dist/types/utils/index.d.ts +3 -0
  381. package/dist/types/utils/search/types.d.ts +12 -0
  382. package/dist/types/utils/searchColumn/search-column.d.ts +9 -0
  383. package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
  384. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
  385. package/package.json +16 -7
  386. package/react/components.d.ts +63 -54
  387. package/react/components.js +9 -0
  388. package/react/components.js.map +1 -1
  389. package/react/react-component-lib/createComponent.d.ts +1 -1
  390. package/react/react-component-lib/createComponent.js.map +1 -1
  391. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  392. package/react/react-component-lib/interfaces.js +1 -0
  393. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  394. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  395. package/react/react-component-lib/utils/dev.js.map +1 -1
  396. package/react/react-component-lib/utils/index.d.ts +2 -2
  397. package/react/react-component-lib/utils/index.js.map +1 -1
  398. package/dist/cjs/ICustomRender-6fafffce.js +0 -13
  399. package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
  400. package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -183
  401. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -206
  402. package/dist/esm/ICustomRender-875b5a40.js +0 -13
  403. package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
  404. package/dist/esm/constants-4e0d35b7.js +0 -5
  405. package/dist/esm/ez-card-item_3.entry.js +0 -177
  406. package/dist/esm/ez-custom-form-input_2.entry.js +0 -201
  407. package/dist/ezui/p-04f24913.js +0 -1
  408. package/dist/ezui/p-05e1f4e7.js +0 -1
  409. package/dist/ezui/p-072e6347.entry.js +0 -1
  410. package/dist/ezui/p-1285c902.entry.js +0 -1
  411. package/dist/ezui/p-13d2fe2d.entry.js +0 -1
  412. package/dist/ezui/p-2097d0cf.entry.js +0 -1
  413. package/dist/ezui/p-32e553e5.entry.js +0 -304
  414. package/dist/ezui/p-34b6916c.entry.js +0 -1
  415. package/dist/ezui/p-3b4eeeb6.entry.js +0 -1
  416. package/dist/ezui/p-3faa2b46.entry.js +0 -1
  417. package/dist/ezui/p-42533ea4.entry.js +0 -1
  418. package/dist/ezui/p-4607fb89.js +0 -1
  419. package/dist/ezui/p-49456b34.entry.js +0 -1
  420. package/dist/ezui/p-4d5235f1.entry.js +0 -1
  421. package/dist/ezui/p-5bd5e68f.entry.js +0 -1
  422. package/dist/ezui/p-650e4b6d.entry.js +0 -1
  423. package/dist/ezui/p-784fe207.entry.js +0 -1
  424. package/dist/ezui/p-7922142b.entry.js +0 -1
  425. package/dist/ezui/p-7af81663.entry.js +0 -1
  426. package/dist/ezui/p-7bc07c31.entry.js +0 -1
  427. package/dist/ezui/p-85c8baae.entry.js +0 -1
  428. package/dist/ezui/p-8888d9ed.entry.js +0 -1
  429. package/dist/ezui/p-9050d2cd.entry.js +0 -1
  430. package/dist/ezui/p-922ac38b.entry.js +0 -1
  431. package/dist/ezui/p-9e11fc7b.js +0 -1
  432. package/dist/ezui/p-a31b9c90.entry.js +0 -1
  433. package/dist/ezui/p-aba3da00.entry.js +0 -1
  434. package/dist/ezui/p-af95cd16.entry.js +0 -1
  435. package/dist/ezui/p-bae4e180.entry.js +0 -1
  436. package/dist/ezui/p-baf80b13.entry.js +0 -1
  437. package/dist/ezui/p-bcb53f27.entry.js +0 -1
  438. package/dist/ezui/p-bf79aaa1.entry.js +0 -1
  439. package/dist/ezui/p-cdc472cc.entry.js +0 -1
  440. package/dist/ezui/p-d9401ea0.entry.js +0 -1
  441. package/dist/ezui/p-e85c48d7.entry.js +0 -1
  442. package/dist/ezui/p-ecc2c1ec.entry.js +0 -1
  443. package/dist/ezui/p-fcf0acce.entry.js +0 -1
@@ -6,13 +6,14 @@ const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const CheckMode = require('./CheckMode-ecb90b87.js');
8
8
 
9
- 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)}";
9
+ 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;display:flex;align-content:center;gap:var(--space--small)}.label--disabled{color:var(--ez-check--label--disabled--color)}.label--padding{padding-left:var(--space--extra-small)}.label-alternative{font-size:var(--text--small);color:var(--text--secondary);padding-top:2px}";
10
10
 
11
11
  const EzCheck = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
14
  this.ezChange = index.createEvent(this, "ezChange", 7);
15
15
  this.label = undefined;
16
+ this.alternativePlaceholder = undefined;
16
17
  this.value = undefined;
17
18
  this.enabled = true;
18
19
  this.indeterminate = undefined;
@@ -64,25 +65,32 @@ const EzCheck = class {
64
65
  this.ezChange.emit(this.value);
65
66
  }
66
67
  getLabelClasses() {
67
- const classes = ["label"];
68
+ const classes = ['label'];
68
69
  if (!this.enabled) {
69
- classes.push("label--disabled");
70
+ classes.push('label--disabled');
70
71
  }
71
72
  if (!this.compact) {
72
- classes.push("label--padding");
73
+ classes.push('label--padding');
73
74
  }
74
- return classes.join(" ");
75
+ return classes.join(' ');
75
76
  }
76
77
  getInputClasses() {
77
78
  var _a;
78
- const classes = [""];
79
- classes.push(((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.CheckMode.SWITCH ? "switch-mode" : "regular-mode");
79
+ const classes = [''];
80
+ classes.push(((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.CheckMode.SWITCH ? 'switch-mode' : 'regular-mode');
80
81
  if (this.compact)
81
- classes.push("compact");
82
- return classes.join(" ");
82
+ classes.push('compact');
83
+ return classes.join(' ');
83
84
  }
84
85
  render() {
85
- return (index.h(index.Host, null, index.h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => { this.changeValue(); }, indeterminate: this.indeterminate, disabled: !this.enabled, "data-element-id": core.ElementIDUtils.getInternalIDInfo("input") }), this.label ? index.h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : undefined));
86
+ return (index.h(index.Host, null, index.h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => {
87
+ this.changeValue();
88
+ }, indeterminate: this.indeterminate, disabled: !this.enabled, "data-element-id": core.ElementIDUtils.getInternalIDInfo('input') }), this.renderLabel()));
89
+ }
90
+ renderLabel() {
91
+ if (!this.label)
92
+ return undefined;
93
+ return (index.h("label", { class: this.getLabelClasses(), onClick: () => this.changeValue(), title: this.label }, this.label, " ", this.alternativePlaceholder ? index.h("span", { class: "label-alternative" }, this.alternativePlaceholder) : undefined));
86
94
  }
87
95
  get _element() { return index.getElement(this); }
88
96
  static get watchers() { return {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
 
8
- 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}";
8
+ 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}";
9
9
 
10
10
  const EzChip = class {
11
11
  constructor(hostRef) {
@@ -7,9 +7,9 @@ const core = require('@sankhyalabs/core');
7
7
  const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
8
8
  require('./DialogType-2114c337.js');
9
9
  require('./CheckMode-ecb90b87.js');
10
- require('./ICustomRender-6fafffce.js');
10
+ require('./FormLayout-18853e70.js');
11
11
 
12
- 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}";
12
+ 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: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}";
13
13
 
14
14
  const EzCollapsibleBox = class {
15
15
  constructor(hostRef) {
@@ -0,0 +1,387 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-a7b0c73d.js');
6
+ const core = require('@sankhyalabs/core');
7
+ const FormLayout = require('./FormLayout-18853e70.js');
8
+ const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
9
+ require('./DialogType-2114c337.js');
10
+ require('./CheckMode-ecb90b87.js');
11
+
12
+ 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)}}";
13
+
14
+ const EzComboBoxList = class {
15
+ constructor(hostRef) {
16
+ index.registerInstance(this, hostRef);
17
+ this.showLoading = undefined;
18
+ this.visibleOptions = undefined;
19
+ this.textEmptyList = "Nenhum resultado encontrado";
20
+ this.showOptionValue = undefined;
21
+ this.preSelection = undefined;
22
+ this.maxWidth = undefined;
23
+ this.width = undefined;
24
+ this.onOptionSelect = undefined;
25
+ this.onOptionHover = undefined;
26
+ }
27
+ /**
28
+ * Move a seleção para a próxima opção na lista.
29
+ */
30
+ async nextOption() {
31
+ var _a, _b;
32
+ if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
33
+ return;
34
+ const isAtLastOption = this.preSelection !== undefined && this.preSelection >= this.visibleOptions.length - 1;
35
+ if (!isAtLastOption) {
36
+ this.preSelection = this.preSelection === undefined ? 0 : this.preSelection + 1;
37
+ this.scrollToOption(this.visibleOptions[this.preSelection]);
38
+ (_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
39
+ }
40
+ }
41
+ /**
42
+ * Move a seleção para a opção anterior na lista, sem ultrapassar o início.
43
+ */
44
+ async previousOption() {
45
+ var _a, _b;
46
+ if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
47
+ return;
48
+ const isAtFirstOption = this.preSelection !== undefined && this.preSelection <= 0;
49
+ if (!isAtFirstOption) {
50
+ this.preSelection = this.preSelection === undefined ? this.visibleOptions.length - 1 : this.preSelection - 1;
51
+ this.scrollToOption(this.visibleOptions[this.preSelection]);
52
+ (_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
53
+ }
54
+ }
55
+ /**
56
+ * Seleciona a opção atualmente pré-selecionada.
57
+ */
58
+ async selectCurrentOption() {
59
+ if (this.preSelection !== undefined) {
60
+ this.onOptionSelect(this.visibleOptions[this.preSelection]);
61
+ this.preSelection = undefined;
62
+ }
63
+ }
64
+ /**
65
+ * Observa mudanças na propriedade `width` e ajusta a largura da lista.
66
+ *
67
+ * @param newValue O novo valor da largura.
68
+ * @param oldValue O valor anterior da largura.
69
+ */
70
+ observeWidth(newValue, oldValue) {
71
+ if (newValue === oldValue)
72
+ return;
73
+ if (!this._listWrapper)
74
+ return;
75
+ this._listWrapper.style.width = `${this.width}px`;
76
+ }
77
+ /**
78
+ * Observa mudanças na propriedade `maxWidth` e ajusta a largura máxima da lista.
79
+ *
80
+ * @param newValue O novo valor da largura máxima.
81
+ * @param oldValue O valor anterior da largura máxima.
82
+ */
83
+ observeMaxWidth(newValue, oldValue) {
84
+ if (newValue === oldValue)
85
+ return;
86
+ if (!this._listWrapper)
87
+ return;
88
+ this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
89
+ }
90
+ /**
91
+ * Gerencia a navegação por teclado na lista do combo box.
92
+ *
93
+ * - `ArrowDown`: Move para a próxima opção.
94
+ * - `ArrowUp`: Move para a opção anterior.
95
+ * - `Enter`: Seleciona a opção atual.
96
+ * - `Escape`: Limpa a pré-seleção.
97
+ *
98
+ * @param event O evento de teclado.
99
+ */
100
+ handleKeyDown(event) {
101
+ switch (event.key) {
102
+ case "ArrowDown":
103
+ event.preventDefault();
104
+ event.stopPropagation();
105
+ this.nextOption();
106
+ break;
107
+ case "ArrowUp":
108
+ event.preventDefault();
109
+ event.stopPropagation();
110
+ this.previousOption();
111
+ break;
112
+ case "Enter":
113
+ this.selectCurrentOption();
114
+ break;
115
+ case "Escape":
116
+ this.preSelection = undefined;
117
+ break;
118
+ }
119
+ }
120
+ buildItem(opt, index$1) {
121
+ const widthValue = this.showOptionValue && this.maxWidth > 0 ? `${this.maxWidth}px` : '';
122
+ opt.label = opt.label || opt.value;
123
+ return index.h("li", { tabIndex: 1, class: index$1 === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}_${index$1}`, key: `item_${opt.value}_${index$1}`, onMouseDown: () => this.onOptionSelect(opt), onMouseOver: () => this.preSelection = index$1 }, this.showOptionValue
124
+ ? index.h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
125
+ : undefined, index.h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
126
+ }
127
+ scrollToOption(opt) {
128
+ if (!(opt === null || opt === void 0 ? void 0 : opt.value) || !this._optionsList)
129
+ return;
130
+ const index = this.visibleOptions.indexOf(opt);
131
+ if (index === -1)
132
+ return;
133
+ const liElem = this._optionsList.querySelector(`li#item_${CSS.escape(opt.value)}_${CSS.escape(String(index))}`);
134
+ if (liElem) {
135
+ liElem.scrollIntoView({
136
+ behavior: "smooth",
137
+ block: "nearest"
138
+ });
139
+ }
140
+ }
141
+ componentDidLoad() {
142
+ this._listWrapper.style.width = `${this.width}px`;
143
+ this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
144
+ }
145
+ componentDidRender() {
146
+ var _a;
147
+ (_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
148
+ core.ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
149
+ });
150
+ }
151
+ render() {
152
+ return (index.h("section", { class: "list-container" }, index.h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, index.h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading && this.visibleOptions.length === 0 && (index.h("div", { class: "message" }, index.h("span", { class: "message__no-result" }, this.textEmptyList))), this.showLoading && (index.h("div", { class: "message" }, index.h("div", { class: "message__loading" }))), this.showOptionValue && (index.h("span", { class: "item__value item__value--hidden" })), !this.showLoading && this.visibleOptions.length > 0 &&
153
+ this.visibleOptions.map((opt, index) => this.buildItem(opt, index))))));
154
+ }
155
+ static get watchers() { return {
156
+ "width": ["observeWidth"],
157
+ "maxWidth": ["observeMaxWidth"]
158
+ }; }
159
+ };
160
+ EzComboBoxList.style = ezComboBoxListCss;
161
+
162
+ const EzCustomFormInput = class {
163
+ constructor(hostRef) {
164
+ index.registerInstance(this, hostRef);
165
+ this.gui = undefined;
166
+ this.customEditor = undefined;
167
+ this.formViewField = undefined;
168
+ this.value = undefined;
169
+ this.detailContext = undefined;
170
+ this.builderFallback = undefined;
171
+ this.selectedRecord = undefined;
172
+ }
173
+ /**
174
+ * Aplica foco no campo.
175
+ */
176
+ async setFocus() {
177
+ var _a, _b;
178
+ (_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setFocus"]) === null || _b === void 0 ? void 0 : _b.call(_a);
179
+ }
180
+ /**
181
+ * Remove o foco do campo.
182
+ */
183
+ async setBlur() {
184
+ var _a, _b;
185
+ (_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["setBlur"]) === null || _b === void 0 ? void 0 : _b.call(_a);
186
+ }
187
+ /**
188
+ * Retorna se o conteúdo é inválido.
189
+ */
190
+ async isInvalid() {
191
+ var _a, _b;
192
+ return ((_b = (_a = this.gui) === null || _a === void 0 ? void 0 : _a["isInvalid"]) === null || _b === void 0 ? void 0 : _b.call(_a)) || false;
193
+ }
194
+ watchValue() {
195
+ this.handleValue(this.gui);
196
+ }
197
+ watchCustomEditor() {
198
+ this.getContent();
199
+ }
200
+ watchFormViewField(newValue, oldValue) {
201
+ if (!core.ObjectUtils.equals(newValue, oldValue))
202
+ this.getContent();
203
+ }
204
+ watchDetailContext() {
205
+ this.getContent();
206
+ }
207
+ watchBuilderFallback() {
208
+ this.getContent();
209
+ }
210
+ watchSelectedRecord(newValue, oldValue) {
211
+ const newRecordId = newValue === null || newValue === void 0 ? void 0 : newValue['__record__id__'];
212
+ const oldRecordId = oldValue === null || oldValue === void 0 ? void 0 : oldValue['__record__id__'];
213
+ if (newRecordId !== oldRecordId) {
214
+ this.getContent();
215
+ }
216
+ }
217
+ getContent() {
218
+ var _a, _b, _c, _d, _e;
219
+ const fieldProps = new Map();
220
+ for (const prop in this.formViewField.props) {
221
+ fieldProps.set(prop, this.formViewField.props[prop]);
222
+ }
223
+ const params = {
224
+ value: this.value,
225
+ name: this.formViewField.name,
226
+ currentEditor: this.builderFallback(this.formViewField),
227
+ setValue: (value) => this.setValue(value),
228
+ getValue: this.getValue,
229
+ record: this.selectedRecord,
230
+ editorMetadata: {
231
+ label: this.formViewField.label,
232
+ hidden: ((_a = this.formViewField.props) === null || _a === void 0 ? void 0 : _a.visible) === false,
233
+ userInterface: this.formViewField.userInterface,
234
+ options: (_b = this.formViewField.props) === null || _b === void 0 ? void 0 : _b.options,
235
+ props: this.formViewField.props ? fieldProps : undefined,
236
+ optionLoader: this.formViewField.optionLoader
237
+ },
238
+ source: FormLayout.CustomEditorSource.FORM,
239
+ detailContext: this.detailContext
240
+ };
241
+ let gui = this.customEditor.getEditorElement(params);
242
+ if (!gui) {
243
+ gui = this.builderFallback(this.formViewField);
244
+ this.handleValue(gui);
245
+ this.gui = gui;
246
+ return;
247
+ }
248
+ if (!(gui instanceof HTMLElement) && typeof gui !== 'string') {
249
+ this.handleValue(gui);
250
+ this.gui = gui;
251
+ return;
252
+ }
253
+ if (typeof gui === 'string') {
254
+ gui = core.HTMLBuilder.parseElement(gui);
255
+ }
256
+ 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 : '';
257
+ gui.setAttribute('value', value);
258
+ this.gui = index.h("div", { key: core.StringUtils.generateUUID(), ref: el => el && el.appendChild(gui) });
259
+ }
260
+ setValue(value) {
261
+ this.value = value;
262
+ }
263
+ getValue() {
264
+ return this.value;
265
+ }
266
+ handleValue(gui) {
267
+ var _a;
268
+ //@ts-ignore
269
+ (_a = gui.$children$) === null || _a === void 0 ? void 0 : _a.forEach((child) => {
270
+ child.$attrs$.value = this.value;
271
+ });
272
+ }
273
+ componentWillLoad() {
274
+ this.getContent();
275
+ }
276
+ render() {
277
+ return (index.h(index.Host, null, this.gui));
278
+ }
279
+ static get watchers() { return {
280
+ "value": ["watchValue"],
281
+ "customEditor": ["watchCustomEditor"],
282
+ "formViewField": ["watchFormViewField"],
283
+ "detailContext": ["watchDetailContext"],
284
+ "builderFallback": ["watchBuilderFallback"],
285
+ "selectedRecord": ["watchSelectedRecord"]
286
+ }; }
287
+ };
288
+
289
+ 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}";
290
+
291
+ const EzTextEdit = class {
292
+ constructor(hostRef) {
293
+ index.registerInstance(this, hostRef);
294
+ this.saveEdition = index.createEvent(this, "saveEdition", 7);
295
+ this.cancelEdition = index.createEvent(this, "cancelEdition", 7);
296
+ this._newValue = undefined;
297
+ this.value = undefined;
298
+ this.styled = undefined;
299
+ }
300
+ /**
301
+ * Aplica foco no campo.
302
+ */
303
+ async applyFocusSelect() {
304
+ this.calcSizeInput(this.value, true);
305
+ }
306
+ calcSizeInput(value, setSelect = false) {
307
+ var _a, _b;
308
+ const textInput = (_b = (_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
309
+ if (textInput != undefined) {
310
+ const sizeText = this.getWidthValue(value);
311
+ textInput.style.width = sizeText + 'px';
312
+ if (setSelect) {
313
+ setTimeout(() => textInput.select(), 100);
314
+ }
315
+ }
316
+ }
317
+ getWidthValue(value) {
318
+ if (this._valueBasis != undefined) {
319
+ const span = this._valueBasis;
320
+ if (value != undefined) {
321
+ const cursorSpace = 2;
322
+ span.innerHTML = value;
323
+ return span.clientWidth > 0 ? (span.clientWidth + cursorSpace) : cursorSpace;
324
+ }
325
+ else {
326
+ span.innerHTML = "";
327
+ }
328
+ }
329
+ return 0;
330
+ }
331
+ setStyledInput() {
332
+ var _a, _b;
333
+ let fontSize = "";
334
+ let fontWeight = "";
335
+ let fontFamily = "";
336
+ if (this.styled != undefined) {
337
+ fontSize = this.styled.fontSize;
338
+ fontWeight = this.styled.fontWeight;
339
+ fontFamily = this.styled.fontFamily;
340
+ }
341
+ const textInput = (_b = (_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('input');
342
+ if (textInput != undefined) {
343
+ textInput.style.fontSize = fontSize;
344
+ textInput.style.fontWeight = fontWeight;
345
+ textInput.style.fontFamily = fontFamily;
346
+ }
347
+ const span = this._valueBasis;
348
+ if (span != undefined) {
349
+ span.style.fontSize = fontSize;
350
+ span.style.fontWeight = fontWeight;
351
+ span.style.fontFamily = fontFamily;
352
+ }
353
+ }
354
+ handleSaveEdition() {
355
+ if (!this._newValue) {
356
+ ApplicationUtils.ApplicationUtils.alert("Aviso", "Não é possível salvar um campo em branco.").then(() => {
357
+ this.setNewValue(this.value, true);
358
+ });
359
+ return;
360
+ }
361
+ this.saveEdition.emit({ value: this.value, newValue: this._newValue });
362
+ }
363
+ handleCancelEdition() {
364
+ this.cancelEdition.emit();
365
+ }
366
+ setNewValue(value, setSelect = false) {
367
+ this._newValue = value;
368
+ this.calcSizeInput(this._newValue, setSelect);
369
+ }
370
+ componentDidLoad() {
371
+ this.applyFocusSelect();
372
+ this.setNewValue(this.value);
373
+ }
374
+ componentDidRender() {
375
+ this.setStyledInput();
376
+ }
377
+ render() {
378
+ core.ElementIDUtils.addIDInfoIfNotExists(this._element, 'input');
379
+ return (index.h(index.Host, null, index.h("span", { class: "text-edit__hidden-value", ref: elem => this._valueBasis = elem }), index.h("ez-text-input", { "data-element-id": core.ElementIDUtils.getInternalIDInfo("textInput"), onInput: () => { this.calcSizeInput(this._newValue); }, class: "text-edit__form-input", value: this._newValue, ref: (elem) => this._inputElement = elem, mode: "slim", onEzChange: (evt) => this.setNewValue(evt === null || evt === void 0 ? void 0 : evt.detail), noBorder: true }), index.h("ez-button", { class: "text-edit__icon-check", mode: "icon", iconName: "check", size: "small", onClick: () => { this.handleSaveEdition(); } }), index.h("ez-button", { class: "text-edit__icon-close", mode: "icon", iconName: "close", size: "small", onClick: () => { this.handleCancelEdition(); } })));
380
+ }
381
+ get _element() { return index.getElement(this); }
382
+ };
383
+ EzTextEdit.style = ezTextEditCss;
384
+
385
+ exports.ez_combo_box_list = EzComboBoxList;
386
+ exports.ez_custom_form_input = EzCustomFormInput;
387
+ exports.ez_text_edit = EzTextEdit;