@sankhyalabs/ezui 5.22.0-ms.13 → 5.22.0-ms.15

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 (337) hide show
  1. package/dist/cjs/FormLayout-18853e70.js +27 -0
  2. package/dist/cjs/{constants-2714478b.js → constants-569271bc.js} +4 -0
  3. package/dist/cjs/ez-actions-button.cjs.entry.js +2 -2
  4. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-avatar.cjs.entry.js +50 -0
  8. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-card-item_2.cjs.entry.js +4 -1218
  13. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-check.cjs.entry.js +19 -11
  15. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
  17. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +4 -4
  18. package/dist/cjs/ez-combo-box.cjs.entry.js +9 -14
  19. package/dist/cjs/ez-date-input.cjs.entry.js +3 -2
  20. package/dist/cjs/ez-date-time-input.cjs.entry.js +3 -2
  21. package/dist/cjs/ez-dialog.cjs.entry.js +7 -4
  22. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  23. package/dist/cjs/{ez-dropdown_2.cjs.entry.js → ez-dropdown.cjs.entry.js} +2 -63
  24. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-form-view.cjs.entry.js +19 -11
  27. package/dist/cjs/ez-form.cjs.entry.js +87 -6
  28. package/dist/cjs/ez-grid.cjs.entry.js +267 -46
  29. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-icon.cjs.entry.js +12 -6
  31. package/dist/cjs/ez-list.cjs.entry.js +3 -3
  32. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-modal-container.cjs.entry.js +8 -4
  34. package/dist/cjs/ez-modal.cjs.entry.js +6 -2
  35. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-number-input.cjs.entry.js +3 -2
  37. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-popup.cjs.entry.js +6 -2
  40. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-search-plus.cjs.entry.js +397 -0
  43. package/dist/cjs/ez-search-result-list.cjs.entry.js +97 -0
  44. package/dist/cjs/ez-search.cjs.entry.js +5 -4
  45. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-skeleton.cjs.entry.js +149 -0
  47. package/dist/cjs/ez-split-button.cjs.entry.js +16 -7
  48. package/dist/cjs/ez-split-item.cjs.entry.js +2 -2
  49. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-text-area.cjs.entry.js +25 -4
  52. package/dist/cjs/ez-text-input.cjs.entry.js +84 -101
  53. package/dist/cjs/ez-time-input.cjs.entry.js +3 -2
  54. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-tooltip.cjs.entry.js +110 -30
  56. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  59. package/dist/cjs/ezui.cjs.js +2 -2
  60. package/dist/cjs/filter-column.cjs.entry.js +15 -6
  61. package/dist/cjs/floating-ui.dom.esm-017acce4.js +1404 -0
  62. package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +21 -2
  63. package/dist/cjs/loader.cjs.js +2 -2
  64. package/dist/cjs/{DataBinder-e92314c2.js → search-column-1d3c9fa5.js} +73 -13
  65. package/dist/collection/collection-manifest.json +13 -0
  66. package/dist/collection/components/ez-avatar/ez-avatar.css +139 -0
  67. package/dist/collection/components/ez-avatar/ez-avatar.js +143 -0
  68. package/dist/collection/components/ez-check/ez-check.css +9 -0
  69. package/dist/collection/components/ez-check/ez-check.js +34 -9
  70. package/dist/collection/components/ez-combo-box/ez-combo-box.js +25 -14
  71. package/dist/collection/components/ez-date-input/ez-date-input.js +19 -1
  72. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +19 -1
  73. package/dist/collection/components/ez-dialog/ez-dialog.css +24 -21
  74. package/dist/collection/components/ez-dialog/ez-dialog.js +5 -2
  75. package/dist/collection/components/ez-dropdown/ez-dropdown.js +1 -1
  76. package/dist/collection/components/ez-form/ez-form.js +124 -4
  77. package/dist/collection/components/ez-form-view/ez-form-view.css +8 -0
  78. package/dist/collection/components/ez-form-view/ez-form-view.js +21 -2
  79. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +3 -1
  80. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +6 -0
  81. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +148 -20
  82. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +23 -4
  83. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +34 -6
  84. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +2 -0
  85. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js +15 -0
  86. package/dist/collection/components/ez-grid/ez-grid.css +4 -0
  87. package/dist/collection/components/ez-grid/ez-grid.js +79 -11
  88. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +14 -5
  89. package/dist/collection/components/ez-icon/ez-icon.js +28 -5
  90. package/dist/collection/components/ez-list/ez-list.js +2 -2
  91. package/dist/collection/components/ez-modal/ez-modal.js +5 -1
  92. package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
  93. package/dist/collection/components/ez-modal-container/ez-modal-container.js +6 -2
  94. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js +1 -0
  95. package/dist/collection/components/ez-number-input/ez-number-input.js +19 -1
  96. package/dist/collection/components/ez-popup/ez-popup.js +5 -1
  97. package/dist/collection/components/ez-search/ez-search.js +19 -1
  98. package/dist/collection/components/ez-search-plus/ez-search-plus.css +373 -0
  99. package/dist/collection/components/ez-search-plus/ez-search-plus.js +960 -0
  100. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css +221 -0
  101. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +278 -0
  102. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +25 -1
  103. package/dist/collection/components/ez-skeleton/ez-skeleton.css +122 -80
  104. package/dist/collection/components/ez-skeleton/ez-skeleton.js +210 -46
  105. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  106. package/dist/collection/components/ez-split-button/ez-split-button.js +87 -10
  107. package/dist/collection/components/ez-text-area/ez-text-area.js +47 -2
  108. package/dist/collection/components/ez-text-input/ez-text-input.css +27 -2
  109. package/dist/collection/components/ez-text-input/ez-text-input.js +124 -73
  110. package/dist/collection/components/ez-time-input/ez-time-input.js +19 -1
  111. package/dist/collection/components/ez-tooltip/ez-tooltip.css +54 -12
  112. package/dist/collection/components/ez-tooltip/ez-tooltip.js +240 -46
  113. package/dist/collection/utils/constants.js +2 -0
  114. package/dist/collection/utils/form/DataBinder.js +43 -14
  115. package/dist/collection/utils/form/interfaces/FormLayout.js +5 -0
  116. package/dist/collection/utils/form/interfaces/index.js +1 -1
  117. package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
  118. package/dist/collection/utils/index.js +3 -0
  119. package/dist/collection/utils/search/types.js +7 -0
  120. package/dist/collection/utils/searchColumn/search-column.js +35 -0
  121. package/dist/custom-elements/index.d.ts +18 -0
  122. package/dist/custom-elements/index.js +1600 -302
  123. package/dist/esm/FormLayout-071d324c.js +27 -0
  124. package/dist/esm/constants-b036528f.js +7 -0
  125. package/dist/esm/ez-actions-button.entry.js +2 -2
  126. package/dist/esm/ez-alert-list.entry.js +1 -1
  127. package/dist/esm/ez-alert.entry.js +1 -1
  128. package/dist/esm/ez-application.entry.js +1 -1
  129. package/dist/esm/ez-avatar.entry.js +46 -0
  130. package/dist/esm/ez-badge.entry.js +1 -1
  131. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  132. package/dist/esm/ez-button.entry.js +1 -1
  133. package/dist/esm/ez-calendar.entry.js +1 -1
  134. package/dist/esm/ez-card-item_2.entry.js +2 -1216
  135. package/dist/esm/ez-chart.entry.js +1 -1
  136. package/dist/esm/ez-check.entry.js +19 -11
  137. package/dist/esm/ez-chip.entry.js +1 -1
  138. package/dist/esm/ez-collapsible-box.entry.js +2 -2
  139. package/dist/esm/ez-combo-box-list_3.entry.js +3 -3
  140. package/dist/esm/ez-combo-box.entry.js +9 -14
  141. package/dist/esm/ez-date-input.entry.js +3 -2
  142. package/dist/esm/ez-date-time-input.entry.js +3 -2
  143. package/dist/esm/ez-dialog.entry.js +7 -4
  144. package/dist/esm/ez-double-list.entry.js +1 -1
  145. package/dist/esm/{ez-dropdown_2.entry.js → ez-dropdown.entry.js} +3 -63
  146. package/dist/esm/ez-file-item.entry.js +1 -1
  147. package/dist/esm/ez-filter-input.entry.js +1 -1
  148. package/dist/esm/ez-form-view.entry.js +20 -12
  149. package/dist/esm/ez-form.entry.js +86 -5
  150. package/dist/esm/ez-grid.entry.js +263 -42
  151. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  152. package/dist/esm/ez-icon.entry.js +12 -6
  153. package/dist/esm/ez-list.entry.js +3 -3
  154. package/dist/esm/ez-loading-bar.entry.js +1 -1
  155. package/dist/esm/ez-modal-container.entry.js +8 -4
  156. package/dist/esm/ez-modal.entry.js +6 -2
  157. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  158. package/dist/esm/ez-number-input.entry.js +3 -2
  159. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  160. package/dist/esm/ez-popover.entry.js +1 -1
  161. package/dist/esm/ez-popup.entry.js +6 -2
  162. package/dist/esm/ez-radio-button.entry.js +1 -1
  163. package/dist/esm/ez-scroller_2.entry.js +1 -1
  164. package/dist/esm/ez-search-plus.entry.js +393 -0
  165. package/dist/esm/ez-search-result-list.entry.js +93 -0
  166. package/dist/esm/ez-search.entry.js +5 -4
  167. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  168. package/dist/esm/ez-skeleton.entry.js +145 -0
  169. package/dist/esm/ez-split-button.entry.js +16 -7
  170. package/dist/esm/ez-split-item.entry.js +2 -2
  171. package/dist/esm/ez-split-panel.entry.js +1 -1
  172. package/dist/esm/ez-tabselector.entry.js +1 -1
  173. package/dist/esm/ez-text-area.entry.js +25 -4
  174. package/dist/esm/ez-text-input.entry.js +84 -101
  175. package/dist/esm/ez-time-input.entry.js +3 -2
  176. package/dist/esm/ez-toast.entry.js +1 -1
  177. package/dist/esm/ez-tooltip.entry.js +110 -30
  178. package/dist/esm/ez-tree.entry.js +1 -1
  179. package/dist/esm/ez-upload.entry.js +1 -1
  180. package/dist/esm/ez-view-stack.entry.js +1 -1
  181. package/dist/esm/ezui.js +3 -3
  182. package/dist/esm/filter-column.entry.js +15 -6
  183. package/dist/esm/floating-ui.dom.esm-5d3da819.js +1398 -0
  184. package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +21 -3
  185. package/dist/esm/loader.js +3 -3
  186. package/dist/esm/{DataBinder-9c877244.js → search-column-35f4ad93.js} +69 -15
  187. package/dist/ezui/ezui.esm.js +1 -1
  188. package/dist/ezui/{p-e75c7a23.entry.js → p-000159dc.entry.js} +1 -1
  189. package/dist/ezui/p-01b72d7e.entry.js +1 -0
  190. package/dist/ezui/{p-44caad9a.entry.js → p-0378416a.entry.js} +1 -1
  191. package/dist/ezui/{p-288631d1.entry.js → p-06f1b8e4.entry.js} +1 -1
  192. package/dist/ezui/{p-d47dabdf.entry.js → p-07594da0.entry.js} +1 -1
  193. package/dist/ezui/{p-77a4bd35.entry.js → p-11bfeca3.entry.js} +1 -1
  194. package/dist/ezui/p-175154a0.js +1 -0
  195. package/dist/ezui/p-18e71523.entry.js +1 -0
  196. package/dist/ezui/p-1fefb37a.entry.js +1 -0
  197. package/dist/ezui/{p-7e677b7b.entry.js → p-2069c78a.entry.js} +1 -1
  198. package/dist/ezui/{p-f2ab6b58.entry.js → p-220b9944.entry.js} +1 -1
  199. package/dist/ezui/p-28987410.entry.js +1 -0
  200. package/dist/ezui/p-2d10bb18.entry.js +1 -0
  201. package/dist/ezui/{p-e06a9886.entry.js → p-2f351332.entry.js} +1 -1
  202. package/dist/ezui/p-30ffb9ed.js +1 -0
  203. package/dist/ezui/{p-fa6732f2.entry.js → p-44b39e81.entry.js} +1 -1
  204. package/dist/ezui/p-4a876b8b.entry.js +1 -0
  205. package/dist/ezui/p-4e66eaeb.entry.js +1 -0
  206. package/dist/ezui/p-5b85d3de.entry.js +1 -0
  207. package/dist/ezui/p-5eea9886.js +1 -0
  208. package/dist/ezui/p-682931aa.entry.js +309 -0
  209. package/dist/ezui/p-6b2cc9b8.entry.js +1 -0
  210. package/dist/ezui/p-6b3fddee.entry.js +1 -0
  211. package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
  212. package/dist/ezui/p-6ec40dec.entry.js +1 -0
  213. package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
  214. package/dist/ezui/p-700c1320.entry.js +1 -0
  215. package/dist/ezui/{p-da1b4a38.entry.js → p-708b196e.entry.js} +1 -1
  216. package/dist/ezui/{p-555c9018.entry.js → p-7567ccdd.entry.js} +1 -1
  217. package/dist/ezui/{p-4b67138e.entry.js → p-769632d5.entry.js} +1 -1
  218. package/dist/ezui/p-7ec3f335.entry.js +1 -0
  219. package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
  220. package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
  221. package/dist/ezui/{p-1bcfd88c.entry.js → p-87f5a060.entry.js} +1 -1
  222. package/dist/ezui/p-90c90351.entry.js +1 -0
  223. package/dist/ezui/p-90e91173.entry.js +1 -0
  224. package/dist/ezui/{p-09de35a2.entry.js → p-91ccae0c.entry.js} +1 -1
  225. package/dist/ezui/p-926a0bde.entry.js +1 -0
  226. package/dist/ezui/{p-c0d9c4f8.entry.js → p-92748142.entry.js} +1 -1
  227. package/dist/ezui/p-97d94ef3.entry.js +1 -0
  228. package/dist/ezui/{p-e6a9041d.entry.js → p-9e95bfeb.entry.js} +1 -1
  229. package/dist/ezui/p-a11827ca.entry.js +1 -0
  230. package/dist/ezui/p-b3b3c99a.entry.js +1 -0
  231. package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
  232. package/dist/ezui/{p-dc73e1fe.entry.js → p-c7035d65.entry.js} +1 -1
  233. package/dist/ezui/p-c8e6204f.entry.js +1 -0
  234. package/dist/ezui/{p-20c024f7.entry.js → p-cf33bc48.entry.js} +1 -1
  235. package/dist/ezui/p-d2290004.entry.js +1 -0
  236. package/dist/ezui/p-d4d6d5fe.entry.js +1 -0
  237. package/dist/ezui/p-da66838e.entry.js +1 -0
  238. package/dist/ezui/p-dd7d305a.entry.js +1 -0
  239. package/dist/ezui/p-ddb22a70.entry.js +1 -0
  240. package/dist/ezui/{p-788467fe.entry.js → p-ddd0bd61.entry.js} +1 -1
  241. package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
  242. package/dist/ezui/p-e07e4671.js +1 -0
  243. package/dist/ezui/p-e4ae4ddb.entry.js +1 -0
  244. package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
  245. package/dist/ezui/{p-d9dccec0.entry.js → p-e4ead194.entry.js} +1 -1
  246. package/dist/ezui/{p-0306dff7.entry.js → p-e6b38ade.entry.js} +1 -1
  247. package/dist/ezui/p-ea053063.entry.js +1 -0
  248. package/dist/ezui/p-ed48a632.entry.js +1 -0
  249. package/dist/ezui/{p-6e429cff.entry.js → p-fc194825.entry.js} +1 -1
  250. package/dist/types/components/ez-avatar/ez-avatar.d.ts +24 -0
  251. package/dist/types/components/ez-check/ez-check.d.ts +7 -2
  252. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +4 -2
  253. package/dist/types/components/ez-date-input/ez-date-input.d.ts +4 -0
  254. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +4 -0
  255. package/dist/types/components/ez-dialog/ez-dialog.d.ts +1 -0
  256. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +4 -4
  257. package/dist/types/components/ez-form/ez-form.d.ts +23 -1
  258. package/dist/types/components/ez-form-view/ez-form-view.d.ts +4 -0
  259. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -0
  260. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +9 -1
  261. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +9 -3
  262. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
  263. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +1 -0
  264. package/dist/types/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.d.ts +3 -0
  265. package/dist/types/components/ez-grid/ez-grid.d.ts +11 -0
  266. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +1 -0
  267. package/dist/types/components/ez-icon/ez-icon.d.ts +5 -0
  268. package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
  269. package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
  270. package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -1
  271. package/dist/types/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.d.ts +3 -0
  272. package/dist/types/components/ez-number-input/ez-number-input.d.ts +4 -0
  273. package/dist/types/components/ez-popup/ez-popup.d.ts +2 -0
  274. package/dist/types/components/ez-search/ez-search.d.ts +4 -0
  275. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +186 -0
  276. package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +26 -0
  277. package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +55 -1
  278. package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +50 -22
  279. package/dist/types/components/ez-split-button/ez-split-button.d.ts +14 -2
  280. package/dist/types/components/ez-text-area/ez-text-area.d.ts +8 -0
  281. package/dist/types/components/ez-text-input/ez-text-input.d.ts +21 -9
  282. package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
  283. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +41 -5
  284. package/dist/types/components.d.ts +584 -20
  285. package/dist/types/utils/constants.d.ts +2 -0
  286. package/dist/types/utils/form/DataBinder.d.ts +4 -2
  287. package/dist/types/utils/form/interfaces/FormLayout.d.ts +4 -0
  288. package/dist/types/utils/form/interfaces/index.d.ts +1 -0
  289. package/dist/types/utils/index.d.ts +3 -0
  290. package/dist/types/utils/search/types.d.ts +12 -0
  291. package/dist/types/utils/searchColumn/search-column.d.ts +9 -0
  292. package/package.json +6 -5
  293. package/react/components.d.ts +63 -60
  294. package/react/components.js +3 -0
  295. package/react/components.js.map +1 -1
  296. package/react/react-component-lib/createComponent.d.ts +1 -1
  297. package/react/react-component-lib/createComponent.js.map +1 -1
  298. package/react/react-component-lib/createOverlayComponent.js.map +1 -1
  299. package/react/react-component-lib/interfaces.js +1 -0
  300. package/react/react-component-lib/utils/attachProps.d.ts +1 -1
  301. package/react/react-component-lib/utils/attachProps.js.map +1 -1
  302. package/react/react-component-lib/utils/dev.js.map +1 -1
  303. package/react/react-component-lib/utils/index.d.ts +2 -2
  304. package/react/react-component-lib/utils/index.js.map +1 -1
  305. package/dist/cjs/ICustomRender-6fafffce.js +0 -13
  306. package/dist/collection/utils/ResponsiveInputUtils.js +0 -26
  307. package/dist/esm/ICustomRender-875b5a40.js +0 -13
  308. package/dist/esm/constants-4e0d35b7.js +0 -5
  309. package/dist/ezui/p-05e1f4e7.js +0 -1
  310. package/dist/ezui/p-0fa52b0f.entry.js +0 -1
  311. package/dist/ezui/p-17de16e5.entry.js +0 -1
  312. package/dist/ezui/p-17eabf46.entry.js +0 -1
  313. package/dist/ezui/p-1e6e99fc.entry.js +0 -1
  314. package/dist/ezui/p-20cb13fa.entry.js +0 -1
  315. package/dist/ezui/p-2f45506d.entry.js +0 -1
  316. package/dist/ezui/p-31b71e50.entry.js +0 -1
  317. package/dist/ezui/p-4607fb89.js +0 -1
  318. package/dist/ezui/p-56fe5341.entry.js +0 -1
  319. package/dist/ezui/p-6cdd3e0a.entry.js +0 -1
  320. package/dist/ezui/p-7d9d01c8.entry.js +0 -309
  321. package/dist/ezui/p-7fdd479f.entry.js +0 -1
  322. package/dist/ezui/p-a4cee65d.entry.js +0 -1
  323. package/dist/ezui/p-acddfb2e.js +0 -1
  324. package/dist/ezui/p-bc2f844e.entry.js +0 -1
  325. package/dist/ezui/p-c1527804.entry.js +0 -1
  326. package/dist/ezui/p-c297aa52.entry.js +0 -1
  327. package/dist/ezui/p-cb1535f7.entry.js +0 -1
  328. package/dist/ezui/p-cd07f8be.entry.js +0 -1
  329. package/dist/ezui/p-cf87aacb.entry.js +0 -1
  330. package/dist/ezui/p-e0261d23.entry.js +0 -1
  331. package/dist/ezui/p-e3544d23.entry.js +0 -1
  332. package/dist/ezui/p-ea54d056.entry.js +0 -1
  333. package/dist/ezui/p-ef5ec8d2.entry.js +0 -1
  334. package/dist/ezui/p-f5931caa.entry.js +0 -1
  335. package/dist/ezui/p-fbbdc57f.entry.js +0 -1
  336. package/dist/ezui/p-fd0a19d6.entry.js +0 -1
  337. package/dist/types/utils/ResponsiveInputUtils.d.ts +0 -6
@@ -1,43 +1,19 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { MaskFormatter, ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
- /**
5
- * Aplica comportamento de elipses a um input caso o texto ultrapasse o tamanho disponível.
6
- *
7
- * @param inputElement A referência ao elemento input (HTMLInputElement).
8
- */
9
- const applyEllipsisToInput = (inputElement) => {
10
- if (!inputElement || !inputElement.style) {
11
- console.error('[applyEllipsisToInput] Referência ao elemento input é inválida.');
12
- return;
13
- }
14
- inputElement.style.textOverflow = 'ellipsis';
15
- inputElement.style.overflow = 'hidden';
16
- inputElement.style.whiteSpace = 'nowrap';
17
- const adjustEllipsis = () => {
18
- const value = inputElement.value || '';
19
- const isOverflowing = inputElement.scrollWidth > inputElement.clientWidth;
20
- if (isOverflowing) {
21
- inputElement.setAttribute('title', value);
22
- }
23
- else {
24
- inputElement.removeAttribute('title');
25
- }
26
- };
27
- inputElement.addEventListener('input', adjustEllipsis);
28
- adjustEllipsis();
29
- };
30
-
31
- const ezTextInputCss = ":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:48px;--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--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;height:var(--ez-text-input--height);border-radius:var(--ez-text-input--border-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-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-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)}";
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)}";
32
5
 
33
6
  const EzTextInput = class {
34
7
  constructor(hostRef) {
35
8
  registerInstance(this, hostRef);
36
9
  this.ezChange = createEvent(this, "ezChange", 7);
10
+ this._isOverflowing = false;
37
11
  this.label = undefined;
12
+ this.alternativePlaceholder = undefined;
38
13
  this.value = undefined;
39
14
  this.enabled = true;
40
15
  this.errorMessage = undefined;
16
+ this.hasInvalid = false;
41
17
  this.mask = undefined;
42
18
  this.cleanValueMask = false;
43
19
  this.canShowError = true;
@@ -47,21 +23,13 @@ const EzTextInput = class {
47
23
  this.password = false;
48
24
  this.autoFocus = false;
49
25
  this.hasRightSlotContent = false;
26
+ this.forceLabelFloat = false;
50
27
  }
51
- observeErrorMessage() {
52
- if (this._inputElem) {
53
- this.isInvalid().then((hasError) => {
54
- var _a;
55
- if (hasError) {
56
- this._inputElem.classList.add("hasError");
57
- (_a = this._tooltipPositioningObserver) === null || _a === void 0 ? void 0 : _a.observe(this._inputElem);
58
- }
59
- else {
60
- this._inputElem.classList.remove("hasError");
61
- this.removeGlobalTooltip();
62
- }
63
- });
28
+ observeHasInvalid(newValue, oldValue) {
29
+ if (newValue === oldValue) {
30
+ return;
64
31
  }
32
+ this.validateErrors();
65
33
  }
66
34
  observeMask() {
67
35
  if (this.mask) {
@@ -79,6 +47,7 @@ const EzTextInput = class {
79
47
  this._inputElem.value = this.value || "";
80
48
  this.handleChange();
81
49
  this.adjustFloatingLabel();
50
+ this.checkIsOverflowing();
82
51
  if (!this.isSlaveMode()) {
83
52
  this.errorMessage = "";
84
53
  this.ezChange.emit(this.value);
@@ -86,14 +55,38 @@ const EzTextInput = class {
86
55
  }
87
56
  }
88
57
  }
58
+ observeAlternativePlaceholder(newValue) {
59
+ this.forceLabelFloat = !!newValue;
60
+ }
89
61
  //---------------------------------------------
90
62
  // Private methods
91
63
  //---------------------------------------------
64
+ validateErrors() {
65
+ const hasErrorMessage = this.handleValidateErrorMessage(this.errorMessage);
66
+ const hasError = this.canShowError && (hasErrorMessage || this.hasInvalid);
67
+ this.updateClassError(hasError);
68
+ }
69
+ handleValidateErrorMessage(message = this.errorMessage) {
70
+ return typeof message === "string" && message.trim() !== "";
71
+ }
72
+ updateClassError(status) {
73
+ if (!this._inputElem) {
74
+ return;
75
+ }
76
+ if (status) {
77
+ this._inputElem.classList.add("hasError");
78
+ }
79
+ else {
80
+ this._inputElem.classList.remove("hasError");
81
+ }
82
+ }
92
83
  adjustFloatingLabel() {
93
84
  if (this.label && this._labelElem) {
94
85
  if (this._inputElem && !this._inputElem.classList.contains("input--with--label")) {
95
86
  this._inputElem.classList.add("input--with--label");
96
87
  }
88
+ if (this.forceLabelFloat)
89
+ return;
97
90
  const hasValue = this.value && this.value.toString().length > 0;
98
91
  const containsFloatedClass = this._labelElem.classList.contains("input__label--floated");
99
92
  if (hasValue || this.isFocused()) {
@@ -135,7 +128,12 @@ const EzTextInput = class {
135
128
  const { selectText } = options || {};
136
129
  if (selectText)
137
130
  this._inputElem.select();
138
- this._inputElem.focus();
131
+ if (this._inputElem.disabled) {
132
+ this._inputElem.classList.add("focused");
133
+ this._inputElem.scrollIntoView({ behavior: "smooth", block: "start" });
134
+ return;
135
+ }
136
+ requestAnimationFrame(() => this._inputElem.focus());
139
137
  }
140
138
  /**
141
139
  * Remove o foco do campo.
@@ -147,7 +145,7 @@ const EzTextInput = class {
147
145
  * Retorna se o conteúdo é inválido.
148
146
  */
149
147
  async isInvalid() {
150
- return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
148
+ return this.handleValidateErrorMessage();
151
149
  }
152
150
  //---------------------------------------------
153
151
  // Event handlers
@@ -258,7 +256,7 @@ const EzTextInput = class {
258
256
  }
259
257
  slot.name && ElementIDUtils.addIDInfo(content, slot.name);
260
258
  }
261
- this.observeErrorMessage();
259
+ this.validateErrors();
262
260
  }
263
261
  doFocus() {
264
262
  if (this.label && this._labelElem && !this._labelElem.classList.contains("input__label--floated")) {
@@ -266,35 +264,28 @@ const EzTextInput = class {
266
264
  }
267
265
  this.adjustColorContentSlot("var(--ez-text-input__input--focus--icon-color)");
268
266
  }
269
- renderGlobalTooltip() {
270
- const tooltip = document.createElement('ez-tooltip');
271
- tooltip.errorMessage = this.errorMessage;
272
- tooltip.anchoringElement = this._tooltipIconElem;
273
- document.body.appendChild(tooltip);
274
- this._tooltipElem = tooltip;
267
+ getValue() {
268
+ return this.mask && this.cleanValueMask ? this.applyMask(this.value) : this.value;
275
269
  }
276
- removeGlobalTooltip() {
277
- var _a;
278
- if (!this._tooltipElem)
279
- return;
280
- this._tooltipElem.remove();
281
- this._tooltipElem = undefined;
282
- (_a = this._tooltipPositioningObserver) === null || _a === void 0 ? void 0 : _a.unobserve(this._inputElem);
270
+ buildLabelClass() {
271
+ let classList = this.enabled ? 'input__label' : 'input__label input__label--disabled';
272
+ if (this.errorMessage)
273
+ classList = classList + ' hasError';
274
+ if (this.forceLabelFloat)
275
+ classList = classList + ' input__label--floated';
276
+ return classList;
283
277
  }
284
- createTooltipPositioningObserver() {
285
- const observer = new ResizeObserver(() => {
286
- if (!this._tooltipElem)
287
- return;
288
- if (!this._tooltipIconElem)
289
- return;
290
- clearTimeout(this._observerDebounceTimeout);
291
- this._observerDebounceTimeout = setTimeout(async () => {
292
- if (this._tooltipElem) {
293
- await this._tooltipElem.positionTooltip();
294
- }
295
- }, 200);
296
- });
297
- this._tooltipPositioningObserver = observer;
278
+ buildPlaceholder() {
279
+ if (this.alternativePlaceholder)
280
+ return this.alternativePlaceholder;
281
+ return (this.mode === "slim" && this.label) ? this.label : '';
282
+ }
283
+ checkIsOverflowing() {
284
+ if (this._inputElem) {
285
+ this._isOverflowing = this._inputElem.offsetWidth < this._inputElem.scrollWidth;
286
+ return;
287
+ }
288
+ this._isOverflowing = false;
298
289
  }
299
290
  //---------------------------------------------
300
291
  // Lifecycle web component
@@ -322,11 +313,12 @@ const EzTextInput = class {
322
313
  }
323
314
  }
324
315
  componentDidLoad() {
325
- var _a, _b;
326
- this.observeErrorMessage();
316
+ var _a;
317
+ this.validateErrors();
327
318
  this.observeMask();
328
319
  this.adjustFloatingLabel();
329
320
  this.adjustBorderInput();
321
+ this.checkIsOverflowing();
330
322
  if (this.autoFocus) {
331
323
  requestAnimationFrame(() => {
332
324
  this.setFocus({ selectText: true });
@@ -336,43 +328,34 @@ const EzTextInput = class {
336
328
  var _a;
337
329
  this._inputElem.setSelectionRange(0, (_a = this._inputElem) === null || _a === void 0 ? void 0 : _a.value.length);
338
330
  });
339
- this.createTooltipPositioningObserver();
340
- if (this._inputElem) {
341
- (_b = this._tooltipPositioningObserver) === null || _b === void 0 ? void 0 : _b.observe(this._inputElem);
342
- applyEllipsisToInput(this._inputElem);
343
- }
344
- }
345
- componentDidRender() {
346
- if (this._tooltipIconElem && !this._tooltipElem) {
347
- this.renderGlobalTooltip();
348
- }
349
- }
350
- componentDidUpdate() {
351
- if (this._tooltipIconElem && this._tooltipElem) {
352
- this._tooltipElem.positionTooltip();
353
- }
331
+ this.onClickOutside = (event) => {
332
+ if (!this._inputElem.contains(event.target)) {
333
+ this._inputElem.classList.remove("focused");
334
+ }
335
+ };
336
+ document.addEventListener("click", this.onClickOutside);
354
337
  }
355
338
  disconnectedCallback() {
356
- if (this._tooltipPositioningObserver) {
357
- this._tooltipPositioningObserver.disconnect();
358
- }
359
- if (this._observerDebounceTimeout) {
360
- clearTimeout(this._observerDebounceTimeout);
361
- }
362
- this.removeGlobalTooltip();
339
+ document.removeEventListener("click", this.onClickOutside);
340
+ }
341
+ componentDidRender() {
342
+ this.adjustFloatingLabel();
363
343
  }
364
344
  render() {
365
345
  ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
366
346
  return (h(Host, { style: this._hostElement.classList.contains("grid_editor") ? { "height": "100%" } : null }, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label && this.mode != "slim" ?
367
- h("label", { ref: (el) => this._labelElem = el, class: `${this.enabled ? "input__label" : "input__label input__label--disabled"} ${this.errorMessage ? "hasError" : ""}`, onClick: () => this._inputElem.focus(), title: this.label }, this.label)
368
- : null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo("input"), onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: this.password ? "password" : "text", class: `${this.mode === "slim" ? "input--slim" : ""}`, placeholder: this.mode === "slim" && this.label ? this.label : "", value: this.mask && this.cleanValueMask ? this.applyMask(this.value) : this.value, disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }), this.canShowError && this.mode != "slim" && this.errorMessage &&
369
- h("ez-icon", { class: `tooltip-icon ${this.errorMessage ? "hasError" : ""} ${this.hasRightSlotContent ? "rightIconSlot" : ""}`, "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip-icon"), ref: (el) => this._tooltipIconElem = el, iconName: "alert-circle" }), h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }, " ")));
347
+ h("label", { ref: (el) => this._labelElem = el, class: this.buildLabelClass(), onClick: () => this._inputElem.focus(), title: this.label }, this.label)
348
+ : null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo("input"), onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: this.password ? "password" : "text", class: `${this.mode === "slim" ? "input--slim" : ""}`, placeholder: this.buildPlaceholder(), value: this.getValue(), disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }), h("ez-tooltip", { anchoringElement: this._hostElement, message: this.getValue(), active: this._isOverflowing, useAnchorSize: true }), this.canShowError && this.mode != "slim" && this.errorMessage &&
349
+ h("ez-tooltip", { type: "error", message: this.errorMessage }, h("ez-icon", { class: `tooltip-icon ${this.errorMessage ? "hasError" : ""} ${this.hasRightSlotContent ? "rightIconSlot" : ""}`, "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip-icon"), ref: (el) => this._tooltipIconElem = el, iconName: "alert-circle" })), h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }, " ")));
370
350
  }
371
351
  get _hostElement() { return getElement(this); }
372
352
  static get watchers() { return {
373
- "errorMessage": ["observeErrorMessage"],
353
+ "hasInvalid": ["observeHasInvalid"],
354
+ "errorMessage": ["observeHasInvalid"],
355
+ "canShowError": ["observeHasInvalid"],
374
356
  "mask": ["observeMask"],
375
- "value": ["observeValue"]
357
+ "value": ["observeValue"],
358
+ "alternativePlaceholder": ["observeAlternativePlaceholder"]
376
359
  }; }
377
360
  };
378
361
  EzTextInput.style = ezTextInputCss;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { TimeFormatter, MaskFormatter, NumberUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
4
 
@@ -18,6 +18,7 @@ const EzTimeInput = class {
18
18
  this.mode = "regular";
19
19
  this.canShowError = true;
20
20
  this.autoFocus = false;
21
+ this.alternativePlaceholder = undefined;
21
22
  }
22
23
  observeErrorMessage() {
23
24
  var _a;
@@ -155,7 +156,7 @@ const EzTimeInput = class {
155
156
  }
156
157
  render() {
157
158
  ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
158
- 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 }, h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
159
+ 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" }))));
159
160
  }
160
161
  static get assetsDirs() { return ["../assets"]; }
161
162
  get _elem() { return getElement(this); }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-5a720e56.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,50 +1,130 @@
1
- import { r as registerInstance, h, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-5a720e56.js';
2
+ import { c as computePosition, o as offset, f as flip, s as shift, a as arrow } from './floating-ui.dom.esm-5d3da819.js';
2
3
  import { ElementIDUtils } from '@sankhyalabs/core';
3
4
 
4
- const ezTooltipCss = ":host{position:absolute;z-index:var(--elevation--24);background:var(--color-alert--error-800, #BD0025);padding:var(--space--extra-small, 3px) var(--space--small, 6px);color:var(--color--inverted);border-radius:var(--border--radius-small);display:none;transform:translateX(calc(-50% + 12px)) translateY(8px)}.tooltip::after{--triangle-size:8px;content:'';right:50%;border:var(--triangle-size) solid transparent;border-bottom-color:var(--color-alert--error-800, #BD0025);position:absolute;transform:translateX(calc(50%)) translateY(-100%)}";
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)}";
5
6
 
6
7
  const EzTooltip = class {
7
8
  constructor(hostRef) {
8
9
  registerInstance(this, hostRef);
9
- this.errorMessage = undefined;
10
+ this._opened = false;
11
+ this.message = undefined;
10
12
  this.anchoringElement = undefined;
13
+ this.placement = 'bottom';
14
+ this.gapOptions = { horizontalGap: 0, verticalGap: 0 };
15
+ this.type = 'default';
16
+ this.debouncingTime = 500;
17
+ this.active = true;
18
+ this.maxWidth = 200;
19
+ this.useAnchorSize = false;
11
20
  }
12
- /**
13
- * TODO: Implementar a possibilidade de definir a posição do tooltip.
14
- */
15
- // @Prop() tooltipSide: 'left' | 'right' | 'top' | 'bottom' = 'bottom';
16
- /**
17
- * Reposiciona o tooltip de acordo com a posição do elemento de ancoragem.
18
- */
19
- async positionTooltip() {
20
- const anchorRect = this.anchoringElement.getBoundingClientRect();
21
- const top = (anchorRect.bottom + window.scrollY);
22
- const left = (anchorRect.left + window.scrollX);
23
- this._element.style.top = `${top}px`;
24
- this._element.style.left = `${left}px`;
25
- }
26
- setEvents() {
27
- window.addEventListener('scroll', () => {
28
- this.positionTooltip();
29
- }, { capture: true });
30
- window.addEventListener('resize', () => {
31
- this.positionTooltip();
32
- }, { capture: true });
33
- this.anchoringElement.addEventListener('mouseover', () => {
34
- this._element.style.display = 'block';
21
+ watchAnchoringElement(newValue, oldValue) {
22
+ if (newValue) {
23
+ this.setEvents(newValue);
24
+ this.removeEvents(oldValue);
25
+ }
26
+ }
27
+ watchMessage(newValue) {
28
+ if (!newValue) {
29
+ this.closeTooltip();
30
+ return;
31
+ }
32
+ this.updatePosition();
33
+ }
34
+ openTooltip() {
35
+ if (this.message && this.active) {
36
+ if (this._debouncingTimeout) {
37
+ clearTimeout(this._debouncingTimeout);
38
+ }
39
+ this._debouncingTimeout = setTimeout(() => {
40
+ this._opened = true;
41
+ this._tooltipElement.style.display = 'block';
42
+ this.updatePosition();
43
+ }, this.debouncingTime);
44
+ }
45
+ }
46
+ closeTooltip() {
47
+ clearTimeout(this._debouncingTimeout);
48
+ this._tooltipElement.style.display = 'none';
49
+ this._opened = false;
50
+ }
51
+ async updatePosition(element = this.anchoringElement) {
52
+ if (!element || !this._opened) {
53
+ return;
54
+ }
55
+ if (this.useAnchorSize) {
56
+ const anchorSize = element.getBoundingClientRect().width;
57
+ this._tooltipElement.style.width = `${anchorSize}px`;
58
+ }
59
+ await computePosition(element, this._tooltipElement, {
60
+ placement: this.placement,
61
+ middleware: [
62
+ offset(5),
63
+ flip(),
64
+ shift(),
65
+ arrow({ element: this._arrowElement })
66
+ ],
67
+ }).then(({ x, y, placement, middlewareData }) => {
68
+ const newTop = placement.includes("bottom") ? y + this.gapOptions.verticalGap : y - this.gapOptions.verticalGap;
69
+ const newLeft = placement.includes("start") ? x + this.gapOptions.horizontalGap : x - this.gapOptions.horizontalGap;
70
+ Object.assign(this._tooltipElement.style, {
71
+ top: `${newTop}px`,
72
+ left: `${newLeft}px`,
73
+ });
74
+ if (middlewareData.arrow) {
75
+ const { x } = middlewareData.arrow;
76
+ const onBottom = placement.includes("bottom");
77
+ Object.assign(this._arrowElement.style, {
78
+ left: `${x}px`,
79
+ top: onBottom ? `${-this._arrowElement.offsetHeight / 2}px` : '',
80
+ bottom: !onBottom ? `${-this._arrowElement.offsetHeight / 2}px` : '',
81
+ });
82
+ }
83
+ });
84
+ }
85
+ handleSlotChange(ev) {
86
+ const slot = ev.target;
87
+ const content = slot.assignedElements()[0];
88
+ this.anchoringElement = content;
89
+ }
90
+ setEvents(element = this.anchoringElement) {
91
+ if (!element) {
92
+ return;
93
+ }
94
+ element.addEventListener('mouseenter', () => {
95
+ this.openTooltip();
96
+ });
97
+ element.addEventListener('mouseleave', () => {
98
+ this.closeTooltip();
99
+ });
100
+ }
101
+ removeEvents(element = this.anchoringElement) {
102
+ if (!element) {
103
+ return;
104
+ }
105
+ element.removeEventListener('mouseenter', () => {
106
+ this.openTooltip();
35
107
  });
36
- this.anchoringElement.addEventListener('mouseout', () => {
37
- this._element.style.display = 'none';
108
+ element.removeEventListener('mouseleave', () => {
109
+ this.closeTooltip();
38
110
  });
39
111
  }
40
112
  componentDidLoad() {
41
- this.positionTooltip();
42
113
  this.setEvents();
43
114
  }
44
115
  render() {
45
- return (h("div", { inert: true, class: "tooltip", role: "tooltip", "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip") }, this.errorMessage));
116
+ return (h(Host, null, h("div", Object.assign({ ref: ref => this._tooltipElement = ref }, { inert: true }, { class: {
117
+ "tooltip": true,
118
+ [`${this.type}-tooltip`]: true,
119
+ }, style: {
120
+ maxWidth: (this.maxWidth && !this.useAnchorSize) ? `${this.maxWidth}px` : undefined,
121
+ }, role: "tooltip", "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip") }), this.message, h("div", { ref: ref => this._arrowElement = ref, class: "arrow" })), h("slot", { onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
46
122
  }
47
123
  get _element() { return getElement(this); }
124
+ static get watchers() { return {
125
+ "anchoringElement": ["watchAnchoringElement"],
126
+ "message": ["watchMessage"]
127
+ }; }
48
128
  };
49
129
  EzTooltip.style = ezTooltipCss;
50
130
 
@@ -1,4 +1,4 @@
1
- import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-baa5e267.js';
1
+ import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-5a720e56.js';
2
2
  import { ElementIDUtils, StringUtils, ObjectUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ICON_EXPANDED = "chevron-down";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-baa5e267.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-5a720e56.js';
2
2
  import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
3
3
  import { ElementIDUtils } from '@sankhyalabs/core';
4
4
  import './DialogType-54a62731.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement, H as Host } from './index-baa5e267.js';
1
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-5a720e56.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%}";