@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
@@ -1,4 +1,5 @@
1
1
  import { D as DialogType } from './DialogType-54a62731.js';
2
+ import { i as initI18n } from './index-b623906e.js';
2
3
 
3
4
  // Unique ID creation requires a high quality random # generator. In the browser we therefore
4
5
  // require the crypto API and do not support built-in fallback to lower quality random number
@@ -66,9 +67,21 @@ function v4(options, buf, offset) {
66
67
  }
67
68
 
68
69
  class ApplicationUtils {
70
+ static async getDefaultMessageOptions() {
71
+ if (!this.i18n) {
72
+ this.i18n = await initI18n();
73
+ }
74
+ return {
75
+ canClose: true,
76
+ labelCancel: this.i18n("app.no"),
77
+ labelConfirm: this.i18n("app.yes"),
78
+ btnConfirmDanger: false
79
+ };
80
+ }
69
81
  static async showDialog(title, message, icon = null, confirm, dialogType = DialogType.DEFAULT, options) {
70
82
  if (options) {
71
- options = Object.assign(Object.assign({}, ApplicationUtils.defaultMessageOptions), options);
83
+ const defaultMessageOptions = await this.getDefaultMessageOptions();
84
+ options = Object.assign(Object.assign({}, defaultMessageOptions), options);
72
85
  }
73
86
  return new Promise(resolve => {
74
87
  let dialog = document.createElement("ez-dialog");
@@ -80,24 +93,45 @@ class ApplicationUtils {
80
93
  });
81
94
  });
82
95
  }
83
- static async alert(title, message, icon = null, options = ApplicationUtils.defaultMessageOptions) {
96
+ static async alert(title, message, icon = null, options) {
97
+ if (!options) {
98
+ const defaultMessageOptions = await this.getDefaultMessageOptions();
99
+ options = defaultMessageOptions;
100
+ }
84
101
  return ApplicationUtils.showDialog(title, message, icon, false, DialogType.WARN, options);
85
102
  }
86
- static async error(title, message, icon = null, options = ApplicationUtils.defaultMessageOptions) {
103
+ static async error(title, message, icon = null, options) {
104
+ if (!options) {
105
+ const defaultMessageOptions = await this.getDefaultMessageOptions();
106
+ options = defaultMessageOptions;
107
+ }
87
108
  return ApplicationUtils.showDialog(title, message, icon, false, DialogType.CRITICAL, options);
88
109
  }
89
- static async success(title, message, icon = null, options = ApplicationUtils.defaultMessageOptions) {
110
+ static async success(title, message, icon = null, options) {
111
+ if (!options) {
112
+ const defaultMessageOptions = await this.getDefaultMessageOptions();
113
+ options = defaultMessageOptions;
114
+ }
90
115
  return ApplicationUtils.showDialog(title, message, icon, false, DialogType.SUCCESS, options);
91
116
  }
92
- static async confirm(title, message, icon = null, dialogType = DialogType.WARN, options = ApplicationUtils.defaultMessageOptions) {
117
+ static async confirm(title, message, icon = null, dialogType = DialogType.WARN, options) {
118
+ if (!options) {
119
+ const defaultMessageOptions = await this.getDefaultMessageOptions();
120
+ options = defaultMessageOptions;
121
+ }
93
122
  return ApplicationUtils.showDialog(title, message, icon, true, dialogType, options);
94
123
  }
95
- static async message(title, message, icon = null, options = ApplicationUtils.defaultMessageOptions) {
124
+ static async message(title, message, icon = null, options) {
125
+ if (!options) {
126
+ const defaultMessageOptions = await this.getDefaultMessageOptions();
127
+ options = defaultMessageOptions;
128
+ }
96
129
  return ApplicationUtils.showDialog(title, message, icon, false, DialogType.DEFAULT, options);
97
130
  }
98
- static async info(message, options = ApplicationUtils.defaultMessageOptions) {
99
- if (options !== ApplicationUtils.defaultMessageOptions) {
100
- options = Object.assign(Object.assign({}, ApplicationUtils.defaultMessageOptions), options);
131
+ static async info(message, options) {
132
+ const defaultMessageOptions = await this.getDefaultMessageOptions();
133
+ if (options !== defaultMessageOptions) {
134
+ options = Object.assign(Object.assign({}, defaultMessageOptions), options);
101
135
  }
102
136
  let useIcon = false;
103
137
  let toast = document.querySelector("ez-toast");
@@ -185,12 +219,6 @@ class ApplicationUtils {
185
219
  alertList.alerts = props.alerts;
186
220
  }
187
221
  }
188
- ApplicationUtils.defaultMessageOptions = {
189
- canClose: true,
190
- labelCancel: 'Não',
191
- labelConfirm: 'Sim',
192
- btnConfirmDanger: false
193
- };
194
222
  ApplicationUtils.defaultModalProps = {
195
223
  content: null,
196
224
  position: 'right',
@@ -14,18 +14,6 @@ const RICH_TOOLBAR_FORMAT_TAGS = {
14
14
  LIST: '<ul><li>$selection</li></ul>',
15
15
  BREAK_LINE: '\n<br/>\n',
16
16
  };
17
- const RICH_TOOLBAR_COMMAND_TITLE = {
18
- PREVIEW: 'Ctrl + P',
19
- EDIT: 'Ir para modo edição',
20
- UNDO: 'Desfazer (Ctrl + Z)',
21
- REDO: 'Refazer (Ctrl + X)',
22
- LINK: 'Inserir link (Ctrl + K)',
23
- IMAGE: 'Inserir imagem (Ctrl + O)',
24
- LIST: 'Lista (Ctrl + L)',
25
- UNDERLINE: 'Sublinhado (Ctrl + U)',
26
- ITALIC: 'Itálico (Ctrl + I)',
27
- BOLD: 'Negrito (Ctrl + B)',
28
- };
29
17
  const RICH_TOOLBAR_COMMAND_ICON = {
30
18
  PREVIEW: 'Ctrl + P',
31
19
  UNDO: 'undo',
@@ -38,4 +26,4 @@ const RICH_TOOLBAR_COMMAND_ICON = {
38
26
  BOLD: 'bold',
39
27
  };
40
28
 
41
- export { RICH_TOOLBAR_FORMAT_TAGS as R, RICH_TOOLBAR_COMMANDS as a, RICH_TOOLBAR_COMMAND_TITLE as b, RICH_TOOLBAR_COMMAND_ICON as c };
29
+ export { RICH_TOOLBAR_FORMAT_TAGS as R, RICH_TOOLBAR_COMMANDS as a, RICH_TOOLBAR_COMMAND_ICON as b };
@@ -0,0 +1,10 @@
1
+ import { i as initI18n } from './index-b623906e.js';
2
+
3
+ async function initializeApp() {
4
+ await initI18n();
5
+ console.log('Global initialization ez-ui completed!');
6
+ }
7
+
8
+ const globalScripts = initializeApp;
9
+
10
+ export { globalScripts as g };
@@ -1,7 +1,6 @@
1
- const REQUIRED_INFO = " (obrigatório) *";
2
1
  const DISTINCT_FILTER_NAME_PREFIX = 'FILTRO_COLUNA_';
3
2
  const EZ_GRID_LOADING_SOURCE = "EZ_GRID_LOADING_SOURCE";
4
3
  const PRESENTATION_COL_ID_PROP_NAME = "gridDescriptionColID";
5
4
  const PRESENTATION_FROM_COL_PROP_NAME = "presentationFieldFrom";
6
5
 
7
- export { DISTINCT_FILTER_NAME_PREFIX as D, EZ_GRID_LOADING_SOURCE as E, PRESENTATION_COL_ID_PROP_NAME as P, REQUIRED_INFO as R, PRESENTATION_FROM_COL_PROP_NAME as a };
6
+ export { DISTINCT_FILTER_NAME_PREFIX as D, EZ_GRID_LOADING_SOURCE as E, PRESENTATION_COL_ID_PROP_NAME as P, PRESENTATION_FROM_COL_PROP_NAME as a };
@@ -1,9 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { FloatingManager, ElementIDUtils } from '@sankhyalabs/core';
3
- import './ApplicationUtils-eaf91331.js';
3
+ import './ApplicationUtils-72f474e8.js';
4
4
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
5
5
  import './DialogType-54a62731.js';
6
6
  import './CheckMode-bdb2ec19.js';
7
+ import './index-b623906e.js';
7
8
  import './FormLayout-071d324c.js';
8
9
 
9
10
  const ezActionsButtonCss = ":host{--ez-actions-button__actions-list--border-radius:var(--border--radius-medium, 12px);--ez-actions-button__actions-list--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-actions-button__actions-list--background-color:var(--background--xlight, #fff);--ez-actions-button__actions-list--padding:var(--space--small, 6px);--ez-actions-button__actions-list--top-margin:var(--space-small, 6px);--ez-actions-button__actions-list--z-index:var(--ez-elevation--8, 8);--ez-actions-button__actions-max-height:415px;--ez-actions-button__btn-action--min-width:'auto';--ez-actions-button__btn-action--background-color:var(--background--xlight, #fff);display:flex;flex-direction:column;height:fit-content;user-select:none}.ez-actions-button__actions-list{display:flex;flex-direction:column;position:fixed;width:fit-content;height:fit-content;overflow-y:auto;scrollbar-width:thin;z-index:var(--ez-actions-button__actions-list--z-index);padding:var(--ez-actions-button__actions-list--padding);margin-top:var(--ez-actions-button__actions-list--top-margin);background-color:var(--ez-actions-button__actions-list--background-color);border-radius:var(--ez-actions-button__actions-list--border-radius);box-shadow:var(--ez-actions-button__actions-list--box-shadow)}.ez-actions-button__actions-list--max-height{max-height:var(--ez-actions-button__actions-max-height)}.ez-actions-button__actions-list--lowered{margin-top:calc(var(--ez-actions-button__actions-list--top-margin) + 6px)}.ez-actions-button__btn-action{--ez-button--justify-content:flex-start;--ez-button--width:100%;--ez-button--min-width:var(--ez-actions-button__btn-action--min-width);--ez-button--background-color:var(--ez-actions-button__btn-action--background-color);--ez-button--font-weight:var(--text-weight--medium, 400);--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px);--ez-button--border:none}.ez-actions-button__btn-action--spaced{--ez-button--padding-left:calc(var(--space--medium, 12px) + 24px)}.ez-actions-button__icon-right{margin-left:var(--space--small, 6px)}.ez-actions-button__icon-check,.ez-actions-button__icon-item{position:absolute;left:var(--space--medium, 12px)}.ez-actions-button__icon-check{color:var(--ez-button--hover-color)}.ez-actions-button__arrow{position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;width:0;height:0;z-index:calc(var(--ez-actions-button__actions-list--z-index) + 1);border-bottom:15px solid var(--ez-actions-button__btn-action--background-color)}.ez-actions-button__arrow--upped{margin-top:calc((var(--ez-actions-button__actions-list--top-margin) + 2px) * -1)}.ez-actions-button__arrow--small{margin-left:6px}.ez-actions-button__arrow--medium{margin-left:11px}.ez-actions-button__arrow--large{margin-left:13px}.ez-actions-button__arrow:only-child{display:none}.ez-actions-button__btn-transparent{--ez-button--background-color:transparent;--ez-button--hover--background-color:transparent;--ez-button--active--background-color:transparent;--ez-button--focus--border:none;--ez-button--border:none}.ez-actions-button__btn-label{--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px)}.ez-actions-button__list-container{position:relative}.ez-actions-button--bottom-padding{padding-bottom:var(--space--small, 6px)}";
@@ -1,5 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { FloatingManager, ElementIDUtils } from '@sankhyalabs/core';
3
+ import { i as initI18n } from './index-b623906e.js';
3
4
 
4
5
  const ezAlertListCss = ":host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, \"Roboto\");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n";
5
6
 
@@ -125,14 +126,15 @@ const EzAlertList = class {
125
126
  this._container.focus();
126
127
  }
127
128
  }
128
- componentWillLoad() {
129
+ async componentWillLoad() {
129
130
  this.dataElementId = ElementIDUtils.addIDInfo(this._element, 'EzAlertList');
131
+ this.i18n = await initI18n();
130
132
  }
131
133
  render() {
132
134
  return (h(Host, Object.assign({}, { [ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME]: this.dataElementId }), this.opened ?
133
- (h("div", { ref: elem => (this._overlayRef = elem) }, h("div", { class: `alert-list__container ${this.expanded ? 'expanded' : ''}`, ref: elem => (this._container = elem) }, h("div", { class: "alert-list__content" }, h("div", { class: "alert-list__header" }, h("div", { class: "alert-list__title" }, `Avisos (${this.alerts.length})`), h("div", { class: "alert-list__header__buttons" }, this.enableExpand && (h("ez-button", { mode: "icon", size: "small", iconName: "expand", onClick: () => this.toggleExpandContainer(), "data-element-id": ElementIDUtils.getInternalIDInfo('expandButton'), title: this.expanded ? 'Resumir' : 'Expandir' })), h("ez-button", { mode: "icon", size: "small", iconName: "close", "data-element-id": ElementIDUtils.getInternalIDInfo('closeButton'), onClick: () => {
135
+ (h("div", { ref: elem => (this._overlayRef = elem) }, h("div", { class: `alert-list__container ${this.expanded ? 'expanded' : ''}`, ref: elem => (this._container = elem) }, h("div", { class: "alert-list__content" }, h("div", { class: "alert-list__header" }, h("div", { class: "alert-list__title" }, `${this.i18n('app.alerts')} (${this.alerts.length})`), h("div", { class: "alert-list__header__buttons" }, this.enableExpand && (h("ez-button", { mode: "icon", size: "small", iconName: "expand", onClick: () => this.toggleExpandContainer(), "data-element-id": ElementIDUtils.getInternalIDInfo('expandButton'), title: this.expanded ? this.i18n('app.collapse') : this.i18n('app.expand') })), h("ez-button", { mode: "icon", size: "small", iconName: "close", "data-element-id": ElementIDUtils.getInternalIDInfo('closeButton'), onClick: () => {
134
136
  this.opened = false;
135
- }, title: 'Fechar' }))), h("div", { class: "alert-list__expandable-content" }, h("ez-list", { itemSlotBuilder: this.itemRightSlotBuilder, hoverFeedback: true, itemLeftSlotBuilder: item => {
137
+ }, title: this.i18n('app.close') }))), h("div", { class: "alert-list__expandable-content" }, h("ez-list", { itemSlotBuilder: this.itemRightSlotBuilder, hoverFeedback: true, itemLeftSlotBuilder: item => {
136
138
  return (h("a", { onClick: this.getLinkActionClick(item), style: {
137
139
  fontFamily: "var(--font-pattern, 'Roboto')",
138
140
  fontSize: 'var(--text--medium, 14px)',
@@ -1,4 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-baa5e267.js';
2
+ import { i as initI18n } from './index-b623906e.js';
3
+ import '@sankhyalabs/core';
2
4
 
3
5
  const ezAvatarCss = ":host{--ez-avatar--background-color:var(--color--ocean-green-600, #008561);--ez-avatar--color:var(--color--gray-70, #fff);--ez-avatar--border-radius-circle:50%;--ez-avatar--border-radius-square:25%;--ez-avatar--background-color-hover:var(--color--ocean-green-700, #00684C)}button,figure{display:flex;align-items:center;justify-content:center;border:var(--ez-avatar--border);background-color:var(--ez-avatar--background-color);color:var(--ez-avatar--color);font-weight:var(--font-weight--medium, 500);font-family:var(--font-pattern, 'Roboto');transition:background-color 0.2s linear, color 0.2s linear;margin:0;padding:0}button:hover{cursor:pointer;background-color:var(--ez-avatar--background-color-hover)}.avatar--320{--avatar-size:320px;width:20rem;height:20rem}.avatar--300{--avatar-size:300px;width:18.75rem;height:18.75rem}.avatar--280{--avatar-size:280px;width:17.5rem;height:17.5rem}.avatar--260{--avatar-size:260px;width:16.25rem;height:16.25rem}.avatar--240{--avatar-size:240px;width:15rem;height:15rem}.avatar--220{--avatar-size:220px;width:13.75rem;height:13.75rem}.avatar--200{--avatar-size:200px;width:12.5rem;height:12.5rem}.avatar--180{--avatar-size:180px;width:11.25rem;height:11.25rem}.avatar--160{--avatar-size:160px;width:10rem;height:10rem}.avatar--140{--avatar-size:140px;width:8.75rem;height:8.75rem}.avatar--120{--avatar-size:120px;width:7.5rem;height:7.5rem}.avatar--100{--avatar-size:100px;width:6.25rem;height:6.25rem}.avatar--80{--avatar-size:80px;width:5rem;height:5rem}.avatar--60{--avatar-size:60px;width:3.75rem;height:3.75rem}.avatar-initial{font-size:calc(0.375 * var(--avatar-size));}.avatar--circle{border-radius:var(--ez-avatar--border-radius-circle)}.avatar--square{border-radius:var(--ez-avatar--border-radius-square)}.avatar-image{width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar--has-image{background-color:transparent}ez-icon{--ez-icon--color:var(--color--gray-70, #fff);font-weight:var(--font-weight--medium, 500)}";
4
6
 
@@ -34,9 +36,12 @@ const EzAvatar = class {
34
36
  }
35
37
  return h("ez-icon", { class: "avatar-icon", iconName: "account-outline", fontSize: this.calcFontSize() });
36
38
  }
39
+ async componentWillLoad() {
40
+ this.i18n = await initI18n();
41
+ }
37
42
  render() {
38
43
  if (this.isInteractive) {
39
- return (h("button", { "aria-label": "Perfil", class: this.getClass() }, this.renderAvatarContent()));
44
+ return (h("button", { "aria-label": this.i18n("app.profile"), class: this.getClass() }, this.renderAvatarContent()));
40
45
  }
41
46
  return (h("figure", { class: this.getClass() }, this.renderAvatarContent()));
42
47
  }
@@ -1,5 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-baa5e267.js';
2
2
  import { FloatingManager } from '@sankhyalabs/core';
3
+ import { i as initI18n } from './index-b623906e.js';
3
4
 
4
5
  const ezCalendarCss = ":host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-container--z-index:var(--more-visible, 2);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--ez-calendar__nav-btn--next-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar__container{display:flex;z-index:var(--more-visible, 2)}.calendar{display:flex;flex-direction:column;z-index:var(--more-visible, 2);background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:'';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset;color:var(--ez-calendar--color)}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;padding:0px;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendar-time{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto;scrollbar-width:none}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendar-time__header{display:flex;justify-content:space-between;padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}";
5
6
 
@@ -8,9 +9,6 @@ const EzCalendar = class {
8
9
  registerInstance(this, hostRef);
9
10
  this.ezChange = createEvent(this, "ezChange", 7);
10
11
  this._firstRender = true;
11
- this._todayLabel = "Hoje";
12
- this._weekDayLabels = ["D", "S", "T", "Q", "Q", "S", "S"];
13
- this._monthLabels = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
14
12
  this._hoursLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"];
15
13
  this._minutosLabel = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59"];
16
14
  this.value = new Date();
@@ -87,7 +85,7 @@ const EzCalendar = class {
87
85
  return this._hostElem.dataset.isFixed === "true";
88
86
  }
89
87
  getMonthLabel() {
90
- return this._monthLabels[this._currentPosition.getMonth()] + " " + this._currentPosition.getFullYear();
88
+ return this.i18n(`ez-calendar.month.${this._currentPosition.getMonth()}`) + " " + this._currentPosition.getFullYear();
91
89
  }
92
90
  isSelectedDate(d) {
93
91
  if (this.value) {
@@ -147,6 +145,9 @@ const EzCalendar = class {
147
145
  }
148
146
  }
149
147
  }
148
+ async componentWillLoad() {
149
+ this.i18n = await initI18n();
150
+ }
150
151
  componentDidRender() {
151
152
  if (this.floating && this._firstRender) {
152
153
  this._calendarHeight = this._box.clientHeight;
@@ -184,7 +185,7 @@ const EzCalendar = class {
184
185
  const firstDate = new Date();
185
186
  firstDate.setTime(this._currentPosition.getTime());
186
187
  firstDate.setDate(1 - firstDate.getDay());
187
- return (h("section", { ref: elem => this._container = elem }, h("div", { ref: elem => this._box = elem, class: "calendar__container" }, h("div", { class: "calendar" }, h("div", { class: "calendar__header" }, h("button", { class: "calendar__btn-previous", onClick: () => this.changeMonth(-1) }), h("label", { class: "calendar__lbl-month" }, this.getMonthLabel()), h("button", { class: "calendar__btn-next", onClick: () => this.changeMonth(1) })), h("div", { class: "calendar__body" }, h("div", { class: "calendar__line" }, this._weekDayLabels.map(day => h("div", { "data-day": day, class: "calendar__cell calendar__cell--unselectable" }, day))), [0, 7, 14, 21, 28, 35].map(offset => h("div", { class: "calendar__line" }, [0, 1, 2, 3, 4, 5, 6].map(index => {
188
+ return (h("section", { ref: elem => this._container = elem }, h("div", { ref: elem => this._box = elem, class: "calendar__container" }, h("div", { class: "calendar" }, h("div", { class: "calendar__header" }, h("button", { class: "calendar__btn-previous", onClick: () => this.changeMonth(-1) }), h("label", { class: "calendar__lbl-month" }, this.getMonthLabel()), h("button", { class: "calendar__btn-next", onClick: () => this.changeMonth(1) })), h("div", { class: "calendar__body" }, h("div", { class: "calendar__line" }, [...Array(7).keys()].map(day => h("div", { "data-day": this.i18n(`ez-calendar.weekDay.${day}`), class: "calendar__cell calendar__cell--unselectable" }, this.i18n(`ez-calendar.weekDay.${day}`)))), [0, 7, 14, 21, 28, 35].map(offset => h("div", { class: "calendar__line" }, [0, 1, 2, 3, 4, 5, 6].map(index => {
188
189
  const date = new Date();
189
190
  date.setTime(firstDate.getTime());
190
191
  date.setDate(date.getDate() + offset + index);
@@ -197,7 +198,7 @@ const EzCalendar = class {
197
198
  classNames += " calendar__cell--selected";
198
199
  }
199
200
  return h("div", { "data-day-month": dataDayMonth, class: classNames, onClick: () => this.selectDate(date) }, date.getDate());
200
- })))), h("div", { class: "calendar__footer" }, h("button", { class: "calendar__btn-today", onClick: () => this.selectDate(new Date()) }, this._todayLabel))), (this.time || this.showSeconds) &&
201
+ })))), h("div", { class: "calendar__footer" }, h("button", { class: "calendar__btn-today", onClick: () => this.selectDate(new Date()) }, this.i18n('ez-calendar.today')))), (this.time || this.showSeconds) &&
201
202
  h("div", { class: "calendar-time" }, h("div", { class: "calendar-time__header" }, h("div", null, "H"), h("div", { class: "separatorTime" }, ":"), h("div", null, "M"), this.showSeconds &&
202
203
  h("div", { class: "separatorTime" }, ":"), this.showSeconds &&
203
204
  h("div", null, "S")), h("div", { class: "calendar__body ", style: { display: 'flex', paddingLeft: '12px', paddingRight: '12px' } }, h("div", { class: "calendar__column", ref: elem => this._hoursScroll = elem, onScroll: () => this.updateScroll(this._hoursScroll) }, this._hoursLabel.map((offset, index) => {
@@ -1,8 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
- import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
3
+ import { A as ApplicationUtils } from './ApplicationUtils-72f474e8.js';
4
4
  import './DialogType-54a62731.js';
5
5
  import './CheckMode-bdb2ec19.js';
6
+ import { i as initI18n } from './index-b623906e.js';
6
7
  import './FormLayout-071d324c.js';
7
8
 
8
9
  const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--subtitle--font-size:var(--text--medium, 14px);--ez-collapsible-box--subtitle--font-family:var(--font-pattern, 'Roboto');--ez-collapsible-box--subtitle--font-weight:var(--text-weight--medium, 400);--ez-collapsible-box--subtitle--color:var(--text--primary);--ez-collapsible-box--subtitle--margin-bottom:var(--space--medium, 12px);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%;overflow:hidden}.collapsable-box--bordered{border:var(--border--small);border-color:var(--color--strokes);border-radius:var(--border--radius-medium);padding:var(--space--xs)}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:100%;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.subtitle-box__label{display:flex;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;font-family:var(--ez-collapsible-box--subtitle--font-family);font-size:var(--ez-collapsible-box--subtitle--font-size);font-weight:var(--ez-collapsible-box--subtitle--font-weight);color:var(--ez-collapsible-box--subtitle--color);margin-bottom:var(--ez-collapsible-box--subtitle--margin-bottom)}.subtitle-box__content{width:100%}.collapsible-box__label ez-icon{visibility:hidden;transition:2s all ease-in-out}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--left{margin-right:auto}.collapsible-box__title--right{margin-left:auto}.collapsible-box__title--center{margin-left:auto;margin-right:auto}.collapsible-box__title--stretch{justify-content:space-between;width:100%}.collapsible-box__title--no-margin{margin-bottom:0}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";
@@ -69,14 +70,13 @@ const EzCollapsibleBox = class {
69
70
  this._activeEditText = true;
70
71
  this.ezEditLabelMode.emit(this._activeEditText);
71
72
  }
72
- confirmRemove(evt) {
73
+ async confirmRemove(evt) {
73
74
  evt.stopPropagation();
74
- ApplicationUtils.confirm("Aviso", `Deseja realmente remover o grupo <b>${this.label}</b>?`)
75
- .then((canRemove) => {
76
- if (canRemove) {
77
- this.removeElement();
78
- }
79
- });
75
+ const confirmMessage = this.i18n("ez-collapsible-box.confirmRemove", { label: this.label });
76
+ const canRemove = await ApplicationUtils.confirm(this.i18n("app.warning"), confirmMessage);
77
+ if (canRemove) {
78
+ this.removeElement();
79
+ }
80
80
  }
81
81
  saveEditionText(editDetails) {
82
82
  const { value, newValue } = editDetails.detail;
@@ -106,6 +106,9 @@ const EzCollapsibleBox = class {
106
106
  };
107
107
  return styledLabel;
108
108
  }
109
+ async componentWillLoad() {
110
+ this.i18n = await initI18n();
111
+ }
109
112
  componentDidLoad() {
110
113
  ElementIDUtils.addIDInfo(this._hostElement);
111
114
  }
@@ -114,8 +117,8 @@ const EzCollapsibleBox = class {
114
117
  (this.iconPlacement === "right" ? " collapsible-box__title--icon-right" : "") +
115
118
  (this.value ? " collapsible-box__title--no-margin" : "") }), h("ez-icon", { slot: "icon", "icon-name": "chevron-right", size: this.getHeaderSize(), class: "collapsible-box__icon collapsible-box__icon--" + this.getHeaderSize() + (this.value ? " collapsible-box__icon--collapsed" : ""), id: "toggleCollapsible" }), !this._activeEditText ?
116
119
  h("label", { class: "collapsible-box__label font--" + this.getHeaderSize(), title: this.label, ref: elem => this._refLabel = elem }, h("span", null, this.label), this.editable &&
117
- h("ez-icon", { slot: "icon", "icon-name": "edit", onClick: (evt) => this.editLabel(evt), title: "Editar" }), this.removable &&
118
- h("ez-icon", { slot: "icon", "icon-name": "delete", onClick: (evt) => this.confirmRemove(evt), title: "Remover" })) :
120
+ h("ez-icon", { slot: "icon", "icon-name": "edit", onClick: (evt) => this.editLabel(evt), title: this.i18n("app.edit") }), this.removable &&
121
+ h("ez-icon", { slot: "icon", "icon-name": "delete", onClick: (evt) => this.confirmRemove(evt), title: this.i18n("app.remove") })) :
119
122
  h("ez-text-edit", { class: "collapsible-box__text-edit", ref: ref => this._refTextEdit = ref, value: this.label, styled: this.getStyledLabel(), onSaveEdition: (ev) => this.saveEditionText(ev), onCancelEdition: () => this.cancelEdition() })), h("slot", { name: "rightSlot" })), h("div", { class: "collapsible-box__content" + (this.value ? "" : " collapsible-box__content--show") }, this.subtitle &&
120
123
  h("div", { class: "subtitle-box__content" }, h("label", { class: "subtitle-box__label", title: this.subtitle }, h("span", null, this.subtitle))), h("slot", null))));
121
124
  }
@@ -1,9 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils, ObjectUtils, HTMLBuilder, StringUtils, KeyboardManager } from '@sankhyalabs/core';
3
+ import { i as initI18n } from './index-b623906e.js';
3
4
  import { C as CustomEditorSource } from './FormLayout-071d324c.js';
4
- import { R as RICH_TOOLBAR_FORMAT_TAGS, a as RICH_TOOLBAR_COMMANDS } from './RichToolbarHelper-fd6427df.js';
5
+ import { R as RICH_TOOLBAR_FORMAT_TAGS, a as RICH_TOOLBAR_COMMANDS } from './RichToolbarHelper-f3a149c4.js';
5
6
  import { p as purify } from './purify-da6317bb.js';
6
- import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
7
+ import { A as ApplicationUtils } from './ApplicationUtils-72f474e8.js';
7
8
  import './DialogType-54a62731.js';
8
9
  import './CheckMode-bdb2ec19.js';
9
10
  import './_commonjsHelpers-9943807e.js';
@@ -15,7 +16,7 @@ const EzComboBoxList = class {
15
16
  registerInstance(this, hostRef);
16
17
  this.showLoading = undefined;
17
18
  this.visibleOptions = undefined;
18
- this.textEmptyList = "Nenhum resultado encontrado";
19
+ this.textEmptyList = undefined;
19
20
  this.showOptionValue = undefined;
20
21
  this.preSelection = undefined;
21
22
  this.maxWidth = undefined;
@@ -137,6 +138,9 @@ const EzComboBoxList = class {
137
138
  });
138
139
  }
139
140
  }
141
+ async componentWillLoad() {
142
+ this.i18n = await initI18n();
143
+ }
140
144
  componentDidLoad() {
141
145
  this._listWrapper.style.width = `${this.width}px`;
142
146
  this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
@@ -148,7 +152,7 @@ const EzComboBoxList = class {
148
152
  });
149
153
  }
150
154
  render() {
151
- return (h("section", { class: "list-container" }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading && this.visibleOptions.length === 0 && (h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList))), this.showLoading && (h("div", { class: "message" }, h("div", { class: "message__loading" }))), this.showOptionValue && (h("span", { class: "item__value item__value--hidden" })), !this.showLoading && this.visibleOptions.length > 0 &&
155
+ return (h("section", { class: "list-container" }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading && this.visibleOptions.length === 0 && (h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList || this.i18n("ez-combo-box.noResults")))), this.showLoading && (h("div", { class: "message" }, h("div", { class: "message__loading" }))), this.showOptionValue && (h("span", { class: "item__value item__value--hidden" })), !this.showLoading && this.visibleOptions.length > 0 &&
152
156
  this.visibleOptions.map((opt, index) => this.buildItem(opt, index))))));
153
157
  }
154
158
  static get watchers() { return {
@@ -353,13 +357,13 @@ const EzRichText = class {
353
357
  this._keyboardManager
354
358
  .bind('ctrl + l', async () => {
355
359
  await this.handleFormatSelection(RICH_TOOLBAR_FORMAT_TAGS.LIST);
356
- }, { description: 'Aplica estilo de lista ao texto selecionado.', element: this.element })
360
+ }, { description: this.i18n("ez-rich-text.listShortcut"), element: this.element })
357
361
  .bind('ctrl + k', async () => {
358
362
  await this.handleLink();
359
- }, { description: 'Abre popup de link.', element: this.element })
363
+ }, { description: this.i18n("ez-rich-text.linkShortcut"), element: this.element })
360
364
  .bind('ctrl + o', async () => {
361
365
  await this.handleImage();
362
- }, { description: 'Abre popup de imagem.', element: this.element });
366
+ }, { description: this.i18n("ez-rich-text.imageShortcut"), element: this.element });
363
367
  }
364
368
  bindTextFormat() {
365
369
  if (!this._keyboardManager || !this.showTextFormat)
@@ -367,26 +371,26 @@ const EzRichText = class {
367
371
  this._keyboardManager
368
372
  .bind('ctrl + b', async () => {
369
373
  await this.handleFormatSelection(RICH_TOOLBAR_FORMAT_TAGS.BOLD);
370
- }, { description: 'Aplica estilo negrito ao texto selecionado.', element: this.element })
374
+ }, { description: this.i18n("ez-rich-text.boldShortcut"), element: this.element })
371
375
  .bind('ctrl + i', async () => {
372
376
  await this.handleFormatSelection(RICH_TOOLBAR_FORMAT_TAGS.ITALIC);
373
- }, { description: 'Aplica estilo itálico ao texto selecionado.', element: this.element })
377
+ }, { description: this.i18n("ez-rich-text.italicShortcut"), element: this.element })
374
378
  .bind('ctrl + u', async () => {
375
379
  await this.handleFormatSelection(RICH_TOOLBAR_FORMAT_TAGS.UNDERLINE);
376
- }, { description: 'Aplica estilo underline ao texto selecionado.', element: this.element });
380
+ }, { description: this.i18n("ez-rich-text.underlineShortcut"), element: this.element });
377
381
  }
378
382
  initKeyboardManager() {
379
383
  this._keyboardManager = new KeyboardManager({ propagate: false, element: this.element });
380
384
  this._keyboardManager
381
385
  .bind('ctrl + Enter', async () => {
382
386
  await this.handleFormatSelection(RICH_TOOLBAR_FORMAT_TAGS.BREAK_LINE);
383
- }, { description: 'Aplica quebra de linha.', element: this.element })
387
+ }, { description: this.i18n("ez-rich-text.breakLineShortcut"), element: this.element })
384
388
  .bind('ctrl + z', async () => {
385
389
  await this.handleUndo();
386
- }, { description: 'Desfaz a ultima alteração de texto.', element: this.element })
390
+ }, { description: this.i18n("ez-rich-text.undoShortcut"), element: this.element })
387
391
  .bind('ctrl + x', async () => {
388
392
  await this.handleRedo();
389
- }, { description: 'Refaz a ultima alteração de texto.', element: this.element });
393
+ }, { description: this.i18n("ez-rich-text.redoShortcut"), element: this.element });
390
394
  this.bindPreview();
391
395
  this.bindConfigs();
392
396
  this.bindTextFormat();
@@ -528,6 +532,9 @@ const EzRichText = class {
528
532
  var _a;
529
533
  (_a = this._keyboardManager) === null || _a === void 0 ? void 0 : _a.unbindAllShortcutKeys();
530
534
  }
535
+ async componentWillLoad() {
536
+ this.i18n = await initI18n();
537
+ }
531
538
  componentDidLoad() {
532
539
  this.initKeyboardManager();
533
540
  this.addToHistory(this.value);
@@ -624,7 +631,7 @@ const EzTextEdit = class {
624
631
  }
625
632
  handleSaveEdition() {
626
633
  if (!this._newValue) {
627
- ApplicationUtils.alert("Aviso", "Não é possível salvar um campo em branco.").then(() => {
634
+ ApplicationUtils.alert(this.i18n("app.warning"), this.i18n("ez-text-edit.emptyFieldWarning")).then(() => {
628
635
  this.setNewValue(this.value, true);
629
636
  });
630
637
  return;
@@ -638,6 +645,9 @@ const EzTextEdit = class {
638
645
  this._newValue = value;
639
646
  this.calcSizeInput(this._newValue, setSelect);
640
647
  }
648
+ async componentWillLoad() {
649
+ this.i18n = await initI18n();
650
+ }
641
651
  componentDidLoad() {
642
652
  this.applyFocusSelect();
643
653
  this.setNewValue(this.value);
@@ -1,9 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ObjectUtils, ElementIDUtils } from '@sankhyalabs/core';
3
- import './ApplicationUtils-eaf91331.js';
3
+ import './ApplicationUtils-72f474e8.js';
4
4
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
5
5
  import './DialogType-54a62731.js';
6
6
  import './CheckMode-bdb2ec19.js';
7
+ import { i as initI18n } from './index-b623906e.js';
7
8
  import './FormLayout-071d324c.js';
8
9
 
9
10
  const ezComboBoxCss = ":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box__input--background-color:var(--background--medium, #e0e0e0);--ez-combo-box__input--border:var(--border--medium, 2px solid);--ez-combo-box__input--border-color:var(--ez-combo-box__input--background-color);--ez-combo-box__input--focus--border-color:var(--color--primary, #008561);--ez-combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn--color:var(--title--primary, #2B3A54);--ez-combo-box__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn-hover--color:var(--color--primary, #4e4e4e);width:var(--ez-combo-box--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.btn{outline:none;border:none;background:none;cursor:pointer;padding:0px;color:var(--ez-combo-box__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-combo-box__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-combo-box__btn-disabled--color)}.btn:hover{color:var(--ez-combo-box__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}.text-input-slot-container{--ez-text-input__icon--width:32px;--ez-text-input__min-width:var(--ez-combo-box__min-width);--ez-text-input__max-width:var(--ez-combo-box__max-width)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
@@ -16,7 +17,6 @@ const EzComboBox = class {
16
17
  this._deboucingTime = 300;
17
18
  this._maxWidthValue = 0;
18
19
  this._tabPressed = false;
19
- this._textEmptyList = "Nenhum resultado encontrado";
20
20
  this._lookupMode = false;
21
21
  this.isOpen = false;
22
22
  this._preSelection = undefined;
@@ -44,7 +44,7 @@ const EzComboBox = class {
44
44
  this.autoFocus = false;
45
45
  this.preventAutoFocus = false;
46
46
  this.alternativePlaceholder = undefined;
47
- this.textEmptyOption = "Selecione um item";
47
+ this.textEmptyOption = undefined;
48
48
  }
49
49
  observeErrorMessage() {
50
50
  var _a;
@@ -169,7 +169,7 @@ const EzComboBox = class {
169
169
  opts = opts.filter(opt => opt.label.toLocaleUpperCase().indexOf(upperCriteria) > -1);
170
170
  }
171
171
  if (this.hasToAddEmptyoption(opts)) {
172
- opts = [{ value: undefined, label: this.textEmptyOption }].concat(opts);
172
+ opts = [{ value: undefined, label: this.textEmptyOption || this.i18n("ez-combo-box.placeholder") }].concat(opts);
173
173
  }
174
174
  this._visibleOptions = opts;
175
175
  this._maxWidthValue = this.getMaxWidthValue();
@@ -313,7 +313,8 @@ const EzComboBox = class {
313
313
  //---------------------------------------------
314
314
  // Lifecycle web component
315
315
  //---------------------------------------------
316
- componentWillLoad() {
316
+ async componentWillLoad() {
317
+ this.i18n = await initI18n();
317
318
  if (this.options === undefined) {
318
319
  this.options = [];
319
320
  const optionsTags = this.el.querySelectorAll("option");
@@ -465,7 +466,7 @@ const EzComboBox = class {
465
466
  render() {
466
467
  var _a;
467
468
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
468
- return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, alternativePlaceholder: this.alternativePlaceholder }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', onEzVisibilityChange: event => this.isOpen = event.detail }, h("ez-combo-box-list", { ref: ref => this._comboBoxList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, showOptionValue: this.showOptionValue, preSelection: this._preSelection, maxWidth: this._maxWidthValue, width: (_a = this._textInput) === null || _a === void 0 ? void 0 : _a.clientWidth, onOptionSelect: (opt) => this.selectOption(opt), onOptionHover: (index) => this._preSelection = index }))));
469
+ return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, alternativePlaceholder: this.alternativePlaceholder || this.i18n("ez-combo-box.placeholder") }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', onEzVisibilityChange: event => this.isOpen = event.detail }, h("ez-combo-box-list", { ref: ref => this._comboBoxList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this.i18n("ez-combo-box.noResults"), showOptionValue: this.showOptionValue, preSelection: this._preSelection, maxWidth: this._maxWidthValue, width: (_a = this._textInput) === null || _a === void 0 ? void 0 : _a.clientWidth, onOptionSelect: (opt) => this.selectOption(opt), onOptionHover: (index) => this._preSelection = index }))));
469
470
  }
470
471
  get el() { return getElement(this); }
471
472
  static get watchers() { return {
@@ -1,6 +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 { DateUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
+ import { i as initI18n } from './index-b623906e.js';
4
5
 
5
6
  const ezDateInputCss = ":host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"15px\"><path d=\"M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z\"/></svg>')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}";
6
7
 
@@ -124,7 +125,7 @@ const EzDateInput = class {
124
125
  else {
125
126
  this.changeValue(undefined);
126
127
  this.ezCancelWaitingChange.emit();
127
- this.errorMessage = "O valor digitado não é uma data válida";
128
+ this.errorMessage = this.i18n("ez-date-input.invalidDate");
128
129
  }
129
130
  }
130
131
  finally {
@@ -160,6 +161,9 @@ const EzDateInput = class {
160
161
  disconnectedCallback() {
161
162
  this._popover.hide();
162
163
  }
164
+ async componentWillLoad() {
165
+ this.i18n = await initI18n();
166
+ }
163
167
  componentDidLoad() {
164
168
  CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
165
169
  this.setInputValue();
@@ -1,6 +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 { DateUtils, TimeFormatter, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
+ import { i as initI18n } from './index-b623906e.js';
4
5
 
5
6
  const ezDateTimeInputCss = ":host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"15px\"><path d=\"M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z\"/></svg>')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}";
6
7
 
@@ -173,7 +174,7 @@ const EzDateTimeInput = class {
173
174
  else {
174
175
  this.changeValue(undefined);
175
176
  this.ezCancelWaitingChange.emit();
176
- this.errorMessage = "O valor digitado não é uma data válida";
177
+ this.errorMessage = this.i18n("ez-date-time-input.invalidDate");
177
178
  }
178
179
  }
179
180
  finally {
@@ -211,6 +212,9 @@ const EzDateTimeInput = class {
211
212
  disconnectedCallback() {
212
213
  this._popover.hide();
213
214
  }
215
+ async componentWillLoad() {
216
+ this.i18n = await initI18n();
217
+ }
214
218
  componentDidLoad() {
215
219
  CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
216
220
  this.setInputValue();