@sankhyalabs/ezui 6.1.0-dev.20 → 6.1.0-dev.21

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 (288) hide show
  1. package/dist/cjs/{ApplicationUtils-c9d1205c.js → ApplicationUtils-39807831.js} +43 -15
  2. package/dist/cjs/{RichToolbarHelper-438916fa.js → RichToolbarHelper-ea12328f.js} +0 -13
  3. package/dist/cjs/app-globals-86776e90.js +12 -0
  4. package/dist/cjs/{constants-569271bc.js → constants-72b7e05e.js} +0 -2
  5. package/dist/cjs/ez-actions-button.cjs.entry.js +2 -1
  6. package/dist/cjs/ez-alert-list.cjs.entry.js +5 -3
  7. package/dist/cjs/ez-avatar.cjs.entry.js +6 -1
  8. package/dist/cjs/ez-calendar.cjs.entry.js +7 -6
  9. package/dist/cjs/ez-collapsible-box.cjs.entry.js +13 -10
  10. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +24 -14
  11. package/dist/cjs/ez-combo-box.cjs.entry.js +7 -6
  12. package/dist/cjs/ez-date-input.cjs.entry.js +5 -1
  13. package/dist/cjs/ez-date-time-input.cjs.entry.js +5 -1
  14. package/dist/cjs/ez-dialog.cjs.entry.js +8 -6
  15. package/dist/cjs/ez-double-list.cjs.entry.js +12 -4
  16. package/dist/cjs/ez-file-item.cjs.entry.js +9 -6
  17. package/dist/cjs/ez-form-view.cjs.entry.js +3 -2
  18. package/dist/cjs/ez-form.cjs.entry.js +3 -2
  19. package/dist/cjs/ez-grid.cjs.entry.js +126 -127
  20. package/dist/cjs/ez-guide-navigator.cjs.entry.js +5 -1
  21. package/dist/cjs/ez-link-builder_6.cjs.entry.js +33 -13
  22. package/dist/cjs/ez-list.cjs.entry.js +4 -2
  23. package/dist/cjs/ez-modal-container.cjs.entry.js +5 -1
  24. package/dist/cjs/ez-modal.cjs.entry.js +5 -1
  25. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +9 -5
  26. package/dist/cjs/ez-number-input.cjs.entry.js +5 -1
  27. package/dist/cjs/ez-search-plus.cjs.entry.js +8 -6
  28. package/dist/cjs/ez-search-result-list.cjs.entry.js +5 -2
  29. package/dist/cjs/ez-search.cjs.entry.js +8 -9
  30. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +5 -7
  31. package/dist/cjs/ez-skeleton.cjs.entry.js +5 -3
  32. package/dist/cjs/ez-sortable-list.cjs.entry.js +12 -5
  33. package/dist/cjs/ez-split-button.cjs.entry.js +5 -4
  34. package/dist/cjs/ez-split-item.cjs.entry.js +6 -2
  35. package/dist/cjs/ez-text-input.cjs.entry.js +1 -0
  36. package/dist/cjs/ez-time-input.cjs.entry.js +12 -10
  37. package/dist/cjs/ez-tree.cjs.entry.js +5 -1
  38. package/dist/cjs/ez-upload.cjs.entry.js +17 -11
  39. package/dist/cjs/ezui.cjs.js +4 -0
  40. package/dist/cjs/filter-column.cjs.entry.js +8 -4
  41. package/dist/cjs/index-02854309.js +3672 -0
  42. package/dist/cjs/loader.cjs.js +4 -0
  43. package/dist/cjs/{search-column-27d1f72f.js → search-column-82c52e20.js} +11 -5
  44. package/dist/collection/collection-manifest.json +2 -1
  45. package/dist/collection/components/ez-alert-list/ez-alert-list.js +5 -3
  46. package/dist/collection/components/ez-avatar/ez-avatar.js +5 -1
  47. package/dist/collection/components/ez-calendar/ez-calendar.js +7 -6
  48. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +12 -9
  49. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +7 -4
  50. package/dist/collection/components/ez-combo-box/ez-combo-box.js +7 -7
  51. package/dist/collection/components/ez-date-input/ez-date-input.js +5 -1
  52. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +5 -1
  53. package/dist/collection/components/ez-dialog/ez-dialog.js +8 -6
  54. package/dist/collection/components/ez-double-list/ez-double-list.js +12 -4
  55. package/dist/collection/components/ez-file-item/ez-file-item.js +9 -6
  56. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +3 -2
  57. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +10 -9
  58. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +3 -1
  59. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js +67 -0
  60. package/dist/collection/components/ez-grid/ez-grid.js +15 -13
  61. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -3
  62. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +2 -2
  63. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js +11 -7
  64. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +5 -1
  65. package/dist/collection/components/ez-list/ez-list.js +4 -2
  66. package/dist/collection/components/ez-modal/ez-modal.js +5 -1
  67. package/dist/collection/components/ez-modal-container/ez-modal-container.js +5 -1
  68. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +9 -5
  69. package/dist/collection/components/ez-number-input/ez-number-input.js +5 -1
  70. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js +5 -1
  71. package/dist/collection/components/ez-rich-text/ez-rich-text.js +13 -9
  72. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js +0 -12
  73. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js +6 -2
  74. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js +6 -2
  75. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js +6 -2
  76. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js +8 -4
  77. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js +9 -5
  78. package/dist/collection/components/ez-search/ez-search.js +7 -8
  79. package/dist/collection/components/ez-search-plus/ez-search-plus.js +7 -5
  80. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +5 -2
  81. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js +5 -2
  82. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +0 -1
  83. package/dist/collection/components/ez-skeleton/ez-skeleton.js +4 -2
  84. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js +15 -11
  85. package/dist/collection/components/ez-split-button/ez-split-button.js +6 -6
  86. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +5 -1
  87. package/dist/collection/components/ez-text-edit/ez-text-edit.js +5 -1
  88. package/dist/collection/components/ez-text-input/ez-text-input.js +1 -0
  89. package/dist/collection/components/ez-time-input/ez-time-input.js +12 -10
  90. package/dist/collection/components/ez-tree/ez-tree.js +5 -1
  91. package/dist/collection/components/ez-upload/ez-upload.js +18 -12
  92. package/dist/collection/global/app-init.js +6 -0
  93. package/dist/collection/setupTests.js +1 -1
  94. package/dist/collection/utils/ApplicationUtils.js +43 -15
  95. package/dist/collection/utils/constants.js +0 -1
  96. package/dist/collection/utils/i18n/elanguages.js +6 -0
  97. package/dist/collection/utils/i18n/i18nUtils.js +20 -0
  98. package/dist/collection/utils/i18n/index.js +30 -0
  99. package/dist/collection/utils/i18n/locales/en-us.js +275 -0
  100. package/dist/collection/utils/i18n/locales/es-es.js +275 -0
  101. package/dist/collection/utils/i18n/locales/pt-br.js +275 -0
  102. package/dist/collection/utils/i18n/translations.js +9 -0
  103. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +8 -2
  104. package/dist/custom-elements/index.js +4056 -278
  105. package/dist/esm/{ApplicationUtils-eaf91331.js → ApplicationUtils-72f474e8.js} +43 -15
  106. package/dist/esm/{RichToolbarHelper-fd6427df.js → RichToolbarHelper-f3a149c4.js} +1 -13
  107. package/dist/esm/app-globals-2ccb253f.js +10 -0
  108. package/dist/esm/{constants-b036528f.js → constants-3fabe81e.js} +1 -2
  109. package/dist/esm/ez-actions-button.entry.js +2 -1
  110. package/dist/esm/ez-alert-list.entry.js +5 -3
  111. package/dist/esm/ez-avatar.entry.js +6 -1
  112. package/dist/esm/ez-calendar.entry.js +7 -6
  113. package/dist/esm/ez-collapsible-box.entry.js +13 -10
  114. package/dist/esm/ez-combo-box-list_4.entry.js +24 -14
  115. package/dist/esm/ez-combo-box.entry.js +7 -6
  116. package/dist/esm/ez-date-input.entry.js +5 -1
  117. package/dist/esm/ez-date-time-input.entry.js +5 -1
  118. package/dist/esm/ez-dialog.entry.js +8 -6
  119. package/dist/esm/ez-double-list.entry.js +12 -4
  120. package/dist/esm/ez-file-item.entry.js +9 -6
  121. package/dist/esm/ez-form-view.entry.js +3 -2
  122. package/dist/esm/ez-form.entry.js +3 -2
  123. package/dist/esm/ez-grid.entry.js +108 -109
  124. package/dist/esm/ez-guide-navigator.entry.js +5 -1
  125. package/dist/esm/ez-link-builder_6.entry.js +33 -13
  126. package/dist/esm/ez-list.entry.js +4 -2
  127. package/dist/esm/ez-modal-container.entry.js +5 -1
  128. package/dist/esm/ez-modal.entry.js +5 -1
  129. package/dist/esm/ez-multi-selection-list.entry.js +9 -5
  130. package/dist/esm/ez-number-input.entry.js +5 -1
  131. package/dist/esm/ez-search-plus.entry.js +8 -6
  132. package/dist/esm/ez-search-result-list.entry.js +5 -2
  133. package/dist/esm/ez-search.entry.js +8 -9
  134. package/dist/esm/ez-sidebar-navigator.entry.js +5 -7
  135. package/dist/esm/ez-skeleton.entry.js +5 -3
  136. package/dist/esm/ez-sortable-list.entry.js +12 -5
  137. package/dist/esm/ez-split-button.entry.js +5 -4
  138. package/dist/esm/ez-split-item.entry.js +6 -2
  139. package/dist/esm/ez-text-input.entry.js +1 -0
  140. package/dist/esm/ez-time-input.entry.js +12 -10
  141. package/dist/esm/ez-tree.entry.js +5 -1
  142. package/dist/esm/ez-upload.entry.js +17 -11
  143. package/dist/esm/ezui.js +4 -0
  144. package/dist/esm/filter-column.entry.js +8 -4
  145. package/dist/esm/index-b623906e.js +3669 -0
  146. package/dist/esm/loader.js +4 -0
  147. package/dist/esm/{search-column-e609d513.js → search-column-5a55f676.js} +9 -3
  148. package/dist/ezui/ezui.esm.js +1 -1
  149. package/dist/ezui/p-0603bcc7.entry.js +1 -0
  150. package/dist/ezui/p-0ec7aa3a.entry.js +1 -0
  151. package/dist/ezui/p-0f0f3efe.entry.js +1 -0
  152. package/dist/ezui/p-1c3efd36.entry.js +1 -0
  153. package/dist/ezui/p-1ffb75d5.js +1 -0
  154. package/dist/ezui/p-22934e19.entry.js +1 -0
  155. package/dist/ezui/p-2f471aca.entry.js +1 -0
  156. package/dist/ezui/p-303b3b8c.entry.js +1 -0
  157. package/dist/ezui/p-3b89a9a0.entry.js +1 -0
  158. package/dist/ezui/p-3e71ca08.entry.js +1 -0
  159. package/dist/ezui/p-3e767a74.js +1 -0
  160. package/dist/ezui/p-3e88fbb6.entry.js +1 -0
  161. package/dist/ezui/p-4044a7d7.entry.js +1 -0
  162. package/dist/ezui/p-45c9b292.entry.js +1 -0
  163. package/dist/ezui/p-45e64547.entry.js +1 -0
  164. package/dist/ezui/p-46913da7.js +1 -0
  165. package/dist/ezui/p-4773ff4c.js +1 -0
  166. package/dist/ezui/p-4fc5f926.entry.js +1 -0
  167. package/dist/ezui/p-53bc30a1.entry.js +1 -0
  168. package/dist/ezui/p-627ff5a2.entry.js +1 -0
  169. package/dist/ezui/p-629e32e2.entry.js +1 -0
  170. package/dist/ezui/{p-66354b29.entry.js → p-6562b5c8.entry.js} +46 -46
  171. package/dist/ezui/p-6e6fccfb.entry.js +1 -0
  172. package/dist/ezui/{p-ad0deb16.entry.js → p-713dc93e.entry.js} +1 -1
  173. package/dist/ezui/p-84a136bf.entry.js +1 -0
  174. package/dist/ezui/p-973e6a40.entry.js +1 -0
  175. package/dist/ezui/p-a12f6074.entry.js +1 -0
  176. package/dist/ezui/p-a482aae1.entry.js +1 -0
  177. package/dist/ezui/p-a687f14c.entry.js +7 -0
  178. package/dist/ezui/p-adbc3261.entry.js +1 -0
  179. package/dist/ezui/p-b115058e.entry.js +1 -0
  180. package/dist/ezui/p-b1e45320.js +1 -0
  181. package/dist/ezui/p-b4215a04.entry.js +1 -0
  182. package/dist/ezui/p-b8ed876d.entry.js +1 -0
  183. package/dist/ezui/p-ba07b3df.js +1 -0
  184. package/dist/ezui/p-c00ad772.entry.js +1 -0
  185. package/dist/ezui/p-c2a8139d.entry.js +1 -0
  186. package/dist/ezui/p-caf2584a.entry.js +1 -0
  187. package/dist/ezui/p-d1d0868b.entry.js +1 -0
  188. package/dist/ezui/p-e5260556.entry.js +1 -0
  189. package/dist/ezui/p-ed3bed1e.entry.js +1 -0
  190. package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +2 -1
  191. package/dist/types/components/ez-avatar/ez-avatar.d.ts +2 -0
  192. package/dist/types/components/ez-calendar/ez-calendar.d.ts +2 -3
  193. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +2 -0
  194. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +2 -0
  195. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +2 -2
  196. package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -0
  197. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +2 -0
  198. package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -2
  199. package/dist/types/components/ez-double-list/ez-double-list.d.ts +2 -0
  200. package/dist/types/components/ez-file-item/ez-file-item.d.ts +2 -0
  201. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +5 -0
  202. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
  203. package/dist/types/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.d.ts +1 -1
  204. package/dist/types/components/ez-grid/controller/ag-grid/utils/buildLocaleText.d.ts +66 -0
  205. package/dist/types/components/ez-grid/ez-grid.d.ts +2 -2
  206. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +2 -0
  207. package/dist/types/components/ez-grid/subcomponents/selection-counter.d.ts +2 -0
  208. package/dist/types/components/ez-grid/subcomponents/utils/selectionCounterUtils.d.ts +2 -2
  209. package/dist/types/components/ez-guide-navigator/ez-guide-navigator.d.ts +2 -0
  210. package/dist/types/components/ez-list/ez-list.d.ts +2 -1
  211. package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
  212. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  213. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +2 -0
  214. package/dist/types/components/ez-number-input/ez-number-input.d.ts +2 -0
  215. package/dist/types/components/ez-rich-text/ez-link-builder/ez-link-builder.d.ts +2 -0
  216. package/dist/types/components/ez-rich-text/ez-rich-text.d.ts +2 -0
  217. package/dist/types/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.d.ts +0 -12
  218. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.d.ts +2 -0
  219. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.d.ts +2 -0
  220. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.d.ts +2 -0
  221. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.d.ts +2 -0
  222. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.d.ts +2 -0
  223. package/dist/types/components/ez-search/ez-search.d.ts +2 -3
  224. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +2 -1
  225. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +2 -1
  226. package/dist/types/components/ez-sidebar-navigator/ez-sidebar-navigator.d.ts +2 -0
  227. package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +0 -1
  228. package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +2 -1
  229. package/dist/types/components/ez-sortable-list/ez-sortable-list.d.ts +2 -0
  230. package/dist/types/components/ez-split-button/ez-split-button.d.ts +2 -2
  231. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +2 -0
  232. package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +2 -0
  233. package/dist/types/components/ez-time-input/ez-time-input.d.ts +2 -1
  234. package/dist/types/components/ez-tree/ez-tree.d.ts +2 -0
  235. package/dist/types/components/ez-upload/ez-upload.d.ts +3 -1
  236. package/dist/types/global/app-init.d.ts +1 -0
  237. package/dist/types/utils/ApplicationUtils.d.ts +3 -1
  238. package/dist/types/utils/constants.d.ts +0 -1
  239. package/dist/types/utils/i18n/elanguages.d.ts +5 -0
  240. package/dist/types/utils/i18n/i18nUtils.d.ts +2 -0
  241. package/dist/types/utils/i18n/index.d.ts +5 -0
  242. package/dist/types/utils/i18n/locales/en-us.d.ts +276 -0
  243. package/dist/types/utils/i18n/locales/es-es.d.ts +276 -0
  244. package/dist/types/utils/i18n/locales/pt-br.d.ts +276 -0
  245. package/dist/types/utils/i18n/translations.d.ts +828 -0
  246. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -0
  247. package/package.json +7 -1
  248. package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js +0 -75
  249. package/dist/collection/components/ez-sidebar-navigator/messages/constants.js +0 -5
  250. package/dist/ezui/p-0306dff7.entry.js +0 -1
  251. package/dist/ezui/p-07894c4a.entry.js +0 -1
  252. package/dist/ezui/p-09de35a2.entry.js +0 -1
  253. package/dist/ezui/p-1276ef79.entry.js +0 -1
  254. package/dist/ezui/p-1cebdc92.js +0 -1
  255. package/dist/ezui/p-1eb34cad.entry.js +0 -1
  256. package/dist/ezui/p-2187f86c.js +0 -1
  257. package/dist/ezui/p-33326ac5.entry.js +0 -1
  258. package/dist/ezui/p-3ba9565c.entry.js +0 -1
  259. package/dist/ezui/p-454bba13.entry.js +0 -1
  260. package/dist/ezui/p-496f7832.entry.js +0 -1
  261. package/dist/ezui/p-4bb47bbe.entry.js +0 -1
  262. package/dist/ezui/p-4bd6dd6a.entry.js +0 -1
  263. package/dist/ezui/p-555c9018.entry.js +0 -1
  264. package/dist/ezui/p-57363cfd.entry.js +0 -1
  265. package/dist/ezui/p-58f69d24.entry.js +0 -1
  266. package/dist/ezui/p-59561756.entry.js +0 -7
  267. package/dist/ezui/p-5eea9886.js +0 -1
  268. package/dist/ezui/p-6bcf4ba2.entry.js +0 -1
  269. package/dist/ezui/p-6e429cff.entry.js +0 -1
  270. package/dist/ezui/p-7019f782.entry.js +0 -1
  271. package/dist/ezui/p-77a4bd35.entry.js +0 -1
  272. package/dist/ezui/p-7eae6986.entry.js +0 -1
  273. package/dist/ezui/p-9478b13b.entry.js +0 -1
  274. package/dist/ezui/p-98ee5c31.entry.js +0 -1
  275. package/dist/ezui/p-998afb6a.entry.js +0 -1
  276. package/dist/ezui/p-a148e994.entry.js +0 -1
  277. package/dist/ezui/p-ad79f9d1.entry.js +0 -1
  278. package/dist/ezui/p-b796e213.entry.js +0 -1
  279. package/dist/ezui/p-bac0f920.entry.js +0 -1
  280. package/dist/ezui/p-bff24a7b.js +0 -1
  281. package/dist/ezui/p-da1b4a38.entry.js +0 -1
  282. package/dist/ezui/p-dc73e1fe.entry.js +0 -1
  283. package/dist/ezui/p-ddd1e05f.entry.js +0 -1
  284. package/dist/ezui/p-e4528470.entry.js +0 -1
  285. package/dist/ezui/p-e6a9041d.entry.js +0 -1
  286. package/dist/ezui/p-ec0d8122.entry.js +0 -1
  287. package/dist/types/components/ez-grid/controller/ag-grid/i18n/pt-BR.d.ts +0 -2
  288. package/dist/types/components/ez-sidebar-navigator/messages/constants.d.ts +0 -5
@@ -2,15 +2,16 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a7b0c73d.js');
5
+ const index$1 = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
8
- const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
8
+ const ApplicationUtils = require('./ApplicationUtils-39807831.js');
9
9
  require('./DialogType-2114c337.js');
10
10
  require('./CheckMode-ecb90b87.js');
11
+ const index = require('./index-02854309.js');
11
12
  const FormLayout = require('./FormLayout-18853e70.js');
12
- const searchColumn = require('./search-column-27d1f72f.js');
13
- const constants = require('./constants-569271bc.js');
13
+ const searchColumn = require('./search-column-82c52e20.js');
14
+ const constants = require('./constants-72b7e05e.js');
14
15
  const FocusResolver = require('./FocusResolver-885f2173.js');
15
16
  const purify = require('./purify-a7dc3a08.js');
16
17
  require('./_commonjsHelpers-537d719a.js');
@@ -50472,81 +50473,6 @@ class SelectionHeader {
50472
50473
  }
50473
50474
  }
50474
50475
 
50475
- const gridTerms = {
50476
- // for filter panel
50477
- page: "Página",
50478
- more: "mais",
50479
- to: "para",
50480
- of: "de",
50481
- next: "Próximo",
50482
- last: "Último",
50483
- first: "Primeiro",
50484
- previous: "Anterior",
50485
- loadingOoo: "Carregar",
50486
- // for set filter
50487
- selectAll: "Selecionar tudo",
50488
- searchOoo: "Procurar",
50489
- blanks: "Vazio",
50490
- // for number filter and text filter
50491
- filterOoo: "Filtrar",
50492
- applyFilter: "Aplicar filtro",
50493
- // for number filter
50494
- equals: "Igual",
50495
- lessThan: "Menor que",
50496
- greaterThan: "Maior que",
50497
- // for text filter
50498
- contains: "Contém",
50499
- startsWith: "Começa com",
50500
- endsWith: "Termina com",
50501
- // the header of the default group column
50502
- group: "Grupo",
50503
- // tool panel
50504
- columns: "Colunas",
50505
- rowGroupColumns: "Colunas do grupo de linhas",
50506
- rowGroupColumnsEmptyMessage: "Colunas do grupo de linhas vazias",
50507
- valueColumns: "Valores das colunas",
50508
- pivotMode: "Modo pivô",
50509
- groups: "Grupos",
50510
- values: "Valores",
50511
- pivots: "Pivôs",
50512
- valueColumnsEmptyMessage: "Valores de colunas vazias",
50513
- pivotColumnsEmptyMessage: "Pivôs de colunas vazias",
50514
- toolPanelButton: "Botão de painel de ferramentas",
50515
- // other
50516
- noRowsToShow: "Não há registros para mostrar.",
50517
- // enterprise menu
50518
- pinColumn: "Fixar coluna",
50519
- valueAggregation: "Agregar valor",
50520
- autosizeThiscolumn: "Redimensionar esta coluna",
50521
- autosizeAllColumns: "Redimensionar todas colunas",
50522
- groupBy: "Agrupar por",
50523
- ungroupBy: "Desagrupar por",
50524
- resetColumns: "Resetar colunas",
50525
- expandAll: "Expandir tudo",
50526
- collapseAll: "Contrair tudo",
50527
- toolPanel: "Painel de ferramentas",
50528
- export: "Exportar",
50529
- csvExport: "Exportar para CSV",
50530
- excelExport: "Exportar para Excel",
50531
- // enterprise menu pinning
50532
- pinLeft: "Fixar coluna",
50533
- pinRight: "Fixar a direita",
50534
- noPin: "Desfixar coluna",
50535
- // enterprise menu aggregation and status panel
50536
- sum: "Soma",
50537
- min: "Mínimo",
50538
- max: "Máximo",
50539
- none: "Nenhum",
50540
- count: "Contagem",
50541
- average: "Média",
50542
- // standard menu
50543
- copy: "Copiar",
50544
- copyWithHeaders: "Copiar com cabeçalho",
50545
- ctrlC: "Ctrl+C",
50546
- paste: "Colar",
50547
- ctrlV: "Ctrl+V"
50548
- };
50549
-
50550
50476
  const buildEditorMetadata = (descriptor, eGridCell, dataUnit, editionManager) => {
50551
50477
  return Object.assign(Object.assign({}, searchColumn.buildFieldMetadata(descriptor)), { eGridCell, dataUnit, editionManager });
50552
50478
  };
@@ -64818,6 +64744,74 @@ var MenuModule = {
64818
64744
  ]
64819
64745
  };
64820
64746
 
64747
+ function buildLocaleText(i18n) {
64748
+ return ({
64749
+ page: i18n("ez-grid.pageLabel"),
64750
+ more: i18n("ez-grid.remainingPageLabel"),
64751
+ to: i18n("ez-grid.remainingTotalLabel"),
64752
+ of: i18n("ez-grid.remainingTotalLabel"),
64753
+ next: i18n("ez-grid.nextPage"),
64754
+ previous: i18n("ez-grid.previousPage"),
64755
+ loadingOoo: i18n("app.loading"),
64756
+ noRowsToShow: i18n("ez-grid.noRowsToShow"),
64757
+ pinColumn: i18n("ez-grid.pinColumn"),
64758
+ unpinColumn: i18n("ez-grid.unpinColumn"),
64759
+ filterOoo: i18n("ez-grid.filter"),
64760
+ sortAscending: i18n("ez-grid.sortAscending"),
64761
+ sortDescending: i18n("ez-grid.sortDescending"),
64762
+ last: i18n("ez-grid.last"),
64763
+ first: i18n("ez-grid.first"),
64764
+ selectAll: i18n("ez-grid.selectAll"),
64765
+ searchOoo: i18n("ez-grid.searchOoo"),
64766
+ blanks: i18n("ez-grid.blanks"),
64767
+ applyFilter: i18n("ez-grid.applyFilter"),
64768
+ equals: i18n("ez-grid.equals"),
64769
+ lessThan: i18n("ez-grid.lessThan"),
64770
+ greaterThan: i18n("ez-grid.greaterThan"),
64771
+ contains: i18n("ez-grid.contains"),
64772
+ startsWith: i18n("ez-grid.startsWith"),
64773
+ endsWith: i18n("ez-grid.endsWith"),
64774
+ group: i18n("ez-grid.group"),
64775
+ columns: i18n("ez-grid.columns"),
64776
+ rowGroupColumns: i18n("ez-grid.rowGroupColumns"),
64777
+ rowGroupColumnsEmptyMessage: i18n("ez-grid.rowGroupColumnsEmptyMessage"),
64778
+ valueColumns: i18n("ez-grid.valueColumns"),
64779
+ pivotMode: i18n("ez-grid.pivotMode"),
64780
+ groups: i18n("ez-grid.groups"),
64781
+ values: i18n("ez-grid.values"),
64782
+ pivots: i18n("ez-grid.pivots"),
64783
+ valueColumnsEmptyMessage: i18n("ez-grid.valueColumnsEmptyMessage"),
64784
+ pivotColumnsEmptyMessage: i18n("ez-grid.pivotColumnsEmptyMessage"),
64785
+ toolPanelButton: i18n("ez-grid.toolPanelButton"),
64786
+ valueAggregation: i18n("ez-grid.valueAggregation"),
64787
+ autosizeThiscolumn: i18n("ez-grid.autosizeThiscolumn"),
64788
+ autosizeAllColumns: i18n("ez-grid.autosizeAllColumns"),
64789
+ groupBy: i18n("ez-grid.groupBy"),
64790
+ ungroupBy: i18n("ez-grid.ungroupBy"),
64791
+ resetColumns: i18n("ez-grid.resetColumns"),
64792
+ expandAll: i18n("ez-grid.expandAll"),
64793
+ collapseAll: i18n("ez-grid.collapseAll"),
64794
+ toolPanel: i18n("ez-grid.toolPanel"),
64795
+ export: i18n("ez-grid.export"),
64796
+ csvExport: i18n("ez-grid.csvExport"),
64797
+ excelExport: i18n("ez-grid.excelExport"),
64798
+ pinLeft: i18n("ez-grid.pinLeft"),
64799
+ pinRight: i18n("ez-grid.pinRight"),
64800
+ noPin: i18n("ez-grid.noPin"),
64801
+ sum: i18n("ez-grid.sum"),
64802
+ min: i18n("ez-grid.min"),
64803
+ max: i18n("ez-grid.max"),
64804
+ none: i18n("ez-grid.none"),
64805
+ count: i18n("ez-grid.count"),
64806
+ average: i18n("ez-grid.average"),
64807
+ copy: i18n("ez-grid.copy"),
64808
+ copyWithHeaders: i18n("ez-grid.copyWithHeaders"),
64809
+ ctrlC: i18n("ez-grid.ctrlC"),
64810
+ paste: i18n("ez-grid.paste"),
64811
+ ctrlV: i18n("ez-grid.ctrlV"),
64812
+ });
64813
+ }
64814
+
64821
64815
  class AgGridController {
64822
64816
  configFilterColumn(filterColumn) {
64823
64817
  this._filterColumn = filterColumn;
@@ -64972,6 +64966,7 @@ class AgGridController {
64972
64966
  }
64973
64967
  if (this._grid === undefined) {
64974
64968
  LicenseManager.setLicenseKey(core.ApplicationContext.getContextValue('__EZUI__GRID_LICENSE__'));
64969
+ this._i18n = options.i18n;
64975
64970
  this._columnStateChangeCallback = options.onColumnStateChange;
64976
64971
  this._selectionChangeCallback = options.onSelectionChange;
64977
64972
  this._doubleClickCallBack = options.onDoubleClick;
@@ -64985,7 +64980,7 @@ class AgGridController {
64985
64980
  }
64986
64981
  this._gridOptions = {
64987
64982
  suppressHorizontalScroll: options.suppressHorizontalScroll,
64988
- localeText: gridTerms,
64983
+ localeText: buildLocaleText(this._options.i18n),
64989
64984
  enableRangeSelection: this._multipleSelection,
64990
64985
  rowSelection: this._multipleSelection ? 'multiple' : 'single',
64991
64986
  sortingOrder: ['desc', 'asc', null],
@@ -65099,7 +65094,7 @@ class AgGridController {
65099
65094
  buildMenuItemOptionSort(params, sortOrder) {
65100
65095
  return {
65101
65096
  icon: sortOrder === 'asc' ? `<i class='ez-icon-ordem-ascendente'></i>` : `<i class='ez-icon-ordem-descendente'></i>`,
65102
- name: sortOrder === 'asc' ? 'Ordenar Ascendente' : 'Ordenar Descendente',
65097
+ name: sortOrder === 'asc' ? this._i18n("ez-grid.sortAscending") : this._i18n("ez-grid.sortDescending"),
65103
65098
  action: () => this.sortDataByColumn(params, sortOrder),
65104
65099
  };
65105
65100
  }
@@ -65108,7 +65103,7 @@ class AgGridController {
65108
65103
  const columnLabel = params.column.getColDef().headerName;
65109
65104
  return {
65110
65105
  icon: `<i class='ez-icon-filter'></i>`,
65111
- name: 'Filtrar',
65106
+ name: this._i18n("ez-grid.filter"),
65112
65107
  action: () => this.showFilterColumn({ columnName, columnLabel, leftPosition: this._filterColumnleftPosition, filteredOptions: this._filteredColumns.get(columnName) }),
65113
65108
  };
65114
65109
  }
@@ -65134,7 +65129,7 @@ class AgGridController {
65134
65129
  const isPinned = params.column.isPinned();
65135
65130
  return {
65136
65131
  icon: `<i class='ez-icon-${isPinned ? 'un-pin' : 'push-pin'}'></i>`,
65137
- name: isPinned ? 'Desafixar coluna' : 'Fixar coluna',
65132
+ name: isPinned ? this._i18n("ez-grid.unpinColumn") : this._i18n("ez-grid.pinColumn"),
65138
65133
  action: () => {
65139
65134
  columnApi.applyColumnState({
65140
65135
  state: [{ colId: column.getColId(), pinned: column.isPinned() ? null : 'left' }],
@@ -65739,7 +65734,7 @@ class AgGridController {
65739
65734
  tooltip = (_c = source.props) === null || _c === void 0 ? void 0 : _c.get('gridHeaderTooltip');
65740
65735
  }
65741
65736
  else if (propSortable === false) {
65742
- tooltip = 'Coluna não pode ser ordenada';
65737
+ tooltip = this._i18n('ez-grid.columnCantBeOrder');
65743
65738
  }
65744
65739
  const presentationFrom = (_d = source === null || source === void 0 ? void 0 : source.props) === null || _d === void 0 ? void 0 : _d.get(constants.PRESENTATION_FROM_COL_PROP_NAME);
65745
65740
  return this._editionManager.configureColumn({
@@ -65764,7 +65759,7 @@ class AgGridController {
65764
65759
  return "";
65765
65760
  }
65766
65761
  if (params.value instanceof Promise) {
65767
- return "Carregando...";
65762
+ return `${this._i18n("app.loading")}...`;
65768
65763
  }
65769
65764
  if (source.userInterface === core.UserInterface.HTML) {
65770
65765
  this.setHTMLRender(params, source);
@@ -65860,10 +65855,10 @@ class AgGridController {
65860
65855
  }
65861
65856
  if ((source === null || source === void 0 ? void 0 : source.userInterface) === core.UserInterface.SWITCH) {
65862
65857
  if ((params === null || params === void 0 ? void 0 : params.value) === 'S' || (params === null || params === void 0 ? void 0 : params.value) === true || (params === null || params === void 0 ? void 0 : params.value) === 'true') {
65863
- return 'Sim';
65858
+ return this._i18n("app.yes");
65864
65859
  }
65865
65860
  else if ((params === null || params === void 0 ? void 0 : params.value) === 'N' || (params === null || params === void 0 ? void 0 : params.value) === false || (params === null || params === void 0 ? void 0 : params.value) === 'false') {
65866
- return 'Não';
65861
+ return this._i18n("app.no");
65867
65862
  }
65868
65863
  }
65869
65864
  if ((source === null || source === void 0 ? void 0 : source.userInterface) === core.UserInterface.SEARCH) {
@@ -66086,27 +66081,30 @@ function enableSelectAll(total) {
66086
66081
  return total !== undefined;
66087
66082
  }
66088
66083
  function buildSelectAllLabel(allRecordSelected, count, total) {
66084
+ const i18n = index.getI18n();
66089
66085
  if (allRecordSelected)
66090
- return 'Selecionar apenas a página atual';
66086
+ return i18n('utils.selectAllPage');
66091
66087
  if (total === undefined)
66092
- return `Carregando todos os ${count} registros`;
66093
- return `Selecionar todos os ${total} registros`;
66088
+ return i18n('utils.loadingAllRecords', { count });
66089
+ return i18n('utils.selectAllRecords', { total });
66094
66090
  }
66095
66091
  function buildSelectAllTitle(total) {
66096
66092
  if (enableSelectAll(total))
66097
66093
  return '';
66098
- return 'Aguarde o carregamento para selecionar o registro de todas as páginas';
66094
+ const i18n = index.getI18n();
66095
+ return i18n('utils.waitForLoad');
66099
66096
  }
66100
66097
  function getText(selectionCount, allSelectedRecords) {
66098
+ const i18n = index.getI18n();
66101
66099
  if (allSelectedRecords) {
66102
- return `Todos os <strong>${selectionCount} registros</strong> da grade estão selecionados.`;
66100
+ return i18n('utils.allRecordsSelected', { selectionCount });
66103
66101
  }
66104
- const pluralCharacter = selectionCount > 1 ? "s" : "";
66105
- return `Há <strong>${selectionCount} registro${pluralCharacter}</strong> selecionado${pluralCharacter} na grade.`;
66102
+ const plural = selectionCount > 1 ? "s" : "";
66103
+ return i18n('utils.selectedRecords', { selectionCount, plural });
66106
66104
  }
66107
66105
 
66108
66106
  const SelectionCounter = (props) => {
66109
- const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose } = props;
66107
+ const { selectionCount, currentPageSelected, allRecordSelected, paginationInfo, canSelectAll, onSelectAll, onSelectPage, onClearAll, onClose, i18n } = props;
66110
66108
  const { total, hasMore, count } = paginationInfo || {};
66111
66109
  const shouldRenderSelectionButton = () => {
66112
66110
  if ((!allRecordSelected && selectionCount === total) || (allRecordSelected && !hasMore))
@@ -66115,16 +66113,16 @@ const SelectionCounter = (props) => {
66115
66113
  return canSelectAll;
66116
66114
  return !!paginationInfo && (currentPageSelected || allRecordSelected);
66117
66115
  };
66118
- return (index.h("div", Object.assign({ class: "ez-box ez-box--shadow-small" }, getElementID("ezGridSelectionCounter")),
66119
- index.h("div", { class: "ez-flex ez-flex--align-items-center ez-size-width--full ez-padding-horizontal--medium" },
66120
- index.h("div", { class: "ez-flex ez-flex--wrap ez-flex--align-items-baseline ez-flex--justify-center" },
66121
- index.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"))),
66122
- index.h("div", { class: "ez-flex ez-margin-right--medium" },
66116
+ return (index$1.h("div", Object.assign({ class: "ez-box ez-box--shadow-small" }, getElementID("ezGridSelectionCounter")),
66117
+ index$1.h("div", { class: "ez-flex ez-flex--align-items-center ez-size-width--full ez-padding-horizontal--medium" },
66118
+ index$1.h("div", { class: "ez-flex ez-flex--wrap ez-flex--align-items-baseline ez-flex--justify-center" },
66119
+ index$1.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"))),
66120
+ index$1.h("div", { class: "ez-flex ez-margin-right--medium" },
66123
66121
  shouldRenderSelectionButton() &&
66124
- index.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"}`))),
66125
- index.h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: "Limpar Sele\u00E7\u00E3o", mode: "link", onClick: onClearAll }, getElementID("ezGridSelectionCounter_clearAll"))))),
66126
- index.h("button", Object.assign({ class: "grid__btn-close", title: "Fechar", onClick: onClose }, getElementID("ezGridSelectionCounter_close")),
66127
- index.h("ez-icon", { iconName: "close" })))));
66122
+ index$1.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"}`))),
66123
+ index$1.h("ez-button", Object.assign({ key: "clearAllSelectionEzButton", class: "grid__btn-clear", label: i18n("ez-grid.clearSelection"), mode: "link", onClick: onClearAll }, getElementID("ezGridSelectionCounter_clearAll"))))),
66124
+ index$1.h("button", Object.assign({ class: "grid__btn-close", title: i18n("app.close"), onClick: onClose }, getElementID("ezGridSelectionCounter_close")),
66125
+ index$1.h("ez-icon", { iconName: "close" })))));
66128
66126
  };
66129
66127
  function getElementID(sufix) {
66130
66128
  return {
@@ -66266,14 +66264,13 @@ const matches = (text, filter) => {
66266
66264
  };
66267
66265
  const EzGrid = class {
66268
66266
  constructor(hostRef) {
66269
- index.registerInstance(this, hostRef);
66270
- this.ezColumnStateChange = index.createEvent(this, "ezColumnStateChange", 7);
66271
- this.ezSelectionChange = index.createEvent(this, "ezSelectionChange", 7);
66272
- this.ezDoubleClick = index.createEvent(this, "ezDoubleClick", 7);
66273
- this.configChange = index.createEvent(this, "configChange", 7);
66274
- this.componentReady = index.createEvent(this, "componentReady", 7);
66267
+ index$1.registerInstance(this, hostRef);
66268
+ this.ezColumnStateChange = index$1.createEvent(this, "ezColumnStateChange", 7);
66269
+ this.ezSelectionChange = index$1.createEvent(this, "ezSelectionChange", 7);
66270
+ this.ezDoubleClick = index$1.createEvent(this, "ezDoubleClick", 7);
66271
+ this.configChange = index$1.createEvent(this, "configChange", 7);
66272
+ this.componentReady = index$1.createEvent(this, "componentReady", 7);
66275
66273
  this._gridController = new AgGridController(false);
66276
- this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
66277
66274
  this._customEditor = new Map();
66278
66275
  this._customRenders = new Map();
66279
66276
  this._paginationInfo = undefined;
@@ -66667,7 +66664,7 @@ const EzGrid = class {
66667
66664
  await ((_a = this._cancelPaginationPopoverElement) === null || _a === void 0 ? void 0 : _a.hide());
66668
66665
  }
66669
66666
  renderCancelPagination() {
66670
- return (index.h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, index.h("div", { class: 'cancel-pagination' }, index.h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), index.h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, "Cancelar pagina\u00E7\u00E3o"))));
66667
+ return (index$1.h("ez-popover", { ref: (element) => (this._cancelPaginationPopoverElement = element), "overlay-type": 'none', autoClose: false }, index$1.h("div", { class: 'cancel-pagination' }, index$1.h("ez-icon", { iconName: "sync", size: "x-large", class: "spin" }), index$1.h("span", { onClick: () => this.handleCancelPagination(), class: 'cancel-pagination-btn' }, this.i18n("ez-grid.cancelPagination")))));
66671
66668
  }
66672
66669
  handleShowCancelPagination() {
66673
66670
  var _a, _b, _c;
@@ -66683,7 +66680,7 @@ const EzGrid = class {
66683
66680
  if (!this._paginationInfo)
66684
66681
  return null;
66685
66682
  const { currentPage, hasMore } = this._paginationInfo;
66686
- return (index.h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), index.h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, index.h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && index.h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), index.h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, index.h("ez-button", { size: "small", class: "ez-margin-right--medium", iconName: "chevron-left", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }), index.h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" }))));
66683
+ return (index$1.h("div", { class: `grid-header__container grid-header__pagination ${this.resolvePaginationClassMode()}`, ref: ref => (this._refPaginationControl = ref) }, this.renderCancelPagination(), index$1.h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium", ref: (element) => (this._refPaginationLabel = element) }, index$1.h("span", { class: "grid-header__pagination-label" }, this.shouldPresentPaginationLabel() && index$1.h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, this._getActualPageLabel()), this.shouldPresentPaginationLabel() && this._getRemainingPageLabel())), index$1.h("div", { id: "grid-pagination-tooltip", ref: (element) => (this._refPaginationLabelTooltip = element), class: "ez-flex ez-margin-right--medium", title: `${this._getActualPageLabel()} ${this._getRemainingPageLabel()}` }, index$1.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") }), index$1.h("ez-button", { size: "small", iconName: "chevron-right", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: this.i18n("ez-grid.nextPage") }))));
66687
66684
  }
66688
66685
  shouldPresentPaginationLabel() {
66689
66686
  return this.paginationCounterMode === 'show' || this.paginationCounterMode === 'auto';
@@ -66723,7 +66720,8 @@ const EzGrid = class {
66723
66720
  enableLockManagerTaskbarClick: this.enableLockManagerTaskbarClick,
66724
66721
  enableLockManagerLoadingComp: this.enableLockManagerLoadingComp,
66725
66722
  enableRowTableStriped: this.enableRowTableStriped,
66726
- suppressHorizontalScroll: this.suppressHorizontalScroll
66723
+ suppressHorizontalScroll: this.suppressHorizontalScroll,
66724
+ i18n: this.i18n
66727
66725
  });
66728
66726
  if (this.config) {
66729
66727
  this.observeConfig(this.config);
@@ -66756,7 +66754,7 @@ const EzGrid = class {
66756
66754
  }
66757
66755
  _getRemainingPageLabel() {
66758
66756
  const { total, count } = this._paginationInfo;
66759
- return `${total == undefined ? ` de ${count + 1} ou mais` : ` de ${total}`}`;
66757
+ return `${total == undefined ? this.i18n("ez-grid.remainingPageLabel", { count: count + 1 }) : this.i18n("ez-grid.remainingTotalLabel", { total })}`;
66760
66758
  }
66761
66759
  _hasToShowCancelPagination() {
66762
66760
  var _a;
@@ -66832,10 +66830,11 @@ const EzGrid = class {
66832
66830
  }
66833
66831
  componentDidRender() {
66834
66832
  windowInstace.addEventListener('onSubmitFilter', () => {
66835
- ApplicationUtils.ApplicationUtils.info(this._messageFilterAppliedSuccess);
66833
+ ApplicationUtils.ApplicationUtils.info(this.i18n("ez-grid.filterAppliedSuccess"));
66836
66834
  });
66837
66835
  }
66838
- componentWillLoad() {
66836
+ async componentWillLoad() {
66837
+ this.i18n = await index.initI18n();
66839
66838
  this._hasLeftButtons = !!this._element.querySelector('[slot="leftButtons"]');
66840
66839
  if (!this.dataUnit.name.includes("InMemoryDataUnit"))
66841
66840
  return;
@@ -66874,12 +66873,12 @@ const EzGrid = class {
66874
66873
  if (!this._paginationInfo)
66875
66874
  return;
66876
66875
  this.nextRecord();
66877
- }, { description: "Avança para o próximo registro.", element: this._element })
66876
+ }, { description: this.i18n("ez-grid.nextRecord"), element: this._element })
66878
66877
  .bind("ctrl + ,", () => {
66879
66878
  if (!this._paginationInfo)
66880
66879
  return;
66881
66880
  this.previousRecord();
66882
- }, { description: "Retorna ao registro anterior.", element: this._element })
66881
+ }, { description: this.i18n("ez-grid.previousRecord"), element: this._element })
66883
66882
  .bind("ctrl + alt + ArrowLeft", () => {
66884
66883
  if (!this._paginationInfo)
66885
66884
  return;
@@ -66887,7 +66886,7 @@ const EzGrid = class {
66887
66886
  if (currentPage > 0) {
66888
66887
  this.previousPage();
66889
66888
  }
66890
- }, { description: "Retorna a pagina anterior.", element: this._element })
66889
+ }, { description: this.i18n("ez-grid.previousPage"), element: this._element })
66891
66890
  .bind("ctrl + alt + ArrowRight", () => {
66892
66891
  if (!this._paginationInfo)
66893
66892
  return;
@@ -66895,7 +66894,7 @@ const EzGrid = class {
66895
66894
  if (hasMore) {
66896
66895
  this.nextPage();
66897
66896
  }
66898
- }, { description: "Avança para a próxima página.", element: this._element });
66897
+ }, { description: this.i18n("ez-grid.nextPage"), element: this._element });
66899
66898
  if (this.useSearchColumn) {
66900
66899
  this._keyboardManager.bind(searchColumn.SHORTCUT_SEARCH_FIELD, async () => {
66901
66900
  if (!this._container || !this._ezPopoverSearchColumn)
@@ -66903,7 +66902,7 @@ const EzGrid = class {
66903
66902
  const container = this._container.getBoundingClientRect();
66904
66903
  await searchColumn.focusOnFieldSerch(this._columnSearch);
66905
66904
  this._ezPopoverSearchColumn.showUnder(this._container, { horizontalGap: container.width - (searchColumn.SEARCH_FIELD_FULL_WIDTH), verticalGap: container.height * -1 });
66906
- }, { description: searchColumn.LABEL_SEARCH_COLUMN, element: this._element });
66905
+ }, { description: this.i18n("ez-grid.searchColumn"), element: this._element });
66907
66906
  }
66908
66907
  }
66909
66908
  async removeShortcuts() {
@@ -66935,23 +66934,23 @@ const EzGrid = class {
66935
66934
  }
66936
66935
  render() {
66937
66936
  var _a;
66938
- return (index.h(index.Host, { "no-header": this.hideHeader() }, index.h("div", { class: {
66937
+ return (index$1.h(index$1.Host, { "no-header": this.hideHeader() }, index$1.h("div", { class: {
66939
66938
  'grid__container ez-grid': true,
66940
66939
  'outline-mode': this.outlineMode,
66941
66940
  'shadow-mode': !this.outlineMode,
66942
66941
  'no-padding': this.compact,
66943
66942
  'header-overlay': !this.hideHeader(),
66944
66943
  'no-scroll': this.suppressHorizontalScroll
66945
- }, ref: elem => (this._container = elem), tabindex: "0" }), index.h("div", { class: {
66944
+ }, ref: elem => (this._container = elem), tabindex: "0" }), index$1.h("div", { class: {
66946
66945
  'ez-box ez-padding--small grid-header': true,
66947
66946
  'outline-mode': this.outlineMode,
66948
66947
  'shadow-mode': !this.outlineMode && !this.hideHeader(),
66949
- }, tabindex: "0" }, index.h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), index.h("div", { class: "grid-header__position" }, index.h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, index.h("slot", { name: "leftButtons" })), this.getPaginationControl())), index.h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), index.h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
66948
+ }, tabindex: "0" }, index$1.h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), index$1.h("div", { class: "grid-header__position" }, index$1.h("div", { class: `grid-header__container grid-header__left-container ${this.resolveLeftHeaderClass()}` }, index$1.h("slot", { name: "leftButtons" })), this.getPaginationControl())), index$1.h("ez-popover", { ref: elem => (this._ezPopoverSearchColumn = elem), overlayType: "none" }, this.renderFieldSearchColumn()), index$1.h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
66950
66949
  ${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
66951
- ` }, index.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, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), index.h("div", { class: "grid__footer" }, index.h("slot", { name: "footer" }))));
66950
+ ` }, index$1.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) })), index$1.h("div", { class: "grid__footer" }, index$1.h("slot", { name: "footer" }))));
66952
66951
  }
66953
66952
  static get assetsDirs() { return ["../assets"]; }
66954
- get _element() { return index.getElement(this); }
66953
+ get _element() { return index$1.getElement(this); }
66955
66954
  static get watchers() { return {
66956
66955
  "config": ["observeConfig"],
66957
66956
  "_paginationInfo": ["updatePaginationTooltip"],
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const EzScrollDirection = require('./EzScrollDirection-b2c99895.js');
8
+ const index$1 = require('./index-02854309.js');
8
9
 
9
10
  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}";
10
11
 
@@ -79,6 +80,9 @@ const EzGuideNavigator = class {
79
80
  async getParent(id) {
80
81
  return this._tree.getParent(id);
81
82
  }
83
+ async componentWillLoad() {
84
+ this.i18n = await index$1.initI18n();
85
+ }
82
86
  async handleToggleSidebar() {
83
87
  this.open = !this.open;
84
88
  }
@@ -93,7 +97,7 @@ const EzGuideNavigator = class {
93
97
  }
94
98
  render() {
95
99
  core.ElementIDUtils.addIDInfoIfNotExists(this._element);
96
- return (index.h(index.Host, null, index.h("ez-sidebar-button", { class: this.open ? "hidden" : "", onEzClick: this.handleToggleSidebar.bind(this), "aria-controls": "navigator", "aria-expanded": this.open, "data-element-id": core.ElementIDUtils.getInternalIDInfo("openButton") }), index.h("aside", { tabIndex: -1, id: "navigator", class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-guide-navigator " + (this.open ? "" : "hidden"), "data-element-id": core.ElementIDUtils.getInternalIDInfo("sidebar") }, index.h("div", { role: "search", class: "ez-guide-navigator__actions" }, index.h("ez-filter-input", { mode: "slim", value: this.filterText, onEzChange: (event) => this.onFilterChanged(event), label: "Buscar guia", "aria-placeholder": "Buscar guia", onKeyUp: this.handleFilterTree.bind(this), "data-element-id": core.ElementIDUtils.getInternalIDInfo("textinput") }), index.h("ez-button", { onClick: this.handleToggleSidebar.bind(this), class: "inverted", mode: "icon", size: "small", iconName: "show_menu", title: "Ocultar menu", "aria-label": "Ocultar menu", "aria-controls": "navigator", "data-element-id": core.ElementIDUtils.getInternalIDInfo("closeButton") })), index.h("ez-scroller", { direction: EzScrollDirection.EzScrollDirection.VERTICAL, activeShadow: true }, index.h("ez-tree", { ref: element => (this._tree = element), items: this.items, "data-element-id": core.ElementIDUtils.getInternalIDInfo("tree"), tooltipResolver: this.tooltipResolver, onEzChange: evt => this.ezSelectionChange.emit(evt.detail), selectedId: this.selectedId })))));
100
+ return (index.h(index.Host, null, index.h("ez-sidebar-button", { class: this.open ? "hidden" : "", onEzClick: this.handleToggleSidebar.bind(this), "aria-controls": "navigator", "aria-expanded": this.open, "data-element-id": core.ElementIDUtils.getInternalIDInfo("openButton") }), index.h("aside", { tabIndex: -1, id: "navigator", class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-guide-navigator " + (this.open ? "" : "hidden"), "data-element-id": core.ElementIDUtils.getInternalIDInfo("sidebar") }, index.h("div", { role: "search", class: "ez-guide-navigator__actions" }, index.h("ez-filter-input", { mode: "slim", value: this.filterText, onEzChange: (event) => this.onFilterChanged(event), label: this.i18n("ez-guide-navigator.searchGuide"), "aria-placeholder": this.i18n("ez-guide-navigator.searchGuide"), onKeyUp: this.handleFilterTree.bind(this), "data-element-id": core.ElementIDUtils.getInternalIDInfo("textinput") }), index.h("ez-button", { onClick: this.handleToggleSidebar.bind(this), class: "inverted", mode: "icon", size: "small", iconName: "show_menu", title: this.i18n("ez-guide-navigator.hideMenu"), "aria-label": this.i18n("ez-guide-navigator.hideMenu"), "aria-controls": "navigator", "data-element-id": core.ElementIDUtils.getInternalIDInfo("closeButton") })), index.h("ez-scroller", { direction: EzScrollDirection.EzScrollDirection.VERTICAL, activeShadow: true }, index.h("ez-tree", { ref: element => (this._tree = element), items: this.items, "data-element-id": core.ElementIDUtils.getInternalIDInfo("tree"), tooltipResolver: this.tooltipResolver, onEzChange: evt => this.ezSelectionChange.emit(evt.detail), selectedId: this.selectedId })))));
97
101
  }
98
102
  get _element() { return index.getElement(this); }
99
103
  };