@sankhyalabs/ezui 7.1.3 → 7.1.4

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 (954) hide show
  1. package/dist/cjs/ApplicationUtils-5cc05979.js.gz +0 -0
  2. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  3. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  4. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  5. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  6. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  7. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  8. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  9. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  10. package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
  11. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  12. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  14. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  16. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  18. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  20. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  22. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  24. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  26. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  28. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  30. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  32. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  34. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  36. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  38. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +1 -1
  39. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  40. package/dist/cjs/ez-classic-input.cjs.entry.js +3 -2
  41. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  42. package/dist/cjs/ez-classic-text-area.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  44. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  46. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +2 -2
  47. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js.gz +0 -0
  48. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  50. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  52. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  54. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  56. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  57. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  58. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  59. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  60. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  61. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  62. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  64. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  65. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  66. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  67. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  68. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  69. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  70. package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
  71. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  72. package/dist/cjs/ez-grid.cjs.entry.js +2 -2
  73. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  74. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  75. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  76. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  77. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  78. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  79. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  80. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  82. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  83. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  84. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  85. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  86. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  87. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  88. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  89. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  90. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  91. package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
  92. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  93. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  94. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  95. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  96. package/dist/cjs/ez-popover-core.cjs.entry.js +1 -1
  97. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  98. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  99. package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
  100. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  101. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  102. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  103. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  104. package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
  105. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  106. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  107. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  108. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  109. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  110. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  111. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  112. package/dist/cjs/ez-search-plus.cjs.entry.js +1 -1
  113. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  114. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  115. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  116. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  117. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  118. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  119. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  120. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  121. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  122. package/dist/cjs/ez-sortable-list.cjs.entry.js +1 -1
  123. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  124. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  125. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  126. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  127. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  128. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  129. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  130. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  131. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  132. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  133. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  134. package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
  135. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  136. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  137. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  138. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  139. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  140. package/dist/cjs/ez-text-input.cjs.entry.js +23 -19
  141. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  142. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  143. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  144. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  145. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  146. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  147. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  148. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  149. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  150. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  151. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  152. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  153. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  154. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  155. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  156. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  157. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  158. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  159. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  160. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  161. package/dist/cjs/ezui.cjs.js +1 -1
  162. package/dist/cjs/ezui.cjs.js.gz +0 -0
  163. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  164. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  165. package/dist/cjs/floating-ui.dom.esm-f4d87617.js.gz +0 -0
  166. package/dist/cjs/index-1be40f19.js.gz +0 -0
  167. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +0 -3
  168. package/dist/cjs/{index-9e5554cb.js.gz → index-a7b0c73d.js.gz} +0 -0
  169. package/dist/cjs/index.cjs.js.gz +0 -0
  170. package/dist/cjs/loader.cjs.js +1 -1
  171. package/dist/cjs/loader.cjs.js.gz +0 -0
  172. package/dist/cjs/purify-c3bd8e84.js.gz +0 -0
  173. package/dist/cjs/{search-column-05c9c8d5.js → search-column-00a916ae.js} +1 -1
  174. package/dist/cjs/search-column-00a916ae.js.gz +0 -0
  175. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  176. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  177. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  178. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  179. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  180. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  181. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  182. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  183. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  184. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  185. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  186. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  187. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  188. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  189. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  190. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  191. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  192. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  193. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  194. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  195. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  196. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  197. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  198. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  199. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  200. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  201. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  202. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  203. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  204. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  205. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  206. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  207. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  208. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  209. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  210. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  211. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  212. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  213. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  214. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  215. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  216. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  217. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  218. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  219. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  220. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  221. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  222. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  223. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  224. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  225. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  226. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  227. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  228. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js +2 -1
  229. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  230. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  231. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  232. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  233. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  234. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  235. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  236. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  237. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  238. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  239. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  240. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  241. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  242. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  243. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  244. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  245. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  246. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  247. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  248. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  249. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  250. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  251. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  252. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  253. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  254. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  255. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  256. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  257. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  258. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  259. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  260. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  261. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  262. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  263. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  264. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  265. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  266. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  267. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  268. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  269. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  270. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  271. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  272. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  273. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  274. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  275. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  276. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  277. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  278. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  279. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  280. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  281. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  282. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  283. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  284. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  285. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  286. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  287. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  288. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  289. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  290. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  291. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  292. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  293. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  294. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  295. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  296. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  297. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  298. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  299. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  300. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  301. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  302. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  303. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  304. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  305. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  306. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  307. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  308. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  309. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  310. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  311. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  312. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  313. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  314. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  315. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  316. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  317. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  318. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  319. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  320. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  321. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  322. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  323. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  324. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  325. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  326. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  327. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  328. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  329. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  330. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  331. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  332. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  333. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  334. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  335. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  336. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  337. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  338. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  339. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  340. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  341. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  342. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  343. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  344. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  345. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  346. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  347. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  348. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  349. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  350. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  351. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  352. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  353. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  354. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  355. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  356. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  357. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  358. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  359. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  360. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  361. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  362. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  363. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  364. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  365. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  366. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  367. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  368. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  369. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  370. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  371. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  372. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  373. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  374. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  375. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  376. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  377. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  378. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  379. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  380. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  381. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  382. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  383. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  384. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  385. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  386. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  387. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  388. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  389. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  390. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  391. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  392. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  393. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  394. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  395. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  396. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  397. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  398. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  399. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  400. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  401. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  402. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  403. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  404. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  405. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  406. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  407. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  408. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  409. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  410. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  411. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  412. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  413. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  414. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  415. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  416. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  417. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  418. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  419. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  420. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  421. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  422. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  423. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  424. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  425. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  426. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  427. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  428. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  429. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  430. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  431. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  432. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  433. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  434. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  435. package/dist/collection/components/ez-text-input/ez-text-input.js +22 -18
  436. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  437. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  438. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  439. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  440. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  441. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  442. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  443. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  444. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  445. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  446. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  447. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  448. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  449. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  450. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  451. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  452. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  453. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  454. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  455. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  456. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  457. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  458. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  459. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  460. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  461. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  462. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  463. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  464. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  465. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  466. package/dist/collection/global/app-init.js.gz +0 -0
  467. package/dist/collection/index.js.gz +0 -0
  468. package/dist/collection/servidor.js.gz +0 -0
  469. package/dist/collection/setupTests.js.gz +0 -0
  470. package/dist/collection/sw.js.gz +0 -0
  471. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  472. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  473. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  474. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  475. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  476. package/dist/collection/utils/constants.js.gz +0 -0
  477. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  478. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  479. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  480. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  481. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  482. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  483. package/dist/collection/utils/form/index.js.gz +0 -0
  484. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  485. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  486. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  487. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  488. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  489. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  490. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  491. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  492. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  493. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  494. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  495. package/dist/collection/utils/i18n/index.js.gz +0 -0
  496. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  497. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  498. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  499. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  500. package/dist/collection/utils/index.js.gz +0 -0
  501. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  502. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  503. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  504. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  505. package/dist/collection/utils/search/types.js.gz +0 -0
  506. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  507. package/dist/collection/utils/utils.js.gz +0 -0
  508. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  509. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  510. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  511. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  512. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  513. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  514. package/dist/custom-elements/index.js +24 -19
  515. package/dist/custom-elements/index.js.gz +0 -0
  516. package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
  517. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  518. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  519. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  520. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  521. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  522. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  523. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  524. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  525. package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
  526. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  527. package/dist/esm/ez-actions-button.entry.js +1 -1
  528. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  529. package/dist/esm/ez-alert-list.entry.js +1 -1
  530. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  531. package/dist/esm/ez-alert.entry.js +1 -1
  532. package/dist/esm/ez-alert.entry.js.gz +0 -0
  533. package/dist/esm/ez-application.entry.js +1 -1
  534. package/dist/esm/ez-application.entry.js.gz +0 -0
  535. package/dist/esm/ez-avatar.entry.js +1 -1
  536. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  537. package/dist/esm/ez-badge.entry.js +1 -1
  538. package/dist/esm/ez-badge.entry.js.gz +0 -0
  539. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  540. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  541. package/dist/esm/ez-button.entry.js +1 -1
  542. package/dist/esm/ez-button.entry.js.gz +0 -0
  543. package/dist/esm/ez-calendar.entry.js +1 -1
  544. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  545. package/dist/esm/ez-card-item.entry.js +1 -1
  546. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  547. package/dist/esm/ez-chart.entry.js +1 -1
  548. package/dist/esm/ez-chart.entry.js.gz +0 -0
  549. package/dist/esm/ez-check.entry.js +1 -1
  550. package/dist/esm/ez-check.entry.js.gz +0 -0
  551. package/dist/esm/ez-chip.entry.js +1 -1
  552. package/dist/esm/ez-chip.entry.js.gz +0 -0
  553. package/dist/esm/ez-classic-combo-box.entry.js +1 -1
  554. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  555. package/dist/esm/ez-classic-input.entry.js +3 -2
  556. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  557. package/dist/esm/ez-classic-text-area.entry.js +1 -1
  558. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  559. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  560. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  561. package/dist/esm/ez-combo-box-list_4.entry.js +2 -2
  562. package/dist/esm/ez-combo-box-list_4.entry.js.gz +0 -0
  563. package/dist/esm/ez-combo-box.entry.js +1 -1
  564. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  565. package/dist/esm/ez-date-input.entry.js +1 -1
  566. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  567. package/dist/esm/ez-date-time-input.entry.js +1 -1
  568. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  569. package/dist/esm/ez-dialog.entry.js +1 -1
  570. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  571. package/dist/esm/ez-double-list.entry.js +1 -1
  572. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  573. package/dist/esm/ez-dropdown.entry.js +1 -1
  574. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  575. package/dist/esm/ez-empty-card.entry.js +1 -1
  576. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  577. package/dist/esm/ez-file-item.entry.js +1 -1
  578. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  579. package/dist/esm/ez-filter-input.entry.js +1 -1
  580. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  581. package/dist/esm/ez-form-view.entry.js +1 -1
  582. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  583. package/dist/esm/ez-form.entry.js +2 -2
  584. package/dist/esm/ez-form.entry.js.gz +0 -0
  585. package/dist/esm/ez-grid-view.entry.js +1 -1
  586. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  587. package/dist/esm/ez-grid.entry.js +2 -2
  588. package/dist/esm/ez-grid.entry.js.gz +0 -0
  589. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  590. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  591. package/dist/esm/ez-icon.entry.js +1 -1
  592. package/dist/esm/ez-icon.entry.js.gz +0 -0
  593. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  594. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  595. package/dist/esm/ez-list-item.entry.js +1 -1
  596. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  597. package/dist/esm/ez-list.entry.js +1 -1
  598. package/dist/esm/ez-list.entry.js.gz +0 -0
  599. package/dist/esm/ez-loading-bar.entry.js +1 -1
  600. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  601. package/dist/esm/ez-modal-container.entry.js +1 -1
  602. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  603. package/dist/esm/ez-modal.entry.js +1 -1
  604. package/dist/esm/ez-modal.entry.js.gz +0 -0
  605. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  606. package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
  607. package/dist/esm/ez-number-input.entry.js +1 -1
  608. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  609. package/dist/esm/ez-pagination.entry.js +1 -1
  610. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  611. package/dist/esm/ez-popover-core.entry.js +1 -1
  612. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  613. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  614. package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
  615. package/dist/esm/ez-popover.entry.js +1 -1
  616. package/dist/esm/ez-popover.entry.js.gz +0 -0
  617. package/dist/esm/ez-popup.entry.js +1 -1
  618. package/dist/esm/ez-popup.entry.js.gz +0 -0
  619. package/dist/esm/ez-progress-bar.entry.js +1 -1
  620. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  621. package/dist/esm/ez-radio-button.entry.js +1 -1
  622. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  623. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  624. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  625. package/dist/esm/ez-scroller_2.entry.js +1 -1
  626. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  627. package/dist/esm/ez-search-plus.entry.js +1 -1
  628. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  629. package/dist/esm/ez-search-result-list.entry.js +1 -1
  630. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  631. package/dist/esm/ez-search.entry.js +1 -1
  632. package/dist/esm/ez-search.entry.js.gz +0 -0
  633. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  634. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  635. package/dist/esm/ez-skeleton.entry.js +1 -1
  636. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  637. package/dist/esm/ez-sortable-list.entry.js +1 -1
  638. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  639. package/dist/esm/ez-spinner.entry.js +1 -1
  640. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  641. package/dist/esm/ez-split-button.entry.js +1 -1
  642. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  643. package/dist/esm/ez-split-item.entry.js +1 -1
  644. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  645. package/dist/esm/ez-split-panel.entry.js +1 -1
  646. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  647. package/dist/esm/ez-tabselector.entry.js +1 -1
  648. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  649. package/dist/esm/ez-tag-input.entry.js +1 -1
  650. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  651. package/dist/esm/ez-tag.entry.js +1 -1
  652. package/dist/esm/ez-tag.entry.js.gz +0 -0
  653. package/dist/esm/ez-text-area.entry.js +1 -1
  654. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  655. package/dist/esm/ez-text-input.entry.js +23 -19
  656. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  657. package/dist/esm/ez-tile-medium.entry.js +1 -1
  658. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  659. package/dist/esm/ez-tile.entry.js +1 -1
  660. package/dist/esm/ez-tile.entry.js.gz +0 -0
  661. package/dist/esm/ez-time-input.entry.js +1 -1
  662. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  663. package/dist/esm/ez-toast.entry.js +1 -1
  664. package/dist/esm/ez-toast.entry.js.gz +0 -0
  665. package/dist/esm/ez-tooltip.entry.js +1 -1
  666. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  667. package/dist/esm/ez-tree.entry.js +1 -1
  668. package/dist/esm/ez-tree.entry.js.gz +0 -0
  669. package/dist/esm/ez-underface.entry.js +1 -1
  670. package/dist/esm/ez-underface.entry.js.gz +0 -0
  671. package/dist/esm/ez-upload.entry.js +1 -1
  672. package/dist/esm/ez-upload.entry.js.gz +0 -0
  673. package/dist/esm/ez-view-stack.entry.js +1 -1
  674. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  675. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  676. package/dist/esm/ezui.js +2 -2
  677. package/dist/esm/ezui.js.gz +0 -0
  678. package/dist/esm/filter-column.entry.js +1 -1
  679. package/dist/esm/filter-column.entry.js.gz +0 -0
  680. package/dist/esm/floating-ui.dom.esm-ad30f2f0.js.gz +0 -0
  681. package/dist/esm/index-41363fa6.js.gz +0 -0
  682. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +1 -3
  683. package/dist/esm/{index-5a720e56.js.gz → index-baa5e267.js.gz} +0 -0
  684. package/dist/esm/index.js.gz +0 -0
  685. package/dist/esm/loader.js +2 -2
  686. package/dist/esm/loader.js.gz +0 -0
  687. package/dist/esm/polyfills/core-js.js.gz +0 -0
  688. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  689. package/dist/esm/polyfills/dom.js.gz +0 -0
  690. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  691. package/dist/esm/polyfills/index.js.gz +0 -0
  692. package/dist/esm/polyfills/system.js.gz +0 -0
  693. package/dist/esm/purify-c5bc24b5.js.gz +0 -0
  694. package/dist/esm/{search-column-74ee33d8.js → search-column-3984faec.js} +1 -1
  695. package/dist/esm/{search-column-74ee33d8.js.gz → search-column-3984faec.js.gz} +0 -0
  696. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  697. package/dist/ezui/ezui.esm.js +1 -1
  698. package/dist/ezui/ezui.esm.js.gz +0 -0
  699. package/dist/ezui/index.esm.js.gz +0 -0
  700. package/dist/ezui/{p-9d6c5d17.entry.js → p-02d448bb.entry.js} +1 -1
  701. package/dist/ezui/p-02d448bb.entry.js.gz +0 -0
  702. package/dist/ezui/{p-4463db7b.entry.js → p-05c32903.entry.js} +1 -1
  703. package/dist/ezui/p-05c32903.entry.js.gz +0 -0
  704. package/dist/ezui/{p-d1765c77.entry.js → p-0f7971cf.entry.js} +1 -1
  705. package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
  706. package/dist/ezui/{p-01ca89ef.entry.js → p-110cfb7d.entry.js} +1 -1
  707. package/dist/ezui/p-110cfb7d.entry.js.gz +0 -0
  708. package/dist/ezui/p-112455b1.js.gz +0 -0
  709. package/dist/ezui/{p-ffe01181.entry.js → p-12fb485f.entry.js} +1 -1
  710. package/dist/ezui/p-12fb485f.entry.js.gz +0 -0
  711. package/dist/ezui/{p-feea8ad8.entry.js → p-14ceb733.entry.js} +1 -1
  712. package/dist/ezui/p-14ceb733.entry.js.gz +0 -0
  713. package/dist/ezui/{p-0aed37a1.entry.js → p-18384b91.entry.js} +1 -1
  714. package/dist/ezui/p-18384b91.entry.js.gz +0 -0
  715. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  716. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  717. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  718. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  719. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  720. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  721. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  722. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  723. package/dist/ezui/{p-169d460d.entry.js → p-2528e988.entry.js} +1 -1
  724. package/dist/ezui/p-2528e988.entry.js.gz +0 -0
  725. package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
  726. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  727. package/dist/ezui/p-2a806303.js.gz +0 -0
  728. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  729. package/dist/ezui/{p-c9d70dab.entry.js → p-34a476a9.entry.js} +1 -1
  730. package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
  731. package/dist/ezui/{p-5a47e448.entry.js → p-351fb12f.entry.js} +1 -1
  732. package/dist/ezui/p-351fb12f.entry.js.gz +0 -0
  733. package/dist/ezui/{p-201009ae.entry.js → p-35bfaa88.entry.js} +1 -1
  734. package/dist/ezui/p-35bfaa88.entry.js.gz +0 -0
  735. package/dist/ezui/{p-a8eadb43.entry.js → p-39761eca.entry.js} +1 -1
  736. package/dist/ezui/p-39761eca.entry.js.gz +0 -0
  737. package/dist/ezui/{p-ffdf68cd.entry.js → p-3afa1c6e.entry.js} +1 -1
  738. package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
  739. package/dist/ezui/p-3c5fd0fd.js.gz +0 -0
  740. package/dist/ezui/{p-4ca4d920.entry.js → p-3ce867cf.entry.js} +1 -1
  741. package/dist/ezui/p-3ce867cf.entry.js.gz +0 -0
  742. package/dist/ezui/p-3e767a74.js.gz +0 -0
  743. package/dist/ezui/p-40a60148.js.gz +0 -0
  744. package/dist/ezui/{p-f7ca8634.entry.js → p-411c0222.entry.js} +1 -1
  745. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  746. package/dist/ezui/{p-8f0ed69d.entry.js → p-4314f87a.entry.js} +1 -1
  747. package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
  748. package/dist/ezui/{p-956d6453.entry.js → p-43adc10c.entry.js} +1 -1
  749. package/dist/ezui/p-43adc10c.entry.js.gz +0 -0
  750. package/dist/ezui/p-4864fca2.entry.js +1 -0
  751. package/dist/ezui/p-4864fca2.entry.js.gz +0 -0
  752. package/dist/ezui/{p-570cf58a.entry.js → p-48effc69.entry.js} +1 -1
  753. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  754. package/dist/ezui/{p-4a876b8b.entry.js → p-4d30b703.entry.js} +1 -1
  755. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  756. package/dist/ezui/{p-98dfdeb1.entry.js → p-4fe123b6.entry.js} +1 -1
  757. package/dist/ezui/p-4fe123b6.entry.js.gz +0 -0
  758. package/dist/ezui/p-5554704c.js.gz +0 -0
  759. package/dist/ezui/{p-3c159a6b.js → p-56fc1da0.js} +1 -1
  760. package/dist/ezui/p-56fc1da0.js.gz +0 -0
  761. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  762. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  763. package/dist/ezui/{p-c754774e.entry.js → p-6020f3d5.entry.js} +1 -1
  764. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  765. package/dist/ezui/{p-e6eaa5ed.entry.js → p-6c51ccd1.entry.js} +1 -1
  766. package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
  767. package/dist/ezui/{p-4f72c118.entry.js → p-6ca0815e.entry.js} +1 -1
  768. package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
  769. package/dist/ezui/{p-2a81b6e7.entry.js → p-6cb82d33.entry.js} +1 -1
  770. package/dist/ezui/p-6cb82d33.entry.js.gz +0 -0
  771. package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
  772. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  773. package/dist/ezui/{p-1723f728.entry.js → p-6f77a359.entry.js} +1 -1
  774. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  775. package/dist/ezui/{p-6b6efa30.entry.js → p-721fd999.entry.js} +1 -1
  776. package/dist/ezui/p-721fd999.entry.js.gz +0 -0
  777. package/dist/ezui/{p-d746f545.entry.js → p-7995dcb4.entry.js} +1 -1
  778. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  779. package/dist/ezui/{p-c291d6a0.entry.js → p-7f37ee99.entry.js} +1 -1
  780. package/dist/ezui/p-7f37ee99.entry.js.gz +0 -0
  781. package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
  782. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  783. package/dist/ezui/{p-b7c6ce20.entry.js → p-7fe97ef5.entry.js} +1 -1
  784. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  785. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  786. package/dist/ezui/{p-6dbf8f75.entry.js → p-859e3134.entry.js} +1 -1
  787. package/dist/ezui/p-859e3134.entry.js.gz +0 -0
  788. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  789. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  790. package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
  791. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  792. package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
  793. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  794. package/dist/ezui/{p-14a13ff0.entry.js → p-948f0fb2.entry.js} +1 -1
  795. package/dist/ezui/p-948f0fb2.entry.js.gz +0 -0
  796. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  797. package/dist/ezui/{p-ef8f37b9.entry.js → p-9ab2add9.entry.js} +1 -1
  798. package/dist/ezui/p-9ab2add9.entry.js.gz +0 -0
  799. package/dist/ezui/{p-1857cfc0.entry.js → p-9b215871.entry.js} +1 -1
  800. package/dist/ezui/p-9b215871.entry.js.gz +0 -0
  801. package/dist/ezui/{p-ad7c01c1.entry.js → p-9b3f3c02.entry.js} +1 -1
  802. package/dist/ezui/p-9b3f3c02.entry.js.gz +0 -0
  803. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  804. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  805. package/dist/ezui/{p-bc693db6.entry.js → p-a0bf1fc7.entry.js} +1 -1
  806. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  807. package/dist/ezui/{p-9bcfa689.entry.js → p-a3075f52.entry.js} +1 -1
  808. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  809. package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
  810. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  811. package/dist/ezui/{p-71c55a72.entry.js → p-a4083a7a.entry.js} +1 -1
  812. package/dist/ezui/p-a4083a7a.entry.js.gz +0 -0
  813. package/dist/ezui/p-a61fdd20.js.gz +0 -0
  814. package/dist/ezui/{p-f921d517.entry.js → p-a63b20a0.entry.js} +1 -1
  815. package/dist/ezui/p-a63b20a0.entry.js.gz +0 -0
  816. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  817. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  818. package/dist/ezui/p-ab574d59.js.gz +0 -0
  819. package/dist/ezui/p-b1e45320.js.gz +0 -0
  820. package/dist/ezui/{p-94d37b66.entry.js → p-b3d8034b.entry.js} +1 -1
  821. package/dist/ezui/p-b3d8034b.entry.js.gz +0 -0
  822. package/dist/ezui/p-b853763b.js.gz +0 -0
  823. package/dist/ezui/{p-09c2e631.entry.js → p-b989a33e.entry.js} +1 -1
  824. package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
  825. package/dist/ezui/p-baec56c9.js.gz +0 -0
  826. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  827. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  828. package/dist/ezui/{p-75a9a320.entry.js → p-cde41310.entry.js} +1 -1
  829. package/dist/ezui/{p-75a9a320.entry.js.gz → p-cde41310.entry.js.gz} +0 -0
  830. package/dist/ezui/{p-df5b5c3d.entry.js → p-ce0b36d7.entry.js} +1 -1
  831. package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
  832. package/dist/ezui/{p-c96e536d.entry.js → p-d2645bdf.entry.js} +1 -1
  833. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  834. package/dist/ezui/{p-b2ce629f.entry.js → p-d5eb2fad.entry.js} +1 -1
  835. package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
  836. package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
  837. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  838. package/dist/ezui/{p-4837f475.entry.js → p-d6bb930d.entry.js} +1 -1
  839. package/dist/ezui/{p-4837f475.entry.js.gz → p-d6bb930d.entry.js.gz} +0 -0
  840. package/dist/ezui/{p-770cf2b8.entry.js → p-d6f50207.entry.js} +1 -1
  841. package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
  842. package/dist/ezui/p-d8cc640d.entry.js +1 -0
  843. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  844. package/dist/ezui/p-dae53d02.entry.js +1 -0
  845. package/dist/ezui/p-dae53d02.entry.js.gz +0 -0
  846. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  847. package/dist/ezui/{p-ee796c8f.entry.js → p-de862af4.entry.js} +1 -1
  848. package/dist/ezui/p-de862af4.entry.js.gz +0 -0
  849. package/dist/ezui/{p-5f4a66ec.entry.js → p-dee18824.entry.js} +1 -1
  850. package/dist/ezui/p-dee18824.entry.js.gz +0 -0
  851. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  852. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  853. package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
  854. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  855. package/dist/ezui/{p-b21efe83.entry.js → p-e8c57463.entry.js} +1 -1
  856. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  857. package/dist/ezui/{p-c205f233.entry.js → p-ec730d4e.entry.js} +1 -1
  858. package/dist/ezui/p-ec730d4e.entry.js.gz +0 -0
  859. package/dist/ezui/p-ec7db713.js.gz +0 -0
  860. package/dist/ezui/{p-6c99bb50.entry.js → p-ecd6409d.entry.js} +1 -1
  861. package/dist/ezui/p-ecd6409d.entry.js.gz +0 -0
  862. package/dist/ezui/{p-35e3715c.entry.js → p-ef8bd3e8.entry.js} +1 -1
  863. package/dist/ezui/p-ef8bd3e8.entry.js.gz +0 -0
  864. package/dist/ezui/p-f00c9dc2.entry.js +1 -0
  865. package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
  866. package/dist/ezui/{p-980f1f18.entry.js → p-f34ec732.entry.js} +1 -1
  867. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  868. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  869. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  870. package/dist/index.cjs.js.gz +0 -0
  871. package/dist/index.js.gz +0 -0
  872. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -0
  873. package/package.json +1 -1
  874. package/dist/cjs/search-column-05c9c8d5.js.gz +0 -0
  875. package/dist/ezui/p-000159dc.entry.js.gz +0 -0
  876. package/dist/ezui/p-01ca89ef.entry.js.gz +0 -0
  877. package/dist/ezui/p-05e68ab3.entry.js.gz +0 -0
  878. package/dist/ezui/p-06f1b8e4.entry.js.gz +0 -0
  879. package/dist/ezui/p-09c2e631.entry.js.gz +0 -0
  880. package/dist/ezui/p-0aed37a1.entry.js.gz +0 -0
  881. package/dist/ezui/p-0b531233.entry.js.gz +0 -0
  882. package/dist/ezui/p-14a13ff0.entry.js.gz +0 -0
  883. package/dist/ezui/p-14d6aeb8.entry.js +0 -1
  884. package/dist/ezui/p-14d6aeb8.entry.js.gz +0 -0
  885. package/dist/ezui/p-169d460d.entry.js.gz +0 -0
  886. package/dist/ezui/p-1723f728.entry.js.gz +0 -0
  887. package/dist/ezui/p-1857cfc0.entry.js.gz +0 -0
  888. package/dist/ezui/p-201009ae.entry.js.gz +0 -0
  889. package/dist/ezui/p-2a81b6e7.entry.js.gz +0 -0
  890. package/dist/ezui/p-35e3715c.entry.js.gz +0 -0
  891. package/dist/ezui/p-3c159a6b.js.gz +0 -0
  892. package/dist/ezui/p-4463db7b.entry.js.gz +0 -0
  893. package/dist/ezui/p-44b39e81.entry.js.gz +0 -0
  894. package/dist/ezui/p-4a876b8b.entry.js.gz +0 -0
  895. package/dist/ezui/p-4ca4d920.entry.js.gz +0 -0
  896. package/dist/ezui/p-4f72c118.entry.js.gz +0 -0
  897. package/dist/ezui/p-570cf58a.entry.js.gz +0 -0
  898. package/dist/ezui/p-5a47e448.entry.js.gz +0 -0
  899. package/dist/ezui/p-5f4a66ec.entry.js.gz +0 -0
  900. package/dist/ezui/p-6b51c9cc.entry.js.gz +0 -0
  901. package/dist/ezui/p-6b6efa30.entry.js.gz +0 -0
  902. package/dist/ezui/p-6c99bb50.entry.js.gz +0 -0
  903. package/dist/ezui/p-6dbf8f75.entry.js.gz +0 -0
  904. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  905. package/dist/ezui/p-6ec40dec.entry.js.gz +0 -0
  906. package/dist/ezui/p-6fc26622.entry.js.gz +0 -0
  907. package/dist/ezui/p-70cffd74.entry.js +0 -1
  908. package/dist/ezui/p-70cffd74.entry.js.gz +0 -0
  909. package/dist/ezui/p-71c55a72.entry.js.gz +0 -0
  910. package/dist/ezui/p-770cf2b8.entry.js.gz +0 -0
  911. package/dist/ezui/p-78e975b4.entry.js.gz +0 -0
  912. package/dist/ezui/p-81461d2f.entry.js.gz +0 -0
  913. package/dist/ezui/p-82fa4b09.entry.js.gz +0 -0
  914. package/dist/ezui/p-8f0ed69d.entry.js.gz +0 -0
  915. package/dist/ezui/p-94d37b66.entry.js.gz +0 -0
  916. package/dist/ezui/p-956d6453.entry.js.gz +0 -0
  917. package/dist/ezui/p-980f1f18.entry.js.gz +0 -0
  918. package/dist/ezui/p-98dfdeb1.entry.js.gz +0 -0
  919. package/dist/ezui/p-9bcfa689.entry.js.gz +0 -0
  920. package/dist/ezui/p-9d6c5d17.entry.js.gz +0 -0
  921. package/dist/ezui/p-a8eadb43.entry.js.gz +0 -0
  922. package/dist/ezui/p-a9432878.entry.js.gz +0 -0
  923. package/dist/ezui/p-ad7c01c1.entry.js.gz +0 -0
  924. package/dist/ezui/p-b21efe83.entry.js.gz +0 -0
  925. package/dist/ezui/p-b2ce629f.entry.js.gz +0 -0
  926. package/dist/ezui/p-b7c6ce20.entry.js.gz +0 -0
  927. package/dist/ezui/p-bc693db6.entry.js.gz +0 -0
  928. package/dist/ezui/p-c205f233.entry.js.gz +0 -0
  929. package/dist/ezui/p-c291d6a0.entry.js.gz +0 -0
  930. package/dist/ezui/p-c2b20f78.entry.js.gz +0 -0
  931. package/dist/ezui/p-c754774e.entry.js.gz +0 -0
  932. package/dist/ezui/p-c96e536d.entry.js.gz +0 -0
  933. package/dist/ezui/p-c9d70dab.entry.js.gz +0 -0
  934. package/dist/ezui/p-cc8970e3.entry.js +0 -1
  935. package/dist/ezui/p-cc8970e3.entry.js.gz +0 -0
  936. package/dist/ezui/p-cf33bc48.entry.js.gz +0 -0
  937. package/dist/ezui/p-d1765c77.entry.js.gz +0 -0
  938. package/dist/ezui/p-d3779449.entry.js +0 -1
  939. package/dist/ezui/p-d3779449.entry.js.gz +0 -0
  940. package/dist/ezui/p-d746f545.entry.js.gz +0 -0
  941. package/dist/ezui/p-df5b5c3d.entry.js.gz +0 -0
  942. package/dist/ezui/p-dfca5946.entry.js.gz +0 -0
  943. package/dist/ezui/p-e195eaad.entry.js.gz +0 -0
  944. package/dist/ezui/p-e4c7eb39.js.gz +0 -0
  945. package/dist/ezui/p-e6eaa5ed.entry.js.gz +0 -0
  946. package/dist/ezui/p-e9b409c1.entry.js.gz +0 -0
  947. package/dist/ezui/p-ee796c8f.entry.js.gz +0 -0
  948. package/dist/ezui/p-ef8f37b9.entry.js.gz +0 -0
  949. package/dist/ezui/p-f26b97e9.entry.js.gz +0 -0
  950. package/dist/ezui/p-f7ca8634.entry.js.gz +0 -0
  951. package/dist/ezui/p-f921d517.entry.js.gz +0 -0
  952. package/dist/ezui/p-feea8ad8.entry.js.gz +0 -0
  953. package/dist/ezui/p-ffdf68cd.entry.js.gz +0 -0
  954. package/dist/ezui/p-ffe01181.entry.js.gz +0 -0
@@ -1 +1 @@
1
- import{r as t,c as e,h as r,H as a,g as o}from"./p-e4c7eb39.js";import{ElementIDUtils as i}from"@sankhyalabs/core";const l=class{constructor(r){t(this,r),this.ezChange=e(this,"ezChange",7),this.LINE_HEIGHT=24,this.HEIGHT_RATIO=1.4,this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.rows=4,this.canShowError=!0,this.mode="regular",this.enableResize=!0,this.autoRows=!1,this.autoFocus=!1,this.alternativePlaceholder=void 0,this.forceLabelFloat=!1}observeErrorMessage(){var t,e,r,a;"string"==typeof this.errorMessage&&""!==this.errorMessage?(null===(t=this._container)||void 0===t||t.classList.add("hasError"),null===(e=this._messageBoxElem)||void 0===e||e.classList.add("hasError")):(null===(r=this._container)||void 0===r||r.classList.remove("hasError"),null===(a=this._messageBoxElem)||void 0===a||a.classList.remove("hasError"))}observeValue(t,e){this._inputElem&&t!=e&&(this.canChangeValue()&&(this._inputElem.value=this.value||""),this.adjustFloatingLabel(),this.errorMessage="",this.ezChange.emit(this.value))}observeMode(){null==this._initialRows&&(this._initialRows=this.rows>0?this.rows:void 0);const t=this._initialRows>0?this._initialRows:"slim"!=this.mode?4:2;t!==this.rows&&(this.rows=t)}observeRows(){const t=this.rows>0?this.rows:"slim"!=this.mode?4:2;t!==this.rows&&this.updateRows(t)}observeAutoRows(){var t,e;this.autoRows?(null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this.initializeResizeObserver()):null===(e=this._resizeObserver)||void 0===e||e.disconnect()}observeAlternativePlaceholder(t){this.forceLabelFloat=!!t}async appendTextToSelection(t){var e,r,a,o;const i=this._inputElem.selectionStart,l=this._inputElem.selectionEnd,s=null!==(r=null===(e=this.value)||void 0===e?void 0:e.substring(0,i))&&void 0!==r?r:"",n=null!==(o=null===(a=this.value)||void 0===a?void 0:a.substring(l))&&void 0!==o?o:"";this.value=`${s}${t}${n}`;const c=i+t.length;this._inputElem.setSelectionRange(i===l?c:i,c),await this.setFocus()}async setFocus(){this._inputElem.focus()}async setBlur(){this._inputElem.blur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}canChangeValue(){return this._inputElem&&(this.value||"")!==this._inputElem.value}adjustFloatingLabel(){if(!this.forceLabelFloat&&this.label&&this._labelElem){const t=this.value&&this.value.toString().length>0,e=this._labelElem.classList.contains("textarea__label--floated");t||this.isFocused()?e||this._labelElem.classList.add("textarea__label--floated"):e&&this._labelElem.classList.remove("textarea__label--floated")}}isFocused(){return null!==this._hostElement.shadowRoot.activeElement}updateRows(t){this.rows=t,this._initialRows=t}calculateMaxRows(){const t=this._hostElement.parentElement;if(!t)return;const e=Math.max((null==t?void 0:t.clientHeight)||0,this.LINE_HEIGHT);if(e>0){const t=Math.floor(e/this.LINE_HEIGHT*this.HEIGHT_RATIO);t!==this.rows&&this.updateRows(t)}}initializeResizeObserver(){if(!this.autoRows)return;const t=this._hostElement.parentElement;if(t){try{null!=this._resizeObserver&&this._resizeObserver.unobserve(t),this._resizeObserver=new ResizeObserver(this.calculateMaxRows.bind(this)),this._resizeObserver.observe(t)}catch(t){console.warn(t)}this.calculateMaxRows()}}handleFocusout(){this.adjustFloatingLabel(),this._container&&this._container.classList.contains("textarea--focus")&&this._container.classList.remove("textarea--focus")}handleChange(){this.canChangeValue()&&(this.value=this._inputElem.value)}handleFocus(){this.label&&this._labelElem&&!this._labelElem.classList.contains("textarea__label--floated")&&this._labelElem.classList.add("textarea__label--floated"),this._container&&!this._container.classList.contains("textarea--focus")&&this._container.classList.add("textarea--focus")}connectedCallback(){this.initializeResizeObserver()}disconnectedCallback(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect()}buildPlaceholder(){return this.alternativePlaceholder?this.alternativePlaceholder:"slim"===this.mode&&this.label?this.label:""}buildLabelClass(){let t=this.enabled?"textarea__label":"textarea__label textarea__label--disabled";return this.errorMessage&&(t+=" hasError"),this.forceLabelFloat&&(t+=" textarea__label--floated"),t}renderErrorTooltip(){if(this.canShowError&&"slim"!=this.mode&&this.errorMessage)return r("div",{class:"tooltip-container"},r("ez-tooltip",{type:"error",message:this.errorMessage},r("ez-icon",{class:"tooltip-icon "+(this.errorMessage?"hasError":""),"data-element-id":i.getInternalIDInfo("tooltip-icon"),iconName:"alert-circle"})))}renderLabel(){return this.label&&"slim"!=this.mode?r("label",{ref:t=>this._labelElem=t,class:this.buildLabelClass(),onClick:()=>this._inputElem.focus(),title:this.label},this.label):null}renderTextArea(){return r("textarea",{onFocus:()=>this.handleFocus(),"data-element-id":i.getInternalIDInfo("input"),ref:t=>this._inputElem=t,value:this.value,disabled:!this.enabled,class:{"textarea--slim":"slim"===this.mode},placeholder:this.buildPlaceholder(),onInput:()=>this.handleChange(),onFocusout:()=>this.handleFocusout(),rows:this.rows})}componentDidLoad(){this.observeErrorMessage(),this.adjustFloatingLabel(),this.observeMode(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus()}))}render(){return i.addIDInfoIfNotExists(this._hostElement,"input"),r(a,null,r("div",{class:"textarea "+(this.enabled?"":"textarea--disabled"),ref:t=>this._container=t},this.renderLabel(),r("div",{class:"input-container "+(this.enableResize?"textarea--resizable":"")},this.renderTextArea(),this.renderErrorTooltip())))}get _hostElement(){return o(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],value:["observeValue"],mode:["observeMode"],rows:["observeRows"],autoRows:["observeAutoRows"],alternativePlaceholder:["observeAlternativePlaceholder"]}}};l.style=":host{--text-area--width:100%;--text-area--border-radius:var(--border--radius-medium, 12px);--text-area--font-size:var(--text--medium, 14px);--text-area--font-family:var(--font-pattern, Arial);--text-area--font-weight:var(--text-weight--medium, 400);--text-area--color:var(--title--primary, #2B3A54);--text-area__input--background-color:var(--background--light, #FFFFFF);--text-area__input--border:var(--border--medium, 2px solid);--text-area__input--border-color:var(--color--strokes, #DCE0E8);--text-area__input--focus--border-color:var(--color--primary, #008561);--text-area__input--disabled--background-color:var(--background--medium, #F0F3F7);--text-area__input--disabled--color:var(--text--primary, #626E82);--text-area__input--disabled--border--color:var(--color--strokes, #DCE0E8);--text-area__input--error--border-color:var(--color-alert--error-800, #BD0025);--text-area__message_box--font-size:var(--text--small, 12px);--text-area__message_box--info--color:var(--color--success, #22085d);--text-area__message_box--error--color:var(--color-alert--error-800, #BD0025);--text-area__label--floating--top:6px;--text-area__label--padding-top:12px;--text-area__label--padding-left:14px;--text-area__label--padding-right:12px;--text-area__scrollbar--color-default:var(--scrollbar--default, #626e82);--text-area__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--text-area__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--text-area__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--text-area__scrollbar--border-radius:var(--border--radius-small, 6px);--text-area__scrollbar--width:var(--space--small, 6px);--ez-text-area__tooltip-icon--spacing:var(--space--large);--ez-text-area__tooltip-icon---width:var(--space--large);--ez-text-area__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-area__tooltip-icon---vertical-margin:10px;--ez-text-area__tooltip_icon--error--color:var(--color-alert--error-800, #BD0025);display:flex;flex-wrap:wrap;position:relative;width:var(--text-area--width)}textarea{display:flex;flex-direction:column;height:calc(100% - 16px);box-sizing:border-box;border:none;resize:none;width:100%;padding:0;background:none;min-height:42px;font-weight:var(--text-area--font-weight);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);color:var(--text-area--color);margin-top:calc(var(--space--medium, 12px) + 4px);scrollbar-width:thin;scrollbar-color:var(--text-area__scrollbar--color-clicked) var(--text-area__scrollbar--color-background)}textarea:focus{outline:none}textarea:disabled{background-color:transparent;color:var(--text-area__input--disabled--color);border:var(--text-area__input--disabled--border);cursor:not-allowed}textarea::-webkit-scrollbar{background-color:var(--text-area__scrollbar--color-background);width:var(--text-area__scrollbar--width);max-width:var(--text-area__scrollbar--width);min-width:var(--text-area__scrollbar--width)}textarea::-webkit-scrollbar-thumb{background-color:var(--text-area__scrollbar--color-default);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-track{background-color:var(--text-area__scrollbar--color-background);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-thumb:vertical:hover,textarea::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--text-area__scrollbar--color-hover)}textarea::-webkit-scrollbar-thumb:vertical:active,textarea::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--text-area__scrollbar--color-clicked)}.textarea{width:100%;min-height:42px;max-width:100%;box-sizing:border-box;padding-left:var(--space--medium);padding-right:var(--space--extra-small);border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--border-color);background-color:var(--text-area__input--background-color)}.textarea--disabled{border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--disabled--border--color);background-color:var(--text-area__input--disabled--background-color);cursor:not-allowed}.textarea--focus{border-color:var(--text-area__input--focus--border-color)}.textarea.hasError{color:var(--text-area--color);border-color:var(--text-area__input--error--border-color)}.message-box{min-height:16px;min-width:100%;margin-top:3px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-area--font-family);font-size:var(--text-area__message_box--font-size);color:var(--text-area__message_box--info--color)}.hasError{color:var(--text-area__message_box--error--color)}.textarea__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--text-area__label--padding-right));left:var(--text-area--space--medium);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color);top:var(--text-area__label--padding-top);left:var(--text-area__label--padding-left);padding-right:var(--text-area__label--padding-right)}.textarea__label--floated{font-family:var(--text-area--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-area__label--floating--top)}.textarea__label--disabled{color:var(--text-area__input--disabled--color);cursor:not-allowed}.textarea--slim{margin-top:var(--space--small, 6px)}.textarea--slim::-webkit-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-ms-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:disabled::-webkit-input-placeholder,.textarea--slim:disabled:-moz-placeholder,.textarea--slim:disabled::-moz-placeholder,.textarea--slim:disabled:-ms-input-placeholder,.textarea--slim:disabled::placeholder{color:var(--text-area__input--disabled--color);cursor:not-allowed}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-area__tooltip_icon--error--color)}.input-container{display:flex;align-items:center}.textarea--resizable{resize:vertical;overflow:auto;min-height:42px}";export{l as ez_text_area}
1
+ import{r as t,c as e,h as a,H as r,g as o}from"./p-23a36bb6.js";import{ElementIDUtils as i}from"@sankhyalabs/core";const l=class{constructor(a){t(this,a),this.ezChange=e(this,"ezChange",7),this.LINE_HEIGHT=24,this.HEIGHT_RATIO=1.4,this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.rows=4,this.canShowError=!0,this.mode="regular",this.enableResize=!0,this.autoRows=!1,this.autoFocus=!1,this.alternativePlaceholder=void 0,this.forceLabelFloat=!1}observeErrorMessage(){var t,e,a,r;"string"==typeof this.errorMessage&&""!==this.errorMessage?(null===(t=this._container)||void 0===t||t.classList.add("hasError"),null===(e=this._messageBoxElem)||void 0===e||e.classList.add("hasError")):(null===(a=this._container)||void 0===a||a.classList.remove("hasError"),null===(r=this._messageBoxElem)||void 0===r||r.classList.remove("hasError"))}observeValue(t,e){this._inputElem&&t!=e&&(this.canChangeValue()&&(this._inputElem.value=this.value||""),this.adjustFloatingLabel(),this.errorMessage="",this.ezChange.emit(this.value))}observeMode(){null==this._initialRows&&(this._initialRows=this.rows>0?this.rows:void 0);const t=this._initialRows>0?this._initialRows:"slim"!=this.mode?4:2;t!==this.rows&&(this.rows=t)}observeRows(){const t=this.rows>0?this.rows:"slim"!=this.mode?4:2;t!==this.rows&&this.updateRows(t)}observeAutoRows(){var t,e;this.autoRows?(null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this.initializeResizeObserver()):null===(e=this._resizeObserver)||void 0===e||e.disconnect()}observeAlternativePlaceholder(t){this.forceLabelFloat=!!t}async appendTextToSelection(t){var e,a,r,o;const i=this._inputElem.selectionStart,l=this._inputElem.selectionEnd,s=null!==(a=null===(e=this.value)||void 0===e?void 0:e.substring(0,i))&&void 0!==a?a:"",n=null!==(o=null===(r=this.value)||void 0===r?void 0:r.substring(l))&&void 0!==o?o:"";this.value=`${s}${t}${n}`;const c=i+t.length;this._inputElem.setSelectionRange(i===l?c:i,c),await this.setFocus()}async setFocus(){this._inputElem.focus()}async setBlur(){this._inputElem.blur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}canChangeValue(){return this._inputElem&&(this.value||"")!==this._inputElem.value}adjustFloatingLabel(){if(!this.forceLabelFloat&&this.label&&this._labelElem){const t=this.value&&this.value.toString().length>0,e=this._labelElem.classList.contains("textarea__label--floated");t||this.isFocused()?e||this._labelElem.classList.add("textarea__label--floated"):e&&this._labelElem.classList.remove("textarea__label--floated")}}isFocused(){return null!==this._hostElement.shadowRoot.activeElement}updateRows(t){this.rows=t,this._initialRows=t}calculateMaxRows(){const t=this._hostElement.parentElement;if(!t)return;const e=Math.max((null==t?void 0:t.clientHeight)||0,this.LINE_HEIGHT);if(e>0){const t=Math.floor(e/this.LINE_HEIGHT*this.HEIGHT_RATIO);t!==this.rows&&this.updateRows(t)}}initializeResizeObserver(){if(!this.autoRows)return;const t=this._hostElement.parentElement;if(t){try{null!=this._resizeObserver&&this._resizeObserver.unobserve(t),this._resizeObserver=new ResizeObserver(this.calculateMaxRows.bind(this)),this._resizeObserver.observe(t)}catch(t){console.warn(t)}this.calculateMaxRows()}}handleFocusout(){this.adjustFloatingLabel(),this._container&&this._container.classList.contains("textarea--focus")&&this._container.classList.remove("textarea--focus")}handleChange(){this.canChangeValue()&&(this.value=this._inputElem.value)}handleFocus(){this.label&&this._labelElem&&!this._labelElem.classList.contains("textarea__label--floated")&&this._labelElem.classList.add("textarea__label--floated"),this._container&&!this._container.classList.contains("textarea--focus")&&this._container.classList.add("textarea--focus")}connectedCallback(){this.initializeResizeObserver()}disconnectedCallback(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect()}buildPlaceholder(){return this.alternativePlaceholder?this.alternativePlaceholder:"slim"===this.mode&&this.label?this.label:""}buildLabelClass(){let t=this.enabled?"textarea__label":"textarea__label textarea__label--disabled";return this.errorMessage&&(t+=" hasError"),this.forceLabelFloat&&(t+=" textarea__label--floated"),t}renderErrorTooltip(){if(this.canShowError&&"slim"!=this.mode&&this.errorMessage)return a("div",{class:"tooltip-container"},a("ez-tooltip",{type:"error",message:this.errorMessage},a("ez-icon",{class:"tooltip-icon "+(this.errorMessage?"hasError":""),"data-element-id":i.getInternalIDInfo("tooltip-icon"),iconName:"alert-circle"})))}renderLabel(){return this.label&&"slim"!=this.mode?a("label",{ref:t=>this._labelElem=t,class:this.buildLabelClass(),onClick:()=>this._inputElem.focus(),title:this.label},this.label):null}renderTextArea(){return a("textarea",{onFocus:()=>this.handleFocus(),"data-element-id":i.getInternalIDInfo("input"),ref:t=>this._inputElem=t,value:this.value,disabled:!this.enabled,class:{"textarea--slim":"slim"===this.mode},placeholder:this.buildPlaceholder(),onInput:()=>this.handleChange(),onFocusout:()=>this.handleFocusout(),rows:this.rows})}componentDidLoad(){this.observeErrorMessage(),this.adjustFloatingLabel(),this.observeMode(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus()}))}render(){return i.addIDInfoIfNotExists(this._hostElement,"input"),a(r,null,a("div",{class:"textarea "+(this.enabled?"":"textarea--disabled"),ref:t=>this._container=t},this.renderLabel(),a("div",{class:"input-container "+(this.enableResize?"textarea--resizable":"")},this.renderTextArea(),this.renderErrorTooltip())))}get _hostElement(){return o(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],value:["observeValue"],mode:["observeMode"],rows:["observeRows"],autoRows:["observeAutoRows"],alternativePlaceholder:["observeAlternativePlaceholder"]}}};l.style=":host{--text-area--width:100%;--text-area--border-radius:var(--border--radius-medium, 12px);--text-area--font-size:var(--text--medium, 14px);--text-area--font-family:var(--font-pattern, Arial);--text-area--font-weight:var(--text-weight--medium, 400);--text-area--color:var(--title--primary, #2B3A54);--text-area__input--background-color:var(--background--light, #FFFFFF);--text-area__input--border:var(--border--medium, 2px solid);--text-area__input--border-color:var(--color--strokes, #DCE0E8);--text-area__input--focus--border-color:var(--color--primary, #008561);--text-area__input--disabled--background-color:var(--background--medium, #F0F3F7);--text-area__input--disabled--color:var(--text--primary, #626E82);--text-area__input--disabled--border--color:var(--color--strokes, #DCE0E8);--text-area__input--error--border-color:var(--color-alert--error-800, #BD0025);--text-area__message_box--font-size:var(--text--small, 12px);--text-area__message_box--info--color:var(--color--success, #22085d);--text-area__message_box--error--color:var(--color-alert--error-800, #BD0025);--text-area__label--floating--top:6px;--text-area__label--padding-top:12px;--text-area__label--padding-left:14px;--text-area__label--padding-right:12px;--text-area__scrollbar--color-default:var(--scrollbar--default, #626e82);--text-area__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--text-area__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--text-area__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--text-area__scrollbar--border-radius:var(--border--radius-small, 6px);--text-area__scrollbar--width:var(--space--small, 6px);--ez-text-area__tooltip-icon--spacing:var(--space--large);--ez-text-area__tooltip-icon---width:var(--space--large);--ez-text-area__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-area__tooltip-icon---vertical-margin:10px;--ez-text-area__tooltip_icon--error--color:var(--color-alert--error-800, #BD0025);display:flex;flex-wrap:wrap;position:relative;width:var(--text-area--width)}textarea{display:flex;flex-direction:column;height:calc(100% - 16px);box-sizing:border-box;border:none;resize:none;width:100%;padding:0;background:none;min-height:42px;font-weight:var(--text-area--font-weight);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);color:var(--text-area--color);margin-top:calc(var(--space--medium, 12px) + 4px);scrollbar-width:thin;scrollbar-color:var(--text-area__scrollbar--color-clicked) var(--text-area__scrollbar--color-background)}textarea:focus{outline:none}textarea:disabled{background-color:transparent;color:var(--text-area__input--disabled--color);border:var(--text-area__input--disabled--border);cursor:not-allowed}textarea::-webkit-scrollbar{background-color:var(--text-area__scrollbar--color-background);width:var(--text-area__scrollbar--width);max-width:var(--text-area__scrollbar--width);min-width:var(--text-area__scrollbar--width)}textarea::-webkit-scrollbar-thumb{background-color:var(--text-area__scrollbar--color-default);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-track{background-color:var(--text-area__scrollbar--color-background);border-radius:var(--text-area__scrollbar--border-radius)}textarea::-webkit-scrollbar-thumb:vertical:hover,textarea::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--text-area__scrollbar--color-hover)}textarea::-webkit-scrollbar-thumb:vertical:active,textarea::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--text-area__scrollbar--color-clicked)}.textarea{width:100%;min-height:42px;max-width:100%;box-sizing:border-box;padding-left:var(--space--medium);padding-right:var(--space--extra-small);border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--border-color);background-color:var(--text-area__input--background-color)}.textarea--disabled{border-radius:var(--text-area--border-radius);border:var(--text-area__input--border);border-color:var(--text-area__input--disabled--border--color);background-color:var(--text-area__input--disabled--background-color);cursor:not-allowed}.textarea--focus{border-color:var(--text-area__input--focus--border-color)}.textarea.hasError{color:var(--text-area--color);border-color:var(--text-area__input--error--border-color)}.message-box{min-height:16px;min-width:100%;margin-top:3px;line-height:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--text-area--font-family);font-size:var(--text-area__message_box--font-size);color:var(--text-area__message_box--info--color)}.hasError{color:var(--text-area__message_box--error--color)}.textarea__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--text-area__label--padding-right));left:var(--text-area--space--medium);font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color);top:var(--text-area__label--padding-top);left:var(--text-area__label--padding-left);padding-right:var(--text-area__label--padding-right)}.textarea__label--floated{font-family:var(--text-area--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--text-area__label--floating--top)}.textarea__label--disabled{color:var(--text-area__input--disabled--color);cursor:not-allowed}.textarea--slim{margin-top:var(--space--small, 6px)}.textarea--slim::-webkit-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::-moz-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:-ms-input-placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim::placeholder{font-family:var(--text-area--font-family);font-size:var(--text-area--font-size);font-weight:var(--text-area--font-weight);color:var(--text-area--color)}.textarea--slim:disabled::-webkit-input-placeholder,.textarea--slim:disabled:-moz-placeholder,.textarea--slim:disabled::-moz-placeholder,.textarea--slim:disabled:-ms-input-placeholder,.textarea--slim:disabled::placeholder{color:var(--text-area__input--disabled--color);cursor:not-allowed}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-area__tooltip_icon--error--color)}.input-container{display:flex;align-items:center}.textarea--resizable{resize:vertical;overflow:auto;min-height:42px}";export{l as ez_text_area}
Binary file
@@ -1 +1 @@
1
- import{r as i,h as t,g as s,H as e}from"./p-e4c7eb39.js";import{JSUtils as h,ElementIDUtils as l}from"@sankhyalabs/core";const o=class{constructor(t){i(this,t),this._dataKey=""}async show(i){i!==this._focusedIndex&&0<=i&&i<this._totalStackItems&&(this.policyHideRemove(),this.policyShowAppend(i),this._focusedIndex=i)}async getSelectedIndex(){return this._focusedIndex}policyHideRemove(){let i=this._hostElem.querySelector(`#${this._dataKey}_el_${this._focusedIndex}`);this.checkElementVisibility(i)}policyShowAppend(i){let t=this._hostElem.querySelector(`#${this._dataKey}_el_${i}`);t?t.setAttribute("style","visibility: visible"):this._hostElem.append(this._elemList[i])}checkElementVisibility(i){"hide"!==i.getAttribute("hidePolicy")&&i.getAttribute("hidePolicy")?"remove"===i.getAttribute("hidePolicy")&&i.remove():i.setAttribute("style","display: none")}componentWillRender(){this._dataKey="id_".concat(h.generateUUID()),this._elemList||(this._elemList=[],this._focusedIndex=0,this._totalStackItems=0,this._hostElem.classList.add("ez-view-stack__container"),this._hostElem.querySelectorAll(":scope > stack-item").forEach(((i,t)=>{i.setAttribute("id",`${this._dataKey}_el_${t}`),0!==t?this.checkElementVisibility(i):i.setAttribute("style","visibility: visible"),this._totalStackItems++,this._elemList.push(i)})))}componentDidLoad(){l.addIDInfo(this._hostElem)}disconectCallback(){this._hostElem=null,this._elemList=null}render(){return t(e,null)}get _hostElem(){return s(this)}};o.style=":host{width:100%;height:100%}.ez-view-stack__container{width:100%;height:100%}";export{o as ez_view_stack}
1
+ import{r as i,h as t,g as s,H as e}from"./p-23a36bb6.js";import{JSUtils as h,ElementIDUtils as l}from"@sankhyalabs/core";const o=class{constructor(t){i(this,t),this._dataKey=""}async show(i){i!==this._focusedIndex&&0<=i&&i<this._totalStackItems&&(this.policyHideRemove(),this.policyShowAppend(i),this._focusedIndex=i)}async getSelectedIndex(){return this._focusedIndex}policyHideRemove(){let i=this._hostElem.querySelector(`#${this._dataKey}_el_${this._focusedIndex}`);this.checkElementVisibility(i)}policyShowAppend(i){let t=this._hostElem.querySelector(`#${this._dataKey}_el_${i}`);t?t.setAttribute("style","visibility: visible"):this._hostElem.append(this._elemList[i])}checkElementVisibility(i){"hide"!==i.getAttribute("hidePolicy")&&i.getAttribute("hidePolicy")?"remove"===i.getAttribute("hidePolicy")&&i.remove():i.setAttribute("style","display: none")}componentWillRender(){this._dataKey="id_".concat(h.generateUUID()),this._elemList||(this._elemList=[],this._focusedIndex=0,this._totalStackItems=0,this._hostElem.classList.add("ez-view-stack__container"),this._hostElem.querySelectorAll(":scope > stack-item").forEach(((i,t)=>{i.setAttribute("id",`${this._dataKey}_el_${t}`),0!==t?this.checkElementVisibility(i):i.setAttribute("style","visibility: visible"),this._totalStackItems++,this._elemList.push(i)})))}componentDidLoad(){l.addIDInfo(this._hostElem)}disconectCallback(){this._hostElem=null,this._elemList=null}render(){return t(e,null)}get _hostElem(){return s(this)}};o.style=":host{width:100%;height:100%}.ez-view-stack__container{width:100%;height:100%}";export{o as ez_view_stack}
Binary file
@@ -1 +1 @@
1
- import{r as t,c as i,h as o,H as e,g as l}from"./p-e4c7eb39.js";import{KeyboardManager as s,FloatingManager as n}from"@sankhyalabs/core";import{i as a}from"./p-a61fdd20.js";const p=class{constructor(o){t(this,o),this.ezClosePopup=i(this,"ezClosePopup",7),this.ezPopupAction=i(this,"ezPopupAction",7),this.handleFooterSlotChange=t=>{this._hasFooterSlotContent=t.target.assignedElements().length>0},this._hasFooterSlotContent=!1,this.size="medium",this.opened=!1,this.useHeader=!0,this.heightMode="full",this.ezTitle=void 0,this.enabledScroll=!0,this.autoClose=!0,this.footerButtons=[]}observeConfig(){this.manageOverflow()}async componentWillLoad(){this.i18n=await a()}componentDidLoad(){this.popUpFocus(),this._keyboardManager=new s({propagate:!1,element:this._element,enableShadowDom:!0}).bind("Enter",this.ezPopupAction.emit.bind("OK")).bind("Escape",(()=>this.closePopup())).bind("Esc",(()=>this.closePopup()))}disconnectedCallback(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}closePopup(){this.opened=!1,this.manageOverflow(),this.ezClosePopup.emit()}manageOverflow(){window.document.body.style.overflow=this.opened?"hidden":""}manageOverlay(){this.opened?this._overlayId=n.subscribeOverlayControl(this._popupRef):n.unsubscribeOverlayControl(this._popupRef||this._overlayId)}popUpFocus(){this.opened&&this._popupRef&&this._popupRef.focus()}getGridSize(){var t;const i={"x-small":"col--sd-3 ez-popup__size-limit--x-small",small:"col--sd-5",medium:"col--sd-6",large:"col--sd-9","x-large":"col--sd-11",default:"ez-popup__size-limit--x-small",auto:""};return this.size&&i.hasOwnProperty(this.size)&&null!==(t=i[this.size])&&void 0!==t?t:i.medium}getDialogClass(){let t="popup__container";return"auto"===this.heightMode&&(t+=" popup__container--auto"),t+=` ${this.getGridSize()}`,t}componentDidRender(){this.manageOverlay()}handleAutoClose(t){if(!this.opened||!this._popupRef||!this.autoClose)return;if(this._popupRef.contains(t.target))return;const i=this._popupRef.querySelector("slot");if(i&&i.assignedElements().length>0){const o=i.assignedElements();for(const i of o)if(i.contains(t.target))return}this._popupRef.shadowRoot&&this._popupRef.shadowRoot.contains(t.target)||this.closePopup()}handleDefaultPropsButtonsByIndex(t){switch(t){case 0:return{label:this.i18n?this.i18n("app.confirm"):"Confirmar",variant:"primary",size:"small",onClick:()=>{this.closePopup(),this.ezPopupAction.emit("OK")}};case 1:return{label:this.i18n?this.i18n("app.cancel"):"Cancelar",variant:"secondary",size:"small",onClick:()=>{this.closePopup()}};case 2:return{label:this.i18n?this.i18n("app.close"):"Fechar",variant:"tertiary",size:"small",onClick:()=>{this.closePopup()}}}}renderFooterButtons(){return this.footerButtons.slice(0,3).map(((t,i)=>o("ez-button",Object.assign({key:i},this.handleDefaultPropsButtonsByIndex(i),t))))}render(){return o(e,null,this.opened&&o("div",{class:"overlay",tabIndex:-1,onClick:this.handleAutoClose.bind(this)},o("dialog",{ref:t=>this._popupRef=t,class:this.getDialogClass()},this.useHeader&&o("header",{class:"popup__header"},!!this.ezTitle&&o("h1",{class:"popup__title"},this.ezTitle),o("ez-button",{class:this.ezTitle?"btn-close":"btn-close btn-close--solo",variant:"tertiary",mode:"icon",iconName:"close",size:"small",onClick:this.closePopup.bind(this)})),o("main",{class:{"popup__expandable-content":!0,"popup__overflow-y--auto":this.enabledScroll}},o("slot",null)),o("footer",{class:{popup__footer:!0,"popup_margin-top":this.footerButtons.length>0||this._hasFooterSlotContent}},this.footerButtons.length>0&&this.renderFooterButtons(),o("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange})))))}get _element(){return l(this)}static get watchers(){return{opened:["observeConfig"]}}};p.style=':host{display:flex;width:auto;--ez-popup-z-index:var(--elevation--24, 24);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--24, 24px);--ez-popup__title--font-family:var(--font--pattern, "Roboto");--ez-popup__title--font-size:var(--font-size--xxlarge, 22px);--ez-popup__title--color:var(--title--primary, #00281D);--ez-popup__title--font-weight:var(--font-weight--regular, 400)}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index, 24);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup__container{width:auto;max-height:90%;height:100%;display:flex;flex-direction:column;overflow:hidden;outline:none;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding);margin:0;border:none;position:unset}.popup__container--auto{height:auto}.popup__overflow-y--auto{overflow-y:auto}.popup__content{box-sizing:border-box;height:100%;width:100%}.popup__expandable-content{flex-grow:1;box-sizing:border-box;width:100%;font-family:var(--font--pattern, "Roboto");font-size:var(--font-size--default, 14px);color:var(--title--primary, #00281D);font-weight:var(--font-weight--regular, 400)}.popup__header{flex-shrink:0;width:100%;display:flex;align-items:center;margin-bottom:var(--space--16, 16px)}.popup__title{display:flex;margin:0;width:100%;font-family:var(--ez-popup__title--font-family);font-size:var(--ez-popup__title--font-size);font-weight:var(--ez-popup__title--font-weight);color:var(--ez-popup__title--color);line-height:var(--line-height--32, 32px)}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close--solo{width:100%}.popup__footer{flex-shrink:0;display:flex;width:100%;flex-direction:row-reverse;gap:var(--space--8, 8px)}.popup_margin-top{margin-top:var(--space--16, 16px)}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}.ez-popup__size-limit--x-small{min-width:350px;max-width:560px}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{p as ez_popup}
1
+ import{r as t,c as i,h as o,H as e,g as l}from"./p-23a36bb6.js";import{KeyboardManager as s,FloatingManager as n}from"@sankhyalabs/core";import{i as a}from"./p-a61fdd20.js";const p=class{constructor(o){t(this,o),this.ezClosePopup=i(this,"ezClosePopup",7),this.ezPopupAction=i(this,"ezPopupAction",7),this.handleFooterSlotChange=t=>{this._hasFooterSlotContent=t.target.assignedElements().length>0},this._hasFooterSlotContent=!1,this.size="medium",this.opened=!1,this.useHeader=!0,this.heightMode="full",this.ezTitle=void 0,this.enabledScroll=!0,this.autoClose=!0,this.footerButtons=[]}observeConfig(){this.manageOverflow()}async componentWillLoad(){this.i18n=await a()}componentDidLoad(){this.popUpFocus(),this._keyboardManager=new s({propagate:!1,element:this._element,enableShadowDom:!0}).bind("Enter",this.ezPopupAction.emit.bind("OK")).bind("Escape",(()=>this.closePopup())).bind("Esc",(()=>this.closePopup()))}disconnectedCallback(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}closePopup(){this.opened=!1,this.manageOverflow(),this.ezClosePopup.emit()}manageOverflow(){window.document.body.style.overflow=this.opened?"hidden":""}manageOverlay(){this.opened?this._overlayId=n.subscribeOverlayControl(this._popupRef):n.unsubscribeOverlayControl(this._popupRef||this._overlayId)}popUpFocus(){this.opened&&this._popupRef&&this._popupRef.focus()}getGridSize(){var t;const i={"x-small":"col--sd-3 ez-popup__size-limit--x-small",small:"col--sd-5",medium:"col--sd-6",large:"col--sd-9","x-large":"col--sd-11",default:"ez-popup__size-limit--x-small",auto:""};return this.size&&i.hasOwnProperty(this.size)&&null!==(t=i[this.size])&&void 0!==t?t:i.medium}getDialogClass(){let t="popup__container";return"auto"===this.heightMode&&(t+=" popup__container--auto"),t+=` ${this.getGridSize()}`,t}componentDidRender(){this.manageOverlay()}handleAutoClose(t){if(!this.opened||!this._popupRef||!this.autoClose)return;if(this._popupRef.contains(t.target))return;const i=this._popupRef.querySelector("slot");if(i&&i.assignedElements().length>0){const o=i.assignedElements();for(const i of o)if(i.contains(t.target))return}this._popupRef.shadowRoot&&this._popupRef.shadowRoot.contains(t.target)||this.closePopup()}handleDefaultPropsButtonsByIndex(t){switch(t){case 0:return{label:this.i18n?this.i18n("app.confirm"):"Confirmar",variant:"primary",size:"small",onClick:()=>{this.closePopup(),this.ezPopupAction.emit("OK")}};case 1:return{label:this.i18n?this.i18n("app.cancel"):"Cancelar",variant:"secondary",size:"small",onClick:()=>{this.closePopup()}};case 2:return{label:this.i18n?this.i18n("app.close"):"Fechar",variant:"tertiary",size:"small",onClick:()=>{this.closePopup()}}}}renderFooterButtons(){return this.footerButtons.slice(0,3).map(((t,i)=>o("ez-button",Object.assign({key:i},this.handleDefaultPropsButtonsByIndex(i),t))))}render(){return o(e,null,this.opened&&o("div",{class:"overlay",tabIndex:-1,onClick:this.handleAutoClose.bind(this)},o("dialog",{ref:t=>this._popupRef=t,class:this.getDialogClass()},this.useHeader&&o("header",{class:"popup__header"},!!this.ezTitle&&o("h1",{class:"popup__title"},this.ezTitle),o("ez-button",{class:this.ezTitle?"btn-close":"btn-close btn-close--solo",variant:"tertiary",mode:"icon",iconName:"close",size:"small",onClick:this.closePopup.bind(this)})),o("main",{class:{"popup__expandable-content":!0,"popup__overflow-y--auto":this.enabledScroll}},o("slot",null)),o("footer",{class:{popup__footer:!0,"popup_margin-top":this.footerButtons.length>0||this._hasFooterSlotContent}},this.footerButtons.length>0&&this.renderFooterButtons(),o("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange})))))}get _element(){return l(this)}static get watchers(){return{opened:["observeConfig"]}}};p.style=':host{display:flex;width:auto;--ez-popup-z-index:var(--elevation--24, 24);--ez-popup__container--color:var(--title--primary, #2b3a54);--ez-popup__container--padding:var(--space--24, 24px);--ez-popup__title--font-family:var(--font--pattern, "Roboto");--ez-popup__title--font-size:var(--font-size--xxlarge, 22px);--ez-popup__title--color:var(--title--primary, #00281D);--ez-popup__title--font-weight:var(--font-weight--regular, 400)}.overlay{position:fixed;display:flex;top:0px;z-index:var(--ez-popup-z-index, 24);left:0px;width:100%;align-items:center;justify-content:center;box-sizing:border-box;height:100vh;backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.popup__container{width:auto;max-height:90%;height:100%;display:flex;flex-direction:column;overflow:hidden;outline:none;background:#FFFF;color:var(--ez-popup__container--color);border-radius:12px;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);box-sizing:border-box;padding:var(--ez-popup__container--padding);margin:0;border:none;position:unset}.popup__container--auto{height:auto}.popup__overflow-y--auto{overflow-y:auto}.popup__content{box-sizing:border-box;height:100%;width:100%}.popup__expandable-content{flex-grow:1;box-sizing:border-box;width:100%;font-family:var(--font--pattern, "Roboto");font-size:var(--font-size--default, 14px);color:var(--title--primary, #00281D);font-weight:var(--font-weight--regular, 400)}.popup__header{flex-shrink:0;width:100%;display:flex;align-items:center;margin-bottom:var(--space--16, 16px)}.popup__title{display:flex;margin:0;width:100%;font-family:var(--ez-popup__title--font-family);font-size:var(--ez-popup__title--font-size);font-weight:var(--ez-popup__title--font-weight);color:var(--ez-popup__title--color);line-height:var(--line-height--32, 32px)}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;border:none;background-color:unset;cursor:pointer}.btn-close--solo{width:100%}.popup__footer{flex-shrink:0;display:flex;width:100%;flex-direction:row-reverse;gap:var(--space--8, 8px)}.popup_margin-top{margin-top:var(--space--16, 16px)}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}.ez-popup__size-limit--x-small{min-width:350px;max-width:560px}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{p as ez_popup}
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import{r as t,c as e,h as i,g as n}from"./p-e4c7eb39.js";import{ArrayUtils as r}from"@sankhyalabs/core";import{i as o}from"./p-a61fdd20.js";
1
+ import{r as t,c as e,h as i,g as n}from"./p-23a36bb6.js";import{ArrayUtils as r}from"@sankhyalabs/core";import{i as o}from"./p-a61fdd20.js";
2
2
  /**!
3
3
  * Sortable 1.15.7
4
4
  * @author RubaXa <trash@rubaxa.org>
Binary file
@@ -1 +1 @@
1
- import{r as t,c as i,h as o,H as e,g as s}from"./p-e4c7eb39.js";import{c as r,f as h,s as n}from"./p-2a806303.js";const a=class{constructor(o){t(this,o),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this.autoClose=!0,this.boxWidth="fit-content",this.opened=!1,this.overlayType="light",this.anchorElement=void 0,this.options={horizontalGap:0,verticalGap:0,fromRight:!1},this.useAnchorSize=!1,this.minWidth=150}observeOpened(t,i){t!==i&&(t?this.openPopover():this.hidePopover())}async updatePosition(t,i){this.updateOptionPosition(t,i),await this.updatePositionPopover()}async show(t,i){this.updateOptionPosition(t,i),this.opened=!0}async showUnder(t,i){i&&(this.options=i),this.anchorElement=t,this.opened=!0}async hide(){this.opened=!1}async setOptions(t){Object.assign(this.options,t)}async setAnchorElement(t){this.anchorElement=t}parseSizePixel(t,i){return t?"string"==typeof t?Number(t.replace("px","")):null!=t?t:0:null!=i?i:0}updateOptionPosition(t,i){Object.assign(this.options,{horizontalGap:this.parseSizePixel(i,this.options.horizontalGap),verticalGap:this.parseSizePixel(t,this.options.verticalGap)})}getElement(t){return"string"==typeof t?document.getElementById(t):t}getAnchorElement(){if(!this.anchorElement)return this._host;if(Array.isArray(this.anchorElement)){for(const t of this.anchorElement){const i=this.getElement(t);if(i)return i}return this._host}return this.getElement(this.anchorElement)}async updatePositionPopover(){if(!this._box||!this.opened)return;const t=this.getAnchorElement();await r(t,this._box,{placement:this.options.fromRight?"bottom-end":"bottom-start",middleware:[h(),n({padding:5})],strategy:"fixed"}).then((({x:t,y:i,placement:o})=>{const e=o.includes("bottom")?i+this.options.verticalGap:i-this.options.verticalGap,s=o.includes("start")?t+this.options.horizontalGap:t-this.options.horizontalGap;Object.assign(this._box.style,{top:`${e}px`,left:`${s}px`})}))}hidePopover(){this._box&&(this._box.style.display="",this.hideOverlay(),this.ezVisibilityChange.emit(!1))}async openPopover(){if(this._box&&this.opened){if(this._box.style.display="flex",this._box.style.visibility="hidden",this.useAnchorSize){const t=this.getAnchorElement().getBoundingClientRect().width;this._box.style.width=`${t<this.minWidth?this.minWidth:t}px`}await this.updatePositionPopover(),this.openOverlay(),this.ezVisibilityChange.emit(!0),this._box.style.visibility="visible"}}openOverlay(){this._overlay&&this._overlayIsActive&&(this._overlay.style.display="block")}hideOverlay(){this._overlay&&(this._overlay.style.display="none")}checkStatusOverlay(){return"none"!==this.overlayType||!("none"!==this.overlayType||!this.autoClose)}handlePositionUpdate(){this.opened&&this.updatePositionPopover()}componentWillLoad(){window.addEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.addEventListener("resize",this.handlePositionUpdate.bind(this),!0)}componentDidLoad(){this._overlayIsActive=this.checkStatusOverlay(),this._resizeObserver=new ResizeObserver(this.updatePositionPopover.bind(this)),this._resizeObserver.observe(this._box),this.openPopover()}disconnectedCallback(){window.removeEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.removeEventListener("resize",this.handlePositionUpdate.bind(this),!0),this._resizeObserver.disconnect()}render(){return o(e,null,o("div",{ref:t=>this._overlay=t,onClick:()=>this.hide(),class:`popover__overlay popover__overlay--${this.overlayType}`}),o("section",{ref:t=>this._box=t,class:{popover__box:!0,"popover__box--fit-content":"fit-content"===this.boxWidth,"popover__box--full-width":"fit-content"!==this.boxWidth}},o("slot",null)))}get _host(){return s(this)}static get watchers(){return{opened:["observeOpened"]}}};a.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--elevation--100, 100);--ez-popover__box--overlay-z-index:var(--elevation--24, 24);position:relative;display:flex;user-select:none}.popover__overlay{display:none;position:fixed;padding:0;top:0px;left:0px;width:100%;height:100vh;box-sizing:border-box;z-index:var(--ez-popover__box--overlay-z-index)}.popover__overlay--light{background-color:rgba(var(--rgb-background--overlay), var(--opacity--bright))}.popover__overlay--medium{background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.popover__box{display:none;position:fixed;top:0;left:0;z-index:var(--ez-popover__box--z-index);flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:calc(100% - 10px)}";export{a as ez_popover_core}
1
+ import{r as t,c as i,h as o,H as e,g as s}from"./p-23a36bb6.js";import{c as r,f as h,s as n}from"./p-2a806303.js";const a=class{constructor(o){t(this,o),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this.autoClose=!0,this.boxWidth="fit-content",this.opened=!1,this.overlayType="light",this.anchorElement=void 0,this.options={horizontalGap:0,verticalGap:0,fromRight:!1},this.useAnchorSize=!1,this.minWidth=150}observeOpened(t,i){t!==i&&(t?this.openPopover():this.hidePopover())}async updatePosition(t,i){this.updateOptionPosition(t,i),await this.updatePositionPopover()}async show(t,i){this.updateOptionPosition(t,i),this.opened=!0}async showUnder(t,i){i&&(this.options=i),this.anchorElement=t,this.opened=!0}async hide(){this.opened=!1}async setOptions(t){Object.assign(this.options,t)}async setAnchorElement(t){this.anchorElement=t}parseSizePixel(t,i){return t?"string"==typeof t?Number(t.replace("px","")):null!=t?t:0:null!=i?i:0}updateOptionPosition(t,i){Object.assign(this.options,{horizontalGap:this.parseSizePixel(i,this.options.horizontalGap),verticalGap:this.parseSizePixel(t,this.options.verticalGap)})}getElement(t){return"string"==typeof t?document.getElementById(t):t}getAnchorElement(){if(!this.anchorElement)return this._host;if(Array.isArray(this.anchorElement)){for(const t of this.anchorElement){const i=this.getElement(t);if(i)return i}return this._host}return this.getElement(this.anchorElement)}async updatePositionPopover(){if(!this._box||!this.opened)return;const t=this.getAnchorElement();await r(t,this._box,{placement:this.options.fromRight?"bottom-end":"bottom-start",middleware:[h(),n({padding:5})],strategy:"fixed"}).then((({x:t,y:i,placement:o})=>{const e=o.includes("bottom")?i+this.options.verticalGap:i-this.options.verticalGap,s=o.includes("start")?t+this.options.horizontalGap:t-this.options.horizontalGap;Object.assign(this._box.style,{top:`${e}px`,left:`${s}px`})}))}hidePopover(){this._box&&(this._box.style.display="",this.hideOverlay(),this.ezVisibilityChange.emit(!1))}async openPopover(){if(this._box&&this.opened){if(this._box.style.display="flex",this._box.style.visibility="hidden",this.useAnchorSize){const t=this.getAnchorElement().getBoundingClientRect().width;this._box.style.width=`${t<this.minWidth?this.minWidth:t}px`}await this.updatePositionPopover(),this.openOverlay(),this.ezVisibilityChange.emit(!0),this._box.style.visibility="visible"}}openOverlay(){this._overlay&&this._overlayIsActive&&(this._overlay.style.display="block")}hideOverlay(){this._overlay&&(this._overlay.style.display="none")}checkStatusOverlay(){return"none"!==this.overlayType||!("none"!==this.overlayType||!this.autoClose)}handlePositionUpdate(){this.opened&&this.updatePositionPopover()}componentWillLoad(){window.addEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.addEventListener("resize",this.handlePositionUpdate.bind(this),!0)}componentDidLoad(){this._overlayIsActive=this.checkStatusOverlay(),this._resizeObserver=new ResizeObserver(this.updatePositionPopover.bind(this)),this._resizeObserver.observe(this._box),this.openPopover()}disconnectedCallback(){window.removeEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.removeEventListener("resize",this.handlePositionUpdate.bind(this),!0),this._resizeObserver.disconnect()}render(){return o(e,null,o("div",{ref:t=>this._overlay=t,onClick:()=>this.hide(),class:`popover__overlay popover__overlay--${this.overlayType}`}),o("section",{ref:t=>this._box=t,class:{popover__box:!0,"popover__box--fit-content":"fit-content"===this.boxWidth,"popover__box--full-width":"fit-content"!==this.boxWidth}},o("slot",null)))}get _host(){return s(this)}static get watchers(){return{opened:["observeOpened"]}}};a.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--elevation--100, 100);--ez-popover__box--overlay-z-index:var(--elevation--24, 24);position:relative;display:flex;user-select:none}.popover__overlay{display:none;position:fixed;padding:0;top:0px;left:0px;width:100%;height:100vh;box-sizing:border-box;z-index:var(--ez-popover__box--overlay-z-index)}.popover__overlay--light{background-color:rgba(var(--rgb-background--overlay), var(--opacity--bright))}.popover__overlay--medium{background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.popover__box{display:none;position:fixed;top:0;left:0;z-index:var(--ez-popover__box--z-index);flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:calc(100% - 10px)}";export{a as ez_popover_core}
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,g as o}from"./p-23a36bb6.js";import{ElementIDUtils as r}from"@sankhyalabs/core";class a{constructor(t){this.mask=t,this.maskChars={"#":t=>/\d/.test(t),U:t=>/[a-zA-Z]/.test(t),L:t=>/[a-zA-Z]/.test(t),A:t=>/[a-zA-Z0-9]/.test(t),Z:t=>/[a-zA-Z0-9]/.test(t),"?":t=>/[a-zA-Z]/.test(t),"*":()=>!0}}format(t){if(!t||!this.mask)return t;const i=this.removeIncompatibleChars(t);let s="",e=0,o=0;for(;o<this.mask.length&&e<i.length;){const t=this.mask[o],r=i[e];if("'"!==t){if(this.maskChars[t]){if(!this.maskChars[t](r)){e++;continue}s+="U"===t||"Z"===t?r.toUpperCase():"L"===t?r.toLowerCase():r,e++}else s+=t,r===t&&e++;o++}else o++,o<this.mask.length&&(s+=this.mask[o],o++)}return s}removeIncompatibleChars(t){let i="";for(let s=0;s<t.length;s++){const e=t[s];let o=!1;for(const t in this.maskChars)if(this.maskChars[t](e)){o=!0;break}if(!o)for(let t=0;t<this.mask.length;t++)if(this.mask[t]===e&&!this.maskChars[this.mask[t]]){o=!0;break}o&&(i+=e)}return i}removeMask(t){if(!t||!this.mask)return t;let i="",s=0,e=0;for(;s<t.length&&e<this.mask.length;){const o=this.mask[e],r=t[s];"'"!==o?(this.maskChars[o]?(this.maskChars[o](r)&&(i+=r),s++):r===o&&s++,e++):(e++,e<this.mask.length&&(r===this.mask[e]&&s++,e++))}for(;s<t.length;){const e=t[s];/[a-zA-Z0-9]/.test(e)&&(i+=e),s++}return i}getMask(){return this.mask}generatePlaceholder(){if(!this.mask)return"";let t="",i=0;for(;i<this.mask.length;){const s=this.mask[i];if("'"!==s){if(this.maskChars[s])switch(s){case"#":case"~":t+="0";break;case"U":case"L":case"?":case"A":t+="A";break;default:t+="_"}else t+=s;i++}else i++,i<this.mask.length&&(t+=this.mask[i],i++)}return t}}const c=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.ezBlur=i(this,"ezBlur",7),this.ezFocus=i(this,"ezFocus",7),this.iconClick=i(this,"iconClick",7),this._internalValueChange=!1,this.type="text",this.value=void 0,this.label=void 0,this.helpText=void 0,this.placeholder=void 0,this.enabled=!0,this.readonly=!1,this.name=void 0,this.minlength=void 0,this.maxlength=void 0,this.leftIconName=void 0,this.rightIconName=void 0,this.rightIconTooltip=void 0,this.leftIconTooltip=void 0,this.state="default",this.leftIconClickable=!1,this.rightIconClickable=!1,this.mask=void 0,this.emitMaskedValue=!1}async setFocus(t){(null==t?void 0:t.selectText)&&this._inputElem.select(),(null==t?void 0:t.preventScroll)||this._inputElem.scrollIntoView({behavior:"smooth",block:"center"}),this._inputElem.focus({preventScroll:!0})}async setBlur(){this._inputElem.blur()}async syncValue(){if(this._internalValueChange)this._internalValueChange=!1;else if(this.value&&this._maskFormatter&&this._inputElem){const t=this._maskFormatter.format(this.value);this._inputElem.value=t}else this._inputElem&&(this._inputElem.value=this.value||"")}onInput(t){try{const i=t.target;let s=i.value;if(this._maskFormatter){const t=this._maskFormatter.format(s),e=this._maskFormatter.removeMask(t);i.value=t,this._internalValueChange=!0,this.value=e,this.ezChange.emit(this.emitMaskedValue?t:e)}else this._internalValueChange=!0,this.value=s,this.ezChange.emit(s)}catch(t){console.error("Error processing input event:",t)}}onBlur(){this.ezBlur.emit(this.value)}onFocus(){this.ezFocus.emit(this.value)}handleIconClick(t,i){this.enabled&&("left"===i&&!this.leftIconClickable||"right"===i&&!this.rightIconClickable?this.setFocus({preventScroll:!0}):(t.stopPropagation(),this.iconClick.emit({icon:i})))}addInfoId(){this._element&&r.addIDInfo(this._element),this._inputElem&&r.addIDInfo(this._inputElem,"classic-input",{id:"embedded"})}componentWillLoad(){this.mask&&!this._maskFormatter&&(this._maskFormatter=new a(this.mask)),!this.placeholder&&this._maskFormatter&&(this.placeholder=this._maskFormatter.generatePlaceholder())}componentDidLoad(){this.syncValue(),this.addInfoId()}render(){return s(e,null,s("label",{title:this.label,htmlFor:this.name},this.label),s("div",{class:"input-container","data-state":this.state,"data-disabled":(!this.enabled).toString(),onClick:()=>this.setFocus({preventScroll:!0})},this.leftIconName&&s("ez-icon",{iconName:this.leftIconName,title:this.leftIconTooltip,onClick:t=>this.handleIconClick(t,"left"),class:{"icon-clickable":this.leftIconClickable}}),s("input",{ref:t=>this._inputElem=t,id:this.name,type:this.type,title:this.value,placeholder:this.placeholder,disabled:!this.enabled,readonly:this.readonly,name:this.name,minlength:this.minlength,maxlength:this.maxlength,onInput:t=>this.onInput(t),onBlur:this.onBlur.bind(this),onFocus:this.onFocus.bind(this)}),this.rightIconName&&s("ez-icon",{iconName:this.rightIconName,title:this.rightIconTooltip,onClick:t=>this.handleIconClick(t,"right"),class:{"icon-clickable":this.rightIconClickable}})),this.helpText&&s("span",{title:this.helpText},this.helpText))}get _element(){return o(this)}static get watchers(){return{value:["syncValue"]}}};c.style=':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-input--label-color:var(--color--ocean-green-1000, #00281D);--ez-classic-input--border-color-default:var(--color--gray-200, #D2D2D3);--ez-classic-input--border-color-focus:var(--color--gray-300, #A4A5A7);--ez-classic-input--border-color-success:var(--color--green-600, #157A00);--ez-classic-input--border-color-error:var(--color--red-600, #BD0025);--ez-classic-input--border-color-warning:var(--color--yellow-600, #EFB103);--ez-classic-input--background-color:var(--color--gray-70, #FFFFFF);--ez-classic-input--background-color-disabled:var(--color--gray-90, #EAEAEA);--ez-classic-input--text-color:var(--color--ocean-green-1000, #00281D);--ez-classic-input--placeholder-color:#bdbdbd;--ez-classic-input--icon-color:var(--color--gray-400, #77777A);--ez-classic-input--helptext-color:var(--color--ocean-green-1000, #00281D);--ez-classic-input--height:56px}.input-container{display:flex;flex-direction:row;align-items:center;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);height:var(--ez-classic-input--height);background-color:var(--ez-classic-input--background-color)}.input-container,.input-container[data-state="default"]{box-shadow:0 0 0 1px var(--ez-classic-input--border-color-default)}.input-container[data-state="success"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-success)}.input-container[data-state="error"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-error)}.input-container[data-state="warning"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-warning)}.input-container:focus-within{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-focus)}ez-icon{min-width:var(--space--24, 24px);color:var(--ez-classic-input--icon-color)}input{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;color:var(--ez-classic-input--text-color)}input::placeholder{color:var(--ez-classic-input--placeholder-color)}.input-container[data-disabled="true"]{cursor:not-allowed;background:var(--ez-classic-input--background-color-disabled);border-color:var(--ez-classic-input--border-color-default)}.input-container[data-disabled="true"]>*{cursor:not-allowed}.input-container input:read-only{cursor:default}@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-input--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-input--label-color)}.icon-clickable{cursor:pointer}';export{c as ez_classic_input}
Binary file
@@ -1 +1 @@
1
- import{r as e,c as l,h as a,g as r}from"./p-e4c7eb39.js";import{ElementIDUtils as o}from"@sankhyalabs/core";const i=class{constructor(a){e(this,a),this.valueChange=l(this,"valueChange",7),this.removeChip=l(this,"removeChip",7),this.actionClick=l(this,"actionClick",7),this.iconClick=l(this,"iconClick",7),this.label=void 0,this.enabled=!0,this.removePosition=void 0,this.mode=void 0,this.value=!1,this.showNativeTooltip=!1,this.disableAutoUpdateValue=!1,this.maxWidth=void 0,this.size="default",this.iconNameLeft=void 0,this.iconNameRight=void 0,this.type="primary",this.tabIndex=0,this.removeWithKeyboard=!1,this._isOverflowing=!1}async setFocus(){this._containerElem.focus()}async setBlur(){this._containerElem.blur()}handleValueChange(){this.swichState(),this.valueChange.emit(this.value)}handleClick(){if(this.enabled)return"action"===this.mode?this.actionClick.emit():this.disableAutoUpdateValue?void 0:this.handleValueChange()}handleClickRemoveButton(e){this.enabled&&(e.stopPropagation(),this.removeChip.emit())}handleIconClick(e,l){this.enabled&&(e.stopPropagation(),this.iconClick.emit({icon:l}))}swichState(){this.enabled&&(this.value=!this.value)}checkIsOverflowing(){this._isOverflowing=!!this._labelElem&&this._labelElem.offsetWidth<this._labelElem.scrollWidth}handleDeleteKey(){this.removeWithKeyboard?this.removeChip.emit():"action"===this.mode?this.actionClick.emit():(this.swichState(),this.valueChange.emit(this.value))}handleKeyDown(e){"Enter"!==e.key&&"Backspace"!==e.key&&"Delete"!==e.key||(e.preventDefault(),this.handleDeleteKey())}componentDidLoad(){this._element&&o.addIDInfo(this._element,"ezChip"),this._containerElem&&this._containerElem.setAttribute(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME,o.getInternalIDInfo("button")),this.checkIsOverflowing()}render(){let e="default";return this.enabled?this.value&&"action"!==this.mode&&(e="active"):e="disabled",a("ez-tooltip",{active:this.showNativeTooltip||this._isOverflowing,message:this.label},a("button",{ref:e=>this._containerElem=e,class:{"label__container--row-reverse":"left"===this.removePosition,label__container:!0},"data-color-state":e,"data-color-type":this.type,"data-size":this.size,onClick:this.handleClick.bind(this),tabIndex:this.tabIndex,style:{maxWidth:this.maxWidth},onKeyDown:this.handleKeyDown.bind(this)},this.iconNameLeft&&a("ez-icon",{size:"medium","icon-name":this.iconNameLeft,onClick:e=>this.handleIconClick(e,"left")}),a("slot",{name:"leftIcon"}),a("label",{ref:e=>this._labelElem=e,class:{"label__text--disabled":!this.enabled,label__text:!0}},this.label),a("slot",{name:"rightIcon"}),this.iconNameRight&&a("ez-icon",{size:"medium","icon-name":this.iconNameRight,onClick:e=>this.handleIconClick(e,"right")}),"action"!==this.mode&&this.removePosition&&a("ez-icon",{class:"btn-close",size:"medium","icon-name":"close",onClick:e=>this.handleClickRemoveButton(e)})))}get _element(){return r(this)}};i.style=':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--disabled: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-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:var(--color--ocean-green-200);--ez-label-chip__label__container--secondary--border-color--active:var(--color--gray-200);--ez-label-chip__label__container--margin: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);outline:none;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:var(--ez-label-chip__label__container--margin)}.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{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px 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 ez-icon{--ez-icon--color:var(--ez-label-chip__label--icon--primary)}:host .label__container ::slotted(ez-icon){--ez-icon--color:var(--ez-label-chip__label--icon--primary)}.label__container[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-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:focus{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px var(--ez-label-chip__label__container--default--border-color--active)}.label__container[data-color-type="secondary"]{--ez-label-chip__label--icon--primary:var(--color--gray-300, #A4A5A7);--ez-label-chip__label__container--border-color-strokes:var(--color--gray-200, #D2D2D3);--ez-label-chip__label__container--background-color:var(--color--gray-70, #F7F7F8);--ez-label-chip__label--text--primary:var(--color--ocean-green-1000, #00281D);--ez-label-chip__label__container--border-color-active:var(--color--gray-200, #D2D2D3);--ez-label-chip__label__container--default--background-color--active:var(--color--primary-300, #6BB8A3);--ez-label-chip__label__container--default--color--active:var(--color--ocean-green-600, #008561);--ez-label-chip__label__container--default--border-color--active:var(--color--ocean-green-600, #008561)}.label__container[data-color-type="error"]{--ez-label-chip__label--icon--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--red-600, #BD0025);--ez-label-chip__label--text--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--red-700, #97001E);--ez-label-chip__label__container--default--color--active:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="error-light"]{--ez-label-chip__label--icon--primary:var(--color--red-600, #BD0025);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--red-200, #F2CCD3);--ez-label-chip__label--text--primary:var(--color--red-600, #BD0025);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--red-300, #E599A8);--ez-label-chip__label__container--default--color--active:var(--color--red-600, #BD0025);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="warning"]{--ez-label-chip__label--icon--primary:var(--color--yellow-900, #604701);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--yellow-600, #EFB103);--ez-label-chip__label--text--primary:var(--color--yellow-900, #604701);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--yellow-700, #BF8E02);--ez-label-chip__label__container--default--color--active:var(--color--yellow-900, #604701);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="warning-light"]{--ez-label-chip__label--icon--primary:var(--color--yellow-600, #EFB103);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--yellow-200, #FDF6E4);--ez-label-chip__label--text--primary:var(--color--yellow-600, #EFB103);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--yellow-300, #F6EB8A);--ez-label-chip__label__container--default--color--active:var(--color--yellow-600, #EFB103);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="success"]{--ez-label-chip__label--icon--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--green-600, #157A00);--ez-label-chip__label--text--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--green-700, #116200);--ez-label-chip__label__container--default--color--active:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="success-light"]{--ez-label-chip__label--icon--primary:var(--color--green-600, #157A00);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--green-200, #C8E6C9);--ez-label-chip__label--text--primary:var(--color--green-600, #157A00);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--green-300, #A5D6A7);--ez-label-chip__label__container--default--color--active:var(--color--green-600, #157A00);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-state="disabled"]{border-color:var(--ez-label-chip__label__container-color--disabled);background-color:var(--ez-label-chip__label__container-color--disabled);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)}:host .label__container[data-color-state="disabled"] ::slotted(ez-icon){--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}';export{i as ez_chip}
1
+ import{r as e,c as l,h as a,g as r}from"./p-23a36bb6.js";import{ElementIDUtils as o}from"@sankhyalabs/core";const i=class{constructor(a){e(this,a),this.valueChange=l(this,"valueChange",7),this.removeChip=l(this,"removeChip",7),this.actionClick=l(this,"actionClick",7),this.iconClick=l(this,"iconClick",7),this.label=void 0,this.enabled=!0,this.removePosition=void 0,this.mode=void 0,this.value=!1,this.showNativeTooltip=!1,this.disableAutoUpdateValue=!1,this.maxWidth=void 0,this.size="default",this.iconNameLeft=void 0,this.iconNameRight=void 0,this.type="primary",this.tabIndex=0,this.removeWithKeyboard=!1,this._isOverflowing=!1}async setFocus(){this._containerElem.focus()}async setBlur(){this._containerElem.blur()}handleValueChange(){this.swichState(),this.valueChange.emit(this.value)}handleClick(){if(this.enabled)return"action"===this.mode?this.actionClick.emit():this.disableAutoUpdateValue?void 0:this.handleValueChange()}handleClickRemoveButton(e){this.enabled&&(e.stopPropagation(),this.removeChip.emit())}handleIconClick(e,l){this.enabled&&(e.stopPropagation(),this.iconClick.emit({icon:l}))}swichState(){this.enabled&&(this.value=!this.value)}checkIsOverflowing(){this._isOverflowing=!!this._labelElem&&this._labelElem.offsetWidth<this._labelElem.scrollWidth}handleDeleteKey(){this.removeWithKeyboard?this.removeChip.emit():"action"===this.mode?this.actionClick.emit():(this.swichState(),this.valueChange.emit(this.value))}handleKeyDown(e){"Enter"!==e.key&&"Backspace"!==e.key&&"Delete"!==e.key||(e.preventDefault(),this.handleDeleteKey())}componentDidLoad(){this._element&&o.addIDInfo(this._element,"ezChip"),this._containerElem&&this._containerElem.setAttribute(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME,o.getInternalIDInfo("button")),this.checkIsOverflowing()}render(){let e="default";return this.enabled?this.value&&"action"!==this.mode&&(e="active"):e="disabled",a("ez-tooltip",{active:this.showNativeTooltip||this._isOverflowing,message:this.label},a("button",{ref:e=>this._containerElem=e,class:{"label__container--row-reverse":"left"===this.removePosition,label__container:!0},"data-color-state":e,"data-color-type":this.type,"data-size":this.size,onClick:this.handleClick.bind(this),tabIndex:this.tabIndex,style:{maxWidth:this.maxWidth},onKeyDown:this.handleKeyDown.bind(this)},this.iconNameLeft&&a("ez-icon",{size:"medium","icon-name":this.iconNameLeft,onClick:e=>this.handleIconClick(e,"left")}),a("slot",{name:"leftIcon"}),a("label",{ref:e=>this._labelElem=e,class:{"label__text--disabled":!this.enabled,label__text:!0}},this.label),a("slot",{name:"rightIcon"}),this.iconNameRight&&a("ez-icon",{size:"medium","icon-name":this.iconNameRight,onClick:e=>this.handleIconClick(e,"right")}),"action"!==this.mode&&this.removePosition&&a("ez-icon",{class:"btn-close",size:"medium","icon-name":"close",onClick:e=>this.handleClickRemoveButton(e)})))}get _element(){return r(this)}};i.style=':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--disabled: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-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:var(--color--ocean-green-200);--ez-label-chip__label__container--secondary--border-color--active:var(--color--gray-200);--ez-label-chip__label__container--margin: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);outline:none;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:var(--ez-label-chip__label__container--margin)}.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{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px 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 ez-icon{--ez-icon--color:var(--ez-label-chip__label--icon--primary)}:host .label__container ::slotted(ez-icon){--ez-icon--color:var(--ez-label-chip__label--icon--primary)}.label__container[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-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:focus{box-shadow:0 0 0 2px var(--color--gray-70), 0 0 0 4px var(--ez-label-chip__label__container--default--border-color--active)}.label__container[data-color-type="secondary"]{--ez-label-chip__label--icon--primary:var(--color--gray-300, #A4A5A7);--ez-label-chip__label__container--border-color-strokes:var(--color--gray-200, #D2D2D3);--ez-label-chip__label__container--background-color:var(--color--gray-70, #F7F7F8);--ez-label-chip__label--text--primary:var(--color--ocean-green-1000, #00281D);--ez-label-chip__label__container--border-color-active:var(--color--gray-200, #D2D2D3);--ez-label-chip__label__container--default--background-color--active:var(--color--primary-300, #6BB8A3);--ez-label-chip__label__container--default--color--active:var(--color--ocean-green-600, #008561);--ez-label-chip__label__container--default--border-color--active:var(--color--ocean-green-600, #008561)}.label__container[data-color-type="error"]{--ez-label-chip__label--icon--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--red-600, #BD0025);--ez-label-chip__label--text--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--red-700, #97001E);--ez-label-chip__label__container--default--color--active:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="error-light"]{--ez-label-chip__label--icon--primary:var(--color--red-600, #BD0025);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--red-200, #F2CCD3);--ez-label-chip__label--text--primary:var(--color--red-600, #BD0025);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--red-300, #E599A8);--ez-label-chip__label__container--default--color--active:var(--color--red-600, #BD0025);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="warning"]{--ez-label-chip__label--icon--primary:var(--color--yellow-900, #604701);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--yellow-600, #EFB103);--ez-label-chip__label--text--primary:var(--color--yellow-900, #604701);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--yellow-700, #BF8E02);--ez-label-chip__label__container--default--color--active:var(--color--yellow-900, #604701);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="warning-light"]{--ez-label-chip__label--icon--primary:var(--color--yellow-600, #EFB103);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--yellow-200, #FDF6E4);--ez-label-chip__label--text--primary:var(--color--yellow-600, #EFB103);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--yellow-300, #F6EB8A);--ez-label-chip__label__container--default--color--active:var(--color--yellow-600, #EFB103);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="success"]{--ez-label-chip__label--icon--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--green-600, #157A00);--ez-label-chip__label--text--primary:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--green-700, #116200);--ez-label-chip__label__container--default--color--active:var(--color--gray-70, #FFFFFF);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-type="success-light"]{--ez-label-chip__label--icon--primary:var(--color--green-600, #157A00);--ez-label-chip__label__container--border-color-strokes:transparent;--ez-label-chip__label__container--background-color:var(--color--green-200, #C8E6C9);--ez-label-chip__label--text--primary:var(--color--green-600, #157A00);--ez-label-chip__label__container--border-color-active:transparent;--ez-label-chip__label__container--default--background-color--active:var(--color--green-300, #A5D6A7);--ez-label-chip__label__container--default--color--active:var(--color--green-600, #157A00);--ez-label-chip__label__container--default--border-color--active:transparent}.label__container[data-color-state="disabled"]{border-color:var(--ez-label-chip__label__container-color--disabled);background-color:var(--ez-label-chip__label__container-color--disabled);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)}:host .label__container[data-color-state="disabled"] ::slotted(ez-icon){--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}';export{i as ez_chip}
Binary file
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as h,g as n}from"./p-e4c7eb39.js";import{StringUtils as r}from"@sankhyalabs/core";var e=function(t,i){return Number(t.slice(0,-1*i.length))},o=function(t){return t.endsWith("px")?{value:t,type:"px",numeric:e(t,"px")}:t.endsWith("fr")?{value:t,type:"fr",numeric:e(t,"fr")}:t.endsWith("%")?{value:t,type:"%",numeric:e(t,"%")}:"auto"===t?{value:t,type:"auto"}:null},u=function(t){return t.split(" ").map(o)},c=function(t,i,s){return i.concat(s).map((function(i){return i.style[t]})).filter((function(t){return void 0!==t&&""!==t}))},a=function(t){for(var i=0;i<t.length;i++)if(t[i].numeric>0)return i;return null},l=function(){return!1},d=function(t,i,s){t.style[i]=s},f=function(t,i,s){var h=t[i];return void 0!==h?h:s};function m(t){var i;return(i=[]).concat.apply(i,Array.from(t.ownerDocument.styleSheets).map((function(t){var i=[];try{i=Array.from(t.cssRules||[])}catch(t){}return i}))).filter((function(i){var s=!1;try{s=t.matches(i.selectorText)}catch(t){}return s}))}var w=function(t,i,s){this.direction=t,this.element=i.element,this.track=i.track,"column"===t?(this.gridTemplateProp="grid-template-columns",this.gridGapProp="grid-column-gap",this.cursor=f(s,"columnCursor",f(s,"cursor","col-resize")),this.snapOffset=f(s,"columnSnapOffset",f(s,"snapOffset",30)),this.dragInterval=f(s,"columnDragInterval",f(s,"dragInterval",1)),this.clientAxis="clientX",this.optionStyle=f(s,"gridTemplateColumns")):"row"===t&&(this.gridTemplateProp="grid-template-rows",this.gridGapProp="grid-row-gap",this.cursor=f(s,"rowCursor",f(s,"cursor","row-resize")),this.snapOffset=f(s,"rowSnapOffset",f(s,"snapOffset",30)),this.dragInterval=f(s,"rowDragInterval",f(s,"dragInterval",1)),this.clientAxis="clientY",this.optionStyle=f(s,"gridTemplateRows")),this.onDragStart=f(s,"onDragStart",l),this.onDragEnd=f(s,"onDragEnd",l),this.onDrag=f(s,"onDrag",l),this.writeStyle=f(s,"writeStyle",d),this.startDragging=this.startDragging.bind(this),this.stopDragging=this.stopDragging.bind(this),this.drag=this.drag.bind(this),this.minSizeStart=i.minSizeStart,this.minSizeEnd=i.minSizeEnd,i.element&&(this.element.addEventListener("mousedown",this.startDragging),this.element.addEventListener("touchstart",this.startDragging))};w.prototype.getDimensions=function(){var t=this.grid.getBoundingClientRect(),i=t.width,s=t.height,h=t.bottom,n=t.left,r=t.right;"column"===this.direction?(this.start=t.top,this.end=h,this.size=s):"row"===this.direction&&(this.start=n,this.end=r,this.size=i)},w.prototype.getSizeAtTrack=function(t,i){return function(t,i,s,h){return void 0===s&&(s=0),void 0===h&&(h=!1),i.slice(0,h?t+1:t).reduce((function(t,i){return t+i.numeric}),0)+(s?t*s:0)}(t,this.computedPixels,this.computedGapPixels,i)},w.prototype.getSizeOfTrack=function(t){return this.computedPixels[t].numeric},w.prototype.getRawTracks=function(){var t=c(this.gridTemplateProp,[this.grid],m(this.grid));if(!t.length){if(this.optionStyle)return this.optionStyle;throw Error("Unable to determine grid template tracks from styles.")}return t[0]},w.prototype.getGap=function(){var t=c(this.gridGapProp,[this.grid],m(this.grid));return t.length?t[0]:null},w.prototype.getRawComputedTracks=function(){return window.getComputedStyle(this.grid)[this.gridTemplateProp]},w.prototype.getRawComputedGap=function(){return window.getComputedStyle(this.grid)[this.gridGapProp]},w.prototype.setTracks=function(t){this.tracks=t.split(" "),this.trackValues=u(t)},w.prototype.setComputedTracks=function(t){this.computedTracks=t.split(" "),this.computedPixels=u(t)},w.prototype.setGap=function(t){this.gap=t},w.prototype.setComputedGap=function(t){var i;this.computedGap=t,this.computedGapPixels=((i=this.computedGap).endsWith("px")?Number(i.slice(0,-1*"px".length)):null)||0},w.prototype.getMousePosition=function(t){return"touches"in t?t.touches[0][this.clientAxis]:t[this.clientAxis]},w.prototype.startDragging=function(t){if(!("button"in t)||0===t.button){t.preventDefault(),this.grid=this.element?this.element.parentNode:t.target.parentNode,this.getDimensions(),this.setTracks(this.getRawTracks()),this.setComputedTracks(this.getRawComputedTracks()),this.setGap(this.getGap()),this.setComputedGap(this.getRawComputedGap());var i=this.trackValues.filter((function(t){return"%"===t.type})),s=this.trackValues.filter((function(t){return"fr"===t.type}));if(this.totalFrs=s.length,this.totalFrs){var h=a(s);null!==h&&(this.frToPixels=this.computedPixels[h].numeric/s[h].numeric)}if(i.length){var n=a(i);null!==n&&(this.percentageToPixels=this.computedPixels[n].numeric/i[n].numeric)}var r=this.getSizeAtTrack(this.track,!1)+this.start;if(this.dragStartOffset=this.getMousePosition(t)-r,this.aTrack=this.track-1,!(this.track<this.tracks.length-1))throw Error("Invalid track index: "+this.track+". Track must be between two other tracks and only "+this.tracks.length+" tracks were found.");this.bTrack=this.track+1,this.aTrackStart=this.getSizeAtTrack(this.aTrack,!1)+this.start,this.bTrackEnd=this.getSizeAtTrack(this.bTrack,!0)+this.start,this.dragging=!0,window.addEventListener("mouseup",this.stopDragging),window.addEventListener("touchend",this.stopDragging),window.addEventListener("touchcancel",this.stopDragging),window.addEventListener("mousemove",this.drag),window.addEventListener("touchmove",this.drag),this.grid.addEventListener("selectstart",l),this.grid.addEventListener("dragstart",l),this.grid.style.userSelect="none",this.grid.style.webkitUserSelect="none",this.grid.style.MozUserSelect="none",this.grid.style.pointerEvents="none",this.grid.style.cursor=this.cursor,window.document.body.style.cursor=this.cursor,this.onDragStart(this.direction,this.track)}},w.prototype.stopDragging=function(){this.dragging=!1,this.cleanup(),this.onDragEnd(this.direction,this.track),this.needsDestroy&&(this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),this.destroyCb(),this.needsDestroy=!1,this.destroyCb=null)},w.prototype.drag=function(t){var i=this.getMousePosition(t),s=this.getSizeOfTrack(this.track),h=this.aTrackStart+this.minSizeStart+this.dragStartOffset+this.computedGapPixels,n=this.bTrackEnd-this.minSizeEnd-this.computedGapPixels-(s-this.dragStartOffset);i<h+this.snapOffset&&(i=h),i>n-this.snapOffset&&(i=n),i<h?i=h:i>n&&(i=n);var r=i-this.aTrackStart-this.dragStartOffset-this.computedGapPixels,e=this.bTrackEnd-i+this.dragStartOffset-s-this.computedGapPixels;if(this.dragInterval>1){var o=Math.round(r/this.dragInterval)*this.dragInterval;e-=o-r,r=o}r<this.minSizeStart&&(r=this.minSizeStart),e<this.minSizeEnd&&(e=this.minSizeEnd),"px"===this.trackValues[this.aTrack].type?this.tracks[this.aTrack]=r+"px":"fr"===this.trackValues[this.aTrack].type?this.tracks[this.aTrack]=1===this.totalFrs?"1fr":r/this.frToPixels+"fr":"%"===this.trackValues[this.aTrack].type&&(this.tracks[this.aTrack]=r/this.percentageToPixels+"%"),"px"===this.trackValues[this.bTrack].type?this.tracks[this.bTrack]=e+"px":"fr"===this.trackValues[this.bTrack].type?this.tracks[this.bTrack]=1===this.totalFrs?"1fr":e/this.frToPixels+"fr":"%"===this.trackValues[this.bTrack].type&&(this.tracks[this.bTrack]=e/this.percentageToPixels+"%");var u=this.tracks.join(" ");this.writeStyle(this.grid,this.gridTemplateProp,u),this.onDrag(this.direction,this.track,u)},w.prototype.cleanup=function(){window.removeEventListener("mouseup",this.stopDragging),window.removeEventListener("touchend",this.stopDragging),window.removeEventListener("touchcancel",this.stopDragging),window.removeEventListener("mousemove",this.drag),window.removeEventListener("touchmove",this.drag),this.grid&&(this.grid.removeEventListener("selectstart",l),this.grid.removeEventListener("dragstart",l),this.grid.style.userSelect="",this.grid.style.webkitUserSelect="",this.grid.style.MozUserSelect="",this.grid.style.pointerEvents="",this.grid.style.cursor=""),window.document.body.style.cursor=""},w.prototype.destroy=function(t,i){void 0===t&&(t=!0),t||!1===this.dragging?(this.cleanup(),this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),i&&i()):(this.needsDestroy=!0,i&&(this.destroyCb=i))};var v=function(t,i,s){return i in t?t[i]:s},p=function(t,i){return function(s){if(s.track<1)throw Error("Invalid track index: "+s.track+". Track must be between two other tracks.");var h="column"===t?i.columnMinSizes||{}:i.rowMinSizes||{},n="column"===t?"columnMinSize":"rowMinSize";return new w(t,Object.assign({},{minSizeStart:v(h,s.track-1,f(i,n,f(i,"minSize",0))),minSizeEnd:v(h,s.track+1,f(i,n,f(i,"minSize",0)))},s),i)}},g=function(t){var i=this;this.columnGutters={},this.rowGutters={},this.options=Object.assign({},{columnGutters:t.columnGutters||[],rowGutters:t.rowGutters||[],columnMinSizes:t.columnMinSizes||{},rowMinSizes:t.rowMinSizes||{}},t),this.options.columnGutters.forEach((function(t){i.columnGutters[t.track]=p("column",i.options)(t)})),this.options.rowGutters.forEach((function(t){i.rowGutters[t.track]=p("row",i.options)(t)}))};g.prototype.addColumnGutter=function(t,i){this.columnGutters[i]&&this.columnGutters[i].destroy(),this.columnGutters[i]=p("column",this.options)({element:t,track:i})},g.prototype.addRowGutter=function(t,i){this.rowGutters[i]&&this.rowGutters[i].destroy(),this.rowGutters[i]=p("row",this.options)({element:t,track:i})},g.prototype.removeColumnGutter=function(t,i){var s=this;void 0===i&&(i=!0),this.columnGutters[t]&&this.columnGutters[t].destroy(i,(function(){delete s.columnGutters[t]}))},g.prototype.removeRowGutter=function(t,i){var s=this;void 0===i&&(i=!0),this.rowGutters[t]&&this.rowGutters[t].destroy(i,(function(){delete s.rowGutters[t]}))},g.prototype.handleDragStart=function(t,i,s){"column"===i?(this.columnGutters[s]&&this.columnGutters[s].destroy(),this.columnGutters[s]=p("column",this.options)({track:s}),this.columnGutters[s].startDragging(t)):"row"===i&&(this.rowGutters[s]&&this.rowGutters[s].destroy(),this.rowGutters[s]=p("row",this.options)({track:s}),this.rowGutters[s].startDragging(t))},g.prototype.destroy=function(t){var i=this;void 0===t&&(t=!0),Object.keys(this.columnGutters).forEach((function(s){return i.columnGutters[s].destroy(t,(function(){delete i.columnGutters[s]}))})),Object.keys(this.rowGutters).forEach((function(s){return i.rowGutters[s].destroy(t,(function(){delete i.rowGutters[s]}))}))};const b=class{constructor(s){t(this,s),this.resizeEnd=i(this,"resizeEnd",7),this._items=[],this._buildInProgress=!1,this.direction="column",this.anchorToExpand=!1,this.structural=!1}rebuildLayout(){Array.from(this._element.querySelectorAll(".ez-split-gutter")).reverse().forEach((t=>{t.remove()})),Array.from(this._element.getElementsByTagName("EzSplitPanel")).reverse().forEach((t=>{t.rebuildLayout()})),this.buildItems(),this.initSplit()}buildItems(){this._panelID=r.generateUUID(),this._element.dataset.panelId=this._panelID,this._element.dataset.uniqueId="EzSplitPanel";let t=Array.from(this._element.children);this._items=t.filter((t=>{var i;return"EZ-SPLIT-ITEM"===(null===(i=t.tagName)||void 0===i?void 0:i.toUpperCase())}));let i=1;this._items.forEach(((t,s)=>{t.dataset.trackNumber=i.toString(),this._items.length>1&&s!=this._items.length-1&&this.addItemGutter(t),i+=2}))}componentDidLoad(){this.buildItems(),this.initSplit(),this._mutationObserver=new MutationObserver((t=>{for(const i of t)if("childList"===i.type&&!this._buildInProgress){this._buildInProgress=!0,window.requestAnimationFrame((()=>{this.rebuildLayout()})),window.requestAnimationFrame((()=>this._buildInProgress=!1));break}})),this._mutationObserver.observe(this._element,{childList:!0,subtree:!1})}disconnectedCallback(){null!=this._mutationObserver&&this._mutationObserver.disconnect()}initSplit(){var t;this._items.length&&(this._element.style["row"===this.direction?"grid-template-rows":"grid-template-columns"]=this.getGridTemplate(),this.removeGuttersMargin(),t=this.getGutters(),new g(t))}handlePanelDragEnd(){const t=this._items.map((t=>({id:t.id,height:t.clientHeight,width:t.clientWidth})));this.resizeEnd.emit({panelId:this._element.id,items:t})}getGutters(){const t={columnGutters:[],rowGutters:[],onDragEnd:()=>this.handlePanelDragEnd()};if(!this._items.length)return t;const i="row"===this.direction?"rowGutters":"columnGutters";return this._items.forEach(((s,h)=>{if(h===this._items.length-1)return;let n=s.dataset.trackNumber;h===this._items.length-1&&(n=this._items.length.toString()),t[i].push({track:Number(n),element:this._element.querySelector(`ez-split-panel[data-panel-id="${this._panelID}"] > [data-item-track="${s.dataset.trackNumber}"]`)})})),t}addItemGutter(t){const i=document.createElement("div");i.classList.add("ez-split-gutter"),i.classList.add(this.direction),i.classList.add("row"===this.direction?"ez-split-gutter__row":"ez-split-gutter__column"),i.dataset.itemTrack=`${t.dataset.trackNumber}`,i.dataset.trackNumber=(Number(t.dataset.trackNumber)+1).toString(),t.parentNode.insertBefore(i,t.nextSibling)}getElementStyle(){return{display:"grid",height:"100%",width:"100%",position:this.anchorToExpand?"relative":"unset"}}calcFreeSpacePercentage(){const t=this._items.reduce(((t,i)=>{var s;return t+((null===(s=i.size)||void 0===s?void 0:s.includes("%"))?Number(i.size.replace("%","")):0)}),0),i=this._items.filter((t=>void 0===t.size)).length;return i&&t?(100-t)/i:null}getGridTemplate(){let t="";const i=this.calcFreeSpacePercentage();return this._items.forEach(((s,h)=>{let n=s.size||"1fr";!s.size&&i&&(n=`${i}%`),t+=h!==this._items.length-1?0!==h?` ${n} 5px`:`${n} 5px`:` ${n}`})),t}removeGuttersMargin(){this._items.length<=1||("column"!=this.direction?"row"!=this.direction||this.removeGuttersMarginRow():this.removeGuttersMarginColumn())}removeGuttersMarginColumn(){this._items.forEach(((t,i)=>{0!=i?i!==this._items.length-1?(t.style.marginRight="0",t.style.marginLeft="0"):t.style.marginLeft="0":t.style.marginRight="0"}))}removeGuttersMarginRow(){this._items.length<=1||this._items.forEach(((t,i)=>{0!=i?i!==this._items.length-1?(t.style.marginBottom="0",t.style.marginTop="0"):t.style.marginTop="0":t.style.marginBottom="0"}))}render(){return s(h,{class:this.structural?"structural__panel":"content__panel",style:this.getElementStyle()})}get _element(){return n(this)}};b.style=".ez-split-gutter{cursor:grab;background-color:transparent;max-width:100%}.ez-split-gutter__row{cursor:ns-resize}.ez-split-gutter__column{cursor:ew-resize}.structural__panel{background:none;box-shadow:none;outline:none;padding:0;margin:0;border:0}";export{b as ez_split_panel}
1
+ import{r as t,c as i,h as s,H as h,g as n}from"./p-23a36bb6.js";import{StringUtils as r}from"@sankhyalabs/core";var e=function(t,i){return Number(t.slice(0,-1*i.length))},o=function(t){return t.endsWith("px")?{value:t,type:"px",numeric:e(t,"px")}:t.endsWith("fr")?{value:t,type:"fr",numeric:e(t,"fr")}:t.endsWith("%")?{value:t,type:"%",numeric:e(t,"%")}:"auto"===t?{value:t,type:"auto"}:null},u=function(t){return t.split(" ").map(o)},c=function(t,i,s){return i.concat(s).map((function(i){return i.style[t]})).filter((function(t){return void 0!==t&&""!==t}))},a=function(t){for(var i=0;i<t.length;i++)if(t[i].numeric>0)return i;return null},l=function(){return!1},d=function(t,i,s){t.style[i]=s},f=function(t,i,s){var h=t[i];return void 0!==h?h:s};function m(t){var i;return(i=[]).concat.apply(i,Array.from(t.ownerDocument.styleSheets).map((function(t){var i=[];try{i=Array.from(t.cssRules||[])}catch(t){}return i}))).filter((function(i){var s=!1;try{s=t.matches(i.selectorText)}catch(t){}return s}))}var w=function(t,i,s){this.direction=t,this.element=i.element,this.track=i.track,"column"===t?(this.gridTemplateProp="grid-template-columns",this.gridGapProp="grid-column-gap",this.cursor=f(s,"columnCursor",f(s,"cursor","col-resize")),this.snapOffset=f(s,"columnSnapOffset",f(s,"snapOffset",30)),this.dragInterval=f(s,"columnDragInterval",f(s,"dragInterval",1)),this.clientAxis="clientX",this.optionStyle=f(s,"gridTemplateColumns")):"row"===t&&(this.gridTemplateProp="grid-template-rows",this.gridGapProp="grid-row-gap",this.cursor=f(s,"rowCursor",f(s,"cursor","row-resize")),this.snapOffset=f(s,"rowSnapOffset",f(s,"snapOffset",30)),this.dragInterval=f(s,"rowDragInterval",f(s,"dragInterval",1)),this.clientAxis="clientY",this.optionStyle=f(s,"gridTemplateRows")),this.onDragStart=f(s,"onDragStart",l),this.onDragEnd=f(s,"onDragEnd",l),this.onDrag=f(s,"onDrag",l),this.writeStyle=f(s,"writeStyle",d),this.startDragging=this.startDragging.bind(this),this.stopDragging=this.stopDragging.bind(this),this.drag=this.drag.bind(this),this.minSizeStart=i.minSizeStart,this.minSizeEnd=i.minSizeEnd,i.element&&(this.element.addEventListener("mousedown",this.startDragging),this.element.addEventListener("touchstart",this.startDragging))};w.prototype.getDimensions=function(){var t=this.grid.getBoundingClientRect(),i=t.width,s=t.height,h=t.bottom,n=t.left,r=t.right;"column"===this.direction?(this.start=t.top,this.end=h,this.size=s):"row"===this.direction&&(this.start=n,this.end=r,this.size=i)},w.prototype.getSizeAtTrack=function(t,i){return function(t,i,s,h){return void 0===s&&(s=0),void 0===h&&(h=!1),i.slice(0,h?t+1:t).reduce((function(t,i){return t+i.numeric}),0)+(s?t*s:0)}(t,this.computedPixels,this.computedGapPixels,i)},w.prototype.getSizeOfTrack=function(t){return this.computedPixels[t].numeric},w.prototype.getRawTracks=function(){var t=c(this.gridTemplateProp,[this.grid],m(this.grid));if(!t.length){if(this.optionStyle)return this.optionStyle;throw Error("Unable to determine grid template tracks from styles.")}return t[0]},w.prototype.getGap=function(){var t=c(this.gridGapProp,[this.grid],m(this.grid));return t.length?t[0]:null},w.prototype.getRawComputedTracks=function(){return window.getComputedStyle(this.grid)[this.gridTemplateProp]},w.prototype.getRawComputedGap=function(){return window.getComputedStyle(this.grid)[this.gridGapProp]},w.prototype.setTracks=function(t){this.tracks=t.split(" "),this.trackValues=u(t)},w.prototype.setComputedTracks=function(t){this.computedTracks=t.split(" "),this.computedPixels=u(t)},w.prototype.setGap=function(t){this.gap=t},w.prototype.setComputedGap=function(t){var i;this.computedGap=t,this.computedGapPixels=((i=this.computedGap).endsWith("px")?Number(i.slice(0,-1*"px".length)):null)||0},w.prototype.getMousePosition=function(t){return"touches"in t?t.touches[0][this.clientAxis]:t[this.clientAxis]},w.prototype.startDragging=function(t){if(!("button"in t)||0===t.button){t.preventDefault(),this.grid=this.element?this.element.parentNode:t.target.parentNode,this.getDimensions(),this.setTracks(this.getRawTracks()),this.setComputedTracks(this.getRawComputedTracks()),this.setGap(this.getGap()),this.setComputedGap(this.getRawComputedGap());var i=this.trackValues.filter((function(t){return"%"===t.type})),s=this.trackValues.filter((function(t){return"fr"===t.type}));if(this.totalFrs=s.length,this.totalFrs){var h=a(s);null!==h&&(this.frToPixels=this.computedPixels[h].numeric/s[h].numeric)}if(i.length){var n=a(i);null!==n&&(this.percentageToPixels=this.computedPixels[n].numeric/i[n].numeric)}var r=this.getSizeAtTrack(this.track,!1)+this.start;if(this.dragStartOffset=this.getMousePosition(t)-r,this.aTrack=this.track-1,!(this.track<this.tracks.length-1))throw Error("Invalid track index: "+this.track+". Track must be between two other tracks and only "+this.tracks.length+" tracks were found.");this.bTrack=this.track+1,this.aTrackStart=this.getSizeAtTrack(this.aTrack,!1)+this.start,this.bTrackEnd=this.getSizeAtTrack(this.bTrack,!0)+this.start,this.dragging=!0,window.addEventListener("mouseup",this.stopDragging),window.addEventListener("touchend",this.stopDragging),window.addEventListener("touchcancel",this.stopDragging),window.addEventListener("mousemove",this.drag),window.addEventListener("touchmove",this.drag),this.grid.addEventListener("selectstart",l),this.grid.addEventListener("dragstart",l),this.grid.style.userSelect="none",this.grid.style.webkitUserSelect="none",this.grid.style.MozUserSelect="none",this.grid.style.pointerEvents="none",this.grid.style.cursor=this.cursor,window.document.body.style.cursor=this.cursor,this.onDragStart(this.direction,this.track)}},w.prototype.stopDragging=function(){this.dragging=!1,this.cleanup(),this.onDragEnd(this.direction,this.track),this.needsDestroy&&(this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),this.destroyCb(),this.needsDestroy=!1,this.destroyCb=null)},w.prototype.drag=function(t){var i=this.getMousePosition(t),s=this.getSizeOfTrack(this.track),h=this.aTrackStart+this.minSizeStart+this.dragStartOffset+this.computedGapPixels,n=this.bTrackEnd-this.minSizeEnd-this.computedGapPixels-(s-this.dragStartOffset);i<h+this.snapOffset&&(i=h),i>n-this.snapOffset&&(i=n),i<h?i=h:i>n&&(i=n);var r=i-this.aTrackStart-this.dragStartOffset-this.computedGapPixels,e=this.bTrackEnd-i+this.dragStartOffset-s-this.computedGapPixels;if(this.dragInterval>1){var o=Math.round(r/this.dragInterval)*this.dragInterval;e-=o-r,r=o}r<this.minSizeStart&&(r=this.minSizeStart),e<this.minSizeEnd&&(e=this.minSizeEnd),"px"===this.trackValues[this.aTrack].type?this.tracks[this.aTrack]=r+"px":"fr"===this.trackValues[this.aTrack].type?this.tracks[this.aTrack]=1===this.totalFrs?"1fr":r/this.frToPixels+"fr":"%"===this.trackValues[this.aTrack].type&&(this.tracks[this.aTrack]=r/this.percentageToPixels+"%"),"px"===this.trackValues[this.bTrack].type?this.tracks[this.bTrack]=e+"px":"fr"===this.trackValues[this.bTrack].type?this.tracks[this.bTrack]=1===this.totalFrs?"1fr":e/this.frToPixels+"fr":"%"===this.trackValues[this.bTrack].type&&(this.tracks[this.bTrack]=e/this.percentageToPixels+"%");var u=this.tracks.join(" ");this.writeStyle(this.grid,this.gridTemplateProp,u),this.onDrag(this.direction,this.track,u)},w.prototype.cleanup=function(){window.removeEventListener("mouseup",this.stopDragging),window.removeEventListener("touchend",this.stopDragging),window.removeEventListener("touchcancel",this.stopDragging),window.removeEventListener("mousemove",this.drag),window.removeEventListener("touchmove",this.drag),this.grid&&(this.grid.removeEventListener("selectstart",l),this.grid.removeEventListener("dragstart",l),this.grid.style.userSelect="",this.grid.style.webkitUserSelect="",this.grid.style.MozUserSelect="",this.grid.style.pointerEvents="",this.grid.style.cursor=""),window.document.body.style.cursor=""},w.prototype.destroy=function(t,i){void 0===t&&(t=!0),t||!1===this.dragging?(this.cleanup(),this.element&&(this.element.removeEventListener("mousedown",this.startDragging),this.element.removeEventListener("touchstart",this.startDragging)),i&&i()):(this.needsDestroy=!0,i&&(this.destroyCb=i))};var v=function(t,i,s){return i in t?t[i]:s},p=function(t,i){return function(s){if(s.track<1)throw Error("Invalid track index: "+s.track+". Track must be between two other tracks.");var h="column"===t?i.columnMinSizes||{}:i.rowMinSizes||{},n="column"===t?"columnMinSize":"rowMinSize";return new w(t,Object.assign({},{minSizeStart:v(h,s.track-1,f(i,n,f(i,"minSize",0))),minSizeEnd:v(h,s.track+1,f(i,n,f(i,"minSize",0)))},s),i)}},g=function(t){var i=this;this.columnGutters={},this.rowGutters={},this.options=Object.assign({},{columnGutters:t.columnGutters||[],rowGutters:t.rowGutters||[],columnMinSizes:t.columnMinSizes||{},rowMinSizes:t.rowMinSizes||{}},t),this.options.columnGutters.forEach((function(t){i.columnGutters[t.track]=p("column",i.options)(t)})),this.options.rowGutters.forEach((function(t){i.rowGutters[t.track]=p("row",i.options)(t)}))};g.prototype.addColumnGutter=function(t,i){this.columnGutters[i]&&this.columnGutters[i].destroy(),this.columnGutters[i]=p("column",this.options)({element:t,track:i})},g.prototype.addRowGutter=function(t,i){this.rowGutters[i]&&this.rowGutters[i].destroy(),this.rowGutters[i]=p("row",this.options)({element:t,track:i})},g.prototype.removeColumnGutter=function(t,i){var s=this;void 0===i&&(i=!0),this.columnGutters[t]&&this.columnGutters[t].destroy(i,(function(){delete s.columnGutters[t]}))},g.prototype.removeRowGutter=function(t,i){var s=this;void 0===i&&(i=!0),this.rowGutters[t]&&this.rowGutters[t].destroy(i,(function(){delete s.rowGutters[t]}))},g.prototype.handleDragStart=function(t,i,s){"column"===i?(this.columnGutters[s]&&this.columnGutters[s].destroy(),this.columnGutters[s]=p("column",this.options)({track:s}),this.columnGutters[s].startDragging(t)):"row"===i&&(this.rowGutters[s]&&this.rowGutters[s].destroy(),this.rowGutters[s]=p("row",this.options)({track:s}),this.rowGutters[s].startDragging(t))},g.prototype.destroy=function(t){var i=this;void 0===t&&(t=!0),Object.keys(this.columnGutters).forEach((function(s){return i.columnGutters[s].destroy(t,(function(){delete i.columnGutters[s]}))})),Object.keys(this.rowGutters).forEach((function(s){return i.rowGutters[s].destroy(t,(function(){delete i.rowGutters[s]}))}))};const b=class{constructor(s){t(this,s),this.resizeEnd=i(this,"resizeEnd",7),this._items=[],this._buildInProgress=!1,this.direction="column",this.anchorToExpand=!1,this.structural=!1}rebuildLayout(){Array.from(this._element.querySelectorAll(".ez-split-gutter")).reverse().forEach((t=>{t.remove()})),Array.from(this._element.getElementsByTagName("EzSplitPanel")).reverse().forEach((t=>{t.rebuildLayout()})),this.buildItems(),this.initSplit()}buildItems(){this._panelID=r.generateUUID(),this._element.dataset.panelId=this._panelID,this._element.dataset.uniqueId="EzSplitPanel";let t=Array.from(this._element.children);this._items=t.filter((t=>{var i;return"EZ-SPLIT-ITEM"===(null===(i=t.tagName)||void 0===i?void 0:i.toUpperCase())}));let i=1;this._items.forEach(((t,s)=>{t.dataset.trackNumber=i.toString(),this._items.length>1&&s!=this._items.length-1&&this.addItemGutter(t),i+=2}))}componentDidLoad(){this.buildItems(),this.initSplit(),this._mutationObserver=new MutationObserver((t=>{for(const i of t)if("childList"===i.type&&!this._buildInProgress){this._buildInProgress=!0,window.requestAnimationFrame((()=>{this.rebuildLayout()})),window.requestAnimationFrame((()=>this._buildInProgress=!1));break}})),this._mutationObserver.observe(this._element,{childList:!0,subtree:!1})}disconnectedCallback(){null!=this._mutationObserver&&this._mutationObserver.disconnect()}initSplit(){var t;this._items.length&&(this._element.style["row"===this.direction?"grid-template-rows":"grid-template-columns"]=this.getGridTemplate(),this.removeGuttersMargin(),t=this.getGutters(),new g(t))}handlePanelDragEnd(){const t=this._items.map((t=>({id:t.id,height:t.clientHeight,width:t.clientWidth})));this.resizeEnd.emit({panelId:this._element.id,items:t})}getGutters(){const t={columnGutters:[],rowGutters:[],onDragEnd:()=>this.handlePanelDragEnd()};if(!this._items.length)return t;const i="row"===this.direction?"rowGutters":"columnGutters";return this._items.forEach(((s,h)=>{if(h===this._items.length-1)return;let n=s.dataset.trackNumber;h===this._items.length-1&&(n=this._items.length.toString()),t[i].push({track:Number(n),element:this._element.querySelector(`ez-split-panel[data-panel-id="${this._panelID}"] > [data-item-track="${s.dataset.trackNumber}"]`)})})),t}addItemGutter(t){const i=document.createElement("div");i.classList.add("ez-split-gutter"),i.classList.add(this.direction),i.classList.add("row"===this.direction?"ez-split-gutter__row":"ez-split-gutter__column"),i.dataset.itemTrack=`${t.dataset.trackNumber}`,i.dataset.trackNumber=(Number(t.dataset.trackNumber)+1).toString(),t.parentNode.insertBefore(i,t.nextSibling)}getElementStyle(){return{display:"grid",height:"100%",width:"100%",position:this.anchorToExpand?"relative":"unset"}}calcFreeSpacePercentage(){const t=this._items.reduce(((t,i)=>{var s;return t+((null===(s=i.size)||void 0===s?void 0:s.includes("%"))?Number(i.size.replace("%","")):0)}),0),i=this._items.filter((t=>void 0===t.size)).length;return i&&t?(100-t)/i:null}getGridTemplate(){let t="";const i=this.calcFreeSpacePercentage();return this._items.forEach(((s,h)=>{let n=s.size||"1fr";!s.size&&i&&(n=`${i}%`),t+=h!==this._items.length-1?0!==h?` ${n} 5px`:`${n} 5px`:` ${n}`})),t}removeGuttersMargin(){this._items.length<=1||("column"!=this.direction?"row"!=this.direction||this.removeGuttersMarginRow():this.removeGuttersMarginColumn())}removeGuttersMarginColumn(){this._items.forEach(((t,i)=>{0!=i?i!==this._items.length-1?(t.style.marginRight="0",t.style.marginLeft="0"):t.style.marginLeft="0":t.style.marginRight="0"}))}removeGuttersMarginRow(){this._items.length<=1||this._items.forEach(((t,i)=>{0!=i?i!==this._items.length-1?(t.style.marginBottom="0",t.style.marginTop="0"):t.style.marginTop="0":t.style.marginBottom="0"}))}render(){return s(h,{class:this.structural?"structural__panel":"content__panel",style:this.getElementStyle()})}get _element(){return n(this)}};b.style=".ez-split-gutter{cursor:grab;background-color:transparent;max-width:100%}.ez-split-gutter__row{cursor:ns-resize}.ez-split-gutter__column{cursor:ew-resize}.structural__panel{background:none;box-shadow:none;outline:none;padding:0;margin:0;border:0}";export{b as ez_split_panel}
Binary file
Binary file
package/dist/index.js.gz CHANGED
Binary file
@@ -104,6 +104,7 @@ export declare class EzTextInput {
104
104
  handleFocusout(): void;
105
105
  isValidValue(value: string): boolean;
106
106
  controlChangeValue(): void;
107
+ handleDefaultMask(value?: string): string;
107
108
  applyMask(value: string): string;
108
109
  handleChange(): void;
109
110
  handleSlotChange(ev: Event): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "7.1.3",
3
+ "version": "7.1.4",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as e,h as r,H as o,g as a}from"./p-e4c7eb39.js";import{ElementIDUtils as c}from"@sankhyalabs/core";const n=class{constructor(r){e(this,r),this.color="default",this.customColor=void 0,this.height=void 0,this.width=void 0}componentDidRender(){this._element&&c.addIDInfo(this._element),this._container&&c.addIDInfo(this._container,"underface",{id:"container"})}render(){const e=Object.assign({},this.customColor&&{"--ez-underface--custom-background-color":`var(${this.customColor})`},this.height&&{"--ez-underface--custom-height":`${this.height}px`},this.width&&{"--ez-underface--custom-width":`${this.width}px`});return r(o,{style:e},r("div",{ref:e=>this._container=e,class:`underface_container ${this.color}`},r("slot",null)))}get _element(){return a(this)}};n.style=":host{--ez-underface--width:693px;--ez-underface--height:247px;--ez-underface--padding:var(--space--24, 24px);--ez-underface--border-radius:var(--border--radius-26, 26px)}div{width:var(--ez-underface--custom-width, var(--ez-underface--width));height:var(--ez-underface--custom-height, var(--ez-underface--height));border-radius:var(--ez-underface--border-radius);padding:var(--ez-underface--padding);display:block;overflow:hidden;outline:none;box-shadow:none;border:none;box-sizing:border-box;background-color:var(--ez-underface--custom-background-color, var(--color--petroleum-700, #222D42))}.light-green{background-color:var(--ez-underface--custom-background-color, var(--color--ocean-green-90))}.green{background-color:var(--ez-underface--custom-background-color, var(--color--green-600))}.light-gray{background-color:var(--ez-underface--custom-background-color, var(--color--gray-80))}.dark-petroleum{background-color:var(--ez-underface--custom-background-color, var(--color--petroleum-900))}.ocean-green{background-color:var(--ez-underface--custom-background-color, var(--color--ocean-green-600))}";export{n as ez_underface}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as o,c as t,h as i}from"./p-e4c7eb39.js";const s=class{constructor(i){o(this,i),this.applicationLoaded=t(this,"applicationLoaded",7)}componentWillLoad(){}componentDidLoad(){this.applicationLoaded.emit(!0)}render(){return i("div",null)}};s.style="";export{s as ez_application}
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as r,g as o}from"./p-e4c7eb39.js";import{MaskFormatter as n,ElementIDUtils as a}from"@sankhyalabs/core";const s=class{constructor(e){t(this,e),this.ezChange=i(this,"ezChange",7),this._isOverflowing=!1,this.label=void 0,this.alternativePlaceholder=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.hasInvalid=!1,this.mask=void 0,this.cleanValueMask=!1,this.canShowError=!0,this.restrict=void 0,this.mode="regular",this.noBorder=!1,this.password=!1,this.autoFocus=!1,this.hasRightSlotContent=!1,this.forceLabelFloat=!1}observeHasInvalid(t,i){t!==i&&this.validateErrors()}observeMask(){this.mask&&(null==this._maskFormatter?this._maskFormatter=new n(this.mask):this._maskFormatter.mask=this.mask)}observeValue(t,i){this._inputElem&&t!=i&&(this._inputElem.value=this.value||"",this.handleChange(),this.adjustFloatingLabel(),this.checkIsOverflowing(),this.isSlaveMode()||(this.errorMessage="",this.ezChange.emit(this.value)))}observeAlternativePlaceholder(t){this.forceLabelFloat=!!t}validateErrors(){const t=this.handleValidateErrorMessage(this.errorMessage);this.updateClassError(this.canShowError&&(t||this.hasInvalid))}handleValidateErrorMessage(t=this.errorMessage){return"string"==typeof t&&""!==t.trim()}updateClassError(t){this._inputElem&&(t?this._inputElem.classList.add("hasError"):this._inputElem.classList.remove("hasError"))}adjustFloatingLabel(){if(this.label&&this._labelElem){if(this._inputElem&&!this._inputElem.classList.contains("input--with--label")&&this._inputElem.classList.add("input--with--label"),this.forceLabelFloat)return;const t=this.value&&this.value.toString().length>0,i=this._labelElem.classList.contains("input__label--floated");t||this.isFocused()?i||this._labelElem.classList.add("input__label--floated"):i&&this._labelElem.classList.remove("input__label--floated")}}isFocused(){return null!==this._hostElement.shadowRoot.activeElement}isSlaveMode(){var t,i;return"true"===(null===(i=null===(t=this._hostElement)||void 0===t?void 0:t.dataset)||void 0===i?void 0:i.slaveMode)}adjustColorContentSlot(t=""){this._contentLeftSlot&&(this._contentLeftSlot.style.color=t)}adjustBorderInput(){this.noBorder&&this._inputElem.classList.add("input__slim--noborder")}async setFocus(t){const{selectText:i}=t||{};if(i&&this._inputElem.select(),this._inputElem.disabled)return this._inputElem.classList.add("focused"),void this._inputElem.scrollIntoView({behavior:"smooth",block:"start"});requestAnimationFrame((()=>this._inputElem.focus()))}async setBlur(){this._inputElem.blur()}async isInvalid(){return this.handleValidateErrorMessage()}handleFocusout(){const t=this._inputElem.value;if(t&&this._maskFormatter)try{this.cleanValueMask?this.applyMask(t):this._inputElem.value=this._maskFormatter.format(t)}catch(t){this.errorMessage=t.message}this.controlChangeValue(),this.adjustFloatingLabel(),this.adjustColorContentSlot()}isValidValue(t){return!this.restrict||Array.from(t).reduce(((t,i)=>t&&this.restrict.indexOf(i)>-1),!0)}controlChangeValue(){this._inputElem&&(this.value||"")!==this._inputElem.value&&(this.value=this.cleanValueMask&&this._maskFormatter?this._maskFormatter.removeMask(this._inputElem.value):this._inputElem.value)}applyMask(t){if(!t||""===t)return t;if(this._maskFormatter)try{const i=this._maskFormatter.applyMask(this._maskFormatter.removeMask(t));return this._inputElem?(this._inputElem.value=i,this._inputElem.value):(this.value=i,this.value)}catch(t){this.errorMessage=t.message}return t}handleChange(){if(!this._inputElem)return;const t=this._inputElem.value;this.isValidValue(t)?this._lastValidValue=t:this._inputElem.value=null==this._lastValidValue?"":this._lastValidValue,this.controlChangeValue()}handleSlotChange(t){var i;const e=t.target,r=e.assignedElements()[0];this.hasRightSlotContent=!1,r&&(r.style.position="absolute",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.overflow="hidden",r.style.top="0px",r.style.width="var(--ez-text-input__icon--width)",r.style.height="slim"!=this.mode?"var(--ez-text-input--height)":"var(--ez-text-input--height--slim)","leftIcon"==e.name?(r.style.left="0px",r.style.borderRadius="var(--ez-text-input--border-radius) 0 0 var(--ez-text-input--border-radius)",this._inputElem.classList.add("icon--left"),this._labelElem&&this._labelElem.classList.add("input__label--left"),this._contentLeftSlot=r):"rightIcon"==e.name&&(r.style.right="0px",r.style.borderRadius="0 var(--ez-text-input--border-radius) var(--ez-text-input--border-radius) 0",this._inputElem.classList.add("icon--right"),this._labelElem&&this._labelElem.classList.add("input__label--right"),this._tooltipIconElem&&this._tooltipIconElem.classList.add("rightIconSlot"),this.hasRightSlotContent=(null===(i=r.children)||void 0===i?void 0:i.length)>0),e.name&&a.addIDInfo(r,e.name)),this.validateErrors()}doFocus(){this.label&&this._labelElem&&!this._labelElem.classList.contains("input__label--floated")&&this._labelElem.classList.add("input__label--floated"),this.adjustColorContentSlot("var(--ez-text-input__input--focus--icon-color)")}getValue(){return this.mask&&this.cleanValueMask?this.applyMask(this.value):this.value}buildLabelClass(){let t=this.enabled?"input__label":"input__label input__label--disabled";return this.errorMessage&&(t+=" hasError"),this.forceLabelFloat&&(t+=" input__label--floated"),t}buildPlaceholder(){return this.alternativePlaceholder?this.alternativePlaceholder:"slim"===this.mode&&this.label?this.label:""}checkIsOverflowing(){this._isOverflowing=!!this._inputElem&&this._inputElem.offsetWidth<this._inputElem.scrollWidth}componentWillLoad(){if(this.observeMask(),this.forceLabelFloat=!!this.alternativePlaceholder,this.value){if(this._maskFormatter)try{this.cleanValueMask?this.applyMask(this.value):this.value=this._maskFormatter.format(this.value)}catch(t){this.errorMessage=t.message}this.isValidValue(this.value)||(this._lastValidValue="",this.value="")}}componentDidLoad(){var t;this.validateErrors(),this.observeMask(),this.adjustFloatingLabel(),this.adjustBorderInput(),this.checkIsOverflowing(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})})),null===(t=this._inputElem)||void 0===t||t.addEventListener("focus",(()=>{var t;this._inputElem.setSelectionRange(0,null===(t=this._inputElem)||void 0===t?void 0:t.value.length)})),this.onClickOutside=t=>{this._inputElem.contains(t.target)||this._inputElem.classList.remove("focused")},document.addEventListener("click",this.onClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.onClickOutside)}componentDidRender(){this.adjustFloatingLabel()}render(){return a.addIDInfoIfNotExists(this._hostElement,"input"),e(r,{style:this._hostElement.classList.contains("grid_editor")?{height:"100%"}:null},e("slot",{name:"leftIcon",onSlotchange:t=>{this.handleSlotChange(t)}}),this.label&&"slim"!=this.mode?e("label",{ref:t=>this._labelElem=t,class:this.buildLabelClass(),onClick:()=>this._inputElem.focus(),title:this.label},this.label):null,e("input",{"data-element-id":a.getInternalIDInfo("input"),onFocus:()=>this.doFocus(),ref:t=>this._inputElem=t,type:this.password?"password":"text",class:"slim"===this.mode?"input--slim":"",placeholder:this.buildPlaceholder(),value:this.getValue(),disabled:!this.enabled,onInput:()=>{this.handleChange()},onFocusout:()=>{this.handleFocusout()}}),e("ez-tooltip",{anchoringElement:this._hostElement,message:this.getValue(),active:this._isOverflowing,useAnchorSize:!0}),this.canShowError&&"slim"!=this.mode&&this.errorMessage&&e("ez-tooltip",{type:"error",message:this.errorMessage},e("ez-icon",{class:`tooltip-icon ${this.errorMessage?"hasError":""} ${this.hasRightSlotContent?"rightIconSlot":""}`,"data-element-id":a.getInternalIDInfo("tooltip-icon"),ref:t=>this._tooltipIconElem=t,iconName:"alert-circle"})),e("slot",{name:"rightIcon",onSlotchange:t=>{this.handleSlotChange(t)}}," "))}get _hostElement(){return o(this)}static get watchers(){return{hasInvalid:["observeHasInvalid"],errorMessage:["observeHasInvalid"],canShowError:["observeHasInvalid"],mask:["observeMask"],value:["observeValue"],alternativePlaceholder:["observeAlternativePlaceholder"]}}};s.style=":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;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) + var(--ez-text-input__label--padding-left)));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) + var(--ez-text-input__label--padding-right)))}.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) + var(--ez-text-input__label--padding-left)))}.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;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)}";export{s as ez_text_input}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file