@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-132151.1 → 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 (319) 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} +202 -4
  4. package/dist/cjs/ez-actions-button.cjs.entry.js +2 -2
  5. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +4 -2
  9. package/dist/cjs/ez-classic-date-input.cjs.entry.js +2 -2
  10. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-classic-input.cjs.entry.js +49 -3
  12. package/dist/cjs/ez-classic-number-input.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +26 -13
  14. package/dist/cjs/ez-classic-search.cjs.entry.js +2 -2
  15. package/dist/cjs/ez-classic-text-area.cjs.entry.js +12 -1
  16. package/dist/cjs/ez-classic-time-input.cjs.entry.js +4 -3
  17. package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
  18. package/dist/cjs/ez-combo-box.cjs.entry.js +7 -2
  19. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-form-view.cjs.entry.js +20 -1
  27. package/dist/cjs/ez-form.cjs.entry.js +65 -43
  28. package/dist/cjs/ez-grid-pagination.cjs.entry.js +227 -0
  29. package/dist/cjs/ez-grid.cjs.entry.js +235 -172
  30. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js +675 -0
  37. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-popup.cjs.entry.js +4 -5
  40. package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
  41. package/dist/cjs/ez-scroller_2.cjs.entry.js +81 -14
  42. package/dist/cjs/ez-search-plus.cjs.entry.js +25 -11
  43. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-search.cjs.entry.js +11 -4
  45. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-sortable-list.cjs.entry.js +99 -114
  48. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-split-button.cjs.entry.js +16 -17
  50. package/dist/cjs/ez-split-item.cjs.entry.js +2 -2
  51. package/dist/cjs/ez-tabselector.cjs.entry.js +209 -61
  52. package/dist/cjs/ez-text-input.cjs.entry.js +21 -15
  53. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-tooltip.cjs.entry.js +46 -8
  55. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  57. package/dist/cjs/ezui.cjs.js +3 -3
  58. package/dist/cjs/filter-column.cjs.entry.js +9 -3
  59. package/dist/cjs/{floating-ui.dom.esm-f4d87617.js → floating-ui.dom.esm-9c8bfebb.js} +258 -119
  60. package/dist/cjs/{index-350d0fa0.js → index-9739c242.js} +91 -30
  61. package/dist/cjs/index-a7b0c73d.js +16 -16
  62. package/dist/cjs/loader.cjs.js +3 -3
  63. package/dist/cjs/{search-column-4bb1cdb7.js → search-column-6e90fb19.js} +24 -10
  64. package/dist/collection/collection-manifest.json +8 -0
  65. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +21 -2
  66. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +1 -1
  67. package/dist/collection/components/ez-classic-input/ez-classic-input.js +47 -2
  68. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js +2 -1
  69. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +22 -0
  70. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +26 -11
  71. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
  72. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +3 -2
  73. package/dist/collection/components/ez-combo-box/ez-combo-box.js +5 -0
  74. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  75. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  76. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -0
  77. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js +17 -0
  78. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +163 -27
  79. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +8 -1
  80. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
  81. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
  82. package/dist/collection/components/ez-grid/ez-grid.css +5 -60
  83. package/dist/collection/components/ez-grid/ez-grid.js +52 -150
  84. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
  85. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +10 -0
  86. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -1
  87. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +1 -1
  88. package/dist/collection/components/ez-grid/utils/index.js +1 -0
  89. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +111 -0
  90. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +410 -0
  91. package/dist/collection/components/ez-icon/ez-icon.css +1153 -1146
  92. package/dist/collection/components/ez-image-input/ez-image-input.css +24 -8
  93. package/dist/collection/components/ez-image-input/ez-image-input.js +6 -1
  94. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css +221 -0
  95. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js +555 -0
  96. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +27 -6
  97. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +66 -10
  98. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +20 -0
  99. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +36 -2
  100. package/dist/collection/components/ez-popup/ez-popup.js +3 -4
  101. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
  102. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
  103. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
  104. package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
  105. package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
  106. package/dist/collection/components/ez-search/ez-search.css +4 -0
  107. package/dist/collection/components/ez-search/ez-search.js +22 -1
  108. package/dist/collection/components/ez-search-plus/ez-search-plus.js +38 -10
  109. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  110. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  111. package/dist/collection/components/ez-split-button/ez-split-button.js +20 -15
  112. package/dist/collection/components/ez-tabselector/ez-tabselector.css +29 -1
  113. package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
  114. package/dist/collection/components/ez-text-input/ez-text-input.js +21 -15
  115. package/dist/collection/components/ez-tooltip/ez-tooltip.js +45 -7
  116. package/dist/collection/utils/form/FormMetadata.js +62 -40
  117. package/dist/collection/utils/i18n/locales/en-us.js +27 -4
  118. package/dist/collection/utils/i18n/locales/es-es.js +27 -4
  119. package/dist/collection/utils/i18n/locales/pt-br.js +27 -4
  120. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +14 -2
  121. package/dist/collection/utils/searchColumn/search-column.js +8 -6
  122. package/dist/custom-elements/index.d.ts +18 -0
  123. package/dist/custom-elements/index.js +1889 -647
  124. package/dist/esm/{ApplicationUtils-0c5cb207.js → ApplicationUtils-f7721533.js} +1 -1
  125. package/dist/esm/{app-globals-1db10325.js → app-globals-6e258867.js} +1 -1
  126. package/dist/esm/{classic-search-list_7.entry.js → classic-search-list_8.entry.js} +202 -5
  127. package/dist/esm/ez-actions-button.entry.js +2 -2
  128. package/dist/esm/ez-alert-list.entry.js +1 -1
  129. package/dist/esm/ez-avatar.entry.js +1 -1
  130. package/dist/esm/ez-calendar.entry.js +1 -1
  131. package/dist/esm/ez-classic-combo-box.entry.js +4 -2
  132. package/dist/esm/ez-classic-date-input.entry.js +2 -2
  133. package/dist/esm/ez-classic-date-time-input.entry.js +1 -1
  134. package/dist/esm/ez-classic-input.entry.js +49 -3
  135. package/dist/esm/ez-classic-number-input.entry.js +1 -1
  136. package/dist/esm/ez-classic-search-plus.entry.js +26 -13
  137. package/dist/esm/ez-classic-search.entry.js +2 -2
  138. package/dist/esm/ez-classic-text-area.entry.js +12 -1
  139. package/dist/esm/ez-classic-time-input.entry.js +4 -3
  140. package/dist/esm/ez-collapsible-box.entry.js +2 -2
  141. package/dist/esm/ez-combo-box.entry.js +7 -2
  142. package/dist/esm/ez-date-input.entry.js +1 -1
  143. package/dist/esm/ez-date-time-input.entry.js +1 -1
  144. package/dist/esm/ez-dialog.entry.js +1 -1
  145. package/dist/esm/ez-double-list.entry.js +1 -1
  146. package/dist/esm/ez-dropdown.entry.js +1 -1
  147. package/dist/esm/ez-empty-card.entry.js +1 -1
  148. package/dist/esm/ez-file-item.entry.js +1 -1
  149. package/dist/esm/ez-form-view.entry.js +20 -1
  150. package/dist/esm/ez-form.entry.js +65 -43
  151. package/dist/esm/ez-grid-pagination.entry.js +223 -0
  152. package/dist/esm/ez-grid.entry.js +236 -173
  153. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  154. package/dist/esm/ez-icon.entry.js +1 -1
  155. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  156. package/dist/esm/ez-list.entry.js +1 -1
  157. package/dist/esm/ez-modal-container.entry.js +1 -1
  158. package/dist/esm/ez-modal.entry.js +1 -1
  159. package/dist/esm/ez-multi-selection-list_5.entry.js +667 -0
  160. package/dist/esm/ez-number-input.entry.js +1 -1
  161. package/dist/esm/ez-pagination.entry.js +1 -1
  162. package/dist/esm/ez-popup.entry.js +4 -5
  163. package/dist/esm/ez-record-navigation.entry.js +117 -0
  164. package/dist/esm/ez-scroller_2.entry.js +81 -14
  165. package/dist/esm/ez-search-plus.entry.js +25 -11
  166. package/dist/esm/ez-search-result-list.entry.js +1 -1
  167. package/dist/esm/ez-search.entry.js +11 -4
  168. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  169. package/dist/esm/ez-skeleton.entry.js +1 -1
  170. package/dist/esm/ez-sortable-list.entry.js +99 -114
  171. package/dist/esm/ez-spinner.entry.js +1 -1
  172. package/dist/esm/ez-split-button.entry.js +16 -17
  173. package/dist/esm/ez-split-item.entry.js +2 -2
  174. package/dist/esm/ez-tabselector.entry.js +209 -61
  175. package/dist/esm/ez-text-input.entry.js +21 -15
  176. package/dist/esm/ez-time-input.entry.js +1 -1
  177. package/dist/esm/ez-tooltip.entry.js +46 -8
  178. package/dist/esm/ez-tree.entry.js +1 -1
  179. package/dist/esm/ez-upload.entry.js +2 -2
  180. package/dist/esm/ezui.js +3 -3
  181. package/dist/esm/filter-column.entry.js +9 -3
  182. package/dist/esm/{floating-ui.dom.esm-ad30f2f0.js → floating-ui.dom.esm-0c464cef.js} +258 -120
  183. package/dist/esm/{index-225aa0c3.js → index-9e6dab5b.js} +91 -30
  184. package/dist/esm/index-baa5e267.js +16 -16
  185. package/dist/esm/loader.js +3 -3
  186. package/dist/esm/{search-column-e145f048.js → search-column-7d7f0331.js} +24 -10
  187. package/dist/ezui/ezui.esm.js +1 -1
  188. package/dist/ezui/p-01e652c6.entry.js +1 -0
  189. package/dist/ezui/p-0592535f.entry.js +1 -0
  190. package/dist/ezui/{p-544605c4.entry.js → p-063bb342.entry.js} +1 -1
  191. package/dist/ezui/{p-c56ee8c0.entry.js → p-0ac8bd66.entry.js} +1 -1
  192. package/dist/ezui/p-0d80e3ec.entry.js +1 -0
  193. package/dist/ezui/{p-729bd1be.entry.js → p-108503ed.entry.js} +1 -1
  194. package/dist/ezui/{p-e3cd5080.entry.js → p-1166b2d5.entry.js} +1 -1
  195. package/dist/ezui/p-1222e1b6.entry.js +1 -0
  196. package/dist/ezui/p-15873627.js +1 -0
  197. package/dist/ezui/p-178cb9df.entry.js +1 -0
  198. package/dist/ezui/p-1b1b0af3.entry.js +1 -0
  199. package/dist/ezui/p-2856c545.entry.js +1 -0
  200. package/dist/ezui/{p-df802548.entry.js → p-2ae127bc.entry.js} +1 -1
  201. package/dist/ezui/{p-556bf329.entry.js → p-2ebd7383.entry.js} +1 -1
  202. package/dist/ezui/p-3e84df1c.entry.js +1 -0
  203. package/dist/ezui/p-3fae7072.entry.js +1 -0
  204. package/dist/ezui/p-42e1e733.js +1 -0
  205. package/dist/ezui/{p-4e869617.entry.js → p-45245c32.entry.js} +1 -1
  206. package/dist/ezui/{p-a872c642.entry.js → p-46b1b2ac.entry.js} +1 -1
  207. package/dist/ezui/{p-5abb220b.entry.js → p-54af1af0.entry.js} +1 -1
  208. package/dist/ezui/p-55434123.entry.js +1 -0
  209. package/dist/ezui/p-6791d05f.entry.js +1 -0
  210. package/dist/ezui/{p-b83b9d14.entry.js → p-6d46f862.entry.js} +46 -46
  211. package/dist/ezui/p-6da0dc70.entry.js +1 -0
  212. package/dist/ezui/p-72e77b45.entry.js +1 -0
  213. package/dist/ezui/{p-7edc3ef7.entry.js → p-73461028.entry.js} +1 -1
  214. package/dist/ezui/{p-f5552540.entry.js → p-7424d520.entry.js} +1 -1
  215. package/dist/ezui/{p-b705b342.entry.js → p-7a07c50f.entry.js} +1 -1
  216. package/dist/ezui/p-7b078125.entry.js +1 -0
  217. package/dist/ezui/p-7df45688.entry.js +1 -0
  218. package/dist/ezui/{p-b0a716ef.entry.js → p-881abc22.entry.js} +1 -1
  219. package/dist/ezui/{p-7134726a.entry.js → p-99556756.entry.js} +1 -1
  220. package/dist/ezui/{p-97312709.entry.js → p-9bd78d39.entry.js} +1 -1
  221. package/dist/ezui/p-a11e4e8e.entry.js +1 -0
  222. package/dist/ezui/p-a9ab6cb9.entry.js +1 -0
  223. package/dist/ezui/{p-9825c1d2.js → p-ad5e263d.js} +1 -1
  224. package/dist/ezui/{p-26cd4c2e.entry.js → p-b06294c9.entry.js} +1 -1
  225. package/dist/ezui/{p-4d30b703.entry.js → p-b50289bb.entry.js} +1 -1
  226. package/dist/ezui/p-b66ae5c5.entry.js +1 -0
  227. package/dist/ezui/{p-2da9faf1.entry.js → p-b8cd501a.entry.js} +1 -1
  228. package/dist/ezui/p-b986da95.entry.js +7 -0
  229. package/dist/ezui/{p-4c2a4435.entry.js → p-c25a4d30.entry.js} +1 -1
  230. package/dist/ezui/{p-4f7ad3ee.entry.js → p-c37fb359.entry.js} +1 -1
  231. package/dist/ezui/{p-e2972977.entry.js → p-cb00863d.entry.js} +1 -1
  232. package/dist/ezui/{p-e3a42f47.entry.js → p-d5684cdc.entry.js} +1 -1
  233. package/dist/ezui/{p-6ac056d7.entry.js → p-d70805e4.entry.js} +1 -1
  234. package/dist/ezui/p-d81a15fc.entry.js +1 -0
  235. package/dist/ezui/p-d8b69419.entry.js +1 -0
  236. package/dist/ezui/p-de14fe07.js +1 -0
  237. package/dist/ezui/p-df6173c8.entry.js +1 -0
  238. package/dist/ezui/{p-56565777.entry.js → p-dfced8c7.entry.js} +1 -1
  239. package/dist/ezui/{p-0248846f.entry.js → p-e3d6b544.entry.js} +1 -1
  240. package/dist/ezui/p-e63a0479.js +1 -0
  241. package/dist/ezui/{p-4c76b365.entry.js → p-e692c2a7.entry.js} +1 -1
  242. package/dist/ezui/{p-8e5f1c74.entry.js → p-e8cd003b.entry.js} +1 -1
  243. package/dist/ezui/p-ed790867.entry.js +1 -0
  244. package/dist/ezui/p-f2e0acf5.entry.js +1 -0
  245. package/dist/ezui/{p-34d459e4.entry.js → p-f498f6b5.entry.js} +1 -1
  246. package/dist/ezui/{p-4af745e1.entry.js → p-fb27b98d.entry.js} +1 -1
  247. package/dist/ezui/{p-987185c4.entry.js → p-fc11f5b9.entry.js} +1 -1
  248. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +2 -0
  249. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +6 -0
  250. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +3 -0
  251. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
  252. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  253. package/dist/types/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.d.ts +2 -0
  254. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
  255. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +16 -0
  256. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
  257. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
  258. package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
  259. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
  260. package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
  261. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +75 -0
  262. package/dist/types/components/ez-image-input/ez-image-input.d.ts +1 -0
  263. package/dist/types/components/ez-multi-select-input/ez-multi-select-input.d.ts +119 -0
  264. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +8 -0
  265. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +7 -0
  266. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +9 -0
  267. package/dist/types/components/ez-popup/ez-popup.d.ts +1 -0
  268. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
  269. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
  270. package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
  271. package/dist/types/components/ez-search/ez-search.d.ts +4 -0
  272. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +6 -1
  273. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
  274. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +41 -20
  275. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -0
  276. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +2 -0
  277. package/dist/types/components.d.ts +407 -9
  278. package/dist/types/utils/i18n/locales/en-us.d.ts +26 -3
  279. package/dist/types/utils/i18n/locales/es-es.d.ts +26 -3
  280. package/dist/types/utils/i18n/locales/pt-br.d.ts +26 -3
  281. package/dist/types/utils/i18n/translations.d.ts +78 -9
  282. package/package.json +5 -6
  283. package/react/components.d.ts +3 -0
  284. package/react/components.js +3 -0
  285. package/react/components.js.map +1 -1
  286. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +0 -194
  287. package/dist/cjs/ez-popover-core.cjs.entry.js +0 -211
  288. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +0 -243
  289. package/dist/esm/ez-multi-selection-list.entry.js +0 -190
  290. package/dist/esm/ez-popover-core.entry.js +0 -207
  291. package/dist/esm/ez-popover-plus_3.entry.js +0 -237
  292. package/dist/ezui/p-0625743b.entry.js +0 -1
  293. package/dist/ezui/p-2528e988.entry.js +0 -1
  294. package/dist/ezui/p-288631d1.entry.js +0 -1
  295. package/dist/ezui/p-2a806303.js +0 -1
  296. package/dist/ezui/p-44183c39.entry.js +0 -1
  297. package/dist/ezui/p-4e576bb9.entry.js +0 -1
  298. package/dist/ezui/p-6020f3d5.entry.js +0 -1
  299. package/dist/ezui/p-619225ce.entry.js +0 -1
  300. package/dist/ezui/p-679a2942.entry.js +0 -1
  301. package/dist/ezui/p-951b32a1.entry.js +0 -1
  302. package/dist/ezui/p-a0f51b99.entry.js +0 -1
  303. package/dist/ezui/p-a3bad8f8.entry.js +0 -1
  304. package/dist/ezui/p-a4351519.entry.js +0 -1
  305. package/dist/ezui/p-b36475f9.entry.js +0 -1
  306. package/dist/ezui/p-b8078832.entry.js +0 -1
  307. package/dist/ezui/p-c0ae79fa.entry.js +0 -1
  308. package/dist/ezui/p-c178730b.js +0 -1
  309. package/dist/ezui/p-c2b2172b.entry.js +0 -1
  310. package/dist/ezui/p-c3c6274e.js +0 -1
  311. package/dist/ezui/p-cabc119e.entry.js +0 -1
  312. package/dist/ezui/p-ce0a0036.entry.js +0 -7
  313. package/dist/ezui/p-cfa26133.entry.js +0 -1
  314. package/dist/ezui/p-d2645bdf.entry.js +0 -1
  315. package/dist/ezui/p-d5dc6b01.entry.js +0 -1
  316. package/dist/ezui/p-e2689b33.entry.js +0 -1
  317. package/dist/ezui/p-e493ad57.entry.js +0 -1
  318. package/dist/ezui/p-ef8bd3e8.entry.js +0 -1
  319. package/dist/ezui/p-ff4312d5.js +0 -1
@@ -1,13 +1,13 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-baa5e267.js';
2
- import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, OverflowWatcher, OVERFLOWED_CLASS_NAME, KeyboardManager } from '@sankhyalabs/core';
2
+ import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, KeyboardManager } from '@sankhyalabs/core';
3
3
  import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
4
- import { A as ApplicationUtils } from './ApplicationUtils-0c5cb207.js';
4
+ import { A as ApplicationUtils } from './ApplicationUtils-f7721533.js';
5
5
  import './DialogType-54a62731.js';
6
6
  import './CheckMode-bdb2ec19.js';
7
- import { g as getI18n, i as initI18n } from './index-225aa0c3.js';
7
+ import { g as getI18n, i as initI18n } from './index-9e6dab5b.js';
8
8
  import { C as CustomEditorSource, a as CustomRenderSource } from './types-6f6b2650.js';
9
9
  import './FormLayout-bda67973.js';
10
- import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-e145f048.js';
10
+ import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-7d7f0331.js';
11
11
  import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
12
12
  import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
13
13
  import { p as purify } from './purify-9357603c.js';
@@ -50264,7 +50264,14 @@ class DataSource {
50264
50264
  for (const value in properties) {
50265
50265
  props.set(value, properties[value]);
50266
50266
  }
50267
- const col = { label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props };
50267
+ const col = {
50268
+ label: f.label,
50269
+ name: f.name,
50270
+ userInterface: f.userInterface,
50271
+ options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options,
50272
+ props,
50273
+ aggFunc: f['aggFunc']
50274
+ };
50268
50275
  columnDefs.push(col);
50269
50276
  if (f.userInterface === UserInterface.SEARCHPLUS && ((_b = f.properties) === null || _b === void 0 ? void 0 : _b.DESCRIPTIONFIELD)) {
50270
50277
  const descriptionField = this.getDescriptionField((_c = f.properties) === null || _c === void 0 ? void 0 : _c.DESCRIPTIONFIELD, (_d = f.properties) === null || _d === void 0 ? void 0 : _d.ENTITYNAME);
@@ -64831,6 +64838,54 @@ function _0x15c2(_0x353a9c, _0x3e4a5a) { const _0x53e110 = _0x53e1(); return _0x
64831
64838
  } }(_0x53e1, 0xe8676));
64832
64839
  const agGridLicense = _0xc7632f(0x18c);
64833
64840
 
64841
+ const BUILTIN_AGG_FUNCS = {
64842
+ "sum": (params) => params.values.reduce((a, b) => Number(a !== null && a !== void 0 ? a : 0) + Number(b !== null && b !== void 0 ? b : 0), 0),
64843
+ avg: (params) => {
64844
+ const valid = params.values.filter(v => v != null && !Number.isNaN(v));
64845
+ return valid.length
64846
+ ? valid.reduce((a, b) => a + b, 0) / valid.length
64847
+ : null;
64848
+ },
64849
+ min: (params) => {
64850
+ const valid = params.values.filter(v => v != null && !Number.isNaN(v));
64851
+ return valid.length ? Math.min(...valid) : null;
64852
+ },
64853
+ max: (params) => Math.max(...params.values.filter(v => v != null && !Number.isNaN(v))),
64854
+ count: (params) => params.values.filter(v => v != null).length
64855
+ };
64856
+ function resolveAggFunc(aggFunc) {
64857
+ if (typeof aggFunc === 'function')
64858
+ return aggFunc;
64859
+ const fn = BUILTIN_AGG_FUNCS[aggFunc];
64860
+ if (!fn) {
64861
+ throw new Error(`aggFunc "${aggFunc}" não suportada`);
64862
+ }
64863
+ return fn;
64864
+ }
64865
+
64866
+ /**
64867
+ * Larguras padrão das colunas do grid por tipo de UserInterface
64868
+ */
64869
+ const GRID_COLUMN_DEFAULT_WIDTHS = {
64870
+ [UserInterface.SEARCH]: 200,
64871
+ [UserInterface.SEARCHPLUS]: 100,
64872
+ [UserInterface.DATE]: 120,
64873
+ [UserInterface.DATETIME]: 160,
64874
+ [UserInterface.TIME]: 100,
64875
+ [UserInterface.ELAPSEDTIME]: 100,
64876
+ [UserInterface.DECIMALNUMBER]: 130,
64877
+ [UserInterface.INTEGERNUMBER]: 120,
64878
+ [UserInterface.SWITCH]: 80,
64879
+ [UserInterface.FILE]: 100,
64880
+ [UserInterface.HTML]: 200,
64881
+ [UserInterface.LONGTEXT]: 200,
64882
+ [UserInterface.CHECKBOX]: 80,
64883
+ [UserInterface.OPTIONSELECTOR]: 100,
64884
+ [UserInterface.SHORTTEXT]: 200,
64885
+ [UserInterface.PASSWORD]: 100,
64886
+ [UserInterface.MASKEDTEXT]: 100,
64887
+ };
64888
+
64834
64889
  class AgGridController {
64835
64890
  configFilterColumn(filterColumn) {
64836
64891
  this._filterColumn = filterColumn;
@@ -64856,12 +64911,14 @@ class AgGridController {
64856
64911
  this.DEFAULT_HEADER_ROW_HEIGHT = 32;
64857
64912
  this.CHECK_BOX_COL_ID = 'checkBoxColumn';
64858
64913
  this.STATUS_COL_ID = 'statusColumn';
64914
+ this.COLUMN_FOOTER_OPER = 'gridFooterOper';
64859
64915
  this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
64860
64916
  this.BLOCK_LOAD_DEBOUNCE = 100;
64861
- this.DEFAULT_FONT_SIZE = 14;
64917
+ this.DEFAULT_FONT_SIZE = 8;
64862
64918
  this.DEFAULT_FONT_SIZE_HTML5 = 32;
64863
- this.DEFAULT_ICON_SIZE = 12;
64864
- this.DEFAULT_MAX_SIZE = 200;
64919
+ this.DEFAULT_ICON_SIZE = 40;
64920
+ this.DEFAULT_MAX_SIZE = 300;
64921
+ this.MULTI_VALUES_PROP = '__multiValues';
64865
64922
  this._menuItems = [];
64866
64923
  this._idAttribName = '__record__id__';
64867
64924
  this._gridConfig = [];
@@ -64871,6 +64928,9 @@ class AgGridController {
64871
64928
  this._gridShowDom = false;
64872
64929
  this.peddingExecutionsOnGridShow = [];
64873
64930
  this._lastColsConfig = undefined;
64931
+ this._pinnedBottomDebounceTimer = null;
64932
+ this._pinnedBottomDebounceDelay = 150;
64933
+ this._pinnedBottomPendingArgs = null;
64874
64934
  ModuleRegistry.registerModules([
64875
64935
  EnterpriseCoreModule,
64876
64936
  RangeSelectionModule,
@@ -64937,21 +64997,24 @@ class AgGridController {
64937
64997
  const params = [];
64938
64998
  let isNullIncluded;
64939
64999
  checkedOptions.forEach(option => {
64940
- const paramName = `PARAM_${column}_${params.length + 1}`;
64941
- params.push({
64942
- dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
64943
- name: paramName,
64944
- value: option.value,
64945
- });
64946
- if (option.value == undefined) {
64947
- isNullIncluded = true;
64948
- }
64949
- else {
64950
- if (placeholders.length > 0) {
64951
- placeholders = placeholders + ',';
65000
+ const optionValues = this.resolveColumnFilterValues(option);
65001
+ optionValues.forEach(value => {
65002
+ const paramName = `PARAM_${column}_${params.length + 1}`;
65003
+ params.push({
65004
+ dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
65005
+ name: paramName,
65006
+ value,
65007
+ });
65008
+ if (value == undefined) {
65009
+ isNullIncluded = true;
64952
65010
  }
64953
- placeholders = `${placeholders}:${paramName}`;
64954
- }
65011
+ else {
65012
+ if (placeholders.length > 0) {
65013
+ placeholders = placeholders + ',';
65014
+ }
65015
+ placeholders = `${placeholders}:${paramName}`;
65016
+ }
65017
+ });
64955
65018
  });
64956
65019
  return {
64957
65020
  name: `${DISTINCT_FILTER_NAME_PREFIX}${column}`,
@@ -64973,6 +65036,13 @@ class AgGridController {
64973
65036
  }
64974
65037
  return `${columnExpression} in (${placeholders})`;
64975
65038
  }
65039
+ resolveColumnFilterValues(option) {
65040
+ const multiValues = option === null || option === void 0 ? void 0 : option[this.MULTI_VALUES_PROP];
65041
+ if (Array.isArray(multiValues) && multiValues.length > 0) {
65042
+ return multiValues;
65043
+ }
65044
+ return [option.value];
65045
+ }
64976
65046
  initDatagrid(container, options) {
64977
65047
  var _a;
64978
65048
  this._options = options;
@@ -65071,6 +65141,90 @@ class AgGridController {
65071
65141
  this.observer.observe(container);
65072
65142
  }
65073
65143
  }
65144
+ onGridReady(evt) {
65145
+ var _a;
65146
+ this._bottomPinnedRowSubscriber = async (action) => {
65147
+ if (action.type === Action.DATA_LOADED || action.type === Action.PAGINATION_UPDATED) {
65148
+ this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
65149
+ }
65150
+ };
65151
+ (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.subscribe(this._bottomPinnedRowSubscriber);
65152
+ }
65153
+ scheduleSetPinnedBottomRow(api, columnApi) {
65154
+ if (!api || !columnApi)
65155
+ return;
65156
+ // atualiza args pendentes
65157
+ this._pinnedBottomPendingArgs = { api, columnApi };
65158
+ // limpa timer anterior
65159
+ if (this._pinnedBottomDebounceTimer != null) {
65160
+ window.clearTimeout(this._pinnedBottomDebounceTimer);
65161
+ }
65162
+ // agenda execução
65163
+ this._pinnedBottomDebounceTimer = window.setTimeout(async () => {
65164
+ this._pinnedBottomDebounceTimer = null;
65165
+ const args = this._pinnedBottomPendingArgs;
65166
+ this._pinnedBottomPendingArgs = null;
65167
+ if (!args)
65168
+ return;
65169
+ try {
65170
+ await this.setPinnedBottomRow(args.api, args.columnApi);
65171
+ }
65172
+ catch (err) {
65173
+ console.error('Erro em setPinnedBottomRow debounced:', err);
65174
+ }
65175
+ }, this._pinnedBottomDebounceDelay);
65176
+ }
65177
+ async setPinnedBottomRow(api, columnApi) {
65178
+ const paginationInfo = this._dataUnit.getPaginationInfo();
65179
+ const loadingInProgress = paginationInfo === null || paginationInfo === void 0 ? void 0 : paginationInfo.loadingInProgress;
65180
+ if (!api || !columnApi || loadingInProgress)
65181
+ return;
65182
+ const columns = columnApi.getAllGridColumns();
65183
+ const columnsWithAgg = columns.filter(col => col.getColDef().aggFunc);
65184
+ if (columnsWithAgg.length === 0)
65185
+ return;
65186
+ const accumulators = new Map();
65187
+ columnsWithAgg.forEach(col => {
65188
+ const colId = col.getColId();
65189
+ accumulators.set(colId, { values: [], aggFunc: col.getColDef().aggFunc });
65190
+ });
65191
+ const recordsToAggregate = await this.getAllRecordsToAggregate();
65192
+ recordsToAggregate.forEach(record => {
65193
+ columnsWithAgg.forEach(col => {
65194
+ const colId = col.getColId();
65195
+ const value = record[colId];
65196
+ if (value != null) {
65197
+ accumulators.get(colId).values.push(value);
65198
+ }
65199
+ });
65200
+ });
65201
+ const totalRow = {};
65202
+ accumulators.forEach((acc, colId) => {
65203
+ try {
65204
+ const aggFn = resolveAggFunc(acc.aggFunc);
65205
+ totalRow[colId] = aggFn({ values: acc.values });
65206
+ }
65207
+ catch (error) {
65208
+ console.error(`Erro ao calcular agregação para coluna ${colId}:`, error);
65209
+ totalRow[colId] = null;
65210
+ }
65211
+ });
65212
+ const hasData = Object.values(totalRow).some(value => value !== null && value !== undefined && value !== 0 && !Number.isNaN(value));
65213
+ if (hasData) {
65214
+ api.setPinnedBottomRowData([totalRow]);
65215
+ }
65216
+ }
65217
+ async getAllRecordsToAggregate() {
65218
+ var _a, _b;
65219
+ if ((_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.allRecordsLoader) {
65220
+ return this._dataUnit.allRecordsLoader(this._dataUnit);
65221
+ }
65222
+ const paginationInfo = this._dataUnit.getPaginationInfo();
65223
+ if (!paginationInfo || !paginationInfo.total)
65224
+ return [];
65225
+ const response = await this._dataUnit.dataLoader(this._dataUnit, { limit: paginationInfo.total });
65226
+ return (_b = response.records) !== null && _b !== void 0 ? _b : [];
65227
+ }
65074
65228
  processFormatterCellCallback(params) {
65075
65229
  const column = params.column.getColDef();
65076
65230
  if (typeof column.valueFormatter === 'function') {
@@ -65236,6 +65390,8 @@ class AgGridController {
65236
65390
  opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
65237
65391
  opt.onDragStopped = evt => this.onCallStateChange('columnMovedEnd', evt);
65238
65392
  opt.onCellClicked = evt => this.onCellClicked(evt);
65393
+ opt.onGridReady = evt => this.onGridReady(evt);
65394
+ opt.onModelUpdated = async (evt) => this.scheduleSetPinnedBottomRow(evt.api, evt.columnApi);
65239
65395
  }
65240
65396
  setOptionsSupress(opt) {
65241
65397
  opt.suppressDragLeaveHidesColumns = true;
@@ -65758,9 +65914,12 @@ class AgGridController {
65758
65914
  tooltip = this._i18n('ez-grid.columnCantBeOrder');
65759
65915
  }
65760
65916
  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);
65917
+ const initialWidth = this.getInitialColumnWidth(source.userInterface, source.label);
65761
65918
  return this._editionManager.configureColumn({
65762
65919
  headerName: source.label,
65763
65920
  field: source.name,
65921
+ width: initialWidth,
65922
+ aggFunc: this.getAggFunc(source),
65764
65923
  sortable: propSortable,
65765
65924
  resizable: true,
65766
65925
  headerComponent: 'ezGridCustomHeader',
@@ -65802,6 +65961,10 @@ class AgGridController {
65802
65961
  editable: !((_e = source.props) === null || _e === void 0 ? void 0 : _e.has(PRESENTATION_FROM_COL_PROP_NAME))
65803
65962
  });
65804
65963
  }
65964
+ getAggFunc(column) {
65965
+ var _a, _b;
65966
+ return (_b = (_a = column.props) === null || _a === void 0 ? void 0 : _a.get(this.COLUMN_FOOTER_OPER)) !== null && _b !== void 0 ? _b : column.aggFunc;
65967
+ }
65805
65968
  setHTMLRender(params, source) {
65806
65969
  const htmlSanitized = purify.sanitize(params.value);
65807
65970
  params.colDef.cellRenderer = (cellParams) => {
@@ -65924,12 +66087,13 @@ class AgGridController {
65924
66087
  }
65925
66088
  }
65926
66089
  onCallStateChange(type, e) {
66090
+ var _a, _b;
65927
66091
  const finished = !('finished' in e) || e['finished'];
65928
66092
  if (finished && this._columnStateChangeCallback) {
65929
66093
  let info = {};
65930
66094
  let isUserChange = this.isUIEvent(e['source'], e['type']);
65931
66095
  if (type === 'columnResize') {
65932
- info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
66096
+ 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 };
65933
66097
  }
65934
66098
  info['isUserChange'] = isUserChange;
65935
66099
  info['isElementResize'] = this.isElementResize(e);
@@ -66057,6 +66221,22 @@ class AgGridController {
66057
66221
  var _a;
66058
66222
  this.observer.disconnect();
66059
66223
  (_a = this._dataSource) === null || _a === void 0 ? void 0 : _a.destroy();
66224
+ this.handleDestroyBottomPinnedRowSubscriber();
66225
+ this.handleDestroySetBottomPinnedRowDebounce();
66226
+ }
66227
+ handleDestroyBottomPinnedRowSubscriber() {
66228
+ var _a;
66229
+ if (this._bottomPinnedRowSubscriber) {
66230
+ (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.unsubscribe(this._bottomPinnedRowSubscriber);
66231
+ this._bottomPinnedRowSubscriber = null;
66232
+ }
66233
+ }
66234
+ handleDestroySetBottomPinnedRowDebounce() {
66235
+ if (this._pinnedBottomDebounceTimer != null) {
66236
+ clearTimeout(this._pinnedBottomDebounceTimer);
66237
+ this._pinnedBottomDebounceTimer = null;
66238
+ this._pinnedBottomPendingArgs = null;
66239
+ }
66060
66240
  }
66061
66241
  registryListeners() {
66062
66242
  var _a;
@@ -66085,10 +66265,21 @@ class AgGridController {
66085
66265
  }
66086
66266
  const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
66087
66267
  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;
66088
- if ((field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH) {
66089
- return this.DEFAULT_MAX_SIZE;
66268
+ return this.getInitialColumnWidth(field === null || field === void 0 ? void 0 : field.userInterface, label);
66269
+ }
66270
+ getInitialColumnWidth(userInterface, label) {
66271
+ const columnWidthByLabel = this.getColumnWidthByLabel(label);
66272
+ const defaultWidth = this.getDefaultWidthByUserInterface(userInterface);
66273
+ if (!defaultWidth) {
66274
+ return columnWidthByLabel;
66275
+ }
66276
+ return Math.max(defaultWidth, columnWidthByLabel);
66277
+ }
66278
+ getDefaultWidthByUserInterface(userInterface) {
66279
+ if (!userInterface) {
66280
+ return undefined;
66090
66281
  }
66091
- return this.getColumnWidthByLabel(label);
66282
+ return GRID_COLUMN_DEFAULT_WIDTHS[userInterface];
66092
66283
  }
66093
66284
  getColumnWidthByLabel(label) {
66094
66285
  const labelSize = ((label === null || label === void 0 ? void 0 : label.length) || 0) * this.DEFAULT_FONT_SIZE + this.DEFAULT_ICON_SIZE;
@@ -66144,8 +66335,8 @@ const SelectionCounter = (props) => {
66144
66335
  h("label", Object.assign({ innerHTML: getText(selectionCount, allRecordSelected), class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium ez-margin-top--medium" }, getElementID("ezGridSelectionCounter_label"))),
66145
66336
  h("div", { class: "ez-flex ez-margin-right--medium" },
66146
66337
  shouldRenderSelectionButton() &&
66147
- h("ez-button", Object.assign({ key: "selectAllRecordsEzButton", title: buildSelectAllTitle(total), enabled: enableSelectAll(total), class: "ez-margin-right--medium", label: buildSelectAllLabel(allRecordSelected, count, total), mode: "link", onClick: allRecordSelected ? onSelectPage : onSelectAll }, getElementID(`ezGridSelectionCounter_select${allRecordSelected ? "Page" : "All"}`))),
66148
- h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: i18n("ez-grid.clearSelection"), mode: "link", onClick: onClearAll }, getElementID("ezGridSelectionCounter_clearAll"))))),
66338
+ h("ez-button", Object.assign({ key: "selectAllRecordsEzButton", title: buildSelectAllTitle(total), enabled: enableSelectAll(total), class: "ez-margin-right--medium ez-padding-vertical--medium", label: buildSelectAllLabel(allRecordSelected, count, total), mode: "link", onClick: allRecordSelected ? onSelectPage : onSelectAll }, getElementID(`ezGridSelectionCounter_select${allRecordSelected ? "Page" : "All"}`))),
66339
+ h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear ez-padding-vertical--medium", label: i18n("ez-grid.clearSelection"), mode: "link", onClick: onClearAll }, getElementID("ezGridSelectionCounter_clearAll"))))),
66149
66340
  h("button", Object.assign({ class: "grid__btn-close", title: i18n("app.close"), onClick: onClose }, getElementID("ezGridSelectionCounter_close")),
66150
66341
  h("ez-icon", { iconName: "close" })))));
66151
66342
  };
@@ -66282,7 +66473,7 @@ class InMemoryFilterColumnDataSource {
66282
66473
  }
66283
66474
  }
66284
66475
 
66285
- const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:var(--shadow);--ez-grid--min-height:300px;--ez-grid__container--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--shadow:var(--shadow--xsmall);--ez-grid__header--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--outline:none;--ez-grid__header--border:none;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid-header.shadow-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.grid-header.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow--outline);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.header-overlay.sc-ez-grid{padding-top:15px;margin-top:-12px}.grid__container.sc-ez-grid{outline:none;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color);border:var(--border--small) var(--color--strokes);border-radius:var(--border--radius-small)}.grid__container.no-scroll.sc-ez-grid{width:100vw}.sc-ez-grid-h:not([no-header]) .grid__container.sc-ez-grid{border:none}.grid__container.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__container--shadow--outline);border:none;outline:none}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center;flex-grow:1;flex-shrink:1}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}.grid-header__pagination.sc-ez-grid{justify-content:flex-end;flex-wrap:nowrap;flex-shrink:1;flex-grow:1}.grid-header__pagination-label.sc-ez-grid{width:100%;white-space:nowrap}.overflowed.sc-ez-grid{display:none}.pagination-contracted.sc-ez-grid{width:100px}.pagination-expanded.sc-ez-grid{min-width:150px}.left__header-contracted.sc-ez-grid{width:auto}.left__header-expanded.sc-ez-grid{flex-grow:1}.grid__footer.sc-ez-grid{background-color:var(--background--xlight, #FFF);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium);box-shadow:var(--shadow--small)}.cancel-pagination.sc-ez-grid{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;padding:8px;width:180px}.cancel-pagination-btn.sc-ez-grid{color:var(--color--error);font-size:var(--text--medium);font-weight:var(--text-weight--large);font-family:var(--font-pattern, Roboto);text-wrap:nowrap;cursor:pointer}.spin.sc-ez-grid{animation-name:spin;animation-duration:5000ms;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}";
66476
+ const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:var(--shadow);--ez-grid--min-height:300px;--ez-grid__container--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--shadow:var(--shadow--xsmall);--ez-grid__header--shadow--outline:var(--shadow--outline) var(--color--strokes);--ez-grid__header--outline:none;--ez-grid__header--border:none;min-height:var(--ez-grid--min-height)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid-header.shadow-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.grid-header.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__header--shadow--outline);border:var(--ez-grid__header--border);outline:var(--ez-grid__header--outline)}.header-overlay.sc-ez-grid{padding-top:15px;margin-top:-12px}.grid__container.sc-ez-grid{outline:none;background-color:var(--ez-grid__header--background-color);border-radius:var(--border--radius-12, 12px) var(--border--radius-12, 12px) 0 0}.grid__container.no-scroll.sc-ez-grid{width:100vw}.sc-ez-grid-h:not([no-header]) .grid__container.sc-ez-grid{border:none}.grid__container.outline-mode.sc-ez-grid{box-shadow:var(--ez-grid__container--shadow--outline);border:none;outline:none}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center;flex-grow:1;flex-shrink:1}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0;border:none;box-shadow:none;outline:none}.overflowed.sc-ez-grid{display:none}.left__header-contracted.sc-ez-grid{width:auto}.left__header-expanded.sc-ez-grid{flex-grow:1}.grid__footer.sc-ez-grid{background-color:var(--background--xlight, #FFF);border-radius:0px 0px var(--border--radius-medium) var(--border--radius-medium)}";
66286
66477
 
66287
66478
  const windowInstace = window;
66288
66479
  const matches = (text, filter) => {
@@ -66335,6 +66526,7 @@ const EzGrid = class {
66335
66526
  this.useSearchColumn = true;
66336
66527
  this.suppressHorizontalScroll = false;
66337
66528
  this.mode = "complete";
66529
+ this.hidePagination = false;
66338
66530
  }
66339
66531
  /**
66340
66532
  * Aplica a definição de colunas.
@@ -66484,26 +66676,17 @@ const EzGrid = class {
66484
66676
  return;
66485
66677
  this._gridController.stopEdit();
66486
66678
  }
66679
+ /**
66680
+ * Manipula a mudança de página da grid.
66681
+ */
66682
+ async handlePageChange() {
66683
+ this.resetPaginationState();
66684
+ this._gridController.setFocusFirstRow();
66685
+ this.ezPageChangedChanged.emit();
66686
+ }
66487
66687
  observeConfig(config) {
66488
66688
  this._gridController.setColumnsState(config === null || config === void 0 ? void 0 : config.columns);
66489
66689
  }
66490
- updatePaginationTooltip() {
66491
- this.handleShowCancelPagination();
66492
- if (!this._refPaginationLabelTooltip)
66493
- return;
66494
- const alreadyDefined = this._refPaginationLabelTooltip.getAttribute('data-tooltip');
66495
- if (alreadyDefined) {
66496
- this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
66497
- }
66498
- }
66499
- observePaginationCounterMode(newValue) {
66500
- if (newValue === 'hidden') {
66501
- this._hidePaginationDescription();
66502
- }
66503
- if (newValue === 'show') {
66504
- this._showPaginationDescription();
66505
- }
66506
- }
66507
66690
  async observeModeChange(newMode = this.mode) {
66508
66691
  if (newMode === "simple") {
66509
66692
  this.canEdit = false;
@@ -66666,23 +66849,6 @@ const EzGrid = class {
66666
66849
  ElementIDUtils.addIDInfo(this._refPaginationControl, 'pagination', dtInfo);
66667
66850
  }
66668
66851
  }
66669
- handlePageChange() {
66670
- this.resetPaginationState();
66671
- this._gridController.setFocusFirstRow();
66672
- this.ezPageChangedChanged.emit();
66673
- }
66674
- previousPage() {
66675
- if (this.dataUnit) {
66676
- this.dataUnit.previousPage()
66677
- .then(() => this.handlePageChange());
66678
- }
66679
- }
66680
- nextPage() {
66681
- if (this.dataUnit) {
66682
- this.dataUnit.nextPage()
66683
- .then(() => this.handlePageChange());
66684
- }
66685
- }
66686
66852
  nextRecord() {
66687
66853
  if (this.dataUnit) {
66688
66854
  if (this.dataUnit.getSelectionInfo().records.length === 0) {
@@ -66702,38 +66868,6 @@ const EzGrid = class {
66702
66868
  this._paginationChangedByKeyboard = false;
66703
66869
  (_a = this._gridController) === null || _a === void 0 ? void 0 : _a.resetPaginationState();
66704
66870
  }
66705
- resolvePaginationClassMode() {
66706
- if (this.shouldPresentPaginationLabel())
66707
- return "pagination-expanded";
66708
- return "pagination-contracted";
66709
- }
66710
- async handleCancelPagination() {
66711
- var _a;
66712
- this.dataUnit.cancelPagination = true;
66713
- await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
66714
- }
66715
- renderCancelPagination() {
66716
- return (h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, h("div", { class: 'cancel-pagination' }, h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, this.i18n("ez-grid.cancelPagination")))));
66717
- }
66718
- handleShowCancelPagination() {
66719
- var _a, _b, _c;
66720
- if (!this._hasToShowCancelPagination()) {
66721
- (_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide();
66722
- return;
66723
- }
66724
- if ((_b = this._cancelPaginationPopoverElement) === null || _b === void 0 ? void 0 : _b.opened)
66725
- return;
66726
- (_c = this._cancelPaginationPopoverElement) === null || _c === void 0 ? void 0 : _c.show("15px");
66727
- }
66728
- getPaginationControl() {
66729
- if (!this._paginationInfo)
66730
- return null;
66731
- const { currentPage, hasMore } = this._paginationInfo;
66732
- return (h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: this.i18n("ez-grid.previousPage") }), h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: this.i18n("ez-grid.nextPage") }))));
66733
- }
66734
- shouldPresentPaginationLabel() {
66735
- return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
66736
- }
66737
66871
  componentDidLoad() {
66738
66872
  const _application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
66739
66873
  this.enableLockManagerLoadingComp = (!_application || (_application === null || _application === void 0 ? void 0 : _application.enableLockManagerLoadingApp)) ? this.enableLockManagerLoadingComp : false;
@@ -66798,76 +66932,9 @@ const EzGrid = class {
66798
66932
  }
66799
66933
  this._paginationInfo = paginationInfo;
66800
66934
  }
66801
- _getActualPageLabel() {
66802
- const { firstRecord, lastRecord } = this._paginationInfo;
66803
- return `${firstRecord}-${lastRecord}`;
66804
- }
66805
- _getRemainingPageLabel() {
66806
- const { total, count } = this._paginationInfo;
66807
- return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
66808
- }
66809
- _hasToShowCancelPagination() {
66810
- var _a;
66811
- const { total, count } = (_a = this._paginationInfo) !== null && _a !== void 0 ? _a : {};
66812
- const hasMore = (total === undefined);
66813
- return !this.dataUnit.cancelPagination && hasMore && count > this.dataUnit.pageSize;
66814
- }
66815
- _getPaginationTooltip() {
66816
- return this._getActualPageLabel() + this._getRemainingPageLabel();
66817
- }
66818
- _initHeaderOverflowWatcher() {
66819
- var _a;
66820
- (_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
66821
- if (this._refPaginationControl)
66822
- this._headerOverflowWatcher = new OverflowWatcher(this.buildOverFlowWatcherParams());
66823
- }
66824
- buildOverFlowWatcherParams() {
66825
- return {
66826
- element: this._refPaginationControl,
66827
- callback: this.handleOverFlow.bind(this),
66828
- notOverFlow: ["grid-pagination-tooltip"]
66829
- };
66830
- }
66831
- handleOverFlow() {
66832
- if (!this._refPaginationLabel || !this._refPaginationControl)
66833
- return;
66834
- const controlWidth = this._refPaginationControl.clientWidth;
66835
- const labelWidth = this._refPaginationLabel.scrollWidth;
66836
- const buttonsElement = this._refPaginationControl.querySelector('#grid-pagination-tooltip');
66837
- const buttonsWidth = (buttonsElement === null || buttonsElement === void 0 ? void 0 : buttonsElement.clientWidth) || 0;
66838
- const totalMargins = this._getElementMargins(this._refPaginationLabel) + (buttonsElement ? this._getElementMargins(buttonsElement) : 0);
66839
- const paginationWidthWithoutDescription = labelWidth + buttonsWidth + totalMargins;
66840
- const paginationWidthWithDescription = paginationWidthWithoutDescription + this._getPaginationDescriptionWidth();
66841
- if (controlWidth > paginationWidthWithDescription) {
66842
- this._showPaginationDescription();
66843
- }
66844
- else if (controlWidth <= paginationWidthWithoutDescription) {
66845
- this._hidePaginationDescription();
66846
- }
66847
- }
66848
- _getPaginationDescriptionWidth() {
66849
- var _a;
66850
- return ((_a = this._refPaginationLabelTooltip) === null || _a === void 0 ? void 0 : _a.scrollWidth) || 0;
66851
- }
66852
- _getElementMargins(element) {
66853
- const style = getComputedStyle(element);
66854
- return parseFloat(style.marginLeft) + parseFloat(style.marginRight);
66855
- }
66856
- _hidePaginationDescription() {
66857
- this._refPaginationLabel.classList.add(OVERFLOWED_CLASS_NAME);
66858
- this._refPaginationLabelTooltip.setAttribute('data-flow', 'bottom');
66859
- this._refPaginationLabelTooltip.setAttribute('data-tooltip', this._getPaginationTooltip());
66860
- }
66861
- ;
66862
- _showPaginationDescription() {
66863
- this._refPaginationLabel.classList.remove(OVERFLOWED_CLASS_NAME);
66864
- this._refPaginationLabelTooltip.removeAttribute('data-flow');
66865
- this._refPaginationLabelTooltip.removeAttribute('data-tooltip');
66866
- }
66867
66935
  disconnectedCallback() {
66868
- var _a, _b;
66869
- (_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
66870
- (_b = this._gridController) === null || _b === void 0 ? void 0 : _b.destroy();
66936
+ var _a;
66937
+ (_a = this._gridController) === null || _a === void 0 ? void 0 : _a.destroy();
66871
66938
  this.removeShortcuts();
66872
66939
  }
66873
66940
  connectedCallback() {
@@ -66896,8 +66963,6 @@ const EzGrid = class {
66896
66963
  if (this.dataUnit && this._showSelectionCounter) {
66897
66964
  this.setSelection(this.dataUnit.getSelectionInfo());
66898
66965
  }
66899
- if (this.paginationCounterMode === 'auto')
66900
- this._initHeaderOverflowWatcher();
66901
66966
  }
66902
66967
  getDataSource() {
66903
66968
  if (!this.columnfilterDataSource) {
@@ -66909,7 +66974,7 @@ const EzGrid = class {
66909
66974
  if (this.mode === "simple") {
66910
66975
  return true;
66911
66976
  }
66912
- return !this._hasLeftButtons && !this._paginationInfo;
66977
+ return !this._hasLeftButtons;
66913
66978
  }
66914
66979
  resolveLeftHeaderClass() {
66915
66980
  if (this.paginationCounterMode == 'show')
@@ -66934,7 +66999,7 @@ const EzGrid = class {
66934
66999
  return;
66935
67000
  const { currentPage } = this._paginationInfo;
66936
67001
  if (currentPage > 0) {
66937
- this.previousPage();
67002
+ this._refGridPagination.previousPage();
66938
67003
  }
66939
67004
  }, { description: this.i18n("ez-grid.previousPage"), element: this._element })
66940
67005
  .bind("ctrl + alt + ArrowRight", () => {
@@ -66942,7 +67007,7 @@ const EzGrid = class {
66942
67007
  return;
66943
67008
  const { hasMore } = this._paginationInfo;
66944
67009
  if (hasMore) {
66945
- this.nextPage();
67010
+ this._refGridPagination.nextPage();
66946
67011
  }
66947
67012
  }, { description: this.i18n("ez-grid.nextPage"), element: this._element });
66948
67013
  if (this.useSearchColumn) {
@@ -66995,16 +67060,14 @@ const EzGrid = class {
66995
67060
  'ez-box ez-padding--small grid-header': true,
66996
67061
  'outline-mode': this.outlineMode,
66997
67062
  'shadow-mode': !this.outlineMode && !this.hideHeader(),
66998
- }, tabindex: "0" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" })), this.getPaginationControl())), h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
67063
+ }, tabindex: "0" }, h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), h("div", { class: "grid-header__position" }, h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, h("slot", { name: "leftButtons" })))), h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
66999
67064
  ${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
67000
- ` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, i18n: this.i18n, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, h("slot", { name: "footer" }))));
67065
+ ` }, h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, i18n: this.i18n, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), h("div", { class: "grid__footer" }, (this.mode !== "simple" && !this.hidePagination) && (h("ez-grid-pagination", { class: `ez-flex ez-flex--content-end`, ref: ref => (this._refGridPagination = ref), dataUnit: this.dataUnit, paginationCounterMode: this.paginationCounterMode, onPageChange: () => this.handlePageChange() })), h("slot", { name: "footer" }))));
67001
67066
  }
67002
67067
  static get assetsDirs() { return ["../assets"]; }
67003
67068
  get _element() { return getElement(this); }
67004
67069
  static get watchers() { return {
67005
67070
  "config": ["observeConfig"],
67006
- "_paginationInfo": ["updatePaginationTooltip"],
67007
- "paginationCounterMode": ["observePaginationCounterMode"],
67008
67071
  "mode": ["observeModeChange"]
67009
67072
  }; }
67010
67073
  };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { E as EzScrollDirection } from './EzScrollDirection-2df26c93.js';
4
- import { i as initI18n } from './index-225aa0c3.js';
4
+ import { i as initI18n } from './index-9e6dab5b.js';
5
5
 
6
6
  const ezGuideNavigatorCss = ":host{--ez-guide-navigator--padding-left:var(--space--large);--ez-guide-navigator--padding-right:var(--space--small);--ez-guide-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-guide-navigator--background-color:var(--color--inverted);--ez-guide-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-guide-navigator--actions-gap:var(--space--medium);--ez-guide-navigator--actions-margin:var(--space--large) 0 var(--space--medium);--ez-guide-navigator--actions-padding-right:calc(var(--space--medium, 12px) + var(--space--small, 6px))}.inverted{transform:rotate(180deg)}.ez-guide-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;padding-left:var(--ez-guide-navigator--padding-left);padding-right:var(--ez-guide-navigator--padding-right);background-color:var(--ez-guide-navigator--background-color);-webkit-box-shadow:var(--ez-guide-navigator--box-shadow);box-shadow:var(--ez-guide-navigator--box-shadow);border-radius:var(--ez-guide-navigator--border-radius)}.ez-guide-navigator__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-guide-navigator--actions-gap);margin:var(--ez-guide-navigator--actions-margin);padding-right:var(--ez-guide-navigator--actions-padding-right)}.hidden{display:none}";
7
7