@sankhyalabs/ezui 6.3.0-dev.5 → 6.3.0-dev.6

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 (225) hide show
  1. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  2. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-button.cjs.entry.js +97 -27
  9. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-card-item_2.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-classic-input.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-classic-text-area.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +2 -2
  18. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  29. package/dist/cjs/ez-grid.cjs.entry.js +2 -2
  30. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  41. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-search-plus.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-sortable-list.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
  59. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  60. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  61. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  62. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  64. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  65. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  66. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  67. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  68. package/dist/cjs/ezui.cjs.js +2 -2
  69. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  70. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +0 -3
  71. package/dist/cjs/loader.cjs.js +2 -2
  72. package/dist/cjs/{search-column-bc96c0cc.js → search-column-78dd20d5.js} +1 -1
  73. package/dist/collection/components/ez-button/ez-button.css +292 -80
  74. package/dist/collection/components/ez-button/ez-button.js +226 -29
  75. package/dist/custom-elements/index.js +97 -27
  76. package/dist/esm/ez-actions-button.entry.js +1 -1
  77. package/dist/esm/ez-alert-list.entry.js +1 -1
  78. package/dist/esm/ez-alert.entry.js +1 -1
  79. package/dist/esm/ez-application.entry.js +1 -1
  80. package/dist/esm/ez-avatar.entry.js +1 -1
  81. package/dist/esm/ez-badge.entry.js +1 -1
  82. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  83. package/dist/esm/ez-button.entry.js +97 -27
  84. package/dist/esm/ez-calendar.entry.js +1 -1
  85. package/dist/esm/ez-card-item_2.entry.js +1 -1
  86. package/dist/esm/ez-chart.entry.js +1 -1
  87. package/dist/esm/ez-check.entry.js +1 -1
  88. package/dist/esm/ez-chip.entry.js +1 -1
  89. package/dist/esm/ez-classic-input.entry.js +1 -1
  90. package/dist/esm/ez-classic-text-area.entry.js +1 -1
  91. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  92. package/dist/esm/ez-combo-box-list_4.entry.js +2 -2
  93. package/dist/esm/ez-combo-box.entry.js +1 -1
  94. package/dist/esm/ez-date-input.entry.js +1 -1
  95. package/dist/esm/ez-date-time-input.entry.js +1 -1
  96. package/dist/esm/ez-dialog.entry.js +1 -1
  97. package/dist/esm/ez-double-list.entry.js +1 -1
  98. package/dist/esm/ez-dropdown.entry.js +1 -1
  99. package/dist/esm/ez-empty-card.entry.js +1 -1
  100. package/dist/esm/ez-file-item.entry.js +1 -1
  101. package/dist/esm/ez-filter-input.entry.js +1 -1
  102. package/dist/esm/ez-form-view.entry.js +1 -1
  103. package/dist/esm/ez-form.entry.js +2 -2
  104. package/dist/esm/ez-grid.entry.js +2 -2
  105. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  106. package/dist/esm/ez-icon.entry.js +1 -1
  107. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  108. package/dist/esm/ez-list-item.entry.js +1 -1
  109. package/dist/esm/ez-list.entry.js +1 -1
  110. package/dist/esm/ez-loading-bar.entry.js +1 -1
  111. package/dist/esm/ez-modal-container.entry.js +1 -1
  112. package/dist/esm/ez-modal.entry.js +1 -1
  113. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  114. package/dist/esm/ez-number-input.entry.js +1 -1
  115. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  116. package/dist/esm/ez-popover.entry.js +1 -1
  117. package/dist/esm/ez-popup.entry.js +1 -1
  118. package/dist/esm/ez-radio-button.entry.js +1 -1
  119. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  120. package/dist/esm/ez-scroller_2.entry.js +1 -1
  121. package/dist/esm/ez-search-plus.entry.js +1 -1
  122. package/dist/esm/ez-search-result-list.entry.js +1 -1
  123. package/dist/esm/ez-search.entry.js +1 -1
  124. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  125. package/dist/esm/ez-skeleton.entry.js +1 -1
  126. package/dist/esm/ez-sortable-list.entry.js +1 -1
  127. package/dist/esm/ez-split-button.entry.js +1 -1
  128. package/dist/esm/ez-split-item.entry.js +1 -1
  129. package/dist/esm/ez-split-panel.entry.js +1 -1
  130. package/dist/esm/ez-tabselector.entry.js +1 -1
  131. package/dist/esm/ez-tag.entry.js +1 -1
  132. package/dist/esm/ez-text-area.entry.js +1 -1
  133. package/dist/esm/ez-text-input.entry.js +1 -1
  134. package/dist/esm/ez-tile-medium.entry.js +1 -1
  135. package/dist/esm/ez-tile.entry.js +1 -1
  136. package/dist/esm/ez-time-input.entry.js +1 -1
  137. package/dist/esm/ez-toast.entry.js +1 -1
  138. package/dist/esm/ez-tooltip.entry.js +1 -1
  139. package/dist/esm/ez-tree.entry.js +1 -1
  140. package/dist/esm/ez-underface.entry.js +1 -1
  141. package/dist/esm/ez-upload.entry.js +1 -1
  142. package/dist/esm/ez-view-stack.entry.js +1 -1
  143. package/dist/esm/ezui.js +3 -3
  144. package/dist/esm/filter-column.entry.js +1 -1
  145. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +1 -3
  146. package/dist/esm/loader.js +3 -3
  147. package/dist/esm/{search-column-1fae59c6.js → search-column-729f3655.js} +1 -1
  148. package/dist/ezui/ezui.esm.js +1 -1
  149. package/dist/ezui/{p-d0e32d5d.entry.js → p-02e1efa8.entry.js} +1 -1
  150. package/dist/ezui/{p-0302e76e.entry.js → p-0c1a288c.entry.js} +1 -1
  151. package/dist/ezui/{p-4cf2fd7b.entry.js → p-1e21d31b.entry.js} +1 -1
  152. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  153. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  154. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  155. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  156. package/dist/ezui/{p-dad08031.entry.js → p-24732fea.entry.js} +1 -1
  157. package/dist/ezui/{p-8cdb60dd.entry.js → p-2879c45f.entry.js} +1 -1
  158. package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
  159. package/dist/ezui/{p-eee5f5cf.entry.js → p-31450a28.entry.js} +1 -1
  160. package/dist/ezui/{p-09070774.entry.js → p-3751da14.entry.js} +1 -1
  161. package/dist/ezui/{p-e564b143.entry.js → p-39b16566.entry.js} +1 -1
  162. package/dist/ezui/{p-54b9c2d4.entry.js → p-3cecb4cb.entry.js} +1 -1
  163. package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
  164. package/dist/ezui/{p-f01444ef.entry.js → p-451a17ad.entry.js} +1 -1
  165. package/dist/ezui/{p-570cf58a.entry.js → p-48effc69.entry.js} +1 -1
  166. package/dist/ezui/{p-85a5f05f.entry.js → p-49321ac6.entry.js} +1 -1
  167. package/dist/ezui/{p-8672846a.entry.js → p-4c5cb0da.entry.js} +1 -1
  168. package/dist/ezui/{p-4a876b8b.entry.js → p-4d30b703.entry.js} +1 -1
  169. package/dist/ezui/{p-dc3e6906.entry.js → p-4e6e0740.entry.js} +1 -1
  170. package/dist/ezui/{p-298284d2.entry.js → p-5172793a.entry.js} +1 -1
  171. package/dist/ezui/{p-31dc91b6.entry.js → p-52d9b604.entry.js} +1 -1
  172. package/dist/ezui/{p-7077d357.entry.js → p-53bc30a1.entry.js} +1 -1
  173. package/dist/ezui/{p-e2d8bf5f.entry.js → p-559b915a.entry.js} +1 -1
  174. package/dist/ezui/{p-db1fa372.entry.js → p-5ac7c4b3.entry.js} +1 -1
  175. package/dist/ezui/{p-268f56ba.entry.js → p-5b9060ad.entry.js} +1 -1
  176. package/dist/ezui/{p-5a6cc555.entry.js → p-5dd12c80.entry.js} +1 -1
  177. package/dist/ezui/{p-3640fa42.entry.js → p-5e495d47.entry.js} +1 -1
  178. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  179. package/dist/ezui/{p-3234f883.entry.js → p-603ef267.entry.js} +1 -1
  180. package/dist/ezui/{p-92f59952.entry.js → p-60f5483c.entry.js} +1 -1
  181. package/dist/ezui/{p-51e34317.entry.js → p-6369a0cd.entry.js} +1 -1
  182. package/dist/ezui/{p-991105d5.entry.js → p-66b00dec.entry.js} +1 -1
  183. package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
  184. package/dist/ezui/p-6f77a359.entry.js +1 -0
  185. package/dist/ezui/{p-47e0e534.entry.js → p-762a1033.entry.js} +1 -1
  186. package/dist/ezui/{p-ea053063.entry.js → p-79044c3e.entry.js} +1 -1
  187. package/dist/ezui/{p-7f9a2d15.entry.js → p-7aed8d32.entry.js} +1 -1
  188. package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
  189. package/dist/ezui/{p-9d73f961.entry.js → p-82fa431b.entry.js} +1 -1
  190. package/dist/ezui/p-86b065e6.entry.js +1 -0
  191. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  192. package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
  193. package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
  194. package/dist/ezui/{p-01970859.entry.js → p-94630d41.entry.js} +1 -1
  195. package/dist/ezui/{p-18e71523.entry.js → p-9c5cd3b2.entry.js} +1 -1
  196. package/dist/ezui/{p-8b717571.js → p-9dc31fc6.js} +1 -1
  197. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  198. package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
  199. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  200. package/dist/ezui/{p-c5d5b872.entry.js → p-bc22f56d.entry.js} +1 -1
  201. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  202. package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
  203. package/dist/ezui/{p-a9d366c6.entry.js → p-c2d38fbf.entry.js} +1 -1
  204. package/dist/ezui/{p-c96e536d.entry.js → p-d2645bdf.entry.js} +1 -1
  205. package/dist/ezui/{p-aeef7e9c.entry.js → p-d512cb84.entry.js} +1 -1
  206. package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
  207. package/dist/ezui/{p-2ca29b0f.entry.js → p-d845fa56.entry.js} +1 -1
  208. package/dist/ezui/p-d8cc640d.entry.js +1 -0
  209. package/dist/ezui/{p-73d20de7.entry.js → p-da4419a6.entry.js} +1 -1
  210. package/dist/ezui/{p-5f4a66ec.entry.js → p-dee18824.entry.js} +1 -1
  211. package/dist/ezui/{p-934c75e7.entry.js → p-e20ad35d.entry.js} +1 -1
  212. package/dist/ezui/{p-da33812f.entry.js → p-e5e623d9.entry.js} +1 -1
  213. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  214. package/dist/ezui/{p-a9dd1606.entry.js → p-e78e87f5.entry.js} +1 -1
  215. package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
  216. package/dist/ezui/{p-60f6fa4c.entry.js → p-ec04285e.entry.js} +1 -1
  217. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  218. package/dist/ezui/{p-1cebeb65.entry.js → p-fcdc7d0b.entry.js} +1 -1
  219. package/dist/types/components/ez-button/ez-button.d.ts +48 -2
  220. package/dist/types/components.d.ts +52 -2
  221. package/package.json +4 -3
  222. package/dist/ezui/p-14d6aeb8.entry.js +0 -1
  223. package/dist/ezui/p-32f9df45.entry.js +0 -1
  224. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  225. package/dist/ezui/p-87f5a060.entry.js +0 -1
@@ -1,23 +1,58 @@
1
- import { r as registerInstance, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
- const ezButtonCss = ":host{--ez-button--min-width:100px;--ez-button--width:'auto';--ez-button--height:42px;--ez-button__icon--width:18px;--ez-button__inline__icon--padding:12px;--ez-button--padding-top:0px;--ez-button--padding-bottom:0px;--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--title--primary, #2B3A54);--ez-button--font-size:var(--text--medium, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--text-weight--large, 500);--ez-button--background-color:var(--background--light, #ffffff);--ez-button--border-radius:var(--border--radius-large, 24px);--ez-button--border:1px solid var(--color--strokes);--ez-button--justify-content:center;--ez-button--hover-color:var(--color--primary-600, #007a5a);--ez-button--hover--background-color:var(--background--light, #ffffff);--ez-button--disabled-color:var(--text--primary);--ez-button--disabled--background-color:var(--background--medium);--ez-button--focus--border:var(--border--medium, 2px solid) var(--color--primary-300);--ez-button--focus--box-shadow:var(--color--primary-300) 0px 0px 0px 2px;--ez-button--active-color:var(--color--primary-700);--ez-button--active--background-color:var(--background--strong);--ez-button--link-color:var(--color--primary, '#008561');--ez-button--link--hover-color:var(--color--primary-700, '#1C1D22');--ez-button--link-disabled-color:var(--text--secondary, #a2abb9);--ez-button--link--small--font-size:var(--text--small, 12px);--ez-button--link--medium--font-size:var(--text--medium, 14px);--ez-button--link--large--font-size:var(--text--large, 16px)}ez-icon{--ez-icon--color:inherit}button{position:relative;display:flex;align-items:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;white-space:nowrap;min-width:var(--ez-button--min-width);width:var(--ez-button--width);height:var(--ez-button--height);font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);padding:var(--ez-button--padding-top) var(--ez-button--padding-right) var(--ez-button--padding-bottom) var(--ez-button--padding-left);border-radius:var(--ez-button--border-radius);background-color:var(--ez-button--background-color);color:var(--ez-button--color);fill:var(--ez-button--color);border:var(--ez-button--border);justify-content:var(--ez-button--justify-content)}button:focus{outline:none;box-shadow:var(--ez-button--focus--box-shadow)}button:hover{outline:none;background-color:var(--ez-button--hover--background-color);color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}button:active{outline:none;box-shadow:none;background-color:var(--ez-button--active--background-color);color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);--ez-icon--color:var(--ez-button--disabled-color);cursor:no-drop}.x-small{height:28px;--ez-button--font-size:var(--text--small, 12px)}.small{height:32px;--ez-button--font-size:var(--text--small, 12px)}.medium{height:42px}.large{height:46px}.btn-icon{padding:0px}.btn-icon--medium{width:42px;min-width:42px;height:42px}.btn-icon--x-small{width:28px;min-width:28px;height:28px}.btn-icon--small{width:32px;min-width:32px;height:32px}.btn-icon--large{width:46px;min-width:46px;height:46px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--color)}.label-icon:hover{color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}.label-icon:active{color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}.label-icon label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);user-select:none}button:disabled+label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);color:var(--ez-button--disabled-color);cursor:no-drop}div.label-icon{cursor:pointer}div.label-icon,button:disabled{cursor:no-drop}a{font-family:var(--ez-button--font-family);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}a:hover{color:var(--ez-button--link--hover-color)}a.small{font-size:var(--ez-button--link--small--font-size);line-height:var(--ez-button--link--small--font-size)}a.medium{font-size:var(--ez-button--link--medium--font-size);line-height:var(--ez-button--link--medium--font-size)}a.large{font-size:var(--ez-button--link--large--font-size);line-height:var(--ez-button--link--large--font-size)}a.disabled{color:var(--ez-button--link-disabled-color);cursor:not-allowed}";
4
+ const ezButtonCss = ":host{--ez-button--min-width:50px;--ez-button--width:auto;--ez-button--height:var(--space--42, 42px);--ez-button--padding-top:var(--space--0, 0px);--ez-button--padding-bottom:var(--space--0, 0px);--ez-button--padding-right:var(--space--12, 12px);--ez-button--padding-left:var(--space--12, 12px);--ez-button--icon--gap:var(--space--8, 8px);--ez-button--color:var(--color--ocean-green-600, #008561);--ez-button--label-icon--color:var(--color--ocean-green-500, #1A9171);--ez-button--label-icon--hover-color:var(--color--ocean-green-700, #00684C);--ez-button--label-icon--disabled-color:var(--color--gray-400);--ez-button--left-icon--color:var(--color--ocean-green-600, #008561);--ez-button--right-icon--color:var(--color--ocean-green-600, #008561);--ez-button--left-icon--hover-color:var(--color--ocean-green-600, #008561);--ez-button--right-icon--hover-color:var(--color--ocean-green-600, #008561);--ez-button--left-icon--disabled-color:var(--color--gray-300, #A4A5A7);--ez-button--right-icon--disabled-color:var(--color--gray-300, #A4A5A7);--ez-button--font-size:var(--font-size--default, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--font-weight--medium, 500);--ez-button--background-color:var(--color--gray-70, #ffffff);--ez-button--border-radius:var(--border--radius--24, 24px);--ez-button--border:1px solid var(--color--gray-90, #EAEAEA);--ez-button--hover--border:1px solid var(--color--gray-90, #EAEAEA);--ez-button--justify-content:center;--ez-button--hover-color:var(--color--ocean-green-600, #008561);--ez-button--hover--background-color:var(--color--gray-80, #F9F9F9);--ez-button--disabled-color:var(--color--gray-400, #77777A);--ez-button--disabled--background-color:var(--color--gray-80, #F9F9F9);--ez-button--disabled--border:1px solid var(--color--gray-200, #A4A5A7);--ez-button--disabled-icon-color:var(--color--gray-400, #D2D2D3);--ez-button--link-color:var(--color--ocean-green-600, #008561);--ez-button--link--hover-color:var(--color--primary-700, #1C1D22);--ez-button--link-disabled-color:var(--color--gray-400, #77777A);--ez-button--link--small--font-size:var(--font-size--small, 12px);--ez-button--link--medium--font-size:var(--font-size--default, 14px);--ez-button--link--large--font-size:var(--font-size--medium, 16px);display:flex;width:fit-content}:host(.ez-button--primary){--ez-button--color:var(--color--gray-70);--ez-button--background-color:var(--color--ocean-green-500);--ez-button--font-weight:var(--font-weight--regular);--ez-button--left-icon--color:var(--color--gray-70);--ez-button--right-icon--color:var(--color--gray-70);--ez-button--border:1px solid var(--color--ocean-green-500);--ez-button--hover-color:var(--color--gray-70);--ez-button--hover--background-color:var(--color--ocean-green-700);--ez-button--hover--border:1px solid var(--color--ocean-green-700);--ez-button--left-icon--hover-color:var(--color--gray-70);--ez-button--right-icon--hover-color:var(--color--gray-70);--ez-button--disabled-color:var(--color--gray-70);--ez-button--disabled--background-color:var(--color--gray-400);--ez-button--disabled--border:1px solid var(--color--gray-400);--ez-button--disabled-icon-color:var(--color--gray-200);--ez-button--left-icon--disabled-color:var(--color--gray-200);--ez-button--right-icon--disabled-color:var(--color--gray-200)}:host(.ez-button--secondary){--ez-button--color:var(--color--ocean-green-600);--ez-button--background-color:var(--color--gray-70);--ez-button--border:1px solid var(--color--gray-90);--ez-button--left-icon--color:var(--color--ocean-green-600);--ez-button--right-icon--color:var(--color--ocean-green-600);--ez-button--hover-color:var(--color--ocean-green-600);--ez-button--hover--background-color:var(--color--gray-80);--ez-button--hover--border:1px solid var(--color--gray-90);--ez-button--left-icon--hover-color:var(--color--ocean-green-600);--ez-button--right-icon--hover-color:var(--color--ocean-green-600);--ez-button--disabled-color:var(--color--gray-400);--ez-button--disabled--background-color:var(--color--gray-80);--ez-button--disabled--border:1px solid var(--color--gray-200);--ez-button--disabled-icon-color:var(--color--gray-400);--ez-button--left-icon--disabled-color:var(--color--gray-300);--ez-button--right-icon--disabled-color:var(--color--gray-300)}:host(.ez-button--tertiary){--ez-button--color:var(--color--ocean-green-600);--ez-button--background-color:transparent;--ez-button--font-weight:var(--font-weight--regular);--ez-button--border:none;--ez-button--left-icon--color:var(--color--ocean-green-600);--ez-button--right-icon--color:var(--color--ocean-green-600);--ez-button--hover-color:var(--color--ocean-green-800);--ez-button--hover--background-color:transparent;--ez-button--hover--border:none;--ez-button--left-icon--hover-color:var(--color--ocean-green-800);--ez-button--right-icon--hover-color:var(--color--ocean-green-800);--ez-button--disabled-color:var(--color--gray-400);--ez-button--disabled--background-color:transparent;--ez-button--disabled--border:transparent;--ez-button--disabled-icon-color:var(--color--gray-200);--ez-button--left-icon--disabled-color:var(--color--gray-200);--ez-button--right-icon--disabled-color:var(--color--gray-200)}:host(.ez-button--link--primary){color:var(--color--primary);fill:var(--color--primary)}button{position:relative;display:flex;align-items:center;outline:0;border:0;margin:0;padding:0;cursor:pointer;transition:background-color 0.2s linear, transform 0.15s ease;white-space:nowrap;box-sizing:border-box;overflow:hidden;transform:scale(1);min-width:var(--ez-button--min-width);width:var(--ez-button--width);height:var(--ez-button--height);font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);padding:var(--ez-button--padding-top) var(--ez-button--padding-right) var(--ez-button--padding-bottom) var(--ez-button--padding-left);border-radius:var(--ez-button--border-radius);gap:var(--ez-button--icon--gap);background-color:var(--ez-button--background-color);color:var(--ez-button--color);fill:var(--ez-button--color);border:var(--ez-button--border);justify-content:var(--ez-button--justify-content)}button.pressed{transform:scale(0.98)}button.btn-icon{transition:background-color 0.2s linear, transform 0.15s ease;transform:scale(1)}button.btn-icon.pressed{transform:scale(0.95)}button:disabled,button[aria-disabled]{transform:scale(1) !important}.ripple{position:absolute;width:20px;height:20px;border-radius:50%;background:rgba(255, 255, 255, 0.3);pointer-events:none;transform:scale(0);animation:ripple-animation 0.6s linear;z-index:0}@keyframes ripple-animation{to{transform:scale(4);opacity:0}}:host .ripple,:host(.ez-button--secondary) .ripple{background:rgba(0, 133, 97, 0.2)}:host(.ez-button--primary) .ripple{background:rgba(255, 255, 255, 0.3)}:host(.ez-button--tertiary) .ripple{background:rgba(0, 133, 97, 0.15)}button>*:not(.ripple){position:relative;z-index:1}button:disabled .ripple,button[aria-disabled] .ripple{display:none}button:hover{background-color:var(--ez-button--hover--background-color);border:var(--ez-button--hover--border);color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}button[aria-disabled]:active,button:disabled:active,button[aria-disabled]:hover,button:disabled:hover,button[aria-disabled],button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);--ez-icon--color:var(--ez-button--disabled-icon-color);--ez-button--left-icon--color:var(--ez-button--left-icon--disabled-color);--ez-button--right-icon--color:var(--ez-button--right-icon--disabled-color);cursor:no-drop;border:var(--ez-button--disabled--border)}button[aria-disabled].force-focus-visible,button[aria-disabled]:focus-visible{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px var(--color--petroleum-100)}button ez-icon{--ez-icon--color:inherit}button ez-icon.leftIcon{--ez-icon--color:var(--ez-button--left-icon--color)}button ez-icon.rightIcon{--ez-icon--color:var(--ez-button--right-icon--color)}button:hover ez-icon.leftIcon{--ez-icon--color:var(--ez-button--left-icon--hover-color)}button:hover ez-icon.rightIcon{--ez-icon--color:var(--ez-button--right-icon--hover-color)}button:disabled:hover ez-icon.leftIcon,button[aria-disabled]:hover ez-icon.leftIcon{--ez-icon--color:var(--ez-button--left-icon--disabled-color)}button:disabled:hover ez-icon.rightIcon,button[aria-disabled]:hover ez-icon.rightIcon{--ez-icon--color:var(--ez-button--right-icon--disabled-color)}button.x-small{height:28px;--ez-button--font-size:var(--text--small, 12px)}button.small{height:32px;--ez-button--font-size:var(--text--small, 12px)}button.medium{height:42px}button.large{height:46px}button.btn-icon{padding:0px}.btn-icon--medium{width:42px;min-width:42px;height:42px}.btn-icon--x-small{width:28px;min-width:28px;height:28px}.btn-icon--small{width:32px;min-width:32px;height:32px}.btn-icon--large{width:46px;min-width:46px;height:46px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--label-icon--color)}.label-icon:hover{color:var(--ez-button--label-icon--hover-color);fill:var(--ez-button--label-icon--hover-color)}.label-icon .disabled{color:var(--ez-button--label-icon--disabled-color)}.label-icon label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);user-select:none}button[aria-disabled]+label,button:disabled+label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);color:var(--ez-button--label-icon--disabled-color);cursor:no-drop}button.force-focus-visible,button:focus-visible{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px var(--color--ocean-green-200)}div.label-icon{cursor:pointer}div.label-icon button[aria-disabled],div.label-icon button:disabled{cursor:no-drop}a{outline:0;border:0;margin:0;border-radius:0;padding:0;margin:0;padding-inline:var(--space--8);font-family:var(--ez-button--font-family);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:var(--ez-button--border-radius);gap:var(--ez-button--icon--gap)}a ez-icon{--ez-icon--color:var(--ez-button--link--color)}a:hover{color:var(--ez-button--link--hover-color);--ez-icon--color:var(--ez-button--link--hover-color)}a:hover ez-icon{--ez-icon--color:var(--ez-button--link--hover-color)}a.disabled{color:var(--ez-button--link-disabled-color);cursor:not-allowed}a.disabled ez-icon{--ez-icon--color:var(--ez-button--link-disabled-color)}a.small{font-size:var(--ez-button--link--small--font-size);line-height:var(--ez-button--link--small--font-size)}a.medium{font-size:var(--ez-button--link--medium--font-size);line-height:var(--ez-button--link--medium--font-size)}a.large{font-size:var(--ez-button--link--large--font-size);line-height:var(--ez-button--link--large--font-size)}a.force-focus-visible,a:focus-visible{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px var(--color--ocean-green-200)}a.disabled.force-focus-visible,a.disabled:focus-visible{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px var(--color--petroleum-100)}";
5
5
 
6
6
  const EzButton = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
+ this.createRipple = (event) => {
10
+ const button = this._button;
11
+ if (!button || this.isDisabled || !this.enabled)
12
+ return;
13
+ const rect = button.getBoundingClientRect();
14
+ let clientX, clientY;
15
+ if (event instanceof MouseEvent) {
16
+ clientX = event.clientX;
17
+ clientY = event.clientY;
18
+ }
19
+ else {
20
+ clientX = event.touches[0].clientX;
21
+ clientY = event.touches[0].clientY;
22
+ }
23
+ const x = clientX - rect.left;
24
+ const y = clientY - rect.top;
25
+ const newRipple = { x, y, id: Date.now() };
26
+ this.ripples = [...this.ripples, newRipple];
27
+ this.isPressed = true;
28
+ setTimeout(() => {
29
+ this.isPressed = false;
30
+ }, 150);
31
+ setTimeout(() => {
32
+ this.ripples = this.ripples.filter(ripple => ripple.id !== newRipple.id);
33
+ }, 600);
34
+ };
35
+ this.ripples = [];
36
+ this.isPressed = false;
9
37
  this.label = undefined;
10
38
  this.enabled = true;
39
+ this.isDisabled = false;
11
40
  this.mode = "regular";
12
41
  this.image = undefined;
13
42
  this.iconName = undefined;
14
- this.size = undefined;
43
+ this.size = "medium";
44
+ this.variant = undefined;
45
+ this.type = "button";
46
+ this.leftIconName = undefined;
47
+ this.rightIconName = undefined;
48
+ this.suppressAnimation = false;
15
49
  }
16
50
  /**
17
51
  * Aplica o foco no botão.
18
52
  */
19
53
  async setFocus() {
20
54
  this._button.focus();
55
+ this._button.classList.add("force-focus-visible");
21
56
  }
22
57
  /**
23
58
  * Remove o foco do botão.
@@ -25,12 +60,32 @@ const EzButton = class {
25
60
  async setBlur() {
26
61
  this._button.blur();
27
62
  }
63
+ onMouseDown(event) {
64
+ this.createRipple(event);
65
+ }
66
+ onTouchStart(event) {
67
+ this.createRipple(event);
68
+ }
28
69
  clickListener(evt) {
29
- if (!this.enabled) {
70
+ const isDisabled = !this.enabled ||
71
+ this.isDisabled === true ||
72
+ this.isDisabled === "" ||
73
+ this.isDisabled === "full";
74
+ if (isDisabled) {
30
75
  evt.stopImmediatePropagation();
31
76
  }
32
77
  }
78
+ removeForcedFocusVisible() {
79
+ var _a;
80
+ (_a = this._button) === null || _a === void 0 ? void 0 : _a.classList.remove('force-focus-visible');
81
+ }
82
+ connectedCallback() {
83
+ var _a, _b;
84
+ (_a = this._button) === null || _a === void 0 ? void 0 : _a.removeEventListener('blur', this.removeForcedFocusVisible.bind(this));
85
+ (_b = this._button) === null || _b === void 0 ? void 0 : _b.addEventListener('blur', this.removeForcedFocusVisible.bind(this));
86
+ }
33
87
  componentDidLoad() {
88
+ var _a;
34
89
  if (this._element) {
35
90
  ElementIDUtils.addIDInfo(this._element);
36
91
  }
@@ -38,17 +93,23 @@ const EzButton = class {
38
93
  const dataInfo = { id: 'embedded' };
39
94
  ElementIDUtils.addIDInfo(this._button, 'button', dataInfo);
40
95
  }
96
+ (_a = this._button) === null || _a === void 0 ? void 0 : _a.addEventListener('blur', this.removeForcedFocusVisible.bind(this));
97
+ }
98
+ disconnectCallback() {
99
+ var _a;
100
+ (_a = this._button) === null || _a === void 0 ? void 0 : _a.removeEventListener('blur', this.removeForcedFocusVisible.bind(this));
41
101
  }
42
102
  getButtonSize(sizeParam = "medium") {
43
103
  const sizeList = ["x-small", "small", "medium", "large"];
44
104
  const sizeLowerCase = this.size && this.size.toLowerCase();
45
105
  return sizeList.includes(sizeLowerCase) ? sizeLowerCase : sizeParam;
46
106
  }
47
- getIconSize(sizeParam = "medium") {
48
- const sizeList = ["small", "medium", "large"];
49
- const sizeLowerCase = this.size && this.size.toLowerCase();
50
- const sizeMapped = sizeLowerCase === "x-small" ? "small" : sizeLowerCase;
51
- return sizeList.includes(sizeMapped) ? sizeMapped : sizeParam;
107
+ getButtonSizeClass() {
108
+ return this.getButtonSize() ? `btn-icon--${this.getButtonSize()}` : "";
109
+ }
110
+ getIconSize() {
111
+ const iconSize = this.size === "x-small" ? "small" : this.size;
112
+ return iconSize;
52
113
  }
53
114
  handleSlotChange(ev) {
54
115
  const slot = ev.target;
@@ -56,31 +117,40 @@ const EzButton = class {
56
117
  if (!!content) {
57
118
  if (this.mode == "link") {
58
119
  content.style.display = "inline";
59
- if (slot.name == "leftIcon") {
60
- content.style.paddingRight = "var(--ez-button__inline__icon--padding)";
61
- }
62
- else if (slot.name == "rightIcon") {
63
- content.style.paddingLeft = "var(--ez-button__inline__icon--padding)";
64
- }
65
120
  }
66
121
  else {
67
122
  content.style.setProperty("--ez-icon--color", "var(--ez-icon--color)");
68
123
  }
69
124
  }
70
125
  }
126
+ renderRipples() {
127
+ return this.ripples.map((ripple) => (h("span", { key: ripple.id, class: "ripple", style: {
128
+ left: `${ripple.x - 10}px`,
129
+ top: `${ripple.y - 10}px`,
130
+ } })));
131
+ }
71
132
  render() {
72
- if (this.mode == "icon") {
73
- return (h("button", { class: "btn-icon " + ((this.getButtonSize()) ? `btn-icon--${this.getButtonSize()}` : ""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize() })));
74
- }
75
- else if (this.mode == "label-icon") {
76
- return (h("div", { class: "label-icon" }, h("button", { class: "btn-icon " + ((this.getButtonSize()) ? `btn-icon--${this.getButtonSize()}` : ""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize() })), h("label", { title: this.label }, this.label)));
77
- }
78
- else if (this.mode == "link") {
79
- return (h("a", { class: `${this.getIconSize()} ${!this.enabled ? "disabled" : ""}`, ref: (el) => this._button = el }, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
80
- }
81
- else {
82
- return (h("button", { class: this.getButtonSize(""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
83
- }
133
+ const renderButton = () => {
134
+ if (this.mode == "icon") {
135
+ return (h("button", { class: `btn-icon ${this.getButtonSizeClass()} ${this.isPressed ? 'pressed' : ''}`, type: this.type, disabled: this.isDisabled === "full" || !this.enabled, "aria-disabled": this.isDisabled && this.isDisabled === true, ref: (el) => this._button = el }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize() }), !this.suppressAnimation && this.renderRipples()));
136
+ }
137
+ if (this.mode == "label-icon") {
138
+ return (h("div", { class: `label-icon ${(this.isDisabled === "full" || this.isDisabled === "" || this.isDisabled === true || !this.enabled) ? "disabled" : ""}` }, h("button", { class: `btn-icon ${this.getButtonSizeClass()} ${this.isPressed ? 'pressed' : ''}`, type: this.type, disabled: this.isDisabled === "full" || !this.enabled, "aria-disabled": this.isDisabled && this.isDisabled === true, ref: (el) => this._button = el }, h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize() }), !this.suppressAnimation && this.renderRipples()), h("label", { title: this.label }, this.label)));
139
+ }
140
+ if (this.mode == "link") {
141
+ return (h("a", { class: `${this.getIconSize()} ${(this.isDisabled === "full" || this.isDisabled === "" || this.isDisabled === true || !this.enabled) ? "disabled" : ""}`, tabIndex: 0, ref: (el) => this._button = el }, this.leftIconName
142
+ ? h("ez-icon", { class: "leftIcon", iconName: this.leftIconName, size: this.getIconSize() })
143
+ : h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, this.rightIconName
144
+ ? h("ez-icon", { class: "rightIcon", iconName: this.rightIconName, size: this.getIconSize() })
145
+ : h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
146
+ }
147
+ return (h("button", { class: `${this.getButtonSize("")} ${this.isPressed ? 'pressed' : ''}`, type: this.type, disabled: this.isDisabled === "full" || !this.enabled, "aria-disabled": this.isDisabled && this.isDisabled === true, ref: (el) => this._button = el }, this.leftIconName
148
+ ? h("ez-icon", { class: "leftIcon", iconName: this.leftIconName, size: this.getIconSize() })
149
+ : h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, this.rightIconName
150
+ ? h("ez-icon", { class: "rightIcon", iconName: this.rightIconName, size: this.getIconSize() })
151
+ : h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), !this.suppressAnimation && this.renderRipples()));
152
+ };
153
+ return (h(Host, { class: `${this.variant ? `ez-button--${this.variant}` : ""}` }, renderButton()));
84
154
  }
85
155
  get _element() { return getElement(this); }
86
156
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-baa5e267.js';
2
2
  import { FloatingManager } from '@sankhyalabs/core';
3
3
  import { i as initI18n } from './index-498e0126.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { c as computePosition, f as flip, s as shift } from './floating-ui.dom.esm-5d3da819.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-baa5e267.js';
2
2
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9943807e.js';
3
3
 
4
4
  class ChartContext {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CheckMode } from './CheckMode-bdb2ec19.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezChipCss = ":host{--ez-label-chip--height:32px;--ez-label-chip__label--font-size:var(--font-size--default, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--font-weight--regular, 400);--ez-label-chip__horizontal-padding:var(--space--8, 8px);--ez-label-chip__label--text--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label--icon--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--gray-80, #F9F9F9);--ez-label-chip__label__container--background-color:var(--color--ocean-green-600, #008561);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--ocean-green-700, #00684C);--ez-label-chip__label__container--default--color--active:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--text--disabled:var(--color--gray-300, #A4A5A7);--ez-label-chip__label__container--default--border-color--active:transparent;--ez-label-chip__label__container--default--margin-top:var(--space-extra-small, 0px)}.label__text{cursor:pointer;white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden;max-width:100%;font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.label__text--disabled{cursor:not-allowed}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;gap:var(--space--4);height:var(--ez-label-chip--height);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);padding:0 var(--ez-label-chip__horizontal-padding);outline-color:var(--ez-label-chip__label__container--default--border-color--active);margin-top:var(--ez-label-chip__label__container--default--margin-top)}.label__container[data-size=\"default\"]{height:var(--ez-label-chip--height, 32px)}.label__container[data-size=\"medium\"]{height:42px}.label__container[data-size=\"large\"]{height:50px}.label__container--row-reverse{flex-direction:row-reverse}.label__container--disabled{cursor:not-allowed}.label__container:hover{-webkit-transition:150ms -webkit-filter linear;transition:150ms filter linear, 150ms -webkit-filter linear;filter:brightness(90%)}.label__container:focus{outline:none;box-shadow:0 0 0 2px var(--ez-label-chip__label__container--default--border-color--active)}.label__container:active{-webkit-transition:150ms -webkit-filter linear;transition:150ms filter linear, 150ms -webkit-filter linear;filter:brightness(85%)}.label__container[data-color-type=\"primary\"] ez-icon{--ez-icon--color:var(--ez-label-chip__label--icon--primary)}:host .label__container[data-color-type=\"primary\"] ::slotted(ez-icon){--ez-icon--color:var(--ez-label-chip__label--icon--primary)}.label__container[data-color-type=\"primary\"][data-color-state=\"default\"]{border-color:var(--ez-label-chip__label__container--border-color-strokes);background-color:var(--ez-label-chip__label__container--background-color);color:var(--ez-label-chip__label--text--primary)}.label__container[data-color-type=\"primary\"][data-color-state=\"active\"]{border-color:var(--ez-label-chip__label__container--border-color-active);background-color:var(--ez-label-chip__label__container--default--background-color--active);color:var(--ez-label-chip__label__container--default--color--active)}.label__container[data-color-type=\"primary\"]:focus{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container[data-color-type=\"secondary\"] ez-icon{--ez-icon--color:var(--color--gray-300, #A4A5A7)}:host .label__container[data-color-type=\"secondary\"] ::slotted(ez-icon){--ez-icon--color:var(--color--gray-300, #A4A5A7)}.label__container[data-color-type=\"secondary\"][data-color-state=\"default\"]{border-color:var(--color--gray-200, #D2D2D3);background-color:var(--color--gray-70);color:var(--color--ocean-green-1000, #00281D)}.label__container[data-color-type=\"secondary\"][data-color-state=\"active\"]{border-color:var(--color--gray-200, #D2D2D3);background-color:var(--color--primary-300, #f2faf8);color:var(--color--primary, #f2faf8)}.label__container[data-color-type=\"secondary\"]:focus{color:var(--color--primary, #007a5a)}.label__container[data-color-state=\"disabled\"]{border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);color:var(--ez-label-chip__label__container--text--disabled);cursor:not-allowed;filter:none}.label__container[data-color-state=\"disabled\"] ez-icon{--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  class MaskFormatter {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezClassicTextAreaCss = ":host{display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);border:none;padding:0;--ez-classic-text-area--label-color:var(--color--ocean-green-1000, #00281D);--ez-classic-text-area--border-color-default:var(--color--gray-200, #D2D2D3);--ez-classic-text-area--border-color-focus:var(--color--gray-300, #A4A5A7);--ez-classic-text-area--border-color-success:var(--color--green-600, #157A00);--ez-classic-text-area--border-color-error:var(--color--red-600, #BD0025);--ez-classic-text-area--border-color-warning:var(--color--yellow-600, #EFB103);--ez-classic-text-area--background-color:var(--color--gray-70, #FFFFFF);--ez-classic-text-area--background-color-disabled:var(--color--gray-90, #EAEAEA);--ez-classic-text-area--text-color:var(--color--ocean-green-1000, #00281D);--ez-classic-text-area--placeholder-color:#bdbdbd;--ez-classic-text-area--icon-color:var(--color--gray-400, #77777A);--ez-classic-text-area--helptext-color:var(--color--ocean-green-1000, #00281D)}.text-area-container{display:flex;flex-direction:row;align-items:start;width:100%;border:none;border-radius:var(--border--radius-8, 8px);padding:var(--space--16, 16px);box-sizing:border-box;gap:var(--space--10, 10px);margin:var(--space--4, 4px) var(--space--2, 2px);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);resize:vertical;overflow:auto;background-color:var(--ez-classic-text-area--background-color)}.text-area-container,.text-area-container[data-state=\"default\"]{box-shadow:0 0 0 1px var(--ez-classic-text-area--border-color-default)}.text-area-container[data-state=\"success\"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-success)}.text-area-container[data-state=\"error\"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-error)}.text-area-container[data-state=\"warning\"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-warning)}.text-area-container:focus-within{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-focus)}ez-icon{min-width:var(--space--24, 24px);color:var(--ez-classic-text-area--icon-color)}textarea{flex:1;border:none;outline:none;background:transparent;height:100%;width:100%;padding:0;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);text-overflow:ellipsis;min-height:calc(var(--ez-classic-text-area--min-height) - var(--space--32, 32px));resize:none;scrollbar-width:thin;color:var(--ez-classic-text-area--text-color)}.text-area-container[data-disabled=\"true\"]{cursor:not-allowed;background:var(--ez-classic-text-area--background-color-disabled);border-color:var(--ez-classic-text-area--border-color-default)}.text-area-container[data-disabled=\"true\"]>*{cursor:not-allowed}@keyframes ez-helptext-fadein{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}span{font-size:var(--font-size--xsmall, 10px);line-height:var(--line-height--16, 16px);overflow:hidden;text-overflow:ellipsis;animation:ez-helptext-fadein 0.3s ease;color:var(--ez-classic-text-area--helptext-color)}label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:var(--line-height--20, 20px);color:var(--ez-classic-text-area--label-color)}.icon-clickable{cursor:pointer}.text-area-container[data-resize=\"none\"]{resize:none}.text-area-container[data-resize=\"both\"]{resize:both}.text-area-container[data-resize=\"horizontal\"]{resize:horizontal}.text-area-container[data-resize=\"vertical\"]{resize:vertical}.text-area-container::-webkit-resizer{display:none}.text-area-container::-moz-resizer{display:none}.text-area-container:not([data-resize=\"none\"]){position:relative}.text-area-container:not([data-resize=\"none\"])::after{content:'';position:absolute;bottom:var(--space--2, 2px);right:var(--space--2, 2px);width:var(--space--10, 10px);height:var(--space--10, 10px);background:linear-gradient(135deg, transparent 0% 50%, var(--ez-classic-text-area--border-color-default) 50% 58%, transparent 58% 70%, var(--ez-classic-text-area--border-color-default) 70% 78%, transparent 78% 100%);pointer-events:none}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { A as ApplicationUtils } from './ApplicationUtils-1fd662ab.js';
4
4
  import './DialogType-54a62731.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as H, H as Host, c as createEvent, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils, ObjectUtils, HTMLBuilder, StringUtils, KeyboardManager } from '@sankhyalabs/core';
3
3
  import { i as initI18n } from './index-498e0126.js';
4
4
  import { C as CustomEditorSource } from './FormLayout-071d324c.js';
@@ -248,7 +248,7 @@ const EzCustomFormInput = class {
248
248
  this.gui = gui;
249
249
  return;
250
250
  }
251
- if (!(gui instanceof H) && typeof gui !== 'string') {
251
+ if (!(gui instanceof HTMLElement) && typeof gui !== 'string') {
252
252
  this.handleValue(gui);
253
253
  this.gui = gui;
254
254
  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 { ObjectUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import './ApplicationUtils-1fd662ab.js';
4
4
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
@@ -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 { DateUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
4
  import { i as initI18n } from './index-498e0126.js';
@@ -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 { DateUtils, TimeFormatter, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
4
  import { i as initI18n } from './index-498e0126.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-baa5e267.js';
2
2
  import { D as DialogType } from './DialogType-54a62731.js';
3
3
  import { FloatingManager, ElementIDUtils, KeyboardManager } from '@sankhyalabs/core';
4
4
  import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-baa5e267.js';
2
2
  import { ObjectUtils } from '@sankhyalabs/core';
3
3
  import { i as isContinuousSequence } from './ezListHelper-00fb9b8d.js';
4
4
  import { i as initI18n } from './index-498e0126.js';
@@ -1,4 +1,4 @@
1
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils, ObjectUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const DropdownItem = ({ item, hasIcon, hasChildren, isLockedLevels, onSubActionClick }) => {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
 
4
4
  const ezEmptyCardCss = ":host{--ez-empty-card--width:335px;--ez-empty-card--height:155px;--ez-empty-card--padding:var(--space--24, 24px);--ez-empty-card--border-radius:var(--border--radius-24, 24px);--ez-empty-card--background-color:var(--color--gray-70, #ffffff)}div{width:var(--ez-empty-card--custom-width, var(--ez-empty-card--width));height:var(--ez-empty-card--custom-height, var(--ez-empty-card--height));border-radius:var(--ez-empty-card--border-radius);background-color:var(--ez-empty-card--background-color);padding:var(--ez-empty-card--padding);display:block;overflow:hidden;outline:none;box-shadow:none;border:none;box-sizing:border-box}.gray{--ez-empty-card--background-color:var(--color--gray-80)}.green{--ez-empty-card--background-color:var(--color--ocean-green-90)}.yellow{--ez-empty-card--background-color:var(--color--yellow-100)}.red{--ez-empty-card--background-color:var(--color--red-100)}.petroleum{--ez-empty-card--background-color:var(--color--petroleum-90)}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-baa5e267.js';
2
2
  import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { i as initI18n } from './index-498e0126.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { h, r as registerInstance, c as createEvent, g as getElement, H as Host } from './index-5a720e56.js';
1
+ import { h, r as registerInstance, c as createEvent, g as getElement, H as Host } from './index-baa5e267.js';
2
2
  import { ObjectUtils, StringUtils, UserInterface, ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { C as CheckMode } from './CheckMode-bdb2ec19.js';
4
4
  import { g as getI18n } from './index-498e0126.js';
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, f as forceUpdate, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, f as forceUpdate, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { DateUtils, ApplicationContext, Action, StringUtils, KeyboardManager, DataUnit, ElementIDUtils } from '@sankhyalabs/core';
3
- import { b as buildFieldMetadata, a as buildFieldSearch, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, D as DataBinder } from './search-column-1fae59c6.js';
3
+ import { b as buildFieldMetadata, a as buildFieldSearch, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, D as DataBinder } from './search-column-729f3655.js';
4
4
  import { g as getI18n, i as initI18n } from './index-498e0126.js';
5
5
  import { F as FormLayout } from './FormLayout-071d324c.js';
6
6
  import './ApplicationUtils-1fd662ab.js';
@@ -1,4 +1,4 @@
1
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { Action, DataUnit, ObjectUtils as ObjectUtils$1, UserInterface, HTMLBuilder, ApplicationContext, StringUtils as StringUtils$1, LockManager, LockManagerOperation, DataType, NumberUtils as NumberUtils$1, MaskFormatter, SortMode, ElementIDUtils, ColumnFilterManager as ColumnFilterManager$1, DateUtils as DateUtils$1, ArrayUtils as ArrayUtils$1, FieldComparator, JSUtils, OverflowWatcher, OVERFLOWED_CLASS_NAME, KeyboardManager } from '@sankhyalabs/core';
3
3
  import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
4
4
  import { A as ApplicationUtils } from './ApplicationUtils-1fd662ab.js';
@@ -6,7 +6,7 @@ import './DialogType-54a62731.js';
6
6
  import './CheckMode-bdb2ec19.js';
7
7
  import { g as getI18n, i as initI18n } from './index-498e0126.js';
8
8
  import { C as CustomEditorSource, a as CustomRenderSource } from './FormLayout-071d324c.js';
9
- import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-1fae59c6.js';
9
+ import { b as buildFieldMetadata, R as RecordValidationProcessor, D as DataBinder, S as SHORTCUT_SEARCH_FIELD, f as focusOnFieldSerch, c as SEARCH_FIELD_FULL_WIDTH, a as buildFieldSearch } from './search-column-729f3655.js';
10
10
  import { D as DISTINCT_FILTER_NAME_PREFIX, E as EZ_GRID_LOADING_SOURCE, P as PRESENTATION_COL_ID_PROP_NAME, a as PRESENTATION_FROM_COL_PROP_NAME } from './constants-3fabe81e.js';
11
11
  import { F as FocusResolver } from './FocusResolver-1ccbf850.js';
12
12
  import { p as purify } from './purify-34e6ff6f.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-baa5e267.js';
2
2
  import { ElementIDUtils } from '@sankhyalabs/core';
3
3
  import { E as EzScrollDirection } from './EzScrollDirection-2df26c93.js';
4
4
  import { i as initI18n } from './index-498e0126.js';