@sankhyalabs/ezui 6.1.0-dev.2 → 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 (430) hide show
  1. package/dist/cjs/{ApplicationUtils-c9d1205c.js → ApplicationUtils-39807831.js} +43 -15
  2. package/dist/cjs/RichToolbarHelper-ea12328f.js +33 -0
  3. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  4. package/dist/cjs/app-globals-86776e90.js +12 -0
  5. package/dist/cjs/{constants-569271bc.js → constants-72b7e05e.js} +0 -2
  6. package/dist/cjs/ez-actions-button.cjs.entry.js +3 -2
  7. package/dist/cjs/ez-alert-list.cjs.entry.js +6 -4
  8. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-avatar.cjs.entry.js +7 -2
  11. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-calendar.cjs.entry.js +8 -7
  15. package/dist/cjs/ez-card-item_2.cjs.entry.js +2 -2
  16. package/dist/cjs/ez-chart.cjs.entry.js +4 -19
  17. package/dist/cjs/ez-check.cjs.entry.js +2 -2
  18. package/dist/cjs/ez-chip.cjs.entry.js +3 -2
  19. package/dist/cjs/ez-collapsible-box.cjs.entry.js +15 -12
  20. package/dist/cjs/{ez-combo-box-list_3.cjs.entry.js → ez-combo-box-list_4.cjs.entry.js} +292 -6
  21. package/dist/cjs/ez-combo-box.cjs.entry.js +33 -15
  22. package/dist/cjs/ez-date-input.cjs.entry.js +6 -2
  23. package/dist/cjs/ez-date-time-input.cjs.entry.js +6 -2
  24. package/dist/cjs/ez-dialog.cjs.entry.js +9 -7
  25. package/dist/cjs/ez-double-list.cjs.entry.js +13 -5
  26. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-empty-card.cjs.entry.js +34 -0
  28. package/dist/cjs/ez-file-item.cjs.entry.js +10 -7
  29. package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
  30. package/dist/cjs/ez-form-view.cjs.entry.js +13 -5
  31. package/dist/cjs/ez-form.cjs.entry.js +5 -4
  32. package/dist/cjs/ez-grid.cjs.entry.js +172 -133
  33. package/dist/cjs/ez-guide-navigator.cjs.entry.js +6 -2
  34. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  35. package/dist/cjs/ez-link-builder_6.cjs.entry.js +315 -0
  36. package/dist/cjs/ez-list.cjs.entry.js +5 -3
  37. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-modal-container.cjs.entry.js +7 -3
  39. package/dist/cjs/ez-modal.cjs.entry.js +6 -2
  40. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +10 -6
  41. package/dist/cjs/ez-number-input.cjs.entry.js +6 -2
  42. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +27 -0
  47. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-search-plus.cjs.entry.js +19 -10
  49. package/dist/cjs/ez-search-result-list.cjs.entry.js +25 -8
  50. package/dist/cjs/ez-search.cjs.entry.js +9 -10
  51. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +6 -8
  52. package/dist/cjs/ez-skeleton.cjs.entry.js +6 -4
  53. package/dist/cjs/ez-sortable-list.cjs.entry.js +13 -6
  54. package/dist/cjs/ez-split-button.cjs.entry.js +6 -5
  55. package/dist/cjs/ez-split-item.cjs.entry.js +7 -3
  56. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-text-area.cjs.entry.js +35 -28
  59. package/dist/cjs/ez-text-input.cjs.entry.js +3 -2
  60. package/dist/cjs/ez-tile.cjs.entry.js +62 -0
  61. package/dist/cjs/ez-time-input.cjs.entry.js +13 -11
  62. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  63. package/dist/cjs/{ez-filter-input_2.cjs.entry.js → ez-tooltip.cjs.entry.js} +2 -124
  64. package/dist/cjs/ez-tree.cjs.entry.js +6 -2
  65. package/dist/cjs/ez-upload.cjs.entry.js +18 -12
  66. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  67. package/dist/cjs/ezui.cjs.js +6 -2
  68. package/dist/cjs/filter-column.cjs.entry.js +9 -5
  69. package/dist/cjs/index-02854309.js +3672 -0
  70. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +32 -15
  71. package/dist/cjs/loader.cjs.js +6 -2
  72. package/dist/cjs/purify-a7dc3a08.js +1354 -0
  73. package/dist/cjs/{search-column-1d3c9fa5.js → search-column-82c52e20.js} +11 -5
  74. package/dist/collection/collection-manifest.json +27 -1
  75. package/dist/collection/components/ez-alert-list/ez-alert-list.js +5 -3
  76. package/dist/collection/components/ez-avatar/ez-avatar.js +5 -1
  77. package/dist/collection/components/ez-calendar/ez-calendar.js +7 -6
  78. package/dist/collection/components/ez-check/ez-check.css +1 -1
  79. package/dist/collection/components/ez-chip/ez-chip.js +20 -1
  80. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -0
  81. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +12 -9
  82. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +7 -4
  83. package/dist/collection/components/ez-combo-box/ez-combo-box.js +50 -15
  84. package/dist/collection/components/ez-date-input/ez-date-input.js +5 -1
  85. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +5 -1
  86. package/dist/collection/components/ez-dialog/ez-dialog.js +8 -6
  87. package/dist/collection/components/ez-double-list/ez-double-list.js +12 -4
  88. package/dist/collection/components/ez-empty-card/ez-empty-card.css +55 -0
  89. package/dist/collection/components/ez-empty-card/ez-empty-card.js +91 -0
  90. package/dist/collection/components/ez-file-item/ez-file-item.js +9 -6
  91. package/dist/collection/components/ez-form/ez-form.js +1 -1
  92. package/dist/collection/components/ez-form-view/ez-form-view.js +4 -3
  93. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +5 -2
  94. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +4 -0
  95. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +38 -11
  96. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +14 -4
  97. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +4 -1
  98. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +3 -1
  99. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js +67 -0
  100. package/dist/collection/components/ez-grid/ez-grid.js +15 -13
  101. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -3
  102. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +2 -2
  103. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js +11 -7
  104. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +5 -1
  105. package/dist/collection/components/ez-icon/ez-icon.css +147 -140
  106. package/dist/collection/components/ez-list/ez-list.js +4 -2
  107. package/dist/collection/components/ez-modal/ez-modal.js +5 -1
  108. package/dist/collection/components/ez-modal-container/ez-modal-container.css +2 -0
  109. package/dist/collection/components/ez-modal-container/ez-modal-container.js +5 -1
  110. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +9 -5
  111. package/dist/collection/components/ez-number-input/ez-number-input.js +5 -1
  112. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +3 -2
  113. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css +22 -0
  114. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js +135 -0
  115. package/dist/collection/components/ez-rich-text/ez-rich-text.css +30 -0
  116. package/dist/collection/components/ez-rich-text/ez-rich-text.js +575 -0
  117. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js +27 -0
  118. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css +4 -0
  119. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js +23 -0
  120. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css +4 -0
  121. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js +23 -0
  122. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css +20 -0
  123. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js +122 -0
  124. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css +4 -0
  125. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js +23 -0
  126. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css +42 -0
  127. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js +187 -0
  128. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css +70 -0
  129. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js +220 -0
  130. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js +1 -0
  131. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js +14 -0
  132. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js +10 -0
  133. package/dist/collection/components/ez-search/ez-search.js +7 -8
  134. package/dist/collection/components/ez-search-plus/ez-search-plus.css +2 -0
  135. package/dist/collection/components/ez-search-plus/ez-search-plus.js +16 -7
  136. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +27 -7
  137. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js +5 -2
  138. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +0 -1
  139. package/dist/collection/components/ez-skeleton/ez-skeleton.js +4 -2
  140. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js +15 -11
  141. package/dist/collection/components/ez-split-button/ez-split-button.js +6 -6
  142. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +5 -1
  143. package/dist/collection/components/ez-text-area/ez-text-area.css +244 -212
  144. package/dist/collection/components/ez-text-area/ez-text-area.js +35 -28
  145. package/dist/collection/components/ez-text-edit/ez-text-edit.js +5 -1
  146. package/dist/collection/components/ez-text-input/ez-text-input.js +2 -1
  147. package/dist/collection/components/ez-tile/ez-tile.css +151 -0
  148. package/dist/collection/components/ez-tile/ez-tile.js +269 -0
  149. package/dist/collection/components/ez-time-input/ez-time-input.js +12 -10
  150. package/dist/collection/components/ez-tooltip/ez-tooltip.js +1 -1
  151. package/dist/collection/components/ez-tree/ez-tree.js +5 -1
  152. package/dist/collection/components/ez-upload/ez-upload.js +18 -12
  153. package/dist/collection/global/app-init.js +6 -0
  154. package/dist/collection/setupTests.js +1 -1
  155. package/dist/collection/utils/ApplicationUtils.js +43 -15
  156. package/dist/collection/utils/constants.js +0 -1
  157. package/dist/collection/utils/i18n/elanguages.js +6 -0
  158. package/dist/collection/utils/i18n/i18nUtils.js +20 -0
  159. package/dist/collection/utils/i18n/index.js +30 -0
  160. package/dist/collection/utils/i18n/locales/en-us.js +275 -0
  161. package/dist/collection/utils/i18n/locales/es-es.js +275 -0
  162. package/dist/collection/utils/i18n/locales/pt-br.js +275 -0
  163. package/dist/collection/utils/i18n/translations.js +9 -0
  164. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +8 -2
  165. package/dist/custom-elements/index.d.ts +60 -0
  166. package/dist/custom-elements/index.js +6252 -308
  167. package/dist/esm/{ApplicationUtils-eaf91331.js → ApplicationUtils-72f474e8.js} +43 -15
  168. package/dist/esm/RichToolbarHelper-f3a149c4.js +29 -0
  169. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  170. package/dist/esm/app-globals-2ccb253f.js +10 -0
  171. package/dist/esm/{constants-b036528f.js → constants-3fabe81e.js} +1 -2
  172. package/dist/esm/ez-actions-button.entry.js +3 -2
  173. package/dist/esm/ez-alert-list.entry.js +6 -4
  174. package/dist/esm/ez-alert.entry.js +1 -1
  175. package/dist/esm/ez-application.entry.js +1 -1
  176. package/dist/esm/ez-avatar.entry.js +7 -2
  177. package/dist/esm/ez-badge.entry.js +1 -1
  178. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  179. package/dist/esm/ez-button.entry.js +1 -1
  180. package/dist/esm/ez-calendar.entry.js +8 -7
  181. package/dist/esm/ez-card-item_2.entry.js +2 -2
  182. package/dist/esm/ez-chart.entry.js +2 -17
  183. package/dist/esm/ez-check.entry.js +2 -2
  184. package/dist/esm/ez-chip.entry.js +3 -2
  185. package/dist/esm/ez-collapsible-box.entry.js +15 -12
  186. package/dist/esm/{ez-combo-box-list_3.entry.js → ez-combo-box-list_4.entry.js} +293 -8
  187. package/dist/esm/ez-combo-box.entry.js +33 -15
  188. package/dist/esm/ez-date-input.entry.js +6 -2
  189. package/dist/esm/ez-date-time-input.entry.js +6 -2
  190. package/dist/esm/ez-dialog.entry.js +9 -7
  191. package/dist/esm/ez-double-list.entry.js +13 -5
  192. package/dist/esm/ez-dropdown.entry.js +1 -1
  193. package/dist/esm/ez-empty-card.entry.js +30 -0
  194. package/dist/esm/ez-file-item.entry.js +10 -7
  195. package/dist/esm/ez-filter-input.entry.js +125 -0
  196. package/dist/esm/ez-form-view.entry.js +13 -5
  197. package/dist/esm/ez-form.entry.js +5 -4
  198. package/dist/esm/ez-grid.entry.js +155 -116
  199. package/dist/esm/ez-guide-navigator.entry.js +6 -2
  200. package/dist/esm/ez-icon.entry.js +2 -2
  201. package/dist/esm/ez-link-builder_6.entry.js +306 -0
  202. package/dist/esm/ez-list.entry.js +5 -3
  203. package/dist/esm/ez-loading-bar.entry.js +1 -1
  204. package/dist/esm/ez-modal-container.entry.js +7 -3
  205. package/dist/esm/ez-modal.entry.js +6 -2
  206. package/dist/esm/ez-multi-selection-list.entry.js +10 -6
  207. package/dist/esm/ez-number-input.entry.js +6 -2
  208. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  209. package/dist/esm/ez-popover.entry.js +1 -1
  210. package/dist/esm/ez-popup.entry.js +1 -1
  211. package/dist/esm/ez-radio-button.entry.js +1 -1
  212. package/dist/esm/ez-rich-toolbar-item.entry.js +23 -0
  213. package/dist/esm/ez-scroller_2.entry.js +1 -1
  214. package/dist/esm/ez-search-plus.entry.js +19 -10
  215. package/dist/esm/ez-search-result-list.entry.js +25 -8
  216. package/dist/esm/ez-search.entry.js +9 -10
  217. package/dist/esm/ez-sidebar-navigator.entry.js +6 -8
  218. package/dist/esm/ez-skeleton.entry.js +6 -4
  219. package/dist/esm/ez-sortable-list.entry.js +13 -6
  220. package/dist/esm/ez-split-button.entry.js +6 -5
  221. package/dist/esm/ez-split-item.entry.js +7 -3
  222. package/dist/esm/ez-split-panel.entry.js +1 -1
  223. package/dist/esm/ez-tabselector.entry.js +1 -1
  224. package/dist/esm/ez-text-area.entry.js +35 -28
  225. package/dist/esm/ez-text-input.entry.js +3 -2
  226. package/dist/esm/ez-tile.entry.js +58 -0
  227. package/dist/esm/ez-time-input.entry.js +13 -11
  228. package/dist/esm/ez-toast.entry.js +1 -1
  229. package/dist/esm/{ez-filter-input_2.entry.js → ez-tooltip.entry.js} +3 -124
  230. package/dist/esm/ez-tree.entry.js +6 -2
  231. package/dist/esm/ez-upload.entry.js +18 -12
  232. package/dist/esm/ez-view-stack.entry.js +1 -1
  233. package/dist/esm/ezui.js +7 -3
  234. package/dist/esm/filter-column.entry.js +9 -5
  235. package/dist/esm/index-b623906e.js +3669 -0
  236. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +33 -15
  237. package/dist/esm/loader.js +7 -3
  238. package/dist/esm/purify-da6317bb.js +1352 -0
  239. package/dist/esm/{search-column-35f4ad93.js → search-column-5a55f676.js} +10 -4
  240. package/dist/ezui/ezui.esm.js +1 -1
  241. package/dist/ezui/p-0603bcc7.entry.js +1 -0
  242. package/dist/ezui/p-0ec7aa3a.entry.js +1 -0
  243. package/dist/ezui/p-0f0f3efe.entry.js +1 -0
  244. package/dist/ezui/p-112455b1.js +1 -0
  245. package/dist/ezui/{p-87f5a060.entry.js → p-1bcfd88c.entry.js} +1 -1
  246. package/dist/ezui/p-1c3efd36.entry.js +1 -0
  247. package/dist/ezui/p-1c55dda0.js +3 -0
  248. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  249. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  250. package/dist/ezui/p-1ffb75d5.js +1 -0
  251. package/dist/ezui/p-20c024f7.entry.js +1 -0
  252. package/dist/ezui/p-22934e19.entry.js +1 -0
  253. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  254. package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
  255. package/dist/ezui/p-2f471aca.entry.js +1 -0
  256. package/dist/ezui/p-303b3b8c.entry.js +1 -0
  257. package/dist/ezui/p-3b89a9a0.entry.js +1 -0
  258. package/dist/ezui/p-3e71ca08.entry.js +1 -0
  259. package/dist/ezui/p-3e767a74.js +1 -0
  260. package/dist/ezui/p-3e88fbb6.entry.js +1 -0
  261. package/dist/ezui/p-4044a7d7.entry.js +1 -0
  262. package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
  263. package/dist/ezui/p-45c9b292.entry.js +1 -0
  264. package/dist/ezui/p-45e64547.entry.js +1 -0
  265. package/dist/ezui/p-46913da7.js +1 -0
  266. package/dist/ezui/p-4773ff4c.js +1 -0
  267. package/dist/ezui/{p-769632d5.entry.js → p-4b67138e.entry.js} +1 -1
  268. package/dist/ezui/{p-4a876b8b.entry.js → p-4d30b703.entry.js} +1 -1
  269. package/dist/ezui/p-4fc5f926.entry.js +1 -0
  270. package/dist/ezui/p-53bc30a1.entry.js +1 -0
  271. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  272. package/dist/ezui/p-627ff5a2.entry.js +1 -0
  273. package/dist/ezui/p-629e32e2.entry.js +1 -0
  274. package/dist/ezui/p-6369a0cd.entry.js +1 -0
  275. package/dist/ezui/{p-80764ff6.entry.js → p-6562b5c8.entry.js} +46 -46
  276. package/dist/ezui/p-6d596a5a.entry.js +1 -0
  277. package/dist/ezui/p-6e6fccfb.entry.js +1 -0
  278. package/dist/ezui/p-713dc93e.entry.js +1 -0
  279. package/dist/ezui/p-79044c3e.entry.js +1 -0
  280. package/dist/ezui/{p-5b85d3de.entry.js → p-7f792043.entry.js} +1 -1
  281. package/dist/ezui/p-80461324.entry.js +1 -0
  282. package/dist/ezui/p-84a136bf.entry.js +1 -0
  283. package/dist/ezui/{p-b3b3c99a.entry.js → p-8afb6e8a.entry.js} +1 -1
  284. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  285. package/dist/ezui/p-91c9d50e.entry.js +1 -0
  286. package/dist/ezui/p-973e6a40.entry.js +1 -0
  287. package/dist/ezui/{p-18e71523.entry.js → p-9c5cd3b2.entry.js} +1 -1
  288. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  289. package/dist/ezui/p-a12f6074.entry.js +1 -0
  290. package/dist/ezui/p-a482aae1.entry.js +1 -0
  291. package/dist/ezui/p-a687f14c.entry.js +7 -0
  292. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  293. package/dist/ezui/p-adbc3261.entry.js +1 -0
  294. package/dist/ezui/p-b115058e.entry.js +1 -0
  295. package/dist/ezui/p-b1e45320.js +1 -0
  296. package/dist/ezui/p-b4215a04.entry.js +1 -0
  297. package/dist/ezui/p-b8ed876d.entry.js +1 -0
  298. package/dist/ezui/p-ba07b3df.js +1 -0
  299. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  300. package/dist/ezui/p-beb42de1.entry.js +1 -0
  301. package/dist/ezui/p-c00ad772.entry.js +1 -0
  302. package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
  303. package/dist/ezui/p-c2a8139d.entry.js +1 -0
  304. package/dist/ezui/p-caf2584a.entry.js +1 -0
  305. package/dist/ezui/p-d1d0868b.entry.js +1 -0
  306. package/dist/ezui/p-d2645bdf.entry.js +1 -0
  307. package/dist/ezui/p-e5260556.entry.js +1 -0
  308. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  309. package/dist/ezui/p-e7a7c594.entry.js +1 -0
  310. package/dist/ezui/p-ed3bed1e.entry.js +1 -0
  311. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  312. package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +2 -1
  313. package/dist/types/components/ez-avatar/ez-avatar.d.ts +2 -0
  314. package/dist/types/components/ez-calendar/ez-calendar.d.ts +2 -3
  315. package/dist/types/components/ez-chip/ez-chip.d.ts +4 -0
  316. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +2 -0
  317. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +2 -0
  318. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +9 -2
  319. package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -0
  320. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +2 -0
  321. package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -2
  322. package/dist/types/components/ez-double-list/ez-double-list.d.ts +2 -0
  323. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +18 -0
  324. package/dist/types/components/ez-file-item/ez-file-item.d.ts +2 -0
  325. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -0
  326. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +5 -0
  327. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -0
  328. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
  329. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +1 -0
  330. package/dist/types/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.d.ts +1 -1
  331. package/dist/types/components/ez-grid/controller/ag-grid/utils/buildLocaleText.d.ts +66 -0
  332. package/dist/types/components/ez-grid/ez-grid.d.ts +2 -2
  333. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +2 -0
  334. package/dist/types/components/ez-grid/subcomponents/selection-counter.d.ts +2 -0
  335. package/dist/types/components/ez-grid/subcomponents/utils/selectionCounterUtils.d.ts +2 -2
  336. package/dist/types/components/ez-guide-navigator/ez-guide-navigator.d.ts +2 -0
  337. package/dist/types/components/ez-list/ez-list.d.ts +2 -1
  338. package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
  339. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  340. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +2 -0
  341. package/dist/types/components/ez-number-input/ez-number-input.d.ts +2 -0
  342. package/dist/types/components/ez-rich-text/ez-link-builder/ez-link-builder.d.ts +19 -0
  343. package/dist/types/components/ez-rich-text/ez-rich-text.d.ts +105 -0
  344. package/dist/types/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.d.ts +31 -0
  345. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.d.ts +5 -0
  346. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.d.ts +5 -0
  347. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.d.ts +11 -0
  348. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.d.ts +5 -0
  349. package/dist/types/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.d.ts +35 -0
  350. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.d.ts +39 -0
  351. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.d.ts +1 -0
  352. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.d.ts +1 -0
  353. package/dist/types/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.d.ts +1 -0
  354. package/dist/types/components/ez-search/ez-search.d.ts +2 -3
  355. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +4 -1
  356. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +4 -1
  357. package/dist/types/components/ez-sidebar-navigator/ez-sidebar-navigator.d.ts +2 -0
  358. package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +0 -1
  359. package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +2 -1
  360. package/dist/types/components/ez-sortable-list/ez-sortable-list.d.ts +2 -0
  361. package/dist/types/components/ez-split-button/ez-split-button.d.ts +2 -2
  362. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +2 -0
  363. package/dist/types/components/ez-text-area/ez-text-area.d.ts +6 -3
  364. package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +2 -0
  365. package/dist/types/components/ez-tile/ez-tile.d.ts +58 -0
  366. package/dist/types/components/ez-time-input/ez-time-input.d.ts +2 -1
  367. package/dist/types/components/ez-tree/ez-tree.d.ts +2 -0
  368. package/dist/types/components/ez-upload/ez-upload.d.ts +3 -1
  369. package/dist/types/components.d.ts +447 -2
  370. package/dist/types/global/app-init.d.ts +1 -0
  371. package/dist/types/utils/ApplicationUtils.d.ts +3 -1
  372. package/dist/types/utils/constants.d.ts +0 -1
  373. package/dist/types/utils/i18n/elanguages.d.ts +5 -0
  374. package/dist/types/utils/i18n/i18nUtils.d.ts +2 -0
  375. package/dist/types/utils/i18n/index.d.ts +5 -0
  376. package/dist/types/utils/i18n/locales/en-us.d.ts +276 -0
  377. package/dist/types/utils/i18n/locales/es-es.d.ts +276 -0
  378. package/dist/types/utils/i18n/locales/pt-br.d.ts +276 -0
  379. package/dist/types/utils/i18n/translations.d.ts +828 -0
  380. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -0
  381. package/package.json +8 -1
  382. package/react/components.d.ts +10 -0
  383. package/react/components.js +10 -0
  384. package/react/components.js.map +1 -1
  385. package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js +0 -75
  386. package/dist/collection/components/ez-sidebar-navigator/messages/constants.js +0 -5
  387. package/dist/ezui/p-01b72d7e.entry.js +0 -1
  388. package/dist/ezui/p-07594da0.entry.js +0 -1
  389. package/dist/ezui/p-11bfeca3.entry.js +0 -1
  390. package/dist/ezui/p-175154a0.js +0 -1
  391. package/dist/ezui/p-1fefb37a.entry.js +0 -1
  392. package/dist/ezui/p-2187f86c.js +0 -1
  393. package/dist/ezui/p-220b9944.entry.js +0 -1
  394. package/dist/ezui/p-28987410.entry.js +0 -1
  395. package/dist/ezui/p-2d10bb18.entry.js +0 -1
  396. package/dist/ezui/p-2f351332.entry.js +0 -1
  397. package/dist/ezui/p-4e66eaeb.entry.js +0 -1
  398. package/dist/ezui/p-545bd5d5.entry.js +0 -7
  399. package/dist/ezui/p-5eea9886.js +0 -1
  400. package/dist/ezui/p-61f5c258.entry.js +0 -1
  401. package/dist/ezui/p-6b2cc9b8.entry.js +0 -1
  402. package/dist/ezui/p-6b3fddee.entry.js +0 -1
  403. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  404. package/dist/ezui/p-700c1320.entry.js +0 -1
  405. package/dist/ezui/p-708b196e.entry.js +0 -1
  406. package/dist/ezui/p-7567ccdd.entry.js +0 -1
  407. package/dist/ezui/p-791f4e43.entry.js +0 -1
  408. package/dist/ezui/p-7db20f8e.entry.js +0 -1
  409. package/dist/ezui/p-7ec3f335.entry.js +0 -1
  410. package/dist/ezui/p-85d7b78a.entry.js +0 -1
  411. package/dist/ezui/p-90c90351.entry.js +0 -1
  412. package/dist/ezui/p-90e91173.entry.js +0 -1
  413. package/dist/ezui/p-91ccae0c.entry.js +0 -1
  414. package/dist/ezui/p-926a0bde.entry.js +0 -1
  415. package/dist/ezui/p-97d94ef3.entry.js +0 -1
  416. package/dist/ezui/p-9e95bfeb.entry.js +0 -1
  417. package/dist/ezui/p-a11827ca.entry.js +0 -1
  418. package/dist/ezui/p-c7035d65.entry.js +0 -1
  419. package/dist/ezui/p-c8e6204f.entry.js +0 -1
  420. package/dist/ezui/p-d2290004.entry.js +0 -1
  421. package/dist/ezui/p-d4d6d5fe.entry.js +0 -1
  422. package/dist/ezui/p-ddb22a70.entry.js +0 -1
  423. package/dist/ezui/p-ddd0bd61.entry.js +0 -1
  424. package/dist/ezui/p-e4ae4ddb.entry.js +0 -1
  425. package/dist/ezui/p-e4ead194.entry.js +0 -1
  426. package/dist/ezui/p-e6b38ade.entry.js +0 -1
  427. package/dist/ezui/p-ed48a632.entry.js +0 -1
  428. package/dist/ezui/p-fc194825.entry.js +0 -1
  429. package/dist/types/components/ez-grid/controller/ag-grid/i18n/pt-BR.d.ts +0 -2
  430. package/dist/types/components/ez-sidebar-navigator/messages/constants.d.ts +0 -5
@@ -1,12 +1,13 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { StringUtils, KeyboardManager, 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 { S as SearchMode } from './FormLayout-071d324c.js';
8
9
 
9
- const ezSearchPlusCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--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)}.list-container{min-width:var(--ez-search__list-min-width);overflow:auto;position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;min-width:150px;background-color:var(--ez-search--background-color--xlight);border-radius:var(--ez-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000)}.list-options{margin-top:0px;box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}.ez-search-plus__container{display:flex;flex-grow:1;gap:3px}.ez-search-plus__text-input{--ez-text-input--border-top-left-radius:0px;--ez-text-input--border-bottom-left-radius:0px}.ez-search-plus__code-input-no-border{--ez-text-input--border-top-right-radius:0px;--ez-text-input--border-bottom-right-radius:0px}.ez-search-plus__code-input{max-width:85px}.ez-search-plus__code-input-full{width:100%}.description-input-container{width:100%}";
10
+ const ezSearchPlusCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--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)}.list-container{min-width:var(--ez-search__list-min-width);overflow:auto;position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;min-width:150px;background-color:var(--ez-search--background-color--xlight);border-radius:var(--ez-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000)}.list-options{margin-top:0px;box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}.ez-search-plus__container{display:flex;flex-grow:1;gap:3px}.ez-search-plus__text-input{--ez-text-input--border-top-left-radius:0px;--ez-text-input--border-bottom-left-radius:0px;outline:none}.ez-search-plus__code-input-no-border{--ez-text-input--border-top-right-radius:0px;--ez-text-input--border-bottom-right-radius:0px}.ez-search-plus__code-input{max-width:85px}.ez-search-plus__code-input-full{width:100%}.description-input-container{width:100%;outline:none}";
10
11
 
11
12
  const EzSearchPlus = class {
12
13
  constructor(hostRef) {
@@ -129,14 +130,17 @@ const EzSearchPlus = class {
129
130
  async isInvalid() {
130
131
  return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
131
132
  }
132
- componentWillLoad() {
133
+ async componentWillLoad() {
134
+ this.i18n = await initI18n();
133
135
  if (this.value && StringUtils.isEmpty(this.codeValue)) {
134
- this.observeValue(this.value, undefined);
136
+ await this.observeValue(this.value, undefined);
135
137
  }
136
138
  }
137
139
  componentDidLoad() {
138
140
  CSSVarsUtils.applyVarsTextInput(this.el, this._textInputCodeValue);
139
141
  CSSVarsUtils.applyVarsTextInput(this.el, this._textInputDescriptionValue);
142
+ }
143
+ connectedCallback() {
140
144
  this.initKeyboardManager();
141
145
  if (this.autoFocus) {
142
146
  requestAnimationFrame(() => {
@@ -146,13 +150,14 @@ const EzSearchPlus = class {
146
150
  }
147
151
  clearSearch() {
148
152
  this.value = null;
153
+ this.descriptionValue = null;
149
154
  }
150
155
  getCodLabel() {
151
156
  var _a;
152
157
  if (this.hideDescriptionInput) {
153
158
  return this.label;
154
159
  }
155
- return (_a = this.codLabel) !== null && _a !== void 0 ? _a : "Cód.";
160
+ return (_a = this.codLabel) !== null && _a !== void 0 ? _a : this.i18n("ez-search-plus.defaultCodeLabel");
156
161
  }
157
162
  async normalizeCodeToDescriptionValue(valueToNormalize) {
158
163
  if (!valueToNormalize) {
@@ -194,7 +199,7 @@ const EzSearchPlus = class {
194
199
  }
195
200
  async loadDescriptionValueByCode(codeValue) {
196
201
  if (!this.optionLoader) {
197
- console.warn("optionLoader não definido");
202
+ console.warn(this.i18n("ez-search-plus.optionLoaderNotDefined"));
198
203
  return "";
199
204
  }
200
205
  try {
@@ -224,7 +229,7 @@ const EzSearchPlus = class {
224
229
  }
225
230
  async loadAdvancedSearch() {
226
231
  if (!this.optionLoader) {
227
- console.warn("optionLoader não definido");
232
+ console.warn(this.i18n("ez-search-plus.optionLoaderNotDefined"));
228
233
  return;
229
234
  }
230
235
  const searchArgument = { mode: SearchMode.ADVANCED, argument: "" };
@@ -341,7 +346,7 @@ const EzSearchPlus = class {
341
346
  this._keyboardManager
342
347
  .bind("ArrowUp", () => this.handleArrowUp(), Object.assign(Object.assign({}, defaultOpts), { propagate: false }))
343
348
  .bind("ArrowDown", () => this.handleArrowDown(), Object.assign(Object.assign({}, defaultOpts), { propagate: false }))
344
- .bind("Enter", () => this.selectCurrentItem(), defaultOpts)
349
+ .bind("Enter", () => this.selectCurrentItem(), Object.assign(Object.assign({}, defaultOpts), { propagate: !this.stopPropagateEnterKeyEvent }))
345
350
  .bind("Tab", () => this.handleInputTab(), defaultOpts)
346
351
  .bind("Escape", () => this.handleInputEsc(), defaultOpts);
347
352
  }
@@ -375,13 +380,17 @@ const EzSearchPlus = class {
375
380
  getLeftIconElement() {
376
381
  return h("button", { class: "btn", slot: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handleSearchClick() }, this.canShowLoadSpinDescription() ? h("div", { class: "message__loading" }) : h("ez-icon", { iconName: "search" }));
377
382
  }
383
+ handleOnEzVisibilityChange(event) {
384
+ event.stopPropagation();
385
+ this.searchDescriptionIsOpen = event.detail;
386
+ }
378
387
  render() {
379
388
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
380
389
  return (h(Host, null, h("div", { class: "ez-search-plus__container" }, h("ez-text-input", { ref: elem => this._textInputCodeValue = elem, class: {
381
390
  "ez-search-plus__code-input": !this.hideDescriptionInput,
382
391
  "ez-search-plus__code-input-no-border": !this.hideDescriptionInput,
383
392
  "ez-search-plus__code-input-full": this.hideDescriptionInput
384
- }, "data-element-id": ElementIDUtils.getInternalIDInfo("codeInput"), "data-slave-mode": "true", enabled: !this.disableCodeInput && this.enabled, mode: this.mode, label: this.getCodLabel(), canShowError: this.canShowError, hasInvalid: !StringUtils.isEmpty(this.errorMessage), errorMessage: this.hideDescriptionInput ? this.errorMessage : "", value: this.codeValue, onFocusout: () => this.handleCodeInputFocusOut(), onFocus: () => this.handleCodeInputFocus() }, this.getLeftIconElement()), !this.hideDescriptionInput && (h("div", { class: "description-input-container" }, h("ez-text-input", { ref: elem => this._textInputDescriptionValue = elem, tabIndex: -1, class: "ez-search-plus__text-input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), "data-slave-mode": "true", enabled: !this.disableDescriptionInput && this.enabled, label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, value: this.descriptionValue, onInput: event => this.handleTextInputChangeHandler(event), onFocus: () => this.handleDescriptionInputFocus() }, this.getRightIconElement()), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this.el, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', useAnchorSize: true, onEzVisibilityChange: (event) => this.searchDescriptionIsOpen = event.detail }, h("ez-search-result-list", { ref: (ref) => this._searchList = ref, showLoading: this.showLoading, visibleOptions: this.visibleOptions, value: this.value, showOptionValue: this.showOptionValue, onChangeValue: (evt) => this.handleSelectItem(evt) })))))));
393
+ }, "data-element-id": ElementIDUtils.getInternalIDInfo("codeInput"), "data-slave-mode": "true", enabled: !this.disableCodeInput && this.enabled, mode: this.mode, label: this.getCodLabel(), canShowError: this.canShowError, hasInvalid: !StringUtils.isEmpty(this.errorMessage), errorMessage: this.hideDescriptionInput ? this.errorMessage : "", value: this.codeValue, onFocusout: () => this.handleCodeInputFocusOut(), onFocus: () => this.handleCodeInputFocus() }, this.getLeftIconElement()), !this.hideDescriptionInput && (h("div", { class: "description-input-container" }, h("ez-text-input", { ref: elem => this._textInputDescriptionValue = elem, tabIndex: -1, class: "ez-search-plus__text-input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), "data-slave-mode": "true", enabled: !this.disableDescriptionInput && this.enabled, label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode, value: this.descriptionValue, onInput: event => this.handleTextInputChangeHandler(event), onFocus: () => this.handleDescriptionInputFocus() }, this.getRightIconElement()), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this.el, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', useAnchorSize: true, onEzVisibilityChange: (event) => this.handleOnEzVisibilityChange(event) }, h("ez-search-result-list", { ref: (ref) => this._searchList = ref, showLoading: this.showLoading, visibleOptions: this.visibleOptions, value: this.value, showOptionValue: this.showOptionValue, onChangeValue: (evt) => this.handleSelectItem(evt) })))))));
385
394
  }
386
395
  get el() { return getElement(this); }
387
396
  static get watchers() { return {
@@ -1,5 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-baa5e267.js';
2
2
  import { StringUtils } from '@sankhyalabs/core';
3
+ import { i as initI18n } from './index-b623906e.js';
3
4
 
4
5
  const ezSearchResultListCss = ":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.loading__container{display:flex;flex-direction:column;margin:var(--space--small)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";
5
6
 
@@ -7,7 +8,6 @@ const EzSearchResultList = class {
7
8
  constructor(hostRef) {
8
9
  registerInstance(this, hostRef);
9
10
  this.changeValue = createEvent(this, "changeValue", 7);
10
- this._textEmptyList = "Nenhum resultado encontrado";
11
11
  this._startHighlightTag = "<span class='card-item__highlight'>";
12
12
  this._endHighlightTag = "</span>";
13
13
  this.showLoading = undefined;
@@ -16,6 +16,11 @@ const EzSearchResultList = class {
16
16
  this.showOptionValue = true;
17
17
  this._preSelection = undefined;
18
18
  }
19
+ observerVisivleOptions(newValue) {
20
+ if (newValue.length) {
21
+ this.preSelectItemByIndex(0);
22
+ }
23
+ }
19
24
  async nextOption() {
20
25
  const newPreSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this.visibleOptions.length - 1);
21
26
  this.preSelectItemByIndex(newPreSelection);
@@ -31,18 +36,24 @@ const EzSearchResultList = class {
31
36
  }
32
37
  selectOption(newOption) {
33
38
  const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: newOption === null || newOption === void 0 ? void 0 : newOption.value, label: newOption === null || newOption === void 0 ? void 0 : newOption.label });
34
- const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value, label: newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label });
39
+ const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: this.removeHighLight(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: this.removeHighLight(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
35
40
  this.changeValue.emit(newOptionsFormatted);
36
41
  }
42
+ removeHighLight(text) {
43
+ if (!text || typeof text !== 'string') {
44
+ return text;
45
+ }
46
+ const startHighlight = new RegExp(this._startHighlightTag, 'g');
47
+ const endHighlight = new RegExp(this._endHighlightTag, 'g');
48
+ return text.replace(startHighlight, '').replace(endHighlight, '');
49
+ }
37
50
  createAndSelectOption(detail) {
38
51
  let { key, title } = detail;
39
52
  key = String(key !== null && key !== void 0 ? key : "");
40
- const startHighlight = new RegExp(this._startHighlightTag, 'g');
41
- const endHighlight = new RegExp(this._endHighlightTag, 'g');
42
53
  title = StringUtils.decodeHtmlEntities(title);
43
54
  const option = {
44
- value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
45
- label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
55
+ value: this.removeHighLight(key),
56
+ label: this.removeHighLight(title)
46
57
  };
47
58
  this.selectOption(option);
48
59
  }
@@ -82,11 +93,17 @@ const EzSearchResultList = class {
82
93
  canShowListOptions() {
83
94
  return !this.showLoading && this.visibleOptions.length > 0;
84
95
  }
96
+ async componentWillLoad() {
97
+ this.i18n = await initI18n();
98
+ }
85
99
  render() {
86
100
  return (h(Host, null, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
87
101
  && this.visibleOptions.length === 0
88
- && h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this.showLoading && (h("div", { class: "loading__container" }, h("ez-skeleton", { count: 4, height: '20px' }))), this.canShowListOptions() && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
102
+ && h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.i18n("ez-search-plus.emptyList"))), this.showLoading && (h("div", { class: "loading__container" }, h("ez-skeleton", { count: 4, height: '20px' }))), this.canShowListOptions() && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
89
103
  }
104
+ static get watchers() { return {
105
+ "visibleOptions": ["observerVisivleOptions"]
106
+ }; }
90
107
  };
91
108
  EzSearchResultList.style = ezSearchResultListCss;
92
109
 
@@ -1,11 +1,11 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
3
3
  import { ObjectUtils, StringUtils, ElementIDUtils } from '@sankhyalabs/core';
4
- import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
4
+ import { A as ApplicationUtils } from './ApplicationUtils-72f474e8.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
- import { R as REQUIRED_INFO } from './constants-b036528f.js';
9
9
  import { r as replaceQuotes, a as replaceHighlight } from './searchFormatters-8229207e.js';
10
10
 
11
11
  const ezSearchCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--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;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}";
@@ -19,8 +19,6 @@ const EzSearch = class {
19
19
  this._deboucingTime = 300;
20
20
  this._maxWidthValue = 0;
21
21
  this._tabPressed = false;
22
- this._textEmptyList = "Nenhum resultado encontrado";
23
- this._textEmptySearch = "Nenhum resultado de {0} encontrado";
24
22
  this._startHighlightTag = "<span class='card-item__highlight'>";
25
23
  this._endHighlightTag = "</span>";
26
24
  this._preSelection = undefined;
@@ -346,7 +344,7 @@ const EzSearch = class {
346
344
  var _a;
347
345
  if (!((_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.length)) {
348
346
  this.clearSearch();
349
- ApplicationUtils.info(this._textEmptyList);
347
+ ApplicationUtils.info(this.i18n("ez-search.emptyList"));
350
348
  }
351
349
  else {
352
350
  this.controlListWithOnlyOne(focusOnInput);
@@ -408,11 +406,11 @@ const EzSearch = class {
408
406
  }
409
407
  async showNoResultMessage() {
410
408
  this.clearSearch();
411
- ApplicationUtils.info(this._textEmptySearch.replace("{0}", this.getFieldLabel()));
409
+ ApplicationUtils.info(this.i18n("ez-search.emptySearch", { field: this.getFieldLabel() }));
412
410
  }
413
411
  getFieldLabel() {
414
412
  var _a;
415
- return (_a = this.label) === null || _a === void 0 ? void 0 : _a.replace(REQUIRED_INFO, "").toUpperCase();
413
+ return (_a = this.label) === null || _a === void 0 ? void 0 : _a.replace(this.i18n("app.requiredInfo"), "").toUpperCase();
416
414
  }
417
415
  resetOptions() {
418
416
  this.hideOptions();
@@ -436,7 +434,8 @@ const EzSearch = class {
436
434
  //---------------------------------------------
437
435
  // Lifecycle web component
438
436
  //---------------------------------------------
439
- componentWillLoad() {
437
+ async componentWillLoad() {
438
+ this.i18n = await initI18n();
440
439
  if (this.options === undefined) {
441
440
  this.options = [];
442
441
  const optionsTags = this.el.querySelectorAll("option");
@@ -618,7 +617,7 @@ const EzSearch = class {
618
617
  ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
619
618
  return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), 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: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, this.canShowLoadSpinDescription() ? h("div", { class: "message__loading" }) : h("ez-icon", { iconName: "search" })), (((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value) || this.ensureClearButtonVisible)
620
619
  ? h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }))
621
- : undefined), h("ez-popover-plus", { ref: elem => this._ezPopOverPlusElement = elem, autoClose: false, overlayType: "none", useAnchorSize: true, anchorElement: [this._textInput, this.el] }, h("search-list", { ref: (ref) => this._searchList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, canShowListOptions: this.canShowListOptions(), value: this.value, showOptionValue: this.showOptionValue, preSelection: this._preSelection, onChangeValue: ({ detail }) => this.selectOption(detail), onChangePreSelection: ({ detail }) => this.onChangePreSelection(detail) }))));
620
+ : undefined), h("ez-popover-plus", { ref: elem => this._ezPopOverPlusElement = elem, autoClose: false, overlayType: "none", useAnchorSize: true, anchorElement: [this._textInput, this.el] }, h("search-list", { ref: (ref) => this._searchList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this.i18n("ez-search.emptyList"), canShowListOptions: this.canShowListOptions(), value: this.value, showOptionValue: this.showOptionValue, preSelection: this._preSelection, onChangeValue: ({ detail }) => this.selectOption(detail), onChangePreSelection: ({ detail }) => this.onChangePreSelection(detail) }))));
622
621
  }
623
622
  get el() { return getElement(this); }
624
623
  static get watchers() { return {
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { E as EzScrollDirection } from './EzScrollDirection-2df26c93.js';
4
+ import { i as initI18n } from './index-b623906e.js';
4
5
 
5
6
  var ModeMenuEnum;
6
7
  (function (ModeMenuEnum) {
@@ -22,12 +23,6 @@ var TypeMenuEnum;
22
23
  TypeMenuEnum["DYNAMIC"] = "dynamic";
23
24
  })(TypeMenuEnum || (TypeMenuEnum = {}));
24
25
 
25
- const MESSAGES = {
26
- HIDE_MENU: 'Ocultar menu',
27
- UN_PIN_MENU: 'Desafixar menu',
28
- PUSH_PIN_MENU: 'Fixar menu',
29
- };
30
-
31
26
  const ezSidebarNavigatorCss = ":host{--ez-sidebar-navigator--padding-left:var(--space--xs, 12px);--ez-sidebar-navigator--padding-right:var(--space--xs, 12px);--ez-sidebar-navigator--gap:var(--space--xs, 12px);--ez-sidebar-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-sidebar-navigator--background-color:var(--color--inverted);--ez-sidebar-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-sidebar-navigator--height:calc(100vh - var(--space--lg, 24px));--ez-sidebar-navigator--z-index:var(--elevation--20, 20);--ez-sidebar-navigator--header-gap:var(--space--xs, 12px);--ez-sidebar-navigator--footer-gap:var(--space--xs, 12px);--ez-ez-sidebar-navigator__title--font-family:var(--font-pattern, \"Roboto\");--ez-ez-sidebar-navigator__title--font-size:var(--title--medium, 16px);--ez-ez-sidebar-navigator__title--color:var(--title--primary, #2b3a54);--ez-ez-sidebar-navigator__title--font-weight:var(--text-weight--extra-large, 700)}.inverted{transform:rotate(180deg)}.ez-sidebar-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:var(--ez-sidebar-navigator--height);padding-top:var(--space--xs, 12px);padding-bottom:var(--space--xs, 12px);outline:none;gap:var(--ez-sidebar-navigator--gap);padding-left:var(--ez-sidebar-navigator--padding-left);padding-right:var(--ez-sidebar-navigator--padding-right);background-color:var(--ez-sidebar-navigator--background-color);-webkit-box-shadow:var(--ez-sidebar-navigator--box-shadow);box-shadow:var(--ez-sidebar-navigator--box-shadow);border-radius:var(--ez-sidebar-navigator--border-radius)}.ez-sidebar-navigator__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;justify-content:space-between;gap:var(--ez-sidebar-navigator--header-gap)}.ez-sidebar-navigator__content{height:100%}.ez-sidebar-navigator__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-sidebar-navigator--footer-gap)}.ez-sidebar-navigator__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-family:var(--ez-ez-sidebar-navigator__title--font-family);font-size:var(--ez-ez-sidebar-navigator__title--font-size);font-weight:var(--ez-ez-sidebar-navigator__title--font-weight);color:var(--ez-ez-sidebar-navigator__title--color)}.ez-sidebar-navigator__end{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto;gap:var(--ez-sidebar-navigator--gap)}.dynamic{position:absolute;z-index:var(--ez-sidebar-navigator--z-index)}.fixed{position:relative}.hidden{display:none}.show{animation:fadeIn .1s ease-in-out 1}@keyframes fadeIn{from{transform:translate(-100%)}}.sm{width:240px}.md{width:280px}.lg{width:320px}@media screen and (max-width: 991px){.responsive{width:240px}}@media screen and (min-width: 992px){.responsive{width:280px}}@media screen and (min-width: 1200px){.responsive{width:320px}}";
32
27
 
33
28
  const EzSidebarNavigator = class {
@@ -70,6 +65,9 @@ const EzSidebarNavigator = class {
70
65
  async openSidebar() {
71
66
  this.open = true;
72
67
  }
68
+ async componentWillLoad() {
69
+ this.i18n = await initI18n();
70
+ }
73
71
  componentDidLoad() {
74
72
  if (this.type === TypeMenuEnum.FIXED) {
75
73
  this.mode = ModeMenuEnum.FIXED;
@@ -78,7 +76,7 @@ const EzSidebarNavigator = class {
78
76
  }
79
77
  render() {
80
78
  ElementIDUtils.addIDInfoIfNotExists(this._element);
81
- return (h(Host, null, h("ez-sidebar-button", { class: this.open ? "hidden" : "", onEzClick: this.mode === ModeMenuEnum.FIXED ? this.handleToggleSidebar : undefined, onMouseEnter: this.mode === ModeMenuEnum.FLOAT ? this.handleToggleSidebar : undefined, "aria-controls": "navigator", "aria-expanded": this.open, "data-element-id": ElementIDUtils.getInternalIDInfo("openButton") }), this.open ? (h("aside", { tabIndex: -1, id: "navigator", class: `ez-col ez-col--sd-12 ez-col--tb-3 ez-sidebar-navigator ${this.mode === ModeMenuEnum.FLOAT ? 'dynamic' : 'fixed'} ${this.isResponsive ? 'responsive' : this.size} ${!this.open ? "hidden" : "show"}`, "data-element-id": ElementIDUtils.getInternalIDInfo("sidebar"), onMouseLeave: this.type !== TypeMenuEnum.FIXED && this.mode === ModeMenuEnum.FLOAT ? this.handleToggleSidebar : undefined }, h("header", { class: "ez-sidebar-navigator__header" }, h("slot", { name: "start" }), this.titleMenu !== '' && (h("div", { class: "ez-sidebar-navigator__title", title: this.titleMenu }, this.titleMenu)), !this.titleMenu && (h("slot", { name: "content" })), h("div", { class: "ez-sidebar-navigator__end" }, h("slot", { name: "end" }), (this.type === TypeMenuEnum.DYNAMIC && this.showFixedButton) && (h("ez-button", { onClick: this.handleToggleMode, mode: "icon", size: "small", iconName: this.mode === ModeMenuEnum.FIXED ? "un-pin" : "push-pin", title: this.mode === ModeMenuEnum.FIXED ? MESSAGES.UN_PIN_MENU : MESSAGES.PUSH_PIN_MENU, "aria-label": this.mode === ModeMenuEnum.FIXED ? MESSAGES.UN_PIN_MENU : MESSAGES.PUSH_PIN_MENU, "aria-controls": "navigator", "data-element-id": ElementIDUtils.getInternalIDInfo("pinButton") })), (this.mode === ModeMenuEnum.FIXED && this.showCollapseMenu) && (h("ez-button", { onClick: this.handleToggleSidebar, class: "inverted", mode: "icon", size: "small", iconName: "show_menu", title: MESSAGES.HIDE_MENU, "aria-label": MESSAGES.HIDE_MENU, "aria-controls": "navigator", "data-element-id": ElementIDUtils.getInternalIDInfo("closeButton") })))), this.titleMenu && (h("slot", { name: "content" })), h("ez-scroller", { class: "ez-sidebar-navigator__content", direction: EzScrollDirection.VERTICAL, activeShadow: true }, h("slot", null)), h("footer", { class: "ez-sidebar-navigator__footer" }, h("slot", { name: "footer" }))))
79
+ return (h(Host, null, h("ez-sidebar-button", { class: this.open ? "hidden" : "", onEzClick: this.mode === ModeMenuEnum.FIXED ? this.handleToggleSidebar : undefined, onMouseEnter: this.mode === ModeMenuEnum.FLOAT ? this.handleToggleSidebar : undefined, "aria-controls": "navigator", "aria-expanded": this.open, "data-element-id": ElementIDUtils.getInternalIDInfo("openButton") }), this.open ? (h("aside", { tabIndex: -1, id: "navigator", class: `ez-col ez-col--sd-12 ez-col--tb-3 ez-sidebar-navigator ${this.mode === ModeMenuEnum.FLOAT ? 'dynamic' : 'fixed'} ${this.isResponsive ? 'responsive' : this.size} ${!this.open ? "hidden" : "show"}`, "data-element-id": ElementIDUtils.getInternalIDInfo("sidebar"), onMouseLeave: this.type !== TypeMenuEnum.FIXED && this.mode === ModeMenuEnum.FLOAT ? this.handleToggleSidebar : undefined }, h("header", { class: "ez-sidebar-navigator__header" }, h("slot", { name: "start" }), this.titleMenu !== '' && (h("div", { class: "ez-sidebar-navigator__title", title: this.titleMenu }, this.titleMenu)), !this.titleMenu && (h("slot", { name: "content" })), h("div", { class: "ez-sidebar-navigator__end" }, h("slot", { name: "end" }), (this.type === TypeMenuEnum.DYNAMIC && this.showFixedButton) && (h("ez-button", { onClick: this.handleToggleMode, mode: "icon", size: "small", iconName: this.mode === ModeMenuEnum.FIXED ? "un-pin" : "push-pin", title: this.mode === ModeMenuEnum.FIXED ? this.i18n("ez-sidebar.unPinMenu") : this.i18n("ez-sidebar.pushPinMenu"), "aria-label": this.mode === ModeMenuEnum.FIXED ? this.i18n("ez-sidebar.unPinMenu") : this.i18n("ez-sidebar.pushPinMenu"), "aria-controls": "navigator", "data-element-id": ElementIDUtils.getInternalIDInfo("pinButton") })), (this.mode === ModeMenuEnum.FIXED && this.showCollapseMenu) && (h("ez-button", { onClick: this.handleToggleSidebar, class: "inverted", mode: "icon", size: "small", iconName: "show_menu", title: this.i18n("ez-sidebar.hideMenu"), "aria-label": this.i18n("ez-sidebar.hideMenu"), "aria-controls": "navigator", "data-element-id": ElementIDUtils.getInternalIDInfo("closeButton") })))), this.titleMenu && (h("slot", { name: "content" })), h("ez-scroller", { class: "ez-sidebar-navigator__content", direction: EzScrollDirection.VERTICAL, activeShadow: true }, h("slot", null)), h("footer", { class: "ez-sidebar-navigator__footer" }, h("slot", { name: "footer" }))))
82
80
  : undefined));
83
81
  }
84
82
  get _element() { return getElement(this); }
@@ -1,4 +1,6 @@
1
- import { r as registerInstance, h } from './index-5a720e56.js';
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 ALLOWED_ANIMATIONS = ['progress', 'pulse', 'false'];
4
6
  const ALLOWED_VARIANTS = ['circle', 'rect', 'text'];
@@ -11,7 +13,6 @@ const SKELETON_ARIA = {
11
13
  DATA_BUSY: 'true',
12
14
  DATA_VALUEMIN: '0',
13
15
  DATA_VALUEMAX: '100',
14
- DATA_VALUETEXT: 'Loading...',
15
16
  ROLE: 'progressbar',
16
17
  TABINDEX: '0'
17
18
  };
@@ -43,7 +44,8 @@ const EzSkeleton = class {
43
44
  this.marginLeft = null;
44
45
  this.animation = DEFAULT_VALUES.ANIMATION;
45
46
  }
46
- componentWillLoad() {
47
+ async componentWillLoad() {
48
+ this.i18n = await initI18n();
47
49
  this.initializeItems();
48
50
  }
49
51
  componentWillUpdate() {
@@ -134,7 +136,7 @@ const EzSkeleton = class {
134
136
  return this.renderSkeletonSpan(index, config);
135
137
  }
136
138
  renderSkeletonSpan(index, config) {
137
- return (h("span", { key: index, class: config === null || config === void 0 ? void 0 : config.skeletonClasses, style: config === null || config === void 0 ? void 0 : config.styles, "data-busy": SKELETON_ARIA.DATA_BUSY, "data-valuemin": SKELETON_ARIA.DATA_VALUEMIN, "data-valuemax": SKELETON_ARIA.DATA_VALUEMAX, "data-valuetext": SKELETON_ARIA.DATA_VALUETEXT, role: SKELETON_ARIA.ROLE, tabindex: SKELETON_ARIA.TABINDEX }));
139
+ return (h("span", { key: index, class: config === null || config === void 0 ? void 0 : config.skeletonClasses, style: config === null || config === void 0 ? void 0 : config.styles, "data-busy": SKELETON_ARIA.DATA_BUSY, "data-valuemin": SKELETON_ARIA.DATA_VALUEMIN, "data-valuemax": SKELETON_ARIA.DATA_VALUEMAX, "data-valuetext": this.i18n("app.loading"), role: SKELETON_ARIA.ROLE, tabindex: SKELETON_ARIA.TABINDEX }));
138
140
  }
139
141
  render() {
140
142
  return !this.template ? this.items.map((_, index) => this.renderSkeletonItem(index)) : this.renderSkeletonTemplate(this.template);
@@ -1,5 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-baa5e267.js';
2
2
  import { ArrayUtils } from '@sankhyalabs/core';
3
+ import { i as initI18n } from './index-b623906e.js';
3
4
 
4
5
  /**!
5
6
  * Sortable 1.15.6
@@ -3309,9 +3310,9 @@ const EzSortableList = class {
3309
3310
  this.group = 'default';
3310
3311
  this.dataSource = [];
3311
3312
  this.idSortableList = 'DEFAULT_LIST';
3312
- this.entityLabel = 'item';
3313
- this.entityLabelPlural = 'itens';
3314
- this.emptyMessage = 'Nenhum item na lista';
3313
+ this.entityLabel = undefined;
3314
+ this.entityLabelPlural = undefined;
3315
+ this.emptyMessage = undefined;
3315
3316
  this.hoverFeedback = true;
3316
3317
  this.enableMultipleSelection = false;
3317
3318
  this.removeItensMoved = false;
@@ -3332,6 +3333,12 @@ const EzSortableList = class {
3332
3333
  });
3333
3334
  this.ezSelectItens.emit([]);
3334
3335
  }
3336
+ async componentWillLoad() {
3337
+ this.i18n = await initI18n();
3338
+ this.emptyMessage = this.i18n("ez-sortable-list.emptyMessage");
3339
+ this.entityLabel = this.i18n("ez-sortable-list.entityLabel");
3340
+ this.entityLabelPlural = this.i18n("ez-sortable-list.entityLabelPlural");
3341
+ }
3335
3342
  componentDidLoad() {
3336
3343
  this.initSortable();
3337
3344
  }
@@ -3472,7 +3479,7 @@ const EzSortableList = class {
3472
3479
  }
3473
3480
  }
3474
3481
  buildTotalizer() {
3475
- return `Total de ${this.dataSource.length} ${this.dataSource.length === 1 ? this.entityLabel : this.entityLabelPlural}`;
3482
+ return `${this.i18n("ez-sortable-list.total")} ${this.dataSource.length} ${this.dataSource.length === 1 ? this.entityLabel : this.entityLabelPlural}`;
3476
3483
  }
3477
3484
  renderItems() {
3478
3485
  const itemsToRender = ArrayUtils.applyStringFilter(this.filterTerm, this.dataSource);
@@ -3494,7 +3501,7 @@ const EzSortableList = class {
3494
3501
  renderHeader() {
3495
3502
  if (this.hideHeader)
3496
3503
  return;
3497
- return (h("div", { class: 'sortable-header' }, h("span", { class: 'sortable-label' }, this.title), h("ez-filter-input", { label: `Buscar ${this.entityLabel}`, mode: "slim", onEzChange: evt => this.handleFilterChanged(evt) })));
3504
+ return (h("div", { class: 'sortable-header' }, h("span", { class: 'sortable-label' }, this.title), h("ez-filter-input", { label: `${this.i18n("ez-sortable-list.search")} ${this.entityLabel}`, mode: "slim", onEzChange: evt => this.handleFilterChanged(evt) })));
3498
3505
  }
3499
3506
  render() {
3500
3507
  return (h("div", { class: 'sortable-content' }, this.renderHeader(), h("div", { class: `sortable-list ${this.dataSource.length < 1 ? 'empty-content' : ''} list-scroller--fix`, "data-content": this.emptyMessage, style: { '--empty-content': `"${this.emptyMessage}"` }, id: this.idSortableList, key: this.idSortableList }, this.renderItems()), this.renderTotalizer()));
@@ -1,5 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5a720e56.js';
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 { i as initI18n } from './index-b623906e.js';
3
4
 
4
5
  const ezSplitButtonCss = ":host{--ez-split-button--min-width:24;--ez-split-button--width:'auto';--ez-split-button__medium--height:32px;--ez-split-button__large--height:42px;--ez-split-button__medium-icon--width:40px;--ez-split-button__large-icon--width:44px;--ez-split-button__inline__icon--gap:6px;--ez-split-button__label--padding-top:0px;--ez-split-button__label--padding-bottom:0px;--ez-split-button__right-button--padding-left:8px;--ez-split-button--color:var(--title--primary, #2B3A54);--ez-split-button--font-size:var(--text--small, 12px);--ez-split-button--font-family:var(--font-pattern, Arial);--ez-split-button--font-weight:var(--text-weight--large);--ez-split-button--background-color:var(--background--light, #ffffff);--ez-split-button--border-radius:var(--border--radius-large, 24px);--ez-split-button--border:1px solid var(--color--strokes);--ez-split-button--justify-content:center;--ez-split-button--hover-color:var(--color--primary-600, #007a5a);--ez-split-button--hover--background-color:var(--background--light, #ffffff);--ez-split-button--disabled-color:var(--text--primary);--ez-split-button--disabled--background-color:var(--background--medium);--ez-split-button--focus--border:var(--border--medium, 2px) var(--color--primary-300);--ez-split-button--focus--box-shadow:none;--ez-split-button--active-color:var(--color--primary-700);--ez-split-button--active--background-color:var(--background--strong)}ez-icon{--ez-icon--color:inherit}button{position:relative;display:flex;align-items:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;white-space:nowrap;min-width:var(--ez-split-button--min-width);width:var(--ez-split-button--width);height:var(--ez-split-button__medium--height);font-family:var(--ez-split-button--font-family);font-size:var(--ez-split-button--font-size);font-weight:var(--ez-split-button--font-weight);padding:var(--ez-split-button__label--padding-top) 0 var(--ez-split-button__label--padding-bottom) 0;border-top-left-radius:var(--ez-split-button--border-radius);border-bottom-left-radius:var(--ez-split-button--border-radius);background-color:var(--ez-split-button--background-color);color:var(--ez-split-button--color);fill:var(--ez-split-button--color);border:none;justify-content:var(--ez-split-button--justify-content)}label{cursor:pointer}button:active{outline:none;box-shadow:none;background-color:var(--ez-split-button--active--background-color);color:var(--ez-split-button--active-color);fill:var(--ez-split-button--active-color);--ez-icon--color:var(--ez-split-button--active-color)}.ez-split-button__left-button{border:var(--ez-split-button--border);border-right:none;outline:none}.ez-split-button__right-button{border:var(--ez-split-button--border);border-left:none;outline:none}.ez-split-button__left-button:focus{box-shadow:0 0 0 2px var(--color--primary-300), \n 0 2px 0 0 var(--color--primary-300), \n 0 -2px 0 0 var(--color--primary-300);}.ez-split-button__right-button:focus{box-shadow:2px 0 0 0 var(--color--primary-300), \n 0 2px 0 0 var(--color--primary-300), \n 0 -2px 0 0 var(--color--primary-300);}.ez-split-button__left-button:hover,.ez-split-button__right-button:hover{outline:none;background-color:var(--ez-split-button--hover--background-color);color:var(--ez-split-button--hover-color);fill:var(--ez-split-button--hover-color);--ez-icon--color:var(--ez-split-button--hover-color)}.ez-split-button__left-button:active,.ez-split-button__right-button:active{outline:none;box-shadow:none;background-color:var(--ez-split-button--active--background-color);color:var(--ez-split-button--active-color);fill:var(--ez-split-button--active-color);--ez-icon--color:var(--ez-split-button--active-color)}.ez-split-button__left-button:disabled,.ez-split-button__left-button:disabled label,.ez-split-button__right-button:disabled{background-color:var(--ez-split-button--disabled--background-color);color:var(--ez-split-button--disabled-color);fill:var(--ez-split-button--disabled-color);border:none;--ez-icon--color:var(--ez-split-button--disabled-color);cursor:not-allowed}.ez-split-button__left-button:disabled{border:var(--ez-split-button--disabled-border);border-right:none}.ez-split-button__right-button:disabled{border:var(--ez-split-button--disabled-border);border-left:none}button.large{height:var(--ez-split-button__large--height)}button.medium{height:var(--ez-split-button__medium--height)}.default label{padding:var(--ez-split-button__label--padding-top) 12px var(--ez-split-button__label--padding-bottom) 20px}.icon-left{gap:var(--ez-split-button__inline__icon--gap)}.icon-left label{padding-right:12px}.icon-left ez-icon{padding-left:20px}.icon-only{padding-left:12px;padding-right:12px}.ez-split-button__right-button{border-top-right-radius:var(--ez-split-button--border-radius);border-bottom-right-radius:var(--ez-split-button--border-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-right:var(--ez-split-button--border)}.ez-split-button__right-button--medium{min-width:var(--ez-split-button__medium-icon--width)}.ez-split-button__right-button--large{min-width:var(--ez-split-button__large-icon--width)}.ez-split-button__right-button--divider{top:10%;bottom:10%}.ez-split-button__right-button--divider:before{content:\"\";position:absolute;left:0;border-left:1px solid rgba(0, 0, 0, 20%);border-radius:2px;height:75%}.btn-icon--medium{min-width:--ez-split-button__medium-icon--width}.btn-icon--large{min-width:--ez-split-button__large-icon--width}.ez-split-button__right-button-container{position:absolute;left:0;padding-left:var(--ez-split-button__right-button--padding-left)}.label-icon{display:flex;flex-direction:row;align-items:center;color:var(--ez-split-button--color)}.label-icon:active{color:var(--ez-split-button--active-color);fill:var(--ez-split-button--active-color);--ez-icon--color:var(--ez-split-button--active-color)}.dropdown{display:flex}.dropdown-content{display:block;position:absolute;background-color:#f1f1f1;min-width:160px;z-index:var(--ez-elevation--8);border-radius:var(--ez-split-button--border-radius)}.dropdown-content>ez-dropdown{position:relative}";
5
6
 
@@ -9,7 +10,6 @@ const EzSplitButton = class {
9
10
  this.buttonClick = createEvent(this, "buttonClick", 7);
10
11
  this.dropdownItemClick = createEvent(this, "dropdownItemClick", 7);
11
12
  this.dropdownSubActionClick = createEvent(this, "dropdownSubActionClick", 7);
12
- this.rightDefaultTitle = 'Mais opções';
13
13
  this.show = false;
14
14
  this.enabled = true;
15
15
  this.iconName = undefined;
@@ -17,7 +17,7 @@ const EzSplitButton = class {
17
17
  this.items = undefined;
18
18
  this.label = undefined;
19
19
  this.leftTitle = undefined;
20
- this.rightTitle = 'Mais opções';
20
+ this.rightTitle = undefined;
21
21
  this.mode = 'default';
22
22
  this.size = 'medium';
23
23
  this.itemBuilder = undefined;
@@ -130,7 +130,8 @@ const EzSplitButton = class {
130
130
  window.removeEventListener('scroll', this.positionDropdown.bind(this));
131
131
  window.addEventListener('scroll', this.positionDropdown.bind(this));
132
132
  }
133
- componentWillLoad() {
133
+ async componentWillLoad() {
134
+ this.i18n = await initI18n();
134
135
  this.setEvents();
135
136
  }
136
137
  componentWillRender() {
@@ -156,7 +157,7 @@ const EzSplitButton = class {
156
157
  const hasIconButton = this.shouldShowIconOnLeftButton();
157
158
  const hasLabelButton = this.shouldShowLabelOnLeftButton();
158
159
  const iconSize = this.getIconSize();
159
- return (h("div", { class: "label-icon" }, h("button", { class: `ez-split-button__left-button ${iconSize} ${this.mode}`, title: this.leftTitle || this.label, type: "button", disabled: !this.enabled, onClick: () => { this.handleButtonClick(); }, ref: el => (this.leftButton = el) }, hasIconButton && h("ez-icon", { href: this.image, iconName: this.iconName, size: iconSize }), hasLabelButton && h("label", { title: this.leftTitle || this.label }, this.label)), h("div", { class: "dropdown" }, h("button", { class: `ez-split-button__right-button ${iconSize} ez-split-button__right-button--${iconSize} ez-split-button__right-button--divider`, title: this.rightTitle || this.rightDefaultTitle, type: "button", disabled: !this.enabled, onClick: () => { this.toggleDropdown(); }, ref: el => (this.rightButton = el) }, h("ez-icon", { class: `ez-split-button__right-button-container ` + (iconSize ? `btn-icon--${iconSize}` : ''), iconName: 'chevron-down', size: iconSize })), h("div", { class: `dropdown-content dropdown-content--${this.size}`, ref: (ref) => (this.dropdownParent = ref) }, this.show && (h("ez-dropdown", { items: this.items, onClick: evt => { evt.stopPropagation(); }, onEzOutsideClick: () => { this.closeDropdown(); }, onEzClick: evt => { this.handleDropdownItemClick(evt); }, onEzSubActionClick: evt => { this.handleDropdownSubActionClick(evt); }, itemBuilder: this.itemBuilder }))))));
160
+ return (h("div", { class: "label-icon" }, h("button", { class: `ez-split-button__left-button ${iconSize} ${this.mode}`, title: this.leftTitle || this.label, type: "button", disabled: !this.enabled, onClick: () => { this.handleButtonClick(); }, ref: el => (this.leftButton = el) }, hasIconButton && h("ez-icon", { href: this.image, iconName: this.iconName, size: iconSize }), hasLabelButton && h("label", { title: this.leftTitle || this.label }, this.label)), h("div", { class: "dropdown" }, h("button", { class: `ez-split-button__right-button ${iconSize} ez-split-button__right-button--${iconSize} ez-split-button__right-button--divider`, title: this.rightTitle || this.i18n("ez-split-button.moreOptions"), type: "button", disabled: !this.enabled, onClick: () => { this.toggleDropdown(); }, ref: el => (this.rightButton = el) }, h("ez-icon", { class: `ez-split-button__right-button-container ` + (iconSize ? `btn-icon--${iconSize}` : ''), iconName: 'chevron-down', size: iconSize })), h("div", { class: `dropdown-content dropdown-content--${this.size}`, ref: (ref) => (this.dropdownParent = ref) }, this.show && (h("ez-dropdown", { items: this.items, onClick: evt => { evt.stopPropagation(); }, onEzOutsideClick: () => { this.closeDropdown(); }, onEzClick: evt => { this.handleDropdownItemClick(evt); }, onEzSubActionClick: evt => { this.handleDropdownSubActionClick(evt); }, itemBuilder: this.itemBuilder }))))));
160
161
  }
161
162
  shouldShowLabelOnLeftButton() {
162
163
  return ['icon-left', 'default'].includes(this.mode);
@@ -1,9 +1,10 @@
1
- import { r as registerInstance, h, H as Host } from './index-5a720e56.js';
2
- import './ApplicationUtils-eaf91331.js';
1
+ import { r as registerInstance, h, H as Host } from './index-baa5e267.js';
2
+ import './ApplicationUtils-72f474e8.js';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
4
  import './DialogType-54a62731.js';
5
5
  import './CheckMode-bdb2ec19.js';
6
6
  import '@sankhyalabs/core';
7
+ import { i as initI18n } from './index-b623906e.js';
7
8
  import './FormLayout-071d324c.js';
8
9
 
9
10
  const ezSplitItemCss = ".box_split-item{background-color:var(--background--xlight);width:100%;height:100%;border-radius:var(--border--radius-medium);box-shadow:var(--shadow--xsmall);flex-direction:column;overflow:hidden;display:flex;padding:var(--space--nano)}.box_split-item>.ez-split-item--content{overflow:auto}.expanded__item{position:absolute;z-index:var(--more-visible);top:0;left:0;width:100%;height:100%}.ez-split-item--header{display:flex;align-items:center;justify-content:space-between}.ez-split-item--header-title{flex:1;white-space:nowrap;overflow:hidden}.ez-split-item--header-title h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.ez-split-item--header-buttons{display:flex;align-items:center;max-height:20px}.ez-split-item--content{display:block;height:100%}h3.ez-margin--small{margin-left:var(--space--small)}.structural__item{background:none;box-shadow:none;padding:0;margin:0;border:0}.content__item{margin:var(--space--extra-small);width:calc(100% - 2*(var(--space--extra-small)));height:calc(100% - 2*(var(--space--extra-small)))}";
@@ -25,11 +26,14 @@ const SplitItem = class {
25
26
  this._expanded = !this._expanded;
26
27
  (_b = (_a = this.expandButtonRef.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button')) === null || _b === void 0 ? void 0 : _b.blur();
27
28
  }
29
+ async componentWillLoad() {
30
+ this.i18n = await initI18n();
31
+ }
28
32
  componentDidLoad() {
29
33
  CSSVarsUtils.applyVarsGrid(this._element, this._slot.children[0]);
30
34
  }
31
35
  render() {
32
- return (h(Host, { class: `box_split-item ${this._expanded ? 'expanded__item' : ''} ${this.structural ? 'structural__item' : 'content__item'}`, ref: el => (this._element = el) }, h("div", { class: "ez-split-item--header" }, h("slot", { name: "leftButtons" }), h("div", { class: "ez-split-item--header-title" }, this.label && (h("h3", { class: "ez-text ez-text--primary ez-title ez-title--medium ez-margin--small", title: this.label }, this.label))), h("div", { class: "ez-split-item--header-buttons" }, h("slot", { name: "rightButtons" }), this.enableExpand && (h("ez-button", { ref: el => this.expandButtonRef = el, size: "small", mode: "icon", iconName: "expand", class: 'ez-button--tertiary', onClick: () => this.toggleExpandItem(), title: this._expanded ? 'Resumir' : 'Expandir' })))), h("div", { class: "ez-split-item--content grid_height-0", ref: el => (this._slot = el) }, h("slot", null))));
36
+ return (h(Host, { class: `box_split-item ${this._expanded ? 'expanded__item' : ''} ${this.structural ? 'structural__item' : 'content__item'}`, ref: el => (this._element = el) }, h("div", { class: "ez-split-item--header" }, h("slot", { name: "leftButtons" }), h("div", { class: "ez-split-item--header-title" }, this.label && (h("h3", { class: "ez-text ez-text--primary ez-title ez-title--medium ez-margin--small", title: this.label }, this.label))), h("div", { class: "ez-split-item--header-buttons" }, h("slot", { name: "rightButtons" }), this.enableExpand && (h("ez-button", { ref: el => this.expandButtonRef = el, size: "small", mode: "icon", iconName: "expand", class: 'ez-button--tertiary', onClick: () => this.toggleExpandItem(), title: this._expanded ? this.i18n('app.collapse') : this.i18n('app.expand') })))), h("div", { class: "ez-split-item--content grid_height-0", ref: el => (this._slot = el) }, h("slot", null))));
33
37
  }
34
38
  };
35
39
  SplitItem.style = ezSplitItemCss;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { StringUtils } from '@sankhyalabs/core';
3
3
 
4
4
  var numeric = function (value, unit) { return Number(value.slice(0, -1 * unit.length)); };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils, StringUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezTabselectorCss = "@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon: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>');--tabselector--forward-icon: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>')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.middle{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px, #000 calc(100% - 48px), transparent calc(100% - 20px))}.scroll.endHidden{-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 48px), transparent calc(100% - 20px))}.tab{display:flex;border:none;background-color:unset;min-width:100px;max-width:260px;cursor:pointer;padding:6px 12px;align-items:center;justify-content:center;color:var(--text--primary, #626e82);font-family:var(--font-pattern, \"Roboto\");font-size:var(--title--small, 14px);flex-shrink:0}.tab:focus,.forward-button,.backward-button{outline:none}.is-active{position:relative;color:var(--color--primary, #008561)}.is-active::after{content:\"\";position:absolute;width:100%;height:100%;background-color:var(--color--primary, #008561);clip-path:inset(calc(100% - 3px) 0px 0px 0px);animation:activate 0.25s ease-in-out}.is-focused{border:1px dashed var(--color--primary, #000000c5)}.tab-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:var(--text-shadow);margin-bottom:var(--space--extra-small, 3px)}.forward-button,.backward-button{position:absolute;z-index:1;display:flex;box-sizing:border-box;padding:0px;top:0px;right:0px;width:16px;height:100%;border:none;background-color:unset;cursor:pointer;justify-content:center;align-items:center}.backward-button{left:0px}.forward-button::after,.backward-button::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:10px;height:16px}.forward-button::after{-webkit-mask-image:var(--tabselector--forward-icon);mask-image:var(--tabselector--forward-icon)}.backward-button::after{-webkit-mask-image:var(--tabselector--backward-icon);mask-image:var(--tabselector--backward-icon)}.forward-button:hover::after,.backward-button:hover::after{background-color:var(--color--primary, #4e4e4e)}.hidden{display:none}.scroll::-webkit-scrollbar{display:none}.left-icon{padding-right:var(--space--small)}.right-icon{padding-left:var(--space--small)}";