@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,7 +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
 
4
- const ezTextAreaCss = ":host{--text-area--width:100%;--text-area--border-radius:var(--border--radius-medium, 12px);--text-area--font-size:var(--text--medium, 14px);--text-area--font-family:var(--font-pattern, Arial);--text-area--font-weight:var(--text-weight--medium, 400);--text-area--color:var(--title--primary, #2B3A54);--text-area__input--background-color:var(--background--light, #FFFFFF);--text-area__input--border:var(--border--medium, 2px solid);--text-area__input--border-color:var(--color--strokes,#DCE0E8);--text-area__input--focus--border-color:var(--color--primary, #008561);--text-area__input--disabled--background-color:var(--background--medium, #F0F3F7);--text-area__input--disabled--color:var(--text--primary, #626E82);--text-area__input--disabled--border--color:var(--color--strokes,#DCE0E8);--text-area__input--error--border-color:var(--color-alert--error-800,#BD0025);--text-area__message_box--font-size:var(--text--small, 12px);--text-area__message_box--info--color:var(--color--success, #22085d);--text-area__message_box--error--color:var(--color-alert--error-800,#BD0025);--text-area__label--floating--top:6px;--text-area__label--padding-top:12px;--text-area__label--padding-left:14px;--text-area__label--padding-right:12px;--text-area__scrollbar--color-default:var(--scrollbar--default, #626e82);--text-area__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--text-area__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--text-area__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--text-area__scrollbar--border-radius:var(--border--radius-small, 6px);--text-area__scrollbar--width:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--text-area--width)}textarea{box-sizing:border-box;border:none;resize:none;width:100%;padding:0;background:none;min-height:42px;font-weight:var(--text-area--font-weight);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);color:var(--text-area--color);margin-top:calc(var(--space--medium, 12px) + 4px);scrollbar-width:thin;scrollbar-color:var(--text-area__scrollbar--color-clicked) var(--text-area__scrollbar--color-background)}textarea:focus{outline:none}textarea:disabled{background-color:transparent;color:var(--text-area__input--disabled--color);border:var(--text-area__input--disabled--border);cursor:not-allowed}textarea::-webkit-scrollbar{background-color:var(--text-area__scrollbar--color-background);width:var(--text-area__scrollbar--width);max-width:var(--text-area__scrollbar--width);min-width:var(--text-area__scrollbar--width)}textarea::-webkit-scrollbar-thumb{background-color:var(--text-area__scrollbar--color-default);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-track{background-color:var(--text-area__scrollbar--color-background);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-thumb:vertical:hover,textarea::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--text-area__scrollbar--color-hover)}textarea::-webkit-scrollbar-thumb:vertical:active,textarea::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--text-area__scrollbar--color-clicked)}.textarea{width:100%;min-height:42px;max-width:100%;box-sizing:border-box;padding-left:var(--space--medium);padding-right:var(--space--extra-small);border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--border-color);background-color:var(--text-area__input--background-color)}.textarea--disabled{border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--disabled--border--color);background-color:var(--text-area__input--disabled--background-color);cursor:not-allowed}.textarea--resizable{resize:vertical}.textarea--focus{border-color:var(--text-area__input--focus--border-color)}.textarea.hasError{color:var(--text-area--color);border-color:var(--text-area__input--error--border-color)}.message-box{min-height:16px;min-width:100%;margin-top:3px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-area--font-family);font-size:var(--text-area__message_box--font-size);color:var(--text-area__message_box--info--color)}.hasError{color:var(--text-area__message_box--error--color)}.textarea__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--text-area__label--padding-right));left:var(--text-area--space--medium);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color);top:var(--text-area__label--padding-top);left:var(--text-area__label--padding-left);padding-right:var(--text-area__label--padding-right)}.textarea__label--floated{font-family:var(--text-area--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-area__label--floating--top)}.textarea__label--disabled{color:var(--text-area__input--disabled--color);cursor:not-allowed}.textarea--slim{margin-top:var(--space--small, 6px)}.textarea--slim::-webkit-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-ms-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:disabled::-webkit-input-placeholder,.textarea--slim:disabled:-moz-placeholder,.textarea--slim:disabled::-moz-placeholder,.textarea--slim:disabled:-ms-input-placeholder,.textarea--slim:disabled::placeholder{color:var(--text-area__input--disabled--color);cursor:not-allowed}";
4
+ const ezTextAreaCss = ":host{--text-area--width:100%;--text-area--border-radius:var(--border--radius-medium, 12px);--text-area--font-size:var(--text--medium, 14px);--text-area--font-family:var(--font-pattern, Arial);--text-area--font-weight:var(--text-weight--medium, 400);--text-area--color:var(--title--primary, #2B3A54);--text-area__input--background-color:var(--background--light, #FFFFFF);--text-area__input--border:var(--border--medium, 2px solid);--text-area__input--border-color:var(--color--strokes, #DCE0E8);--text-area__input--focus--border-color:var(--color--primary, #008561);--text-area__input--disabled--background-color:var(--background--medium, #F0F3F7);--text-area__input--disabled--color:var(--text--primary, #626E82);--text-area__input--disabled--border--color:var(--color--strokes, #DCE0E8);--text-area__input--error--border-color:var(--color-alert--error-800, #BD0025);--text-area__message_box--font-size:var(--text--small, 12px);--text-area__message_box--info--color:var(--color--success, #22085d);--text-area__message_box--error--color:var(--color-alert--error-800, #BD0025);--text-area__label--floating--top:6px;--text-area__label--padding-top:12px;--text-area__label--padding-left:14px;--text-area__label--padding-right:12px;--text-area__scrollbar--color-default:var(--scrollbar--default, #626e82);--text-area__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--text-area__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--text-area__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--text-area__scrollbar--border-radius:var(--border--radius-small, 6px);--text-area__scrollbar--width:var(--space--small, 6px);--ez-text-area__tooltip-icon--spacing:var(--space--large);--ez-text-area__tooltip-icon---width:var(--space--large);--ez-text-area__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-area__tooltip-icon---vertical-margin:10px;--ez-text-area__tooltip_icon--error--color:var(--color-alert--error-800, #BD0025);display:flex;flex-wrap:wrap;position:relative;width:var(--text-area--width)}textarea{display:flex;flex-direction:column;height:calc(100% - 16px);box-sizing:border-box;border:none;resize:none;width:100%;padding:0;background:none;min-height:42px;font-weight:var(--text-area--font-weight);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);color:var(--text-area--color);margin-top:calc(var(--space--medium, 12px) + 4px);scrollbar-width:thin;scrollbar-color:var(--text-area__scrollbar--color-clicked) var(--text-area__scrollbar--color-background)}textarea:focus{outline:none}textarea:disabled{background-color:transparent;color:var(--text-area__input--disabled--color);border:var(--text-area__input--disabled--border);cursor:not-allowed}textarea::-webkit-scrollbar{background-color:var(--text-area__scrollbar--color-background);width:var(--text-area__scrollbar--width);max-width:var(--text-area__scrollbar--width);min-width:var(--text-area__scrollbar--width)}textarea::-webkit-scrollbar-thumb{background-color:var(--text-area__scrollbar--color-default);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-track{background-color:var(--text-area__scrollbar--color-background);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-thumb:vertical:hover,textarea::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--text-area__scrollbar--color-hover)}textarea::-webkit-scrollbar-thumb:vertical:active,textarea::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--text-area__scrollbar--color-clicked)}.textarea{width:100%;min-height:42px;max-width:100%;box-sizing:border-box;padding-left:var(--space--medium);padding-right:var(--space--extra-small);border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--border-color);background-color:var(--text-area__input--background-color)}.textarea--disabled{border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--disabled--border--color);background-color:var(--text-area__input--disabled--background-color);cursor:not-allowed}.textarea--focus{border-color:var(--text-area__input--focus--border-color)}.textarea.hasError{color:var(--text-area--color);border-color:var(--text-area__input--error--border-color)}.message-box{min-height:16px;min-width:100%;margin-top:3px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-area--font-family);font-size:var(--text-area__message_box--font-size);color:var(--text-area__message_box--info--color)}.hasError{color:var(--text-area__message_box--error--color)}.textarea__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--text-area__label--padding-right));left:var(--text-area--space--medium);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color);top:var(--text-area__label--padding-top);left:var(--text-area__label--padding-left);padding-right:var(--text-area__label--padding-right)}.textarea__label--floated{font-family:var(--text-area--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-area__label--floating--top)}.textarea__label--disabled{color:var(--text-area__input--disabled--color);cursor:not-allowed}.textarea--slim{margin-top:var(--space--small, 6px)}.textarea--slim::-webkit-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-ms-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:disabled::-webkit-input-placeholder,.textarea--slim:disabled:-moz-placeholder,.textarea--slim:disabled::-moz-placeholder,.textarea--slim:disabled:-ms-input-placeholder,.textarea--slim:disabled::placeholder{color:var(--text-area__input--disabled--color);cursor:not-allowed}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-area__tooltip_icon--error--color)}.input-container{display:flex;align-items:center}.textarea--resizable{resize:vertical;overflow:auto;min-height:42px}";
5
5
 
6
6
  const EzTextArea = class {
7
7
  constructor(hostRef) {
@@ -15,7 +15,7 @@ const EzTextArea = class {
15
15
  this.errorMessage = undefined;
16
16
  this.rows = 4;
17
17
  this.canShowError = true;
18
- this.mode = "regular";
18
+ this.mode = 'regular';
19
19
  this.enableResize = true;
20
20
  this.autoRows = false;
21
21
  this.autoFocus = false;
@@ -38,10 +38,10 @@ const EzTextArea = class {
38
38
  if (this._inputElem) {
39
39
  if (newValue != oldValue) {
40
40
  if (this.canChangeValue()) {
41
- this._inputElem.value = this.value || "";
41
+ this._inputElem.value = this.value || '';
42
42
  }
43
43
  this.adjustFloatingLabel();
44
- this.errorMessage = "";
44
+ this.errorMessage = '';
45
45
  this.ezChange.emit(this.value);
46
46
  }
47
47
  }
@@ -50,13 +50,13 @@ const EzTextArea = class {
50
50
  if (this._initialRows == undefined) {
51
51
  this._initialRows = this.rows > 0 ? this.rows : undefined;
52
52
  }
53
- const rows = this._initialRows > 0 ? this._initialRows : this.mode != "slim" ? 4 : 2;
53
+ const rows = this._initialRows > 0 ? this._initialRows : this.mode != 'slim' ? 4 : 2;
54
54
  if (rows !== this.rows) {
55
55
  this.rows = rows;
56
56
  }
57
57
  }
58
58
  observeRows() {
59
- const rows = this.rows > 0 ? this.rows : this.mode != "slim" ? 4 : 2;
59
+ const rows = this.rows > 0 ? this.rows : this.mode != 'slim' ? 4 : 2;
60
60
  if (rows !== this.rows) {
61
61
  this.updateRows(rows);
62
62
  }
@@ -89,8 +89,8 @@ const EzTextArea = class {
89
89
  var _a, _b, _c, _d;
90
90
  const selectionStart = this._inputElem.selectionStart;
91
91
  const selectionEnd = this._inputElem.selectionEnd;
92
- const textStart = (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.substring(0, selectionStart)) !== null && _b !== void 0 ? _b : "";
93
- const textEnd = (_d = (_c = this.value) === null || _c === void 0 ? void 0 : _c.substring(selectionEnd)) !== null && _d !== void 0 ? _d : "";
92
+ const textStart = (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.substring(0, selectionStart)) !== null && _b !== void 0 ? _b : '';
93
+ const textEnd = (_d = (_c = this.value) === null || _c === void 0 ? void 0 : _c.substring(selectionEnd)) !== null && _d !== void 0 ? _d : '';
94
94
  this.value = `${textStart}${text}${textEnd}`;
95
95
  const newSelectionEnd = selectionStart + text.length;
96
96
  const start = (selectionStart === selectionEnd) ? newSelectionEnd : selectionStart;
@@ -113,28 +113,28 @@ const EzTextArea = class {
113
113
  * Retorna se o conteúdo é inválido.
114
114
  */
115
115
  async isInvalid() {
116
- return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
116
+ return typeof this.errorMessage === 'string' && this.errorMessage.trim() !== '';
117
117
  }
118
118
  //---------------------------------------------
119
119
  // Private methods
120
120
  //---------------------------------------------
121
121
  canChangeValue() {
122
- return this._inputElem && (this.value || "") !== this._inputElem.value;
122
+ return this._inputElem && (this.value || '') !== this._inputElem.value;
123
123
  }
124
124
  adjustFloatingLabel() {
125
125
  if (this.forceLabelFloat)
126
126
  return;
127
127
  if (this.label && this._labelElem) {
128
128
  const hasValue = this.value && this.value.toString().length > 0;
129
- const containsFloatedClass = this._labelElem.classList.contains("textarea__label--floated");
129
+ const containsFloatedClass = this._labelElem.classList.contains('textarea__label--floated');
130
130
  if (hasValue || this.isFocused()) {
131
131
  if (!containsFloatedClass) {
132
- this._labelElem.classList.add("textarea__label--floated");
132
+ this._labelElem.classList.add('textarea__label--floated');
133
133
  }
134
134
  }
135
135
  else {
136
136
  if (containsFloatedClass) {
137
- this._labelElem.classList.remove("textarea__label--floated");
137
+ this._labelElem.classList.remove('textarea__label--floated');
138
138
  }
139
139
  }
140
140
  }
@@ -183,8 +183,8 @@ const EzTextArea = class {
183
183
  //---------------------------------------------
184
184
  handleFocusout() {
185
185
  this.adjustFloatingLabel();
186
- if (this._container && this._container.classList.contains("textarea--focus")) {
187
- this._container.classList.remove("textarea--focus");
186
+ if (this._container && this._container.classList.contains('textarea--focus')) {
187
+ this._container.classList.remove('textarea--focus');
188
188
  }
189
189
  }
190
190
  handleChange() {
@@ -193,11 +193,11 @@ const EzTextArea = class {
193
193
  }
194
194
  }
195
195
  handleFocus() {
196
- if (this.label && this._labelElem && !this._labelElem.classList.contains("textarea__label--floated")) {
197
- this._labelElem.classList.add("textarea__label--floated");
196
+ if (this.label && this._labelElem && !this._labelElem.classList.contains('textarea__label--floated')) {
197
+ this._labelElem.classList.add('textarea__label--floated');
198
198
  }
199
- if (this._container && !this._container.classList.contains("textarea--focus")) {
200
- this._container.classList.add("textarea--focus");
199
+ if (this._container && !this._container.classList.contains('textarea--focus')) {
200
+ this._container.classList.add('textarea--focus');
201
201
  }
202
202
  }
203
203
  connectedCallback() {
@@ -210,7 +210,7 @@ const EzTextArea = class {
210
210
  buildPlaceholder() {
211
211
  if (this.alternativePlaceholder)
212
212
  return this.alternativePlaceholder;
213
- return (this.mode === "slim" && this.label) ? this.label : '';
213
+ return (this.mode === 'slim' && this.label) ? this.label : '';
214
214
  }
215
215
  buildLabelClass() {
216
216
  let classList = this.enabled ? 'textarea__label' : 'textarea__label textarea__label--disabled';
@@ -220,6 +220,19 @@ const EzTextArea = class {
220
220
  classList = classList + ' textarea__label--floated';
221
221
  return classList;
222
222
  }
223
+ renderErrorTooltip() {
224
+ if (!this.canShowError || this.mode == 'slim' || !this.errorMessage)
225
+ return;
226
+ return (h("div", { class: "tooltip-container" }, h("ez-tooltip", { type: "error", message: this.errorMessage }, h("ez-icon", { class: `tooltip-icon ${this.errorMessage ? 'hasError' : ''}`, "data-element-id": ElementIDUtils.getInternalIDInfo('tooltip-icon'), iconName: "alert-circle" }))));
227
+ }
228
+ renderLabel() {
229
+ if (!this.label || this.mode == 'slim')
230
+ return null;
231
+ return h("label", { ref: (el) => this._labelElem = el, class: this.buildLabelClass(), onClick: () => this._inputElem.focus(), title: this.label }, this.label);
232
+ }
233
+ renderTextArea() {
234
+ return h("textarea", { onFocus: () => this.handleFocus(), "data-element-id": ElementIDUtils.getInternalIDInfo('input'), ref: (el) => this._inputElem = el, value: this.value, disabled: !this.enabled, class: { 'textarea--slim': this.mode === 'slim' }, placeholder: this.buildPlaceholder(), onInput: () => this.handleChange(), onFocusout: () => this.handleFocusout(), rows: this.rows });
235
+ }
223
236
  //---------------------------------------------
224
237
  // Lifecycle web component
225
238
  //---------------------------------------------
@@ -235,13 +248,7 @@ const EzTextArea = class {
235
248
  }
236
249
  render() {
237
250
  ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
238
- return (h(Host, null, h("div", { class: `textarea ${this.enabled ? "" : "textarea--disabled"}`, ref: (el) => this._container = el }, this.label && this.mode != "slim" ?
239
- h("label", { ref: (el) => this._labelElem = el, class: this.buildLabelClass(), onClick: () => this._inputElem.focus(), title: this.label }, this.label)
240
- : null, h("textarea", { onFocus: () => this.handleFocus(), "data-element-id": ElementIDUtils.getInternalIDInfo("input"), ref: (el) => this._inputElem = el, value: this.value, disabled: !this.enabled, class: {
241
- "textarea--slim": this.mode === "slim",
242
- "textarea--resizable": this.enableResize
243
- }, placeholder: this.buildPlaceholder(), onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, rows: this.rows })), this.canShowError && this.mode != "slim" &&
244
- h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el, title: this.errorMessage }, this.errorMessage)));
251
+ return (h(Host, null, h("div", { class: `textarea ${this.enabled ? '' : 'textarea--disabled'}`, ref: (el) => this._container = el }, this.renderLabel(), h("div", { class: `input-container ${this.enableResize ? 'textarea--resizable' : ""}` }, this.renderTextArea(), this.renderErrorTooltip()))));
245
252
  }
246
253
  get _hostElement() { return getElement(this); }
247
254
  static get watchers() { return {
@@ -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 { MaskFormatter, ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezTextInputCss = ":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:30px;--ez-text-input--height--slim:32px;--ez-text-input__min-width:0px;--ez-text-input__max-width:100%;--ez-text-input--border-radius:var(--border--radius-medium, 12px);--ez-text-input--border-top-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-top-right-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-right-radius:var(--ez-text-input--border-radius);--ez-text-input--font-size:var(--text--medium, 14px);--ez-text-input--font-family:var(--font-pattern, Arial);--ez-text-input--font-weight:var(--text-weight--medium, 400);--ez-text-input--color:var(--title--primary, #2B3A54);--ez-text-input__margin-bottom:var(--space--small);--ez-text-input__input--background-color:var(--background--light, #ffffff);--ez-text-input__input--border:var(--border--small, 1px solid);--ez-text-input__input--border-color:var(--color--strokes,#DCE0E8);--ez-text-input__input--focus--border-color:var(--color--primary, #008561);--ez-text-input__input--disabled--background-color:var(--background--medium, #F0F3F7);--ez-text-input__input--disabled--color:var(--text--primary, #626E82);--ez-text-input__input--error--border-color:var(--color-alert--error-800,#BD0025);--ez-text-input__input--noborder-color:white;--ez-text-input__input--padding:var(--space--medium, 6px);--ez-text-input__placeholder--color:var(--text--secondary, #a2abb9);--ez-text-input__tooltip_icon--error--color:var(--color-alert--error-800,#BD0025);--ez-text-input__label--floating--top:6px;--ez-text-input__label--padding-top:12px;--ez-text-input__label--padding-left:14px;--ez-text-input__label--padding-right:12px;--ez-text-input__input--focus--icon-color:var(--title--primary, #2B3A54);--ez-text-input__input--disabled--focus--icon-color:var(--text--primary, #626E82);--ez-text-input__tooltip-icon--spacing:var(--space--large);--ez-text-input__tooltip-icon---width:var(--space--large);--ez-text-input__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-input__tooltip-icon---vertical-margin:10px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-text-input--width);min-width:var(--ez-text-input__min-width);max-width:var(--ez-text-input__max-width)}:host(.grid_editor){--ez-text-input--height--slim:25px}input{width:100%;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:var(--ez-text-input--height);border-top-left-radius:var(--ez-text-input--border-top-left-radius);border-bottom-left-radius:var(--ez-text-input--border-bottom-left-radius);border-top-right-radius:var(--ez-text-input--border-top-right-radius);border-bottom-right-radius:var(--ez-text-input--border-bottom-right-radius);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);border:var(--ez-text-input__input--border);border-color:var(--ez-text-input__input--border-color);background-color:var(--ez-text-input__input--background-color);color:var(--ez-text-input--color);font-weight:var(--ez-text-input--font-weight);padding:var(--ez-text-input__input--padding);margin-bottom:var(--ez-text-input__margin-bottom)}input.no--margin{--ez-text-input__margin-bottom:0}input:disabled{background-color:var(--ez-text-input__input--disabled--background-color);color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}input:focus{outline:none;border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.focused{border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.icon--left{padding-left:var(--ez-text-input__icon--width)}input.icon--left.hasError{padding-right:var(--ez-text-input__icon--width)}input.icon--right{padding-right:var(--ez-text-input__icon--width)}input.icon--right.hasError{padding-right:calc(var(--ez-text-input__icon--width) + var(--ez-text-input__tooltip-icon--spacing))}input.hasError{color:var(--ez-text-input--color);border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--error--border-color);padding-right:calc(var(--ez-text-input__tooltip-icon---width) + (2*var(--ez-text-input__tooltip-icon---horizontal-margin)))}input:disabled.hasError{color:var(--ez-text-input__input--disabled--color)}input.text--right{text-align:right}input:disabled,input:read-only{cursor:not-allowed}.hasError{color:var(--ez-text-input__tooltip_icon--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--ez-text-input__label--padding-right));left:var(--ez-text-input--space--medium);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input--color);top:var(--ez-text-input__label--padding-top);left:var(--ez-text-input__label--padding-left);padding-right:var(--ez-text-input__label--padding-right)}.input__label.hasError{width:calc(100% - 2*(var(--ez-text-input__tooltip-icon--spacing)))}.input__label--floated{font-family:var(--ez-text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-text-input__label--floating--top)}.input__label--disabled{color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}.input__label--left{text-align:left;left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--left.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--right{right:var(--ez-text-input__icon--width);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--right.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--left.input__label--right{left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}.input--slim{padding-top:var(--space--small, 3px);padding-bottom:var(--space--small, 3px);height:var(--ez-text-input--height--slim)}.input__slim--title{font-size:16px;font-weight:bold}.input--slim::-webkit-input-placeholder,.input--slim:-moz-placeholder,.input--slim::-moz-placeholder,.input--slim:-ms-input-placeholder,.input--slim::placeholder{font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input__placeholder--color)}.input--slim:disabled::-webkit-input-placeholder,.input--slim:disabled:-moz-placeholder,.input--slim:disabled::-moz-placeholder,.input--slim:disabled:-ms-input-placeholder,.input--slim:disabled::placeholder{color:var(--ez-text-input__input--disabled--color)}input.input__slim--noborder{box-shadow:0 0 0 0;border:0 none;outline:0;background:var(--ez-text-input__input--noborder-color)}ez-icon.tooltip-icon{position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden;width:var(--ez-text-input__tooltip-icon---width);height:22px;margin:var(--ez-text-input__tooltip-icon---vertical-margin) var(--ez-text-input__tooltip-icon---horizontal-margin);top:0;right:0;z-index:var(--elevation--4);border-radius:var(--ez-text-input--border-radius)}ez-icon.tooltip-icon.rightIconSlot{right:var(--ez-text-input__tooltip-icon--spacing)}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-input__tooltip_icon--error--color)}";
@@ -177,7 +177,7 @@ const EzTextInput = class {
177
177
  }
178
178
  controlChangeValue() {
179
179
  if (this._inputElem && (this.value || '') !== this._inputElem.value) {
180
- if (this.cleanValueMask) {
180
+ if (this.cleanValueMask && this._maskFormatter) {
181
181
  this.value = this._maskFormatter.removeMask(this._inputElem.value);
182
182
  }
183
183
  else {
@@ -292,6 +292,7 @@ const EzTextInput = class {
292
292
  //---------------------------------------------
293
293
  componentWillLoad() {
294
294
  this.observeMask();
295
+ this.forceLabelFloat = !!this.alternativePlaceholder;
295
296
  if (this.value) {
296
297
  if (this._maskFormatter) {
297
298
  try {
@@ -0,0 +1,58 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
+ import { ElementIDUtils } from '@sankhyalabs/core';
3
+
4
+ const ezTileCss = ":host{--ez-tile--width:120px;--ez-tile--height:80px;--ez-tile--padding:var(--space--12, 12px);--ez-tile--icon--margin-bottom:var(--space--8);--ez-tile--border-radius:var(--border--radius-16, 16px);--ez-tile--background-color:var(--color--gray-70, #ffffff);--ez-tile--color:var(--color--ocean-green-900, #003D2D);--ez-tile--icon-color:var(--color--ocean-green-400, #42A58A);--ez-tile--hover-background-color:var(--color--gray-80, #F9F9F9);--ez-tile--hover-color:var(--color--ocean-green-900, #003D2D);--ez-tile--hover-icon-color:var(--color--ocean-green-400, #42A58A);--ez-tile--focus-visible-border:2px solid var(--color--petroleum-400, #626D80);--ez-tile--font-family:var(--font-pattern, Arial);--ez-tile--font-weight:var(--font-weight--regular, 400);--ez-tile--font-size:var(--font-size--default, 14px);--ez-tile--title-line-height:var(--line-height--20, 20px);--ez-tile--icon-line-height:var(--line-height--24, 24px)}button{display:flex;flex-wrap:wrap;align-content:space-between;overflow:hidden;outline:none;box-shadow:none;width:var(--ez-tile--custom-width, var(--ez-tile--width));height:var(--ez-tile--custom-height, var(--ez-tile--height));border-radius:var(--ez-tile--border-radius);background-color:var(--ez-tile--background-color);color:var(--ez-tile--color);box-sizing:border-box;padding:var(--ez-tile--padding);border:2px solid var(--ez-tile--background-color)}button:focus-visible{border:var(--ez-tile--focus-visible-border)}.medium{--ez-tile--width:var(--ez-tile--custom-width, 120px);--ez-tile--height:var(--ez-tile--custom-height, 170px)}.isInteractive:hover,.isInteractive:focus{--ez-icon--color:var(--ez-tile--hover-icon-color);--ez-tile--background-color:var(--ez-tile--hover-background-color);--ez-tile--color:var(--ez-tile--hover-color);cursor:pointer}span{-webkit-line-clamp:var(--ez-tile--custom-maximum-lines, 1);line-clamp:var(--ez-tile--custom-maximum-lines,1);font-family:var(--ez-tile--font-family);font-weight:var(--ez-tile--font-weight);font-size:var(--ez-tile--font-size);line-height:var(--ez-tile--title-line-height);display:-webkit-box;-webkit-box-orient:vertical;width:100%;overflow:hidden;text-overflow:ellipsis;text-align:left;white-space:pre-wrap}ez-icon{--ez-icon--color:var(--ez-tile--icon-color);margin-bottom:var(--ez-tile--icon--margin-bottom);line-height:var(--ez-tile--icon-line-height)}.isInteractive:hover,.isInteractive:focus{outline:none}.green{--ez-tile--background-color:var(--color--ocean-green-90);--ez-tile--icon-color:var(--color--ocean-green-500)}.isInteractive.green:hover,.isInteractive.green:focus{--ez-tile--hover-background-color:var(--color--ocean-green-100);--ez-tile--icon-color:var(--color--ocean-green-500);outline:none}.gray{--ez-tile--background-color:var(--color--gray-80);--ez-tile--icon-color:var(--color--ocean-green-400)}.isInteractive.gray:hover,.isInteractive.gray:focus{--ez-tile--hover-background-color:var(--color--gray-90);--ez-tile--hover-icon-color:var(--color--ocean-green-400)}.red{--ez-tile--background-color:var(--color--red-100);--ez-tile--icon-color:var(--color--red-300)}.isInteractive.red:hover,.isInteractive.red:focus{--ez-tile--hover-background-color:var(--color--red-200);--ez-tile--hover-icon-color:var(--color--red-300)}.yellow{--ez-tile--background-color:var(--color--yellow-100);--ez-tile--icon-color:var(--color--yellow-400)}.isInteractive.yellow:hover,.isInteractive.yellow:focus{--ez-tile--hover-background-color:var(--color--yellow-200);--ez-tile--hover-icon-color:var(--color--yellow-400)}";
5
+
6
+ const EzTile = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.tileClick = createEvent(this, "tileClick", 7);
10
+ this.text = undefined;
11
+ this.size = "small";
12
+ this.height = undefined;
13
+ this.width = undefined;
14
+ this.color = "default";
15
+ this.iconName = "home";
16
+ this.maximumLines = undefined;
17
+ this.isInteractive = false;
18
+ }
19
+ /**
20
+ * Aplica o foco no componente.
21
+ */
22
+ async setFocus() {
23
+ this._container.focus();
24
+ }
25
+ /**
26
+ * Remove o foco do componente.
27
+ */
28
+ async setBlur() {
29
+ this._container.blur();
30
+ }
31
+ clickListener(evt) {
32
+ if (!this.isInteractive) {
33
+ evt.stopImmediatePropagation();
34
+ }
35
+ }
36
+ handleClick() {
37
+ if (this.isInteractive) {
38
+ this.tileClick.emit();
39
+ }
40
+ }
41
+ componentDidRender() {
42
+ if (this._element) {
43
+ ElementIDUtils.addIDInfo(this._element);
44
+ }
45
+ if (this._container) {
46
+ const dataInfo = { id: 'embedded' };
47
+ ElementIDUtils.addIDInfo(this._container, 'tile-button', dataInfo);
48
+ }
49
+ }
50
+ render() {
51
+ const customStyleVars = Object.assign(Object.assign(Object.assign({}, (this.height ? { '--ez-tile--custom-height': `${this.height}px` } : {})), (this.width ? { '--ez-tile--custom-width': `${this.width}px` } : {})), (this.maximumLines ? { '--ez-tile--custom-maximum-lines': `${this.maximumLines}` } : {}));
52
+ return (h(Host, { style: customStyleVars }, h("button", { ref: element => this._container = element, class: `${this.color} ${this.size} ${this.isInteractive ? "isInteractive" : ""}`, onClick: () => this.handleClick() }, h("ez-icon", { class: "icon", iconName: this.iconName, size: "large" }), h("span", { title: this.text }, this.text))));
53
+ }
54
+ get _element() { return getElement(this); }
55
+ };
56
+ EzTile.style = ezTileCss;
57
+
58
+ export { EzTile as ez_tile };
@@ -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 { TimeFormatter, MaskFormatter, NumberUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
+ import { i as initI18n } from './index-b623906e.js';
4
5
 
5
6
  const ezTimeInputCss = ":host{display:flex;flex-wrap:wrap;position:relative;width:100%}.time__input{height:100%}";
6
7
 
@@ -48,7 +49,7 @@ const EzTimeInput = class {
48
49
  this._viewValue = newValueValidated == undefined ? "" : newValueValidated.toString();
49
50
  this.prepareValue(this._viewValue);
50
51
  if (this._viewValue && !TimeFormatter.validateTime(this._viewValue, this.showSeconds)) {
51
- this.setError("Favor inserir um horário válido.");
52
+ this.setError(this.i18n("ez-time-input.invalidTime"));
52
53
  newValueValidated = undefined;
53
54
  }
54
55
  else {
@@ -137,15 +138,8 @@ const EzTimeInput = class {
137
138
  //---------------------------------------------
138
139
  // Lifecycle web component
139
140
  //---------------------------------------------
140
- componentDidLoad() {
141
- CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
142
- if (this.autoFocus) {
143
- requestAnimationFrame(() => {
144
- this.setFocus({ selectText: true });
145
- });
146
- }
147
- }
148
- componentWillLoad() {
141
+ async componentWillLoad() {
142
+ this.i18n = await initI18n();
149
143
  this.observeShowSeconds();
150
144
  if (this.value) {
151
145
  this.prepareValue(this.value.toString());
@@ -154,6 +148,14 @@ const EzTimeInput = class {
154
148
  this.prepareValue(this._viewValue);
155
149
  }
156
150
  }
151
+ componentDidLoad() {
152
+ CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
153
+ if (this.autoFocus) {
154
+ requestAnimationFrame(() => {
155
+ this.setFocus({ selectText: true });
156
+ });
157
+ }
158
+ }
157
159
  render() {
158
160
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
159
161
  return (h(Host, null, h("ez-text-input", { class: "time__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: (el) => this._textInput = el, "data-slave-mode": "true", value: this._viewValue, enabled: this.enabled, label: this.label, restrict: "0123456789:", onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, alternativePlaceholder: this.alternativePlaceholder }, h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezToastCss = ":host{--ez-toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--ez-toast__container--z-index:var(--elevation--100, 100);--ez-toast__container--background-color:var(--color--secondary, #383c45);--ez-toast__container--left:var(--space--large, 24px);--ez-toast__container--bottom:var(--space--large, 24px);--ez-toast__container--width:400px;--ez-toast__icon--padding-left:var(--space--small, 6px)}.toast__container{position:fixed;display:flex;box-sizing:border-box;border-radius:6px;align-items:center;padding:12px;visibility:hidden;width:var(--ez-toast__container--width);left:var(--ez-toast__container--left);bottom:var(--ez-toast__container--bottom);z-index:var(--ez-toast__container--z-index);background-color:var(--ez-toast__container--background-color)}.message__container{text-shadow:0 0 0 #353535, 0 0 1px transparent;color:#FFFFFF;font-size:14px;width:90%;overflow:hidden;hyphens:auto;height:auto;-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;text-overflow:ellipsis;font-family:var(--font-pattern, \"Roboto\")}.message__container--icon{width:80%;padding-left:var(--ez-toast__icon--padding-left)}.btn-close{margin-top:3px;display:flex;justify-content:flex-end;align-self:flex-start;padding:0;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:#FFFFFF;width:12px;height:12px;-webkit-mask-image:var(--ez-toast__btn__close__image);mask-image:var(--ez-toast__btn__close__image)}.toast__container--opened{animation:fadein 0.5s, fadeout 0.5s 3s;visibility:visible}@-webkit-keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@-webkit-keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}@keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}";
@@ -1,127 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-5a720e56.js';
2
- import { ElementIDUtils } from '@sankhyalabs/core';
3
- import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
4
2
  import { c as computePosition, o as offset, f as flip, s as shift, a as arrow } from './floating-ui.dom.esm-5d3da819.js';
5
-
6
- const ezFilterInputCss = ":host{display:block;width:100%}";
7
-
8
- const EzFilterInput = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.ezChange = createEvent(this, "ezChange", 7);
12
- this.ezSearching = createEvent(this, "ezSearching", 7);
13
- this.ezFocusIn = createEvent(this, "ezFocusIn", 7);
14
- this._searchingText = "";
15
- this.handleFocus = () => {
16
- if (this._searchingText === "") {
17
- this._textInput.value = "";
18
- }
19
- else {
20
- this._textInput.value = this._searchingText;
21
- }
22
- this.ezFocusIn.emit();
23
- };
24
- this.label = undefined;
25
- this.value = undefined;
26
- this.enabled = true;
27
- this.errorMessage = undefined;
28
- this.restrict = undefined;
29
- this.mode = "regular";
30
- this.asyncSearch = false;
31
- this.canShowError = true;
32
- this.autoFocus = false;
33
- }
34
- observeLabel() {
35
- if (this._textInput) {
36
- this._textInput.label = this.label;
37
- }
38
- }
39
- observeErrorMessage() {
40
- if (this._textInput) {
41
- this._textInput.errorMessage = this.errorMessage;
42
- }
43
- }
44
- observeValue(newValue, oldValue) {
45
- if (this._textInput && newValue != oldValue) {
46
- this._textInput.value = newValue;
47
- this.ezChange.emit(newValue);
48
- }
49
- }
50
- /**
51
- * Aplica o foco no campo.
52
- */
53
- async setFocus(options) {
54
- this._textInput.setFocus(options);
55
- }
56
- /**
57
- * Remove o foco do campo.
58
- */
59
- async setBlur() {
60
- this._textInput.setBlur();
61
- }
62
- /**
63
- * Retorna se o conteúdo é inválido.
64
- */
65
- async isInvalid() {
66
- return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
67
- }
68
- /**
69
- * Método responsável por setar um novo valor ao campo.
70
- */
71
- async setValue(newValue) {
72
- if (!this.asyncSearch || this._textInput == undefined) {
73
- return;
74
- }
75
- if (newValue !== this.value) {
76
- this.value = newValue;
77
- this._searchingText = "";
78
- }
79
- else {
80
- this._textInput.value = newValue;
81
- }
82
- }
83
- /**
84
- * Método responsável por resetar o valor do campo para o ultimo valor inputado.
85
- */
86
- async endSearch() {
87
- if (!this.asyncSearch || this._textInput == undefined) {
88
- return;
89
- }
90
- if (this._textInput.value !== this.value) {
91
- this._textInput.value = this.value;
92
- }
93
- }
94
- handleChange(evt) {
95
- const newValue = evt.detail;
96
- this.errorMessage = "";
97
- if (this.asyncSearch) {
98
- this._searchingText = newValue;
99
- this.ezSearching.emit(newValue);
100
- }
101
- else if (newValue !== this.value) {
102
- this.value = newValue;
103
- }
104
- }
105
- componentDidLoad() {
106
- CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
107
- if (this.autoFocus) {
108
- requestAnimationFrame(() => {
109
- this.setFocus({ selectText: true });
110
- });
111
- }
112
- }
113
- render() {
114
- ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
115
- return (h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, label: this.label, onEzChange: evt => this.handleChange(evt), value: this.value, enabled: this.enabled, errorMessage: this.errorMessage, restrict: this.restrict, mode: this.mode, onFocusin: this.handleFocus, canShowError: this.canShowError }, h("ez-icon", { slot: "leftIcon", iconName: "search" })));
116
- }
117
- get _elem() { return getElement(this); }
118
- static get watchers() { return {
119
- "label": ["observeLabel"],
120
- "errorMessage": ["observeErrorMessage"],
121
- "value": ["observeValue"]
122
- }; }
123
- };
124
- EzFilterInput.style = ezFilterInputCss;
3
+ import { ElementIDUtils } from '@sankhyalabs/core';
125
4
 
126
5
  const ezTooltipCss = ":host{--triangle-size:8px;width:100%}.tooltip{position:absolute;z-index:var(--elevation--24);padding:var(--space--extra-small, 3px) var(--space--small, 6px);border-radius:var(--border--radius-small);box-sizing:border-box;font-family:var(--font-pattern\t, 'Roboto', sans-serif);font-size:var(--text--small, 12px);font-weight:var(--text-weight--medium, 400);text-align:center;width:max-content;display:none}.arrow{position:absolute;width:var(--triangle-size);height:var(--triangle-size);transform:rotate(45deg)}.default-tooltip{background:var(--title--primary, #2b3a54);color:var(--color--inverted)}.default-tooltip .arrow{background:var(--title--primary, #2b3a54)}.error-tooltip{background:var(--color-alert--error-800, #BD0025);color:var(--color--error-200, #F7E0E5)}.error-tooltip .arrow{background:var(--color-alert--error-800, #BD0025)}.success-tooltip{background:var(--color--success, #00cb94);color:var(--color--success-200, #EBFFFA)}.success-tooltip .arrow{background:var(--color--success, #00cb94)}.warning-tooltip{background:var(--color--warning, #f2d410);color:var(--color--warning-200, #FDF8D8)}.warning-tooltip .arrow{background:var(--color--warning, #f2d410)}";
127
6
 
@@ -249,4 +128,4 @@ const EzTooltip = class {
249
128
  };
250
129
  EzTooltip.style = ezTooltipCss;
251
130
 
252
- export { EzFilterInput as ez_filter_input, EzTooltip as ez_tooltip };
131
+ export { EzTooltip as ez_tooltip };
@@ -1,5 +1,6 @@
1
- import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils, StringUtils, ObjectUtils } from '@sankhyalabs/core';
3
+ import { i as initI18n } from './index-b623906e.js';
3
4
 
4
5
  const ICON_EXPANDED = "chevron-down";
5
6
  const ICON_COLAPSED = "chevron-right";
@@ -555,6 +556,9 @@ const EzTree = class {
555
556
  this._tree.load(this.items);
556
557
  }
557
558
  }
559
+ async componentWillLoad() {
560
+ this.i18n = await initI18n();
561
+ }
558
562
  componentWillRender() {
559
563
  var _a;
560
564
  if (!this.selectedId || ((_a = this.value) === null || _a === void 0 ? void 0 : _a.id) === this.selectedId) {
@@ -572,7 +576,7 @@ const EzTree = class {
572
576
  }
573
577
  this._visibleItems = [];
574
578
  return (h(Host, { tabindex: "-1" }, this._waintingForLoad ?
575
- h("label", null, "Carregando...")
579
+ h("label", null, this.i18n("app.loading"), "...")
576
580
  :
577
581
  this._tree.getChildren().map(node => {
578
582
  var _a;
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-5a720e56.js';
2
- import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-baa5e267.js';
3
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
+ import { A as ApplicationUtils } from './ApplicationUtils-72f474e8.js';
4
+ import { i as initI18n } from './index-b623906e.js';
4
5
  import './DialogType-54a62731.js';
5
6
 
6
7
  class RemoteFile {
@@ -163,7 +164,7 @@ const EzUpload = class {
163
164
  }
164
165
  });
165
166
  if (countDistinctFiles > this.maxFiles) {
166
- this.showError(`A quantidade máxima de arquivos é ${this.maxFiles}.`);
167
+ this.showError(this.i18n("ez-upload.maxFilesError", { maxFiles: this.maxFiles }));
167
168
  return;
168
169
  }
169
170
  }
@@ -184,8 +185,7 @@ const EzUpload = class {
184
185
  async addFile(file) {
185
186
  const oldFile = this._filePointers.get(file.name);
186
187
  if (oldFile) {
187
- ApplicationUtils.confirm("Substituir arquivo", `Já existe um arquivo chamado "${file.name}". Deseja substituí-lo?`)
188
- .then(ok => {
188
+ ApplicationUtils.confirm(this.i18n("ez-upload.replaceFileTitle"), this.i18n("ez-upload.replaceFileMessage", { fileName: file.name })).then(ok => {
189
189
  if (ok) {
190
190
  if (this.isRemoteFile(oldFile)) {
191
191
  oldFile.abortUpload();
@@ -201,7 +201,10 @@ const EzUpload = class {
201
201
  async doAddFile(file) {
202
202
  try {
203
203
  if (this.validateFile(file)) {
204
- this.ezStartChange.emit({ waitmessage: "Há arquivos sendo enviados. Por favor aguarde a conclusão ou cancele o envio.", blocking: true });
204
+ this.ezStartChange.emit({
205
+ waitmessage: this.i18n("ez-upload.uploadingMessage"),
206
+ blocking: true
207
+ });
205
208
  const uploadingFile = new RemoteFile(file);
206
209
  const oldPointer = this._filePointers.get(file.name);
207
210
  if (oldPointer && this.isRemoteFile(oldPointer)) {
@@ -254,25 +257,25 @@ const EzUpload = class {
254
257
  }
255
258
  validateFile(file) {
256
259
  if (!this._filePointers.has(file.name) && this.maxFiles > 0 && this._filePointers.size >= this.maxFiles) {
257
- this.showError(`A quantidade máxima de arquivos é ${this.maxFiles}.`);
260
+ this.showError(this.i18n("ez-upload.maxFilesError", { maxFiles: this.maxFiles }));
258
261
  return false;
259
262
  }
260
263
  if (file.size === 0) {
261
- this.showError(`Erro de permissão: O arquivo "${file.name}" não pode ser enviado.`);
264
+ this.showError(this.i18n("ez-upload.emptyFileError", { fileName: file.name }));
262
265
  return false;
263
266
  }
264
267
  if (!this.urlUpload) {
265
- this.showError("Endereço de upload não informado");
268
+ this.showError(this.i18n("ez-upload.missingUploadUrlError"));
266
269
  return false;
267
270
  }
268
271
  if (this.maxFileSize >= 0 && file.size > this.maxFileSize) {
269
- this.showError("O tamanho máximo dos arquivos é de " + this.formatBytes(this.maxFileSize));
272
+ this.showError(this.i18n("ez-upload.maxFileSizeError", { maxSize: this.formatBytes(this.maxFileSize) }));
270
273
  return false;
271
274
  }
272
275
  return true;
273
276
  }
274
277
  showError(message) {
275
- ApplicationUtils.alert("Enviando arquivo", message);
278
+ ApplicationUtils.alert(this.i18n("ez-upload.uploadErrorTitle"), message);
276
279
  }
277
280
  formatBytes(bytes, decimals = 1) {
278
281
  if (bytes === 0)
@@ -349,8 +352,11 @@ const EzUpload = class {
349
352
  }
350
353
  }
351
354
  }
355
+ async componentWillLoad() {
356
+ this.i18n = await initI18n();
357
+ }
352
358
  render() {
353
- return (h("div", { ref: (el) => this._dropZone = el, class: this.evalDisabledClass("iu", "background--disabled") }, h("div", { class: "iu__container", onClick: () => this.openFilesDialog() }, h("div", { class: "iu_header" }, this.label ? h("label", { class: this.evalDisabledClass("iu__label", "text--disabled"), title: this.label }, this.label) : null, h("div", { class: "padding-large" }, h("div", { class: this.evalDisabledClass("iu__icon-label", "mouse-pointer--disabled") }, h("button", { class: "iu__file-icon", disabled: !this.enabled }), h("div", { class: this.evalDisabledClass("text text--center text--medium text--primary", "text--disabled") }, this.enabled ? "Arraste e solte ou clique para adicionar arquivos" : "Somente leitura")), this.subtitle &&
359
+ return (h("div", { ref: (el) => this._dropZone = el, class: this.evalDisabledClass("iu", "background--disabled") }, h("div", { class: "iu__container", onClick: () => this.openFilesDialog() }, h("div", { class: "iu_header" }, this.label ? h("label", { class: this.evalDisabledClass("iu__label", "text--disabled"), title: this.label }, this.label) : null, h("div", { class: "padding-large" }, h("div", { class: this.evalDisabledClass("iu__icon-label", "mouse-pointer--disabled") }, h("button", { class: "iu__file-icon", disabled: !this.enabled }), h("div", { class: this.evalDisabledClass("text text--center text--medium text--primary", "text--disabled") }, this.enabled ? this.i18n("ez-upload.enable") : this.i18n("ez-upload.disable"))), this.subtitle &&
354
360
  h("div", { class: this.evalDisabledClass("padding-extra-small text text--center text--small text--secondary", "text--disabled") }, this.subtitle))), this.buildFooter()), h("input", { ref: (el) => this._fileInput = el, onChange: (ev) => this.onFileInputChange(ev), type: "file", multiple: true, class: "appearanceNone" })));
355
361
  }
356
362
  buildFooter() {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement, H as Host } from './index-5a720e56.js';
1
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-baa5e267.js';
2
2
  import { JSUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezViewStackCss = ":host{width:100%;height:100%}.ez-view-stack__container{width:100%;height:100%}";