@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-132280.3 → 0.0.0-bugfix-dev-KB-157120.0

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 (401) hide show
  1. package/dist/cjs/{ApplicationUtils-006ca96f.js → ApplicationUtils-88dfe345.js} +1 -1
  2. package/dist/cjs/{app-globals-5cb12916.js → app-globals-c1d07d68.js} +1 -1
  3. package/dist/cjs/{classic-search-list_7.cjs.entry.js → classic-search-list_8.cjs.entry.js} +204 -6
  4. package/dist/cjs/ez-actions-button.cjs.entry.js +3 -3
  5. package/dist/cjs/ez-alert-list.cjs.entry.js +2 -2
  6. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-avatar.cjs.entry.js +2 -2
  9. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-calendar.cjs.entry.js +2 -2
  13. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +5 -3
  18. package/dist/cjs/ez-classic-date-input.cjs.entry.js +3 -3
  19. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +2 -2
  20. package/dist/cjs/ez-classic-input.cjs.entry.js +50 -4
  21. package/dist/cjs/ez-classic-number-input.cjs.entry.js +2 -2
  22. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +27 -14
  23. package/dist/cjs/ez-classic-search.cjs.entry.js +3 -3
  24. package/dist/cjs/ez-classic-text-area.cjs.entry.js +13 -2
  25. package/dist/cjs/ez-classic-time-input.cjs.entry.js +5 -4
  26. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -3
  27. package/dist/cjs/ez-combo-box.cjs.entry.js +8 -3
  28. package/dist/cjs/ez-date-input.cjs.entry.js +2 -2
  29. package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -2
  30. package/dist/cjs/ez-dialog.cjs.entry.js +2 -2
  31. package/dist/cjs/ez-double-list.cjs.entry.js +2 -2
  32. package/dist/cjs/ez-dropdown.cjs.entry.js +2 -2
  33. package/dist/cjs/ez-empty-card.cjs.entry.js +2 -2
  34. package/dist/cjs/ez-file-item.cjs.entry.js +2 -2
  35. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-form-view.cjs.entry.js +23 -4
  37. package/dist/cjs/ez-form.cjs.entry.js +66 -44
  38. package/dist/cjs/ez-grid-pagination.cjs.entry.js +227 -0
  39. package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-grid.cjs.entry.js +236 -173
  41. package/dist/cjs/ez-guide-navigator.cjs.entry.js +2 -2
  42. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  43. package/dist/cjs/ez-link-builder_6.cjs.entry.js +2 -2
  44. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-list.cjs.entry.js +2 -2
  46. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
  48. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  49. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js +675 -0
  50. package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
  51. package/dist/cjs/ez-pagination.cjs.entry.js +2 -2
  52. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-popup.cjs.entry.js +5 -6
  54. package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
  57. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-scroller_2.cjs.entry.js +82 -15
  59. package/dist/cjs/ez-search-plus.cjs.entry.js +26 -12
  60. package/dist/cjs/ez-search-result-list.cjs.entry.js +2 -2
  61. package/dist/cjs/ez-search.cjs.entry.js +12 -5
  62. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
  63. package/dist/cjs/ez-skeleton.cjs.entry.js +2 -2
  64. package/dist/cjs/ez-sortable-list.cjs.entry.js +100 -115
  65. package/dist/cjs/ez-spinner.cjs.entry.js +2 -2
  66. package/dist/cjs/ez-split-button.cjs.entry.js +5 -5
  67. package/dist/cjs/ez-split-item.cjs.entry.js +3 -3
  68. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  69. package/dist/cjs/ez-tabselector.cjs.entry.js +210 -62
  70. package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
  71. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  72. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  73. package/dist/cjs/ez-text-input.cjs.entry.js +22 -16
  74. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  75. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  76. package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
  77. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  78. package/dist/cjs/ez-tooltip.cjs.entry.js +47 -9
  79. package/dist/cjs/ez-tree.cjs.entry.js +2 -2
  80. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  81. package/dist/cjs/ez-upload.cjs.entry.js +3 -3
  82. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  83. package/dist/cjs/ezui.cjs.js +4 -4
  84. package/dist/cjs/filter-column.cjs.entry.js +10 -4
  85. package/dist/cjs/{floating-ui.dom.esm-f4d87617.js → floating-ui.dom.esm-9c8bfebb.js} +258 -119
  86. package/dist/cjs/{index-350d0fa0.js → index-9739c242.js} +91 -30
  87. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +16 -19
  88. package/dist/cjs/loader.cjs.js +4 -4
  89. package/dist/cjs/{search-column-46d02656.js → search-column-6e90fb19.js} +19 -10
  90. package/dist/collection/collection-manifest.json +8 -0
  91. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +21 -2
  92. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +1 -1
  93. package/dist/collection/components/ez-classic-input/ez-classic-input.js +47 -2
  94. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js +2 -1
  95. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +22 -0
  96. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +26 -11
  97. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
  98. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +3 -2
  99. package/dist/collection/components/ez-combo-box/ez-combo-box.js +5 -0
  100. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  101. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  102. package/dist/collection/components/ez-form-view/ez-form-view.css +19 -5
  103. package/dist/collection/components/ez-form-view/ez-form-view.js +1 -1
  104. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -0
  105. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js +17 -0
  106. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +163 -27
  107. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +8 -1
  108. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
  109. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
  110. package/dist/collection/components/ez-grid/ez-grid.css +5 -60
  111. package/dist/collection/components/ez-grid/ez-grid.js +52 -150
  112. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
  113. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +10 -0
  114. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -1
  115. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +1 -1
  116. package/dist/collection/components/ez-grid/utils/index.js +1 -0
  117. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +111 -0
  118. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +410 -0
  119. package/dist/collection/components/ez-icon/ez-icon.css +1153 -1146
  120. package/dist/collection/components/ez-image-input/ez-image-input.css +24 -8
  121. package/dist/collection/components/ez-image-input/ez-image-input.js +6 -1
  122. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css +221 -0
  123. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js +555 -0
  124. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +27 -6
  125. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +66 -10
  126. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +20 -0
  127. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +36 -2
  128. package/dist/collection/components/ez-popup/ez-popup.js +3 -4
  129. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
  130. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
  131. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
  132. package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
  133. package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
  134. package/dist/collection/components/ez-search/ez-search.css +4 -0
  135. package/dist/collection/components/ez-search/ez-search.js +22 -1
  136. package/dist/collection/components/ez-search-plus/ez-search-plus.js +38 -10
  137. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  138. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  139. package/dist/collection/components/ez-split-button/ez-split-button.js +2 -2
  140. package/dist/collection/components/ez-tabselector/ez-tabselector.css +29 -1
  141. package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
  142. package/dist/collection/components/ez-text-input/ez-text-input.js +21 -15
  143. package/dist/collection/components/ez-tooltip/ez-tooltip.js +45 -7
  144. package/dist/collection/utils/form/FormMetadata.js +62 -40
  145. package/dist/collection/utils/i18n/locales/en-us.js +27 -4
  146. package/dist/collection/utils/i18n/locales/es-es.js +27 -4
  147. package/dist/collection/utils/i18n/locales/pt-br.js +27 -4
  148. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +14 -2
  149. package/dist/collection/utils/searchColumn/search-column.js +2 -5
  150. package/dist/custom-elements/index.d.ts +18 -0
  151. package/dist/custom-elements/index.js +1872 -634
  152. package/dist/esm/{ApplicationUtils-0c5cb207.js → ApplicationUtils-f7721533.js} +1 -1
  153. package/dist/esm/{app-globals-1db10325.js → app-globals-6e258867.js} +1 -1
  154. package/dist/esm/{classic-search-list_7.entry.js → classic-search-list_8.entry.js} +204 -7
  155. package/dist/esm/ez-actions-button.entry.js +3 -3
  156. package/dist/esm/ez-alert-list.entry.js +2 -2
  157. package/dist/esm/ez-alert.entry.js +1 -1
  158. package/dist/esm/ez-application.entry.js +1 -1
  159. package/dist/esm/ez-avatar.entry.js +2 -2
  160. package/dist/esm/ez-badge.entry.js +1 -1
  161. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  162. package/dist/esm/ez-button.entry.js +1 -1
  163. package/dist/esm/ez-calendar.entry.js +2 -2
  164. package/dist/esm/ez-card-item.entry.js +1 -1
  165. package/dist/esm/ez-chart.entry.js +1 -1
  166. package/dist/esm/ez-check.entry.js +1 -1
  167. package/dist/esm/ez-chip.entry.js +1 -1
  168. package/dist/esm/ez-classic-combo-box.entry.js +5 -3
  169. package/dist/esm/ez-classic-date-input.entry.js +3 -3
  170. package/dist/esm/ez-classic-date-time-input.entry.js +2 -2
  171. package/dist/esm/ez-classic-input.entry.js +50 -4
  172. package/dist/esm/ez-classic-number-input.entry.js +2 -2
  173. package/dist/esm/ez-classic-search-plus.entry.js +27 -14
  174. package/dist/esm/ez-classic-search.entry.js +3 -3
  175. package/dist/esm/ez-classic-text-area.entry.js +13 -2
  176. package/dist/esm/ez-classic-time-input.entry.js +5 -4
  177. package/dist/esm/ez-collapsible-box.entry.js +3 -3
  178. package/dist/esm/ez-combo-box.entry.js +8 -3
  179. package/dist/esm/ez-date-input.entry.js +2 -2
  180. package/dist/esm/ez-date-time-input.entry.js +2 -2
  181. package/dist/esm/ez-dialog.entry.js +2 -2
  182. package/dist/esm/ez-double-list.entry.js +2 -2
  183. package/dist/esm/ez-dropdown.entry.js +2 -2
  184. package/dist/esm/ez-empty-card.entry.js +2 -2
  185. package/dist/esm/ez-file-item.entry.js +2 -2
  186. package/dist/esm/ez-filter-input.entry.js +1 -1
  187. package/dist/esm/ez-form-view.entry.js +23 -4
  188. package/dist/esm/ez-form.entry.js +66 -44
  189. package/dist/esm/ez-grid-pagination.entry.js +223 -0
  190. package/dist/esm/ez-grid-view.entry.js +1 -1
  191. package/dist/esm/ez-grid.entry.js +237 -174
  192. package/dist/esm/ez-guide-navigator.entry.js +2 -2
  193. package/dist/esm/ez-icon.entry.js +2 -2
  194. package/dist/esm/ez-link-builder_6.entry.js +2 -2
  195. package/dist/esm/ez-list-item.entry.js +1 -1
  196. package/dist/esm/ez-list.entry.js +2 -2
  197. package/dist/esm/ez-loading-bar.entry.js +1 -1
  198. package/dist/esm/ez-modal-container.entry.js +2 -2
  199. package/dist/esm/ez-modal.entry.js +2 -2
  200. package/dist/esm/ez-multi-selection-list_5.entry.js +667 -0
  201. package/dist/esm/ez-number-input.entry.js +2 -2
  202. package/dist/esm/ez-pagination.entry.js +2 -2
  203. package/dist/esm/ez-popover.entry.js +1 -1
  204. package/dist/esm/ez-popup.entry.js +5 -6
  205. package/dist/esm/ez-progress-bar.entry.js +1 -1
  206. package/dist/esm/ez-radio-button.entry.js +1 -1
  207. package/dist/esm/ez-record-navigation.entry.js +117 -0
  208. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  209. package/dist/esm/ez-scroller_2.entry.js +82 -15
  210. package/dist/esm/ez-search-plus.entry.js +26 -12
  211. package/dist/esm/ez-search-result-list.entry.js +2 -2
  212. package/dist/esm/ez-search.entry.js +12 -5
  213. package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
  214. package/dist/esm/ez-skeleton.entry.js +2 -2
  215. package/dist/esm/ez-sortable-list.entry.js +100 -115
  216. package/dist/esm/ez-spinner.entry.js +2 -2
  217. package/dist/esm/ez-split-button.entry.js +5 -5
  218. package/dist/esm/ez-split-item.entry.js +3 -3
  219. package/dist/esm/ez-split-panel.entry.js +1 -1
  220. package/dist/esm/ez-tabselector.entry.js +210 -62
  221. package/dist/esm/ez-tag-input.entry.js +1 -1
  222. package/dist/esm/ez-tag.entry.js +1 -1
  223. package/dist/esm/ez-text-area.entry.js +1 -1
  224. package/dist/esm/ez-text-input.entry.js +22 -16
  225. package/dist/esm/ez-tile-medium.entry.js +1 -1
  226. package/dist/esm/ez-tile.entry.js +1 -1
  227. package/dist/esm/ez-time-input.entry.js +2 -2
  228. package/dist/esm/ez-toast.entry.js +1 -1
  229. package/dist/esm/ez-tooltip.entry.js +47 -9
  230. package/dist/esm/ez-tree.entry.js +2 -2
  231. package/dist/esm/ez-underface.entry.js +1 -1
  232. package/dist/esm/ez-upload.entry.js +3 -3
  233. package/dist/esm/ez-view-stack.entry.js +1 -1
  234. package/dist/esm/ezui.js +5 -5
  235. package/dist/esm/filter-column.entry.js +10 -4
  236. package/dist/esm/{floating-ui.dom.esm-ad30f2f0.js → floating-ui.dom.esm-0c464cef.js} +258 -120
  237. package/dist/esm/{index-225aa0c3.js → index-9e6dab5b.js} +91 -30
  238. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +17 -19
  239. package/dist/esm/loader.js +5 -5
  240. package/dist/esm/{search-column-2da15ef5.js → search-column-7d7f0331.js} +19 -10
  241. package/dist/ezui/ezui.esm.js +1 -1
  242. package/dist/ezui/p-01e652c6.entry.js +1 -0
  243. package/dist/ezui/p-0592535f.entry.js +1 -0
  244. package/dist/ezui/{p-3453dad5.entry.js → p-063bb342.entry.js} +1 -1
  245. package/dist/ezui/{p-75e650ff.entry.js → p-0ac8bd66.entry.js} +1 -1
  246. package/dist/ezui/p-0d80e3ec.entry.js +1 -0
  247. package/dist/ezui/{p-e039e049.entry.js → p-108503ed.entry.js} +1 -1
  248. package/dist/ezui/{p-29f0de90.entry.js → p-1166b2d5.entry.js} +1 -1
  249. package/dist/ezui/p-1222e1b6.entry.js +1 -0
  250. package/dist/ezui/p-15873627.js +1 -0
  251. package/dist/ezui/p-178cb9df.entry.js +1 -0
  252. package/dist/ezui/p-1b1b0af3.entry.js +1 -0
  253. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  254. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  255. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  256. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  257. package/dist/ezui/p-2856c545.entry.js +1 -0
  258. package/dist/ezui/{p-9d515e5b.entry.js → p-2ae127bc.entry.js} +1 -1
  259. package/dist/ezui/{p-05bcbe61.entry.js → p-2ebd7383.entry.js} +1 -1
  260. package/dist/ezui/p-3e84df1c.entry.js +1 -0
  261. package/dist/ezui/p-3fae7072.entry.js +1 -0
  262. package/dist/ezui/{p-f7ca8634.entry.js → p-411c0222.entry.js} +1 -1
  263. package/dist/ezui/p-42e1e733.js +1 -0
  264. package/dist/ezui/{p-2fa490f1.entry.js → p-45245c32.entry.js} +1 -1
  265. package/dist/ezui/{p-534209bf.entry.js → p-46b1b2ac.entry.js} +1 -1
  266. package/dist/ezui/{p-12cc95dc.entry.js → p-54af1af0.entry.js} +1 -1
  267. package/dist/ezui/p-55434123.entry.js +1 -0
  268. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  269. package/dist/ezui/{p-51e34317.entry.js → p-6369a0cd.entry.js} +1 -1
  270. package/dist/ezui/p-6791d05f.entry.js +1 -0
  271. package/dist/ezui/{p-7fe5a9eb.entry.js → p-6d46f862.entry.js} +46 -46
  272. package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
  273. package/dist/ezui/p-6da0dc70.entry.js +1 -0
  274. package/dist/ezui/{p-1723f728.entry.js → p-6f77a359.entry.js} +1 -1
  275. package/dist/ezui/p-72e77b45.entry.js +1 -0
  276. package/dist/ezui/{p-636ea910.entry.js → p-73461028.entry.js} +1 -1
  277. package/dist/ezui/{p-a6ea8da3.entry.js → p-7424d520.entry.js} +1 -1
  278. package/dist/ezui/{p-9fb7131e.entry.js → p-7a07c50f.entry.js} +1 -1
  279. package/dist/ezui/p-7b078125.entry.js +1 -0
  280. package/dist/ezui/p-7df45688.entry.js +1 -0
  281. package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
  282. package/dist/ezui/{p-e963cb3f.entry.js → p-881abc22.entry.js} +1 -1
  283. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  284. package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
  285. package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
  286. package/dist/ezui/{p-82e1d7fc.entry.js → p-99556756.entry.js} +1 -1
  287. package/dist/ezui/{p-0ba284cd.entry.js → p-9bd78d39.entry.js} +1 -1
  288. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  289. package/dist/ezui/{p-bc693db6.entry.js → p-a0bf1fc7.entry.js} +1 -1
  290. package/dist/ezui/p-a11e4e8e.entry.js +1 -0
  291. package/dist/ezui/{p-9bcfa689.entry.js → p-a3075f52.entry.js} +1 -1
  292. package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
  293. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  294. package/dist/ezui/p-a9ab6cb9.entry.js +1 -0
  295. package/dist/ezui/{p-9825c1d2.js → p-ad5e263d.js} +1 -1
  296. package/dist/ezui/{p-d57ea090.entry.js → p-b06294c9.entry.js} +1 -1
  297. package/dist/ezui/{p-4a876b8b.entry.js → p-b50289bb.entry.js} +1 -1
  298. package/dist/ezui/p-b66ae5c5.entry.js +1 -0
  299. package/dist/ezui/{p-e0380234.entry.js → p-b8cd501a.entry.js} +1 -1
  300. package/dist/ezui/p-b986da95.entry.js +7 -0
  301. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  302. package/dist/ezui/{p-0820f8c3.entry.js → p-c25a4d30.entry.js} +1 -1
  303. package/dist/ezui/{p-55a9e4ba.entry.js → p-c37fb359.entry.js} +1 -1
  304. package/dist/ezui/{p-e0fd2ce5.entry.js → p-cb00863d.entry.js} +1 -1
  305. package/dist/ezui/{p-181cb82f.entry.js → p-d5684cdc.entry.js} +1 -1
  306. package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
  307. package/dist/ezui/{p-770cf2b8.entry.js → p-d6f50207.entry.js} +1 -1
  308. package/dist/ezui/{p-458027b5.entry.js → p-d70805e4.entry.js} +1 -1
  309. package/dist/ezui/p-d81a15fc.entry.js +1 -0
  310. package/dist/ezui/p-d8b69419.entry.js +1 -0
  311. package/dist/ezui/p-d8cc640d.entry.js +1 -0
  312. package/dist/ezui/p-de14fe07.js +1 -0
  313. package/dist/ezui/p-df6173c8.entry.js +1 -0
  314. package/dist/ezui/{p-be2e39c5.entry.js → p-dfced8c7.entry.js} +1 -1
  315. package/dist/ezui/{p-e275353b.entry.js → p-e3d6b544.entry.js} +1 -1
  316. package/dist/ezui/p-e63a0479.js +1 -0
  317. package/dist/ezui/{p-fe0bca65.entry.js → p-e692c2a7.entry.js} +1 -1
  318. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  319. package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
  320. package/dist/ezui/{p-b21efe83.entry.js → p-e8c57463.entry.js} +1 -1
  321. package/dist/ezui/{p-75443a91.entry.js → p-e8cd003b.entry.js} +1 -1
  322. package/dist/ezui/p-ed790867.entry.js +1 -0
  323. package/dist/ezui/p-f2e0acf5.entry.js +1 -0
  324. package/dist/ezui/{p-980f1f18.entry.js → p-f34ec732.entry.js} +1 -1
  325. package/dist/ezui/{p-f32d5a82.entry.js → p-f498f6b5.entry.js} +1 -1
  326. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  327. package/dist/ezui/{p-2c123fdf.entry.js → p-fb27b98d.entry.js} +1 -1
  328. package/dist/ezui/{p-d3aca6aa.entry.js → p-fc11f5b9.entry.js} +1 -1
  329. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +2 -0
  330. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +6 -0
  331. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +3 -0
  332. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
  333. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  334. package/dist/types/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.d.ts +2 -0
  335. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
  336. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +16 -0
  337. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
  338. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
  339. package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
  340. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
  341. package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
  342. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +75 -0
  343. package/dist/types/components/ez-image-input/ez-image-input.d.ts +1 -0
  344. package/dist/types/components/ez-multi-select-input/ez-multi-select-input.d.ts +119 -0
  345. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +8 -0
  346. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +7 -0
  347. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +9 -0
  348. package/dist/types/components/ez-popup/ez-popup.d.ts +1 -0
  349. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
  350. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
  351. package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
  352. package/dist/types/components/ez-search/ez-search.d.ts +4 -0
  353. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +6 -1
  354. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +41 -20
  355. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -0
  356. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +2 -0
  357. package/dist/types/components.d.ts +407 -9
  358. package/dist/types/utils/i18n/locales/en-us.d.ts +26 -3
  359. package/dist/types/utils/i18n/locales/es-es.d.ts +26 -3
  360. package/dist/types/utils/i18n/locales/pt-br.d.ts +26 -3
  361. package/dist/types/utils/i18n/translations.d.ts +78 -9
  362. package/package.json +5 -6
  363. package/react/components.d.ts +3 -0
  364. package/react/components.js +3 -0
  365. package/react/components.js.map +1 -1
  366. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +0 -194
  367. package/dist/cjs/ez-popover-core.cjs.entry.js +0 -211
  368. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +0 -243
  369. package/dist/esm/ez-multi-selection-list.entry.js +0 -190
  370. package/dist/esm/ez-popover-core.entry.js +0 -207
  371. package/dist/esm/ez-popover-plus_3.entry.js +0 -237
  372. package/dist/ezui/p-06f1b8e4.entry.js +0 -1
  373. package/dist/ezui/p-0d393a5d.entry.js +0 -1
  374. package/dist/ezui/p-14d6aeb8.entry.js +0 -1
  375. package/dist/ezui/p-169d460d.entry.js +0 -1
  376. package/dist/ezui/p-24993171.entry.js +0 -7
  377. package/dist/ezui/p-27421015.entry.js +0 -1
  378. package/dist/ezui/p-27c8a9b7.entry.js +0 -1
  379. package/dist/ezui/p-2a806303.js +0 -1
  380. package/dist/ezui/p-34d596a3.entry.js +0 -1
  381. package/dist/ezui/p-35e3715c.entry.js +0 -1
  382. package/dist/ezui/p-4d909730.entry.js +0 -1
  383. package/dist/ezui/p-4df2edb5.entry.js +0 -1
  384. package/dist/ezui/p-61c10e02.js +0 -1
  385. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  386. package/dist/ezui/p-71b341cc.entry.js +0 -1
  387. package/dist/ezui/p-75e8862c.entry.js +0 -1
  388. package/dist/ezui/p-81a98a7c.entry.js +0 -1
  389. package/dist/ezui/p-87739608.entry.js +0 -1
  390. package/dist/ezui/p-892e7326.entry.js +0 -1
  391. package/dist/ezui/p-8f7373ab.entry.js +0 -1
  392. package/dist/ezui/p-986044d1.entry.js +0 -1
  393. package/dist/ezui/p-c178730b.js +0 -1
  394. package/dist/ezui/p-c754774e.entry.js +0 -1
  395. package/dist/ezui/p-c96e536d.entry.js +0 -1
  396. package/dist/ezui/p-ce2614fc.entry.js +0 -1
  397. package/dist/ezui/p-dc9781b3.entry.js +0 -1
  398. package/dist/ezui/p-e94d3af5.entry.js +0 -1
  399. package/dist/ezui/p-f0425f87.entry.js +0 -1
  400. package/dist/ezui/p-f1b54699.entry.js +0 -1
  401. package/dist/ezui/p-ff4312d5.js +0 -1
@@ -38,6 +38,8 @@ export class EzClassicSearchPlus {
38
38
  this.searchDescriptionIsOpen = false;
39
39
  this.visibleOptions = undefined;
40
40
  this.showLoading = true;
41
+ this.canShowClearButton = false;
42
+ this.isHoveringDescription = false;
41
43
  }
42
44
  async observeValue(newValue, oldValue) {
43
45
  var _a;
@@ -51,11 +53,11 @@ export class EzClassicSearchPlus {
51
53
  return;
52
54
  }
53
55
  if (newNormalizedValue === undefined) {
54
- this.codeValue = undefined;
55
- this.descriptionValue = undefined;
56
+ this.clearSearch();
56
57
  this.ezChange.emit(undefined);
57
58
  return;
58
59
  }
60
+ this.canShowClearButton = this.getClearButtonStatus();
59
61
  this.codeValue = newNormalizedValue;
60
62
  try {
61
63
  this.descriptionValue = await this.normalizeCodeToDescriptionValue(newValue);
@@ -149,12 +151,14 @@ export class EzClassicSearchPlus {
149
151
  }
150
152
  }
151
153
  clearSearch() {
152
- this.value = null;
153
- this.codeValue = null;
154
- this.descriptionValue = null;
154
+ this._textInputCodeValue.value = null;
155
155
  if (!this.hideDescriptionInput) {
156
156
  this._textInputDescriptionValue.value = null;
157
157
  }
158
+ this.value = null;
159
+ this.codeValue = null;
160
+ this.descriptionValue = null;
161
+ this.canShowClearButton = false;
158
162
  }
159
163
  async normalizeCodeToDescriptionValue(valueToNormalize) {
160
164
  if (!valueToNormalize) {
@@ -198,7 +202,7 @@ export class EzClassicSearchPlus {
198
202
  }
199
203
  async loadDescriptionValueByCode(codeValue) {
200
204
  if (!this.optionLoader) {
201
- console.warn(this.i18n("ez-search-plus.optionLoaderNotDefined"));
205
+ console.warn(this.i18n("ez-classic-search-plus.optionLoaderNotDefined"));
202
206
  return "";
203
207
  }
204
208
  try {
@@ -228,7 +232,7 @@ export class EzClassicSearchPlus {
228
232
  }
229
233
  async loadAdvancedSearch() {
230
234
  if (!this.optionLoader) {
231
- console.warn(this.i18n("ez-search-plus.optionLoaderNotDefined"));
235
+ console.warn(this.i18n("ez-classic-search-plus.optionLoaderNotDefined"));
232
236
  return;
233
237
  }
234
238
  const searchArgument = { mode: SearchMode.ADVANCED, argument: "" };
@@ -255,6 +259,7 @@ export class EzClassicSearchPlus {
255
259
  this._popover.showUnder(this.el);
256
260
  }
257
261
  const argument = event.target.value;
262
+ this.canShowClearButton = this.getClearButtonStatus();
258
263
  await this.debounceLoaderOptions(argument);
259
264
  }
260
265
  async debounceLoaderOptions(argument) {
@@ -373,15 +378,23 @@ export class EzClassicSearchPlus {
373
378
  event.stopPropagation();
374
379
  this.searchDescriptionIsOpen = event.detail;
375
380
  }
376
- render() {
381
+ getClearButtonStatus() {
377
382
  var _a, _b;
383
+ if (this.ensureClearButtonVisible) {
384
+ return true;
385
+ }
386
+ if (((_a = this._textInputCodeValue) === null || _a === void 0 ? void 0 : _a.value) || ((_b = this._textInputDescriptionValue) === null || _b === void 0 ? void 0 : _b.value)) {
387
+ return true;
388
+ }
389
+ return !!this.value;
390
+ }
391
+ render() {
378
392
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
379
- const canShowClearButton = !this.ensureClearButtonVisible && (!this.value && !((_a = this._textInputCodeValue) === null || _a === void 0 ? void 0 : _a.value) && !((_b = this._textInputDescriptionValue) === null || _b === void 0 ? void 0 : _b.value));
380
393
  return (h(Host, null, h("div", { class: "ez-classic-search-plus__wrapper" }, h("div", { class: "ez-classic-search-plus__label-container" }, h("label", { title: this.label }, this.label), this.required && h("span", { class: "required-indicator" }, "*")), h("div", { class: "ez-classic-search-plus__container" }, h("ez-classic-input", { ref: (elem) => this._textInputCodeValue = elem, class: {
381
394
  "ez-classic-search-plus__code-input": !this.hideDescriptionInput,
382
395
  "ez-classic-search-plus__code-input-no-border": !this.hideDescriptionInput,
383
396
  "ez-classic-search-plus__code-input-full": this.hideDescriptionInput
384
- }, "data-element-id": ElementIDUtils.getInternalIDInfo("codeInput"), "data-slave-mode": "true", enabled: !this.disableCodeInput && this.enabled, size: this.size, label: null, errorMessage: this.hideDescriptionInput ? this.errorMessage : "", value: this.codeValue, onFocusout: () => this.handleCodeInputFocusOut(), onFocus: () => this.handleCodeInputFocus(), leftIconName: "search", leftIconClickable: this.enabled, onIconClick: () => this.handleSearchClick(), onEzChange: (event) => event.stopPropagation() }), !this.hideDescriptionInput && (h("div", { class: "description-input-container" }, h("ez-classic-input", { ref: (elem) => this._textInputDescriptionValue = elem, tabIndex: -1, class: { "ez-classic-search-plus__text-input": true }, "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), "data-slave-mode": "true", enabled: !this.disableDescriptionInput && this.enabled, label: null, errorMessage: this.errorMessage, size: this.size, value: this.descriptionValue, onInput: (event) => this.handleTextInputChangeHandler(event), onFocus: () => this.handleDescriptionInputFocus(), rightIconName: canShowClearButton ? "close" : null, rightIconClickable: this.enabled, onIconClick: () => this.clearSearch(), onEzChange: (event) => event.stopPropagation() }), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this.el, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', useAnchorSize: true, onEzVisibilityChange: (event) => this.handleOnEzVisibilityChange(event), "data-element-id": this.el.getAttribute("data-element-id") }, h("ez-classic-search-result-list", { ref: (ref) => this._classicSearchList = ref, showLoading: this.showLoading, visibleOptions: this.visibleOptions, value: this.value, showOptionValue: this.showOptionValue, onChangeValue: (evt) => this.handleSelectItem(evt) }))))))));
397
+ }, "data-element-id": ElementIDUtils.getInternalIDInfo("codeInput"), "data-slave-mode": "true", enabled: !this.disableCodeInput && this.enabled, size: this.size, label: null, errorMessage: this.hideDescriptionInput ? this.errorMessage : "", value: this.codeValue, onFocusout: () => this.handleCodeInputFocusOut(), onFocus: () => this.handleCodeInputFocus(), leftIconName: "search", leftIconClickable: this.enabled, onIconClick: () => this.handleSearchClick(), onEzChange: (event) => event.stopPropagation(), state: this.errorMessage && this.canShowError ? "error" : "default" }), !this.hideDescriptionInput && (h("div", { class: "description-input-container", onMouseEnter: () => this.isHoveringDescription = true, onMouseLeave: () => this.isHoveringDescription = false }, h("ez-classic-input", { ref: (elem) => this._textInputDescriptionValue = elem, tabIndex: -1, class: { "ez-classic-search-plus__text-input": true }, "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), "data-slave-mode": "true", enabled: !this.disableDescriptionInput && this.enabled, label: null, size: this.size, value: this.descriptionValue, onInput: (event) => this.handleTextInputChangeHandler(event), onFocus: () => this.handleDescriptionInputFocus(), rightIconName: this.canShowClearButton && this.isHoveringDescription ? "close" : null, rightIconClickable: this.enabled, onIconClick: () => this.clearSearch(), onEzChange: (event) => event.stopPropagation(), rightIconTooltip: this.i18n("ez-classic-search-plus.clearValue"), state: this.errorMessage && this.canShowError ? "error" : "default" }), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this.el, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', useAnchorSize: true, onEzVisibilityChange: (event) => this.handleOnEzVisibilityChange(event), "data-element-id": this.el.getAttribute("data-element-id") }, h("ez-classic-search-result-list", { ref: (ref) => this._classicSearchList = ref, showLoading: this.showLoading, visibleOptions: this.visibleOptions, value: this.value, showOptionValue: this.showOptionValue, onChangeValue: (evt) => this.handleSelectItem(evt) }))))), h("div", { class: "ez-classic-search-plus__error-container" }, h("span", null, this.errorMessage)))));
385
398
  }
386
399
  static get is() { return "ez-classic-search-plus"; }
387
400
  static get encapsulation() { return "shadow"; }
@@ -859,7 +872,9 @@ export class EzClassicSearchPlus {
859
872
  "isLoadingDescription": {},
860
873
  "searchDescriptionIsOpen": {},
861
874
  "visibleOptions": {},
862
- "showLoading": {}
875
+ "showLoading": {},
876
+ "canShowClearButton": {},
877
+ "isHoveringDescription": {}
863
878
  };
864
879
  }
865
880
  static get events() {
@@ -7,6 +7,7 @@ export class EzClassicTextArea {
7
7
  this.placeholder = '';
8
8
  this.value = '';
9
9
  this.helpText = undefined;
10
+ this.errorMessage = undefined;
10
11
  this.state = "default";
11
12
  this.enabled = true;
12
13
  this.readonly = false;
@@ -34,6 +35,13 @@ export class EzClassicTextArea {
34
35
  async setBlur() {
35
36
  this._textAreaElem.blur();
36
37
  }
38
+ async observeErrorMessage(newValue) {
39
+ if (newValue && newValue.trim() !== '') {
40
+ this.state = "error";
41
+ return;
42
+ }
43
+ this.state = "default";
44
+ }
37
45
  onBlur() {
38
46
  this.ezBlur.emit(this.value);
39
47
  }
@@ -66,7 +74,7 @@ export class EzClassicTextArea {
66
74
  this.addInfoId();
67
75
  }
68
76
  render() {
69
- return (h(Host, null, this.label && (h("label", { title: this.label, htmlFor: this.name }, this.label)), h("div", { class: "text-area-container", "data-state": this.state, "data-disabled": (!this.enabled).toString(), "data-resize": this.resize, onClick: () => this.setFocus({ preventScroll: true }) }, this.leftIconName && (h("ez-icon", { iconName: this.leftIconName, title: this.leftIconTooltip, onClick: (event) => this.handleIconClick(event, "left"), class: { 'icon-clickable': this.leftIconClickable } })), h("textarea", { ref: (el) => (this._textAreaElem = el), id: this.name, name: this.name, placeholder: this.placeholder, value: this.value, disabled: !this.enabled, readOnly: this.readonly, maxLength: this.maxlength, rows: this.rows, onInput: this.handleInput.bind(this), onBlur: this.onBlur.bind(this) }), this.rightIconName && (h("ez-icon", { iconName: this.rightIconName, title: this.rightIconTooltip, onClick: (event) => this.handleIconClick(event, "right"), class: { 'icon-clickable': this.rightIconClickable } }))), this.helpText && (h("span", { title: this.helpText }, this.helpText))));
77
+ return (h(Host, null, this.label && (h("label", { title: this.label, htmlFor: this.name }, this.label)), h("div", { class: "text-area-container", "data-state": this.state, "data-disabled": (!this.enabled).toString(), "data-resize": this.resize, onClick: () => this.setFocus({ preventScroll: true }) }, this.leftIconName && (h("ez-icon", { iconName: this.leftIconName, title: this.leftIconTooltip, onClick: (event) => this.handleIconClick(event, "left"), class: { 'icon-clickable': this.leftIconClickable } })), h("textarea", { ref: (el) => (this._textAreaElem = el), id: this.name, name: this.name, placeholder: this.placeholder, value: this.value, disabled: !this.enabled, readOnly: this.readonly, maxLength: this.maxlength, rows: this.rows, onInput: this.handleInput.bind(this), onBlur: this.onBlur.bind(this) }), this.rightIconName && (h("ez-icon", { iconName: this.rightIconName, title: this.rightIconTooltip, onClick: (event) => this.handleIconClick(event, "right"), class: { 'icon-clickable': this.rightIconClickable } }))), (this.helpText || this.errorMessage) && (h("span", { id: "textArea_helpText", title: this.errorMessage || this.helpText }, this.errorMessage || this.helpText))));
70
78
  }
71
79
  static get is() { return "ez-classic-text-area"; }
72
80
  static get encapsulation() { return "shadow"; }
@@ -171,6 +179,23 @@ export class EzClassicTextArea {
171
179
  "attribute": "help-text",
172
180
  "reflect": false
173
181
  },
182
+ "errorMessage": {
183
+ "type": "string",
184
+ "mutable": false,
185
+ "complexType": {
186
+ "original": "string",
187
+ "resolved": "string",
188
+ "references": {}
189
+ },
190
+ "required": false,
191
+ "optional": true,
192
+ "docs": {
193
+ "tags": [],
194
+ "text": "Define uma mensagem de orienta\u00E7\u00E3o ao usu\u00E1rio, colocando o campo em modo inv\u00E1lido"
195
+ },
196
+ "attribute": "error-message",
197
+ "reflect": false
198
+ },
174
199
  "state": {
175
200
  "type": "string",
176
201
  "mutable": false,
@@ -476,4 +501,10 @@ export class EzClassicTextArea {
476
501
  };
477
502
  }
478
503
  static get elementRef() { return "_element"; }
504
+ static get watchers() {
505
+ return [{
506
+ "propName": "errorMessage",
507
+ "methodName": "observeErrorMessage"
508
+ }];
509
+ }
479
510
  }
@@ -161,7 +161,7 @@ export class EzClassicTimeInput {
161
161
  value: this._viewValue,
162
162
  enabled: this.enabled,
163
163
  label: this.label,
164
- restrict: "0123456789:",
164
+ mask: this.showSeconds ? "##:##:##" : "##:##",
165
165
  onBlur: () => this.handleBlur(),
166
166
  onInput: () => this.handleInput(),
167
167
  errorMessage: this.errorMessage,
@@ -169,7 +169,8 @@ export class EzClassicTimeInput {
169
169
  size: this.size,
170
170
  canShowError: this.canShowError,
171
171
  alternativePlaceholder: this.alternativePlaceholder,
172
- required: this.required
172
+ required: this.required,
173
+ onEzChange: (event) => event.stopPropagation()
173
174
  };
174
175
  return (h(Host, null, h("ez-classic-input", Object.assign({}, inputProps, { leftIconName: "timer-outline" }))));
175
176
  }
@@ -274,6 +274,11 @@ export class EzComboBox {
274
274
  else {
275
275
  window.setTimeout(() => {
276
276
  this.setInputValue(false);
277
+ if (this._criteria !== undefined) {
278
+ this._criteria = undefined;
279
+ this._preSelection = undefined;
280
+ this.updateVisibleOptions();
281
+ }
277
282
  }, this._deboucingTime);
278
283
  }
279
284
  }
@@ -3,7 +3,7 @@
3
3
  /*@doc Define a posição do componente.*/
4
4
  --ez-dropdown--z-index: var(--more-visible, 2);
5
5
  /*@doc Define o espaçamento interno do componente.*/
6
- --ez-dropdown--padding: var(--space--small, 6px);
6
+ --ez-dropdown--padding: var(--space--16, 16px);
7
7
  /*@doc Define a sombra externa do componente.*/
8
8
  --ez-dropdown--box-shadow: var(--shadow--medium, 0px 8px 24px rgba(0, 38, 111, 0.1));
9
9
  /*@doc Define o raio da borda do componente.*/
@@ -189,7 +189,7 @@
189
189
  transition: var(--ez-dropdown__item--transition);
190
190
  }
191
191
 
192
- .ez-dropdown__item:hover {
192
+ .ez-dropdown__item:not(:has(.ez-dropdown__item-builder)):hover {
193
193
  /*public*/
194
194
  background-color: var(--ez-dropdown__item--background-color);
195
195
  }
@@ -16,7 +16,7 @@ export class EzEmptyCard {
16
16
  }
17
17
  }
18
18
  render() {
19
- const customStyleVars = Object.assign(Object.assign({}, (this.height ? { '--ez-empty-card--custom-height': `${this.height}px` } : {})), (this.width ? { '--ez-empty-card--custom-width': `${this.width}px` } : {}));
19
+ const customStyleVars = Object.assign(Object.assign({}, (this.height ? { '--ez-empty-card--custom-height': `${this.height}${typeof this.height == "number" ? 'px' : ''}` } : {})), (this.width ? { '--ez-empty-card--custom-width': `${this.width}${typeof this.width == "number" ? 'px' : ''}` } : {}));
20
20
  return (h(Host, { style: customStyleVars }, h("div", { ref: element => this._container = element, class: `card_container ${this.color}` }, h("slot", null))));
21
21
  }
22
22
  static get is() { return "ez-empty-card"; }
@@ -52,11 +52,11 @@ export class EzEmptyCard {
52
52
  "defaultValue": "\"default\""
53
53
  },
54
54
  "height": {
55
- "type": "number",
55
+ "type": "any",
56
56
  "mutable": false,
57
57
  "complexType": {
58
- "original": "number",
59
- "resolved": "number",
58
+ "original": "number | string",
59
+ "resolved": "number | string",
60
60
  "references": {}
61
61
  },
62
62
  "required": false,
@@ -69,11 +69,11 @@ export class EzEmptyCard {
69
69
  "reflect": true
70
70
  },
71
71
  "width": {
72
- "type": "number",
72
+ "type": "any",
73
73
  "mutable": false,
74
74
  "complexType": {
75
- "original": "number",
76
- "resolved": "number",
75
+ "original": "number | string",
76
+ "resolved": "number | string",
77
77
  "references": {}
78
78
  },
79
79
  "required": false,
@@ -4,10 +4,16 @@
4
4
  width: 100%;
5
5
 
6
6
  /*@doc Define o tamanho mínimo dos itens do formulário.*/
7
- --ez-form-view__item--min-width: 220px;
7
+ --ez-form-view__item--min-width: 250px;
8
+
9
+ /*@doc Define o tamanho mínimo dos itens do formulário.*/
10
+ --ez-form-view__long-item--min-width: 530px;
8
11
 
9
12
  /*@doc Define o tamanho máximo dos itens do formulário.*/
10
- --ez-form-view__item--max-width: 440px;
13
+ --ez-form-view__item--max-width: 512px;
14
+
15
+ /*@doc Define o tamanho máximo dos itens longos do formulário.*/
16
+ --ez-form-view__long-item--max-width: 100%;
11
17
 
12
18
  /*@doc Define o colunas entre itens do formulário.*/
13
19
  --ez-form-view__item--gap: var(--space--14, 14px);
@@ -25,12 +31,20 @@
25
31
  }
26
32
 
27
33
  .form-view__content--single-column {
28
- grid-template-columns:repeat(1, minmax(var(--ez-form-view__item--min-width), var(--ez-form-view__item--max-width)));
34
+ grid-template-columns:1fr;
35
+ }
36
+
37
+ .form-view__content--single-column > div:not(.input-full_width) {
38
+ width: clamp(var(--ez-form-view__item--min-width), 70%, var(--ez-form-view__item--max-width));
29
39
  }
30
40
 
31
41
  .input-full_width {
32
- grid-column: 1 / -1;
33
- width: 100%;
42
+ grid-column: 1/-1;
43
+ width: clamp(var(--ez-form-view__long-item--min-width), 100%, var(--ez-form-view__long-item--max-width));
44
+ }
45
+
46
+ .single-column {
47
+ --ez-form-view__long-item--max-width: 1024px;
34
48
  }
35
49
 
36
50
  *:has(*) + ez-collapsible-box {
@@ -80,7 +80,7 @@ export class EzFormView {
80
80
  buildFormItemElement(item, classItem = "") {
81
81
  var _a;
82
82
  if (this.isItemFullWidth(item.userInterface)) {
83
- classItem += " input-full_width";
83
+ classItem += ` input-full_width ${this.singleColumn && `single-column`}`;
84
84
  }
85
85
  const context = {
86
86
  formLayout: this.formLayout,
@@ -12,6 +12,7 @@ import { buildSearch } from "./templates/SearchInput.tpl";
12
12
  import { buildRichText } from "./templates/RichText.tpl";
13
13
  import { getI18n } from "../../../utils/i18n";
14
14
  import { buildImage } from "./templates/ImageInput.tpl";
15
+ import { buildMultiSelectInput } from "./templates/MultiSelectInput.tpl";
15
16
  const uiBuilders = new Map();
16
17
  uiBuilders.set(UserInterface.CHECKBOX, buildCheckBox);
17
18
  uiBuilders.set(UserInterface.SWITCH, buildSwitch);
@@ -28,6 +29,7 @@ uiBuilders.set(UserInterface.SEARCHPLUS, buildSearchPlus);
28
29
  uiBuilders.set(UserInterface.LONGTEXT, buildTextArea);
29
30
  uiBuilders.set(UserInterface.HTML, buildRichText);
30
31
  uiBuilders.set(UserInterface.IMAGE, buildImage);
32
+ uiBuilders.set(UserInterface.MULTISELECTOR, buildMultiSelectInput);
31
33
  export const fieldBuilder = (field, customUiBuilders = new Map(), context) => {
32
34
  const i18n = getI18n();
33
35
  const shouldUseClassic = (context === null || context === void 0 ? void 0 : context.formLayout) === FormLayout.CLASSIC_CASCADE ||
@@ -0,0 +1,17 @@
1
+ import { h } from "@stencil/core";
2
+ export const buildMultiSelectInput = ({ name, label, readOnly, contextName, canShowError, props }) => {
3
+ var _a, _b, _c, _d;
4
+ const rawOptions = props === null || props === void 0 ? void 0 : props.options;
5
+ let options;
6
+ if (typeof rawOptions === "string") {
7
+ const parsed = JSON.parse(rawOptions);
8
+ options = Object.keys(parsed).map(key => ({ value: key, label: parsed[key], check: false }));
9
+ }
10
+ else {
11
+ options = rawOptions;
12
+ }
13
+ // Quando o metadata não informa explicitamente, usamos a lista estática (options)
14
+ // caso não haja um datasource configurado.
15
+ const useOptions = (_a = props === null || props === void 0 ? void 0 : props.useOptions) !== null && _a !== void 0 ? _a : (options != undefined && (props === null || props === void 0 ? void 0 : props.dataSource) == undefined);
16
+ return (h("div", { class: "ez-col ez-col--sd-12" }, h("ez-multi-select-input", { class: "ez-input__no-margin", label: label, "data-field-name": name, "data-context-name": contextName, key: name, enabled: !readOnly, canShowError: canShowError, options: options, dataSource: props === null || props === void 0 ? void 0 : props.dataSource, columnName: (_b = props === null || props === void 0 ? void 0 : props.columnName) !== null && _b !== void 0 ? _b : name, useOptions: useOptions, isTextSearch: (_c = props === null || props === void 0 ? void 0 : props.isTextSearch) !== null && _c !== void 0 ? _c : false, orderSelectedFirst: (_d = props === null || props === void 0 ? void 0 : props.orderSelectedFirst) !== null && _d !== void 0 ? _d : false })));
17
+ };
@@ -1,14 +1,12 @@
1
- import { DataType, LockManager, LockManagerOperation, MaskFormatter, NumberUtils, SortMode, StringUtils, UserInterface, } from '@sankhyalabs/core';
2
- import { Grid, } from "@ag-grid-community/core";
3
- import { LicenseManager } from '@ag-grid-enterprise/core';
1
+ import { Action, DataType, LockManager, LockManagerOperation, MaskFormatter, NumberUtils, SortMode, StringUtils, UserInterface, } from '@sankhyalabs/core';
2
+ import { Grid, ModuleRegistry, } from '@ag-grid-community/core';
3
+ import { EnterpriseCoreModule, LicenseManager } from '@ag-grid-enterprise/core';
4
4
  import DataSource from './DataSource';
5
5
  import { EzGridCustomHeader } from './components/EzGridCustomHeader';
6
6
  import { CellRendererStatus } from './components/cellRendererStatus';
7
7
  import SelectionHeader from './components/selectionHeader';
8
- import { DISTINCT_FILTER_NAME_PREFIX, EZ_GRID_LOADING_SOURCE, PRESENTATION_COL_ID_PROP_NAME, PRESENTATION_FROM_COL_PROP_NAME } from '../../../../utils/constants';
8
+ import { DISTINCT_FILTER_NAME_PREFIX, EZ_GRID_LOADING_SOURCE, PRESENTATION_COL_ID_PROP_NAME, PRESENTATION_FROM_COL_PROP_NAME, } from '../../../../utils/constants';
9
9
  import GridEditionManager from './GridEditionManager';
10
- import { ModuleRegistry } from '@ag-grid-community/core';
11
- import { EnterpriseCoreModule } from '@ag-grid-enterprise/core';
12
10
  import { RangeSelectionModule } from '@ag-grid-enterprise/range-selection';
13
11
  import { ServerSideRowModelModule } from '@ag-grid-enterprise/server-side-row-model';
14
12
  import { ClipboardModule } from '@ag-grid-enterprise/clipboard';
@@ -16,6 +14,8 @@ import { MenuModule } from '@ag-grid-enterprise/menu';
16
14
  import DOMPurify from 'dompurify';
17
15
  import { buildLocaleText } from './utils/buildLocaleText';
18
16
  import { agGridLicense } from '../../../../utils/ag-grid-license';
17
+ import { resolveAggFunc } from './utils/AggFunctionResolver';
18
+ import { GRID_COLUMN_DEFAULT_WIDTHS } from './gridColumnDefaultWidths';
19
19
  export default class AgGridController {
20
20
  configFilterColumn(filterColumn) {
21
21
  this._filterColumn = filterColumn;
@@ -41,12 +41,14 @@ export default class AgGridController {
41
41
  this.DEFAULT_HEADER_ROW_HEIGHT = 32;
42
42
  this.CHECK_BOX_COL_ID = 'checkBoxColumn';
43
43
  this.STATUS_COL_ID = 'statusColumn';
44
+ this.COLUMN_FOOTER_OPER = 'gridFooterOper';
44
45
  this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
45
46
  this.BLOCK_LOAD_DEBOUNCE = 100;
46
- this.DEFAULT_FONT_SIZE = 14;
47
+ this.DEFAULT_FONT_SIZE = 8;
47
48
  this.DEFAULT_FONT_SIZE_HTML5 = 32;
48
- this.DEFAULT_ICON_SIZE = 12;
49
- this.DEFAULT_MAX_SIZE = 200;
49
+ this.DEFAULT_ICON_SIZE = 40;
50
+ this.DEFAULT_MAX_SIZE = 300;
51
+ this.MULTI_VALUES_PROP = '__multiValues';
50
52
  this._menuItems = [];
51
53
  this._idAttribName = '__record__id__';
52
54
  this._gridConfig = [];
@@ -56,6 +58,9 @@ export default class AgGridController {
56
58
  this._gridShowDom = false;
57
59
  this.peddingExecutionsOnGridShow = [];
58
60
  this._lastColsConfig = undefined;
61
+ this._pinnedBottomDebounceTimer = null;
62
+ this._pinnedBottomDebounceDelay = 150;
63
+ this._pinnedBottomPendingArgs = null;
59
64
  ModuleRegistry.registerModules([
60
65
  EnterpriseCoreModule,
61
66
  RangeSelectionModule,
@@ -122,21 +127,24 @@ export default class AgGridController {
122
127
  const params = [];
123
128
  let isNullIncluded;
124
129
  checkedOptions.forEach(option => {
125
- const paramName = `PARAM_${column}_${params.length + 1}`;
126
- params.push({
127
- dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
128
- name: paramName,
129
- value: option.value,
130
- });
131
- if (option.value == undefined) {
132
- isNullIncluded = true;
133
- }
134
- else {
135
- if (placeholders.length > 0) {
136
- placeholders = placeholders + ',';
130
+ const optionValues = this.resolveColumnFilterValues(option);
131
+ optionValues.forEach(value => {
132
+ const paramName = `PARAM_${column}_${params.length + 1}`;
133
+ params.push({
134
+ dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
135
+ name: paramName,
136
+ value,
137
+ });
138
+ if (value == undefined) {
139
+ isNullIncluded = true;
137
140
  }
138
- placeholders = `${placeholders}:${paramName}`;
139
- }
141
+ else {
142
+ if (placeholders.length > 0) {
143
+ placeholders = placeholders + ',';
144
+ }
145
+ placeholders = `${placeholders}:${paramName}`;
146
+ }
147
+ });
140
148
  });
141
149
  return {
142
150
  name: `${DISTINCT_FILTER_NAME_PREFIX}${column}`,
@@ -158,6 +166,13 @@ export default class AgGridController {
158
166
  }
159
167
  return `${columnExpression} in (${placeholders})`;
160
168
  }
169
+ resolveColumnFilterValues(option) {
170
+ const multiValues = option === null || option === void 0 ? void 0 : option[this.MULTI_VALUES_PROP];
171
+ if (Array.isArray(multiValues) && multiValues.length > 0) {
172
+ return multiValues;
173
+ }
174
+ return [option.value];
175
+ }
161
176
  initDatagrid(container, options) {
162
177
  var _a;
163
178
  this._options = options;
@@ -256,6 +271,90 @@ export default class AgGridController {
256
271
  this.observer.observe(container);
257
272
  }
258
273
  }
274
+ onGridReady(evt) {
275
+ var _a;
276
+ this._bottomPinnedRowSubscriber = async (action) => {
277
+ if (action.type === Action.DATA_LOADED || action.type === Action.PAGINATION_UPDATED) {
278
+ this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
279
+ }
280
+ };
281
+ (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.subscribe(this._bottomPinnedRowSubscriber);
282
+ }
283
+ scheduleSetPinnedBottomRow(api, columnApi) {
284
+ if (!api || !columnApi)
285
+ return;
286
+ // atualiza args pendentes
287
+ this._pinnedBottomPendingArgs = { api, columnApi };
288
+ // limpa timer anterior
289
+ if (this._pinnedBottomDebounceTimer != null) {
290
+ window.clearTimeout(this._pinnedBottomDebounceTimer);
291
+ }
292
+ // agenda execução
293
+ this._pinnedBottomDebounceTimer = window.setTimeout(async () => {
294
+ this._pinnedBottomDebounceTimer = null;
295
+ const args = this._pinnedBottomPendingArgs;
296
+ this._pinnedBottomPendingArgs = null;
297
+ if (!args)
298
+ return;
299
+ try {
300
+ await this.setPinnedBottomRow(args.api, args.columnApi);
301
+ }
302
+ catch (err) {
303
+ console.error('Erro em setPinnedBottomRow debounced:', err);
304
+ }
305
+ }, this._pinnedBottomDebounceDelay);
306
+ }
307
+ async setPinnedBottomRow(api, columnApi) {
308
+ const paginationInfo = this._dataUnit.getPaginationInfo();
309
+ const loadingInProgress = paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.loadingInProgress;
310
+ if (!api || !columnApi || loadingInProgress)
311
+ return;
312
+ const columns = columnApi.getAllGridColumns();
313
+ const columnsWithAgg = columns.filter(col => col.getColDef().aggFunc);
314
+ if (columnsWithAgg.length === 0)
315
+ return;
316
+ const accumulators = new Map();
317
+ columnsWithAgg.forEach(col => {
318
+ const colId = col.getColId();
319
+ accumulators.set(colId, { values: [], aggFunc: col.getColDef().aggFunc });
320
+ });
321
+ const recordsToAggregate = await this.getAllRecordsToAggregate();
322
+ recordsToAggregate.forEach(record => {
323
+ columnsWithAgg.forEach(col => {
324
+ const colId = col.getColId();
325
+ const value = record[colId];
326
+ if (value != null) {
327
+ accumulators.get(colId).values.push(value);
328
+ }
329
+ });
330
+ });
331
+ const totalRow = {};
332
+ accumulators.forEach((acc, colId) => {
333
+ try {
334
+ const aggFn = resolveAggFunc(acc.aggFunc);
335
+ totalRow[colId] = aggFn({ values: acc.values });
336
+ }
337
+ catch (error) {
338
+ console.error(`Erro ao calcular agregação para coluna ${colId}:`, error);
339
+ totalRow[colId] = null;
340
+ }
341
+ });
342
+ const hasData = Object.values(totalRow).some(value => value !== null && value !== undefined && value !== 0 && !Number.isNaN(value));
343
+ if (hasData) {
344
+ api.setPinnedBottomRowData([totalRow]);
345
+ }
346
+ }
347
+ async getAllRecordsToAggregate() {
348
+ var _a, _b;
349
+ if ((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.allRecordsLoader) {
350
+ return this._dataUnit.allRecordsLoader(this._dataUnit);
351
+ }
352
+ const paginationInfo = this._dataUnit.getPaginationInfo();
353
+ if (!paginationInfo || !paginationInfo.total)
354
+ return [];
355
+ const response = await this._dataUnit.dataLoader(this._dataUnit, { limit: paginationInfo.total });
356
+ return (_b = response.records) !== null && _b !== void 0 ? _b : [];
357
+ }
259
358
  processFormatterCellCallback(params) {
260
359
  const column = params.column.getColDef();
261
360
  if (typeof column.valueFormatter === 'function') {
@@ -421,6 +520,8 @@ export default class AgGridController {
421
520
  opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
422
521
  opt.onDragStopped = evt => this.onCallStateChange('columnMovedEnd', evt);
423
522
  opt.onCellClicked = evt => this.onCellClicked(evt);
523
+ opt.onGridReady = evt => this.onGridReady(evt);
524
+ opt.onModelUpdated = async (evt) => this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
424
525
  }
425
526
  setOptionsSupress(opt) {
426
527
  opt.suppressDragLeaveHidesColumns = true;
@@ -943,9 +1044,12 @@ export default class AgGridController {
943
1044
  tooltip = this._i18n('ez-grid.columnCantBeOrder');
944
1045
  }
945
1046
  const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(PRESENTATION_FROM_COL_PROP_NAME);
1047
+ const initialWidth = this.getInitialColumnWidth(source.userInterface, source.label);
946
1048
  return this._editionManager.configureColumn({
947
1049
  headerName: source.label,
948
1050
  field: source.name,
1051
+ width: initialWidth,
1052
+ aggFunc: this.getAggFunc(source),
949
1053
  sortable: propSortable,
950
1054
  resizable: true,
951
1055
  headerComponent: 'ezGridCustomHeader',
@@ -987,6 +1091,10 @@ export default class AgGridController {
987
1091
  editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(PRESENTATION_FROM_COL_PROP_NAME))
988
1092
  });
989
1093
  }
1094
+ getAggFunc(column) {
1095
+ var _a, _b;
1096
+ return (_b = (_a = column.props) === null || _a === void 0 ? void 0 : _a.get(this.COLUMN_FOOTER_OPER)) !== null && _b !== void 0 ? _b : column.aggFunc;
1097
+ }
990
1098
  setHTMLRender(params, source) {
991
1099
  const htmlSanitized = DOMPurify.sanitize(params.value);
992
1100
  params.colDef.cellRenderer = (cellParams) => {
@@ -1109,12 +1217,13 @@ export default class AgGridController {
1109
1217
  }
1110
1218
  }
1111
1219
  onCallStateChange(type, e) {
1220
+ var _a, _b;
1112
1221
  const finished = !('finished' in e) || e['finished'];
1113
1222
  if (finished && this._columnStateChangeCallback) {
1114
1223
  let info = {};
1115
1224
  let isUserChange = this.isUIEvent(e['source'], e['type']);
1116
1225
  if (type === 'columnResize') {
1117
- info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
1226
+ info['column'] = { colId: (_a = e['column']) === null || _a === void 0 ? void 0 : _a.colId, actualWidth: (_b = e['column']) === null || _b === void 0 ? void 0 : _b.actualWidth };
1118
1227
  }
1119
1228
  info['isUserChange'] = isUserChange;
1120
1229
  info['isElementResize'] = this.isElementResize(e);
@@ -1242,6 +1351,22 @@ export default class AgGridController {
1242
1351
  var _a;
1243
1352
  this.observer.disconnect();
1244
1353
  (_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.destroy();
1354
+ this.handleDestroyBottomPinnedRowSubscriber();
1355
+ this.handleDestroySetBottomPinnedRowDebounce();
1356
+ }
1357
+ handleDestroyBottomPinnedRowSubscriber() {
1358
+ var _a;
1359
+ if (this._bottomPinnedRowSubscriber) {
1360
+ (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this._bottomPinnedRowSubscriber);
1361
+ this._bottomPinnedRowSubscriber = null;
1362
+ }
1363
+ }
1364
+ handleDestroySetBottomPinnedRowDebounce() {
1365
+ if (this._pinnedBottomDebounceTimer != null) {
1366
+ clearTimeout(this._pinnedBottomDebounceTimer);
1367
+ this._pinnedBottomDebounceTimer = null;
1368
+ this._pinnedBottomPendingArgs = null;
1369
+ }
1245
1370
  }
1246
1371
  registryListeners() {
1247
1372
  var _a;
@@ -1270,10 +1395,21 @@ export default class AgGridController {
1270
1395
  }
1271
1396
  const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
1272
1397
  const label = (_b = field === null || field === void 0 ? void 0 : field.label) !== null && _b !== void 0 ? _b : (_f = (_e = (_d = (_c = this._gridOptions) === null || _c === void 0 ? void 0 : _c.columnApi) === null || _d === void 0 ? void 0 : _d.getColumn(cfgColumn.name)) === null || _e === void 0 ? void 0 : _e.getColDef()) === null || _f === void 0 ? void 0 : _f.headerName;
1273
- if ((field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH) {
1274
- return this.DEFAULT_MAX_SIZE;
1398
+ return this.getInitialColumnWidth(field === null || field === void 0 ? void 0 : field.userInterface, label);
1399
+ }
1400
+ getInitialColumnWidth(userInterface, label) {
1401
+ const columnWidthByLabel = this.getColumnWidthByLabel(label);
1402
+ const defaultWidth = this.getDefaultWidthByUserInterface(userInterface);
1403
+ if (!defaultWidth) {
1404
+ return columnWidthByLabel;
1405
+ }
1406
+ return Math.max(defaultWidth, columnWidthByLabel);
1407
+ }
1408
+ getDefaultWidthByUserInterface(userInterface) {
1409
+ if (!userInterface) {
1410
+ return undefined;
1275
1411
  }
1276
- return this.getColumnWidthByLabel(label);
1412
+ return GRID_COLUMN_DEFAULT_WIDTHS[userInterface];
1277
1413
  }
1278
1414
  getColumnWidthByLabel(label) {
1279
1415
  const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;