@sankhyalabs/ezui 7.3.2 → 7.3.3

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 (949) 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_5.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-card-item_5.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 +1 -1
  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_5.cjs.entry.js +3 -3
  47. package/dist/cjs/ez-combo-box-list_5.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 +2 -2
  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 +25 -3
  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-number-input.cjs.entry.js +1 -1
  91. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  92. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  93. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  94. package/dist/cjs/ez-popover-core.cjs.entry.js +1 -1
  95. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  96. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  97. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  98. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  99. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  100. package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
  101. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  102. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  103. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  104. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  105. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  106. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  107. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  108. package/dist/cjs/ez-search-plus.cjs.entry.js +1 -1
  109. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  110. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  111. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  112. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  113. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  114. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  115. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  116. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  117. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  118. package/dist/cjs/ez-sortable-list.cjs.entry.js +1 -1
  119. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  120. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  121. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  122. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  123. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  124. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  125. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  126. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  127. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  128. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  129. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  130. package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
  131. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  132. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  133. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  134. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  135. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  136. package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
  137. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  138. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  139. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  140. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  141. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  142. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  143. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  144. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  145. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  146. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  147. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  148. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  149. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  150. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  151. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  152. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  153. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  154. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  155. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  156. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  157. package/dist/cjs/ezui.cjs.js +1 -1
  158. package/dist/cjs/ezui.cjs.js.gz +0 -0
  159. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  160. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  161. package/dist/cjs/floating-ui.dom.esm-f1e4e440.js.gz +0 -0
  162. package/dist/cjs/index-1be40f19.js.gz +0 -0
  163. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +0 -3
  164. package/dist/cjs/{index-9e5554cb.js.gz → index-a7b0c73d.js.gz} +0 -0
  165. package/dist/cjs/index.cjs.js.gz +0 -0
  166. package/dist/cjs/loader.cjs.js +1 -1
  167. package/dist/cjs/loader.cjs.js.gz +0 -0
  168. package/dist/cjs/{purify-417f092d.js → purify-06a8724d.js} +96 -33
  169. package/dist/cjs/purify-06a8724d.js.gz +0 -0
  170. package/dist/cjs/{search-column-3031a7dd.js → search-column-316e2c59.js} +1 -1
  171. package/dist/cjs/search-column-316e2c59.js.gz +0 -0
  172. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  173. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  174. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  175. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  176. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  177. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  178. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  179. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  180. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  181. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  182. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  183. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  184. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  185. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  186. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  187. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  188. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  189. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  190. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  191. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  192. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  193. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  194. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  195. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  196. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  197. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  198. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  199. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  200. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  201. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  202. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  203. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  204. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  205. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  206. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  207. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  208. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  209. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  210. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  211. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  212. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  213. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  214. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  215. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  216. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  217. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  218. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  219. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  220. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  221. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  222. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  223. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  224. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  225. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  226. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  227. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  228. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  229. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  230. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  231. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  232. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  233. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  234. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  235. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  236. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  237. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  238. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  239. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  240. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  241. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  242. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  243. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  244. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  245. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  246. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  247. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  248. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  249. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  250. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  251. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  252. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  253. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  254. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  255. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  256. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  257. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  258. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  259. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  260. package/dist/collection/components/ez-form-view/ez-form-view.js +1 -1
  261. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  262. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  263. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  264. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  265. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  266. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  267. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
  268. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  269. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  270. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  271. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  272. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  273. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  274. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  275. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  276. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  277. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  278. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +22 -0
  279. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  280. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  281. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  282. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  283. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  284. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  285. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  286. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  287. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  288. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  289. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  290. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  291. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  292. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  293. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  294. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  295. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  296. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  297. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  298. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  299. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  300. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  301. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  302. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  303. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  304. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  305. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  306. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  307. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  308. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  309. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  310. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  311. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  312. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  313. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  314. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  315. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  316. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  317. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  318. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  319. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  320. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  321. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  322. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  323. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  324. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  325. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  326. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  327. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  328. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  329. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  330. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  331. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  332. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  333. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  334. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  335. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  336. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  337. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  338. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  339. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  340. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  341. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  342. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  343. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
  344. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
  345. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  346. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  347. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  348. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  349. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  350. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  351. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  352. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  353. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  354. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  355. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  356. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  357. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  358. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  359. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  360. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  361. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  362. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  363. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  364. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  365. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  366. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  367. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  368. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  369. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  370. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  371. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  372. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  373. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  374. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  375. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  376. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  377. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  378. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  379. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  380. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  381. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  382. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  383. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  384. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  385. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  386. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  387. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  388. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  389. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  390. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  391. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  392. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  393. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  394. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  395. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  396. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  397. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  398. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  399. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  400. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  401. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  402. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  403. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  404. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  405. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  406. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  407. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  408. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  409. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  410. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  411. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  412. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  413. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  414. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  415. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  416. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  417. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  418. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  419. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  420. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  421. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  422. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  423. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  424. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  425. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  426. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  427. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  428. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  429. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  430. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  431. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  432. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  433. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  434. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  435. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  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 +119 -34
  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_5.entry.js +1 -1
  546. package/dist/esm/ez-card-item_5.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 +1 -1
  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_5.entry.js +3 -3
  562. package/dist/esm/ez-combo-box-list_5.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 +2 -2
  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 +25 -3
  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-number-input.entry.js +1 -1
  606. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  607. package/dist/esm/ez-pagination.entry.js +1 -1
  608. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  609. package/dist/esm/ez-popover-core.entry.js +1 -1
  610. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  611. package/dist/esm/ez-popover.entry.js +1 -1
  612. package/dist/esm/ez-popover.entry.js.gz +0 -0
  613. package/dist/esm/ez-popup.entry.js +1 -1
  614. package/dist/esm/ez-popup.entry.js.gz +0 -0
  615. package/dist/esm/ez-progress-bar.entry.js +1 -1
  616. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  617. package/dist/esm/ez-radio-button.entry.js +1 -1
  618. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  619. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  620. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  621. package/dist/esm/ez-scroller_2.entry.js +1 -1
  622. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  623. package/dist/esm/ez-search-plus.entry.js +1 -1
  624. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  625. package/dist/esm/ez-search-result-list.entry.js +1 -1
  626. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  627. package/dist/esm/ez-search.entry.js +1 -1
  628. package/dist/esm/ez-search.entry.js.gz +0 -0
  629. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  630. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  631. package/dist/esm/ez-skeleton.entry.js +1 -1
  632. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  633. package/dist/esm/ez-sortable-list.entry.js +1 -1
  634. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  635. package/dist/esm/ez-spinner.entry.js +1 -1
  636. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  637. package/dist/esm/ez-split-button.entry.js +1 -1
  638. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  639. package/dist/esm/ez-split-item.entry.js +1 -1
  640. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  641. package/dist/esm/ez-split-panel.entry.js +1 -1
  642. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  643. package/dist/esm/ez-tabselector.entry.js +1 -1
  644. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  645. package/dist/esm/ez-tag-input.entry.js +1 -1
  646. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  647. package/dist/esm/ez-tag.entry.js +1 -1
  648. package/dist/esm/ez-tag.entry.js.gz +0 -0
  649. package/dist/esm/ez-text-area.entry.js +1 -1
  650. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  651. package/dist/esm/ez-text-input.entry.js +1 -1
  652. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  653. package/dist/esm/ez-tile-medium.entry.js +1 -1
  654. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  655. package/dist/esm/ez-tile.entry.js +1 -1
  656. package/dist/esm/ez-tile.entry.js.gz +0 -0
  657. package/dist/esm/ez-time-input.entry.js +1 -1
  658. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  659. package/dist/esm/ez-toast.entry.js +1 -1
  660. package/dist/esm/ez-toast.entry.js.gz +0 -0
  661. package/dist/esm/ez-tooltip.entry.js +1 -1
  662. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  663. package/dist/esm/ez-tree.entry.js +1 -1
  664. package/dist/esm/ez-tree.entry.js.gz +0 -0
  665. package/dist/esm/ez-underface.entry.js +1 -1
  666. package/dist/esm/ez-underface.entry.js.gz +0 -0
  667. package/dist/esm/ez-upload.entry.js +1 -1
  668. package/dist/esm/ez-upload.entry.js.gz +0 -0
  669. package/dist/esm/ez-view-stack.entry.js +1 -1
  670. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  671. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  672. package/dist/esm/ezui.js +2 -2
  673. package/dist/esm/ezui.js.gz +0 -0
  674. package/dist/esm/filter-column.entry.js +1 -1
  675. package/dist/esm/filter-column.entry.js.gz +0 -0
  676. package/dist/esm/floating-ui.dom.esm-c94d4011.js.gz +0 -0
  677. package/dist/esm/index-41363fa6.js.gz +0 -0
  678. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +1 -3
  679. package/dist/esm/{index-5a720e56.js.gz → index-baa5e267.js.gz} +0 -0
  680. package/dist/esm/index.js.gz +0 -0
  681. package/dist/esm/loader.js +2 -2
  682. package/dist/esm/loader.js.gz +0 -0
  683. package/dist/esm/polyfills/core-js.js.gz +0 -0
  684. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  685. package/dist/esm/polyfills/dom.js.gz +0 -0
  686. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  687. package/dist/esm/polyfills/index.js.gz +0 -0
  688. package/dist/esm/polyfills/system.js.gz +0 -0
  689. package/dist/esm/{purify-055bfb9f.js → purify-ca96ec34.js} +96 -33
  690. package/dist/esm/purify-ca96ec34.js.gz +0 -0
  691. package/dist/esm/{search-column-8b9d1486.js → search-column-c20d2b01.js} +1 -1
  692. package/dist/esm/search-column-c20d2b01.js.gz +0 -0
  693. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  694. package/dist/ezui/ezui.esm.js +1 -1
  695. package/dist/ezui/ezui.esm.js.gz +0 -0
  696. package/dist/ezui/index.esm.js.gz +0 -0
  697. package/dist/ezui/{p-9d6c5d17.entry.js → p-02d448bb.entry.js} +1 -1
  698. package/dist/ezui/p-02d448bb.entry.js.gz +0 -0
  699. package/dist/ezui/{p-7c6ef008.js → p-04126429.js} +1 -1
  700. package/dist/ezui/p-04126429.js.gz +0 -0
  701. package/dist/ezui/{p-4463db7b.entry.js → p-05c32903.entry.js} +1 -1
  702. package/dist/ezui/p-05c32903.entry.js.gz +0 -0
  703. package/dist/ezui/{p-793b899a.entry.js → p-0ec37151.entry.js} +1 -1
  704. package/dist/ezui/p-0ec37151.entry.js.gz +0 -0
  705. package/dist/ezui/{p-d1765c77.entry.js → p-0f7971cf.entry.js} +1 -1
  706. package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
  707. package/dist/ezui/{p-01ca89ef.entry.js → p-110cfb7d.entry.js} +1 -1
  708. package/dist/ezui/p-110cfb7d.entry.js.gz +0 -0
  709. package/dist/ezui/p-112455b1.js.gz +0 -0
  710. package/dist/ezui/{p-0aed37a1.entry.js → p-18384b91.entry.js} +1 -1
  711. package/dist/ezui/p-18384b91.entry.js.gz +0 -0
  712. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  713. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  714. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  715. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  716. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  717. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  718. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  719. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  720. package/dist/ezui/p-24460bb2.js.gz +0 -0
  721. package/dist/ezui/{p-06f1b8e4.entry.js → p-288631d1.entry.js} +1 -1
  722. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  723. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  724. package/dist/ezui/{p-c9d70dab.entry.js → p-34a476a9.entry.js} +1 -1
  725. package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
  726. package/dist/ezui/{p-a8eadb43.entry.js → p-39761eca.entry.js} +1 -1
  727. package/dist/ezui/p-39761eca.entry.js.gz +0 -0
  728. package/dist/ezui/{p-ffdf68cd.entry.js → p-3afa1c6e.entry.js} +1 -1
  729. package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
  730. package/dist/ezui/{p-4ca4d920.entry.js → p-3ce867cf.entry.js} +1 -1
  731. package/dist/ezui/p-3ce867cf.entry.js.gz +0 -0
  732. package/dist/ezui/p-3e767a74.js.gz +0 -0
  733. package/dist/ezui/p-40a60148.js.gz +0 -0
  734. package/dist/ezui/{p-f7ca8634.entry.js → p-411c0222.entry.js} +1 -1
  735. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  736. package/dist/ezui/{p-8f0ed69d.entry.js → p-4314f87a.entry.js} +1 -1
  737. package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
  738. package/dist/ezui/p-477af30b.entry.js +1 -0
  739. package/dist/ezui/p-477af30b.entry.js.gz +0 -0
  740. package/dist/ezui/{p-570cf58a.entry.js → p-48effc69.entry.js} +1 -1
  741. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  742. package/dist/ezui/{p-4a876b8b.entry.js → p-4d30b703.entry.js} +1 -1
  743. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  744. package/dist/ezui/{p-98dfdeb1.entry.js → p-4fe123b6.entry.js} +1 -1
  745. package/dist/ezui/p-4fe123b6.entry.js.gz +0 -0
  746. package/dist/ezui/p-5554704c.js.gz +0 -0
  747. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  748. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  749. package/dist/ezui/{p-c754774e.entry.js → p-6020f3d5.entry.js} +1 -1
  750. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  751. package/dist/ezui/{p-e6eaa5ed.entry.js → p-6c51ccd1.entry.js} +1 -1
  752. package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
  753. package/dist/ezui/{p-4f72c118.entry.js → p-6ca0815e.entry.js} +1 -1
  754. package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
  755. package/dist/ezui/{p-2a81b6e7.entry.js → p-6cb82d33.entry.js} +1 -1
  756. package/dist/ezui/p-6cb82d33.entry.js.gz +0 -0
  757. package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
  758. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  759. package/dist/ezui/{p-fce79a40.entry.js → p-6de4cae1.entry.js} +1 -1
  760. package/dist/ezui/p-6de4cae1.entry.js.gz +0 -0
  761. package/dist/ezui/{p-1723f728.entry.js → p-6f77a359.entry.js} +1 -1
  762. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  763. package/dist/ezui/{p-6b6efa30.entry.js → p-721fd999.entry.js} +1 -1
  764. package/dist/ezui/p-721fd999.entry.js.gz +0 -0
  765. package/dist/ezui/{p-d746f545.entry.js → p-7995dcb4.entry.js} +1 -1
  766. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  767. package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
  768. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  769. package/dist/ezui/{p-b7c6ce20.entry.js → p-7fe97ef5.entry.js} +1 -1
  770. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  771. package/dist/ezui/{p-776a0234.entry.js → p-80aeef27.entry.js} +2 -2
  772. package/dist/ezui/p-80aeef27.entry.js.gz +0 -0
  773. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  774. package/dist/ezui/{p-1a30c7b5.entry.js → p-82b0afe7.entry.js} +1 -1
  775. package/dist/ezui/p-82b0afe7.entry.js.gz +0 -0
  776. package/dist/ezui/{p-6dbf8f75.entry.js → p-859e3134.entry.js} +1 -1
  777. package/dist/ezui/p-859e3134.entry.js.gz +0 -0
  778. package/dist/ezui/{p-ef7e805b.entry.js → p-8bf077ea.entry.js} +1 -1
  779. package/dist/ezui/p-8bf077ea.entry.js.gz +0 -0
  780. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  781. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  782. package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
  783. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  784. package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
  785. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  786. package/dist/ezui/{p-14a13ff0.entry.js → p-948f0fb2.entry.js} +1 -1
  787. package/dist/ezui/p-948f0fb2.entry.js.gz +0 -0
  788. package/dist/ezui/{p-c26add3e.entry.js → p-94deb71e.entry.js} +1 -1
  789. package/dist/ezui/p-94deb71e.entry.js.gz +0 -0
  790. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  791. package/dist/ezui/{p-ef8f37b9.entry.js → p-9ab2add9.entry.js} +1 -1
  792. package/dist/ezui/p-9ab2add9.entry.js.gz +0 -0
  793. package/dist/ezui/{p-1857cfc0.entry.js → p-9b215871.entry.js} +1 -1
  794. package/dist/ezui/p-9b215871.entry.js.gz +0 -0
  795. package/dist/ezui/{p-ad7c01c1.entry.js → p-9b3f3c02.entry.js} +1 -1
  796. package/dist/ezui/p-9b3f3c02.entry.js.gz +0 -0
  797. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  798. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  799. package/dist/ezui/{p-bc693db6.entry.js → p-a0bf1fc7.entry.js} +1 -1
  800. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  801. package/dist/ezui/{p-9bcfa689.entry.js → p-a3075f52.entry.js} +1 -1
  802. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  803. package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
  804. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  805. package/dist/ezui/{p-71c55a72.entry.js → p-a4083a7a.entry.js} +1 -1
  806. package/dist/ezui/p-a4083a7a.entry.js.gz +0 -0
  807. package/dist/ezui/p-a61fdd20.js.gz +0 -0
  808. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  809. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  810. package/dist/ezui/{p-5cfb8cfd.entry.js → p-a80e6b24.entry.js} +1 -1
  811. package/dist/ezui/p-a80e6b24.entry.js.gz +0 -0
  812. package/dist/ezui/p-ab574d59.js.gz +0 -0
  813. package/dist/ezui/p-b1e45320.js.gz +0 -0
  814. package/dist/ezui/{p-94d37b66.entry.js → p-b3d8034b.entry.js} +1 -1
  815. package/dist/ezui/p-b3d8034b.entry.js.gz +0 -0
  816. package/dist/ezui/p-b853763b.js.gz +0 -0
  817. package/dist/ezui/{p-09c2e631.entry.js → p-b989a33e.entry.js} +1 -1
  818. package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
  819. package/dist/ezui/p-baec56c9.js.gz +0 -0
  820. package/dist/ezui/{p-78dae70a.entry.js → p-bbeafaa1.entry.js} +1 -1
  821. package/dist/ezui/p-bbeafaa1.entry.js.gz +0 -0
  822. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  823. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  824. package/dist/ezui/{p-75a9a320.entry.js → p-cde41310.entry.js} +1 -1
  825. package/dist/ezui/{p-75a9a320.entry.js.gz → p-cde41310.entry.js.gz} +0 -0
  826. package/dist/ezui/{p-df5b5c3d.entry.js → p-ce0b36d7.entry.js} +1 -1
  827. package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
  828. package/dist/ezui/p-d0e354df.js +3 -0
  829. package/dist/ezui/p-d0e354df.js.gz +0 -0
  830. package/dist/ezui/{p-c96e536d.entry.js → p-d2645bdf.entry.js} +1 -1
  831. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  832. package/dist/ezui/{p-b2ce629f.entry.js → p-d5eb2fad.entry.js} +1 -1
  833. package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
  834. package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
  835. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  836. package/dist/ezui/{p-4837f475.entry.js → p-d6bb930d.entry.js} +1 -1
  837. package/dist/ezui/{p-4837f475.entry.js.gz → p-d6bb930d.entry.js.gz} +0 -0
  838. package/dist/ezui/p-d8cc640d.entry.js +1 -0
  839. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  840. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  841. package/dist/ezui/{p-ee796c8f.entry.js → p-de862af4.entry.js} +1 -1
  842. package/dist/ezui/p-de862af4.entry.js.gz +0 -0
  843. package/dist/ezui/{p-62165e63.entry.js → p-e5de42e7.entry.js} +1 -1
  844. package/dist/ezui/p-e5de42e7.entry.js.gz +0 -0
  845. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  846. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  847. package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
  848. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  849. package/dist/ezui/{p-b21efe83.entry.js → p-e8c57463.entry.js} +1 -1
  850. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  851. package/dist/ezui/p-ec7db713.js.gz +0 -0
  852. package/dist/ezui/{p-6c99bb50.entry.js → p-ecd6409d.entry.js} +1 -1
  853. package/dist/ezui/p-ecd6409d.entry.js.gz +0 -0
  854. package/dist/ezui/{p-8ed974f4.entry.js → p-f00c9dc2.entry.js} +1 -1
  855. package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
  856. package/dist/ezui/{p-7dbf71ae.entry.js → p-f181aea8.entry.js} +1 -1
  857. package/dist/ezui/p-f181aea8.entry.js.gz +0 -0
  858. package/dist/ezui/{p-980f1f18.entry.js → p-f34ec732.entry.js} +1 -1
  859. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  860. package/dist/ezui/{p-d7ae1e19.entry.js → p-f7b8d2b9.entry.js} +1 -1
  861. package/dist/ezui/p-f7b8d2b9.entry.js.gz +0 -0
  862. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  863. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  864. package/dist/index.cjs.js.gz +0 -0
  865. package/dist/index.js.gz +0 -0
  866. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
  867. package/package.json +1 -1
  868. package/dist/cjs/purify-417f092d.js.gz +0 -0
  869. package/dist/cjs/search-column-3031a7dd.js.gz +0 -0
  870. package/dist/esm/purify-055bfb9f.js.gz +0 -0
  871. package/dist/esm/search-column-8b9d1486.js.gz +0 -0
  872. package/dist/ezui/p-000159dc.entry.js.gz +0 -0
  873. package/dist/ezui/p-01ca89ef.entry.js.gz +0 -0
  874. package/dist/ezui/p-05e68ab3.entry.js.gz +0 -0
  875. package/dist/ezui/p-06f1b8e4.entry.js.gz +0 -0
  876. package/dist/ezui/p-09c2e631.entry.js.gz +0 -0
  877. package/dist/ezui/p-0aed37a1.entry.js.gz +0 -0
  878. package/dist/ezui/p-0b531233.entry.js.gz +0 -0
  879. package/dist/ezui/p-14a13ff0.entry.js.gz +0 -0
  880. package/dist/ezui/p-14d6aeb8.entry.js +0 -1
  881. package/dist/ezui/p-14d6aeb8.entry.js.gz +0 -0
  882. package/dist/ezui/p-1723f728.entry.js.gz +0 -0
  883. package/dist/ezui/p-1857cfc0.entry.js.gz +0 -0
  884. package/dist/ezui/p-1a30c7b5.entry.js.gz +0 -0
  885. package/dist/ezui/p-2a81b6e7.entry.js.gz +0 -0
  886. package/dist/ezui/p-4463db7b.entry.js.gz +0 -0
  887. package/dist/ezui/p-44b39e81.entry.js.gz +0 -0
  888. package/dist/ezui/p-4a876b8b.entry.js.gz +0 -0
  889. package/dist/ezui/p-4ca4d920.entry.js.gz +0 -0
  890. package/dist/ezui/p-4f72c118.entry.js.gz +0 -0
  891. package/dist/ezui/p-570cf58a.entry.js.gz +0 -0
  892. package/dist/ezui/p-5cfb8cfd.entry.js.gz +0 -0
  893. package/dist/ezui/p-62165e63.entry.js.gz +0 -0
  894. package/dist/ezui/p-6b51c9cc.entry.js.gz +0 -0
  895. package/dist/ezui/p-6b6efa30.entry.js.gz +0 -0
  896. package/dist/ezui/p-6c99bb50.entry.js.gz +0 -0
  897. package/dist/ezui/p-6dbf8f75.entry.js.gz +0 -0
  898. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  899. package/dist/ezui/p-6ec40dec.entry.js.gz +0 -0
  900. package/dist/ezui/p-6fc26622.entry.js.gz +0 -0
  901. package/dist/ezui/p-71c55a72.entry.js.gz +0 -0
  902. package/dist/ezui/p-776a0234.entry.js.gz +0 -0
  903. package/dist/ezui/p-78dae70a.entry.js.gz +0 -0
  904. package/dist/ezui/p-78e975b4.entry.js.gz +0 -0
  905. package/dist/ezui/p-793b899a.entry.js.gz +0 -0
  906. package/dist/ezui/p-7c6ef008.js.gz +0 -0
  907. package/dist/ezui/p-7dbf71ae.entry.js.gz +0 -0
  908. package/dist/ezui/p-81461d2f.entry.js.gz +0 -0
  909. package/dist/ezui/p-82fa4b09.entry.js.gz +0 -0
  910. package/dist/ezui/p-8ed974f4.entry.js.gz +0 -0
  911. package/dist/ezui/p-8f0ed69d.entry.js.gz +0 -0
  912. package/dist/ezui/p-94d37b66.entry.js.gz +0 -0
  913. package/dist/ezui/p-980f1f18.entry.js.gz +0 -0
  914. package/dist/ezui/p-98dfdeb1.entry.js.gz +0 -0
  915. package/dist/ezui/p-9bcfa689.entry.js.gz +0 -0
  916. package/dist/ezui/p-9d6c5d17.entry.js.gz +0 -0
  917. package/dist/ezui/p-a8eadb43.entry.js.gz +0 -0
  918. package/dist/ezui/p-a9432878.entry.js.gz +0 -0
  919. package/dist/ezui/p-ad7c01c1.entry.js.gz +0 -0
  920. package/dist/ezui/p-b21efe83.entry.js.gz +0 -0
  921. package/dist/ezui/p-b2ce629f.entry.js.gz +0 -0
  922. package/dist/ezui/p-b7c6ce20.entry.js.gz +0 -0
  923. package/dist/ezui/p-bc693db6.entry.js.gz +0 -0
  924. package/dist/ezui/p-c26add3e.entry.js.gz +0 -0
  925. package/dist/ezui/p-c2b20f78.entry.js.gz +0 -0
  926. package/dist/ezui/p-c754774e.entry.js.gz +0 -0
  927. package/dist/ezui/p-c96e536d.entry.js.gz +0 -0
  928. package/dist/ezui/p-c9d70dab.entry.js.gz +0 -0
  929. package/dist/ezui/p-cf33bc48.entry.js.gz +0 -0
  930. package/dist/ezui/p-d1765c77.entry.js.gz +0 -0
  931. package/dist/ezui/p-d746f545.entry.js.gz +0 -0
  932. package/dist/ezui/p-d7ae1e19.entry.js.gz +0 -0
  933. package/dist/ezui/p-df5b5c3d.entry.js.gz +0 -0
  934. package/dist/ezui/p-dfca5946.entry.js.gz +0 -0
  935. package/dist/ezui/p-e195eaad.entry.js.gz +0 -0
  936. package/dist/ezui/p-e4c7eb39.js.gz +0 -0
  937. package/dist/ezui/p-e6eaa5ed.entry.js.gz +0 -0
  938. package/dist/ezui/p-e9b409c1.entry.js.gz +0 -0
  939. package/dist/ezui/p-ec5a5d85.js +0 -3
  940. package/dist/ezui/p-ec5a5d85.js.gz +0 -0
  941. package/dist/ezui/p-ee796c8f.entry.js.gz +0 -0
  942. package/dist/ezui/p-ef7e805b.entry.js.gz +0 -0
  943. package/dist/ezui/p-ef8f37b9.entry.js.gz +0 -0
  944. package/dist/ezui/p-f02c917a.entry.js +0 -1
  945. package/dist/ezui/p-f02c917a.entry.js.gz +0 -0
  946. package/dist/ezui/p-f26b97e9.entry.js.gz +0 -0
  947. package/dist/ezui/p-f7ca8634.entry.js.gz +0 -0
  948. package/dist/ezui/p-fce79a40.entry.js.gz +0 -0
  949. package/dist/ezui/p-ffdf68cd.entry.js.gz +0 -0
@@ -1 +1 @@
1
- import{h as e,r as a,c as t,g as n,H as l}from"./p-e4c7eb39.js";import{ObjectUtils as o,StringUtils as r,UserInterface as i,ElementIDUtils as s}from"@sankhyalabs/core";import{C as d}from"./p-b853763b.js";import{g as c}from"./p-a61fdd20.js";function m(a,t,n,l,o){return e("div",{class:"ez-col ez-col--sd-12 ez-align--middle ez-padding-top--medium ez-padding-bottom--medium"},e("ez-check",{enabled:!n,label:t,mode:o?d.SWITCH:d.REGULAR,"data-field-name":a,"data-context-name":l,key:a}))}function u(a,t,n,l,o,r,i){return e("div",{class:"ez-col ez-col--sd-12"},e("ez-number-input",{class:"ez-input__no-margin",enabled:!n,label:t,precision:l,prettyPrecision:o,"data-field-name":a,"data-context-name":r,key:a,canShowError:i}))}const h=({name:a,label:t,readOnly:n,contextName:l,canShowError:o,props:r})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-text-input",{class:"ez-input__no-margin",label:t,"data-field-name":a,"data-context-name":l,key:a,enabled:!n,canShowError:o,mask:null==r?void 0:r.mask,"clean-value-mask":null==r?void 0:r.cleanValueMask})),p=new Map;p.set(i.CHECKBOX,(e=>m(e.name,e.label,e.readOnly,e.contextName,!1))),p.set(i.SWITCH,(e=>m(e.name,e.label,e.readOnly,e.contextName,!0))),p.set(i.OPTIONSELECTOR,(({name:a,label:t,readOnly:n,required:l,props:o,contextName:r,canShowError:i})=>{const s=null==o?void 0:o.options;let d;if("string"==typeof s){const e=JSON.parse(s);d=Object.keys(e).map((a=>({value:a,label:e[a]})))}else d=s;return e("div",{class:"ez-col ez-col--sd-12"},e("ez-combo-box",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:l,label:t,"data-field-name":a,"data-context-name":r,key:a,options:d,canShowError:i}))})),p.set(i.DATE,(({name:a,label:t,readOnly:n,canShowError:l})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-date-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l})))),p.set(i.TIME,(({name:a,label:t,readOnly:n,canShowError:l,props:o})=>{var r;return e("div",{class:"ez-col ez-col--sd-12"},e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l,"show-seconds":null!==(r=null==o?void 0:o.showSeconds)&&void 0!==r&&r}))})),p.set(i.ELAPSEDTIME,(({name:a,label:t,readOnly:n,canShowError:l})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l,showSeconds:!0})))),p.set(i.DATETIME,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-date-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a,canShowError:o})))),p.set(i.FILE,(({name:a,label:t,readOnly:n,contextName:l,props:r})=>{const i=o.removeEmptyValues({subTitle:r.subTitle,requestHeaders:Object.assign(Object.assign({},r.STORAGESTRATEGY&&{STORAGESTRATEGY:r.STORAGESTRATEGY}),r.INTERNAL_FILENAME&&{INTERNAL_FILENAME:r.INTERNAL_FILENAME})});return e("div",{class:"ez-col ez-col--sd-12"},e("ez-upload",Object.assign({enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a},i)))})),p.set(i.DECIMALNUMBER,(({name:e,label:a,readOnly:t,props:n,contextName:l,canShowError:o})=>{var r,i;const s=Number(null!==(r=null==n?void 0:n.precision)&&void 0!==r?r:2);return u(e,a,t,s,Number(null!==(i=null==n?void 0:n.prettyPrecision)&&void 0!==i?i:s),l,o)})),p.set(i.INTEGERNUMBER,(({name:e,label:a,readOnly:t,contextName:n,canShowError:l})=>u(e,a,t,0,0,n,l))),p.set(i.SEARCH,(({name:a,label:t,readOnly:n,required:l,contextName:o,canShowError:i,optionLoader:s,props:d})=>{var c;const m=!r.isEmpty(null==d?void 0:d.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-search",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:l,label:t,"data-field-name":a,"data-context-name":o,key:a,canShowError:i,optionLoader:s,ignoreLimitCharsToSearch:null!==(c=null==d?void 0:d.ignoreLimitCharsToSearch)&&void 0!==c&&c,hideDescriptionInput:!m}))})),p.set(i.SEARCHPLUS,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o,optionLoader:i,props:s})=>{const d=!r.isEmpty(null==s?void 0:s.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-search-plus",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a,canShowError:o,optionLoader:i,hideDescriptionInput:!d}))})),p.set(i.LONGTEXT,(({name:a,label:t,readOnly:n,contextName:l,rows:o,canShowError:r})=>e("div",{class:"ez-col ez-col--sd-12",key:a},e("ez-text-area",{enabled:!n,label:t,"data-field-name":a,"data-context-name":l,rows:o,canShowError:r})))),p.set(i.HTML,(({name:a,label:t,readOnly:n,contextName:l,rows:o,canShowError:r})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-rich-text",{key:a,enabled:!n,label:t,"data-field-name":a,"data-context-name":l,rows:o,canShowError:r})))),p.set(i.MULTISELECTOR,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o,props:r})=>{var i,s,d,c;const m=null==r?void 0:r.options;let u;if("string"==typeof m){const e=JSON.parse(m);u=Object.keys(e).map((a=>({value:a,label:e[a],check:!1})))}else u=m;const h=null!==(i=null==r?void 0:r.useOptions)&&void 0!==i?i:null!=u&&null==(null==r?void 0:r.dataSource);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-multi-select-input",{class:"ez-input__no-margin",label:t,"data-field-name":a,"data-context-name":l,key:a,enabled:!n,canShowError:o,options:u,dataSource:null==r?void 0:r.dataSource,columnName:null!==(s=null==r?void 0:r.columnName)&&void 0!==s?s:a,useOptions:h,isTextSearch:null!==(d=null==r?void 0:r.isTextSearch)&&void 0!==d&&d,orderSelectedFirst:null!==(c=null==r?void 0:r.orderSelectedFirst)&&void 0!==c&&c}))}));const v=e=>{const a=c(),t=p.get(e.userInterface)||h,n=e.required?`${e.label}${a("app.requiredInfo")}`:e.label,l=t(Object.assign(Object.assign({},e),{label:n}));return l.t["data-form-item"]=e.name,l};class w{constructor(e){this.elem=e}addRightElement(e){this.removeRightElement(),e.classList.add("ez-padding-left--small"),e.setAttribute("data-custom-item","true"),this.elem.classList.add("ez-col--nowrap"),this.elem.appendChild(e)}removeRightElement(){Array.from(this.elem.querySelectorAll('[data-custom-item="true"]')).forEach((e=>e.remove()))}get fieldName(){return this.elem.getAttribute("data-form-item")}}class z{constructor(e,a){this.items=new Map,this.formId=a,e.forEach((e=>{const a=new w(e);this.items.set(a.fieldName,a)}))}getItem(e){return this.items.get(e)}get formName(){return this.formId}}const b=class{constructor(e){a(this,e),this.ezContentReady=t(this,"ezContentReady",7),this.formItemsReady=t(this,"formItemsReady",7),this._customEditors=new Map,this.fields=void 0,this.selectedRecord=void 0,this.singleColumn=!1}async showUp(){this.singleColumn||this._element.scrollIntoView({behavior:"smooth",block:"start"})}async addCustomEditor(e,a,t){const n=new Map(this._customEditors);n.set(e,{customEditor:a,detailContext:t}),this._customEditors=n}async setFieldProp(e,a,t){const n=this.fields.map((n=>(n.name!==e||!t&&0!==t||(n.props=n.props||{},n.props[a]=t),n)));this.fields=[...n]}groupFields(e){const a=new Map;return e.forEach((e=>{const t=e.group;if(t){let n=a.get(t);null==n&&(n=[],a.set(t,n)),n.push(e)}else a.set(e.name,e)})),a}componentDidRender(){this._formElements=Array.from(this._element.querySelectorAll("[data-field-name]")),this.ezContentReady.emit(this._formElements);const e=new z(Array.from(this._element.querySelectorAll("[data-form-item]")));this.formItemsReady.emit(e)}isItemFullWidth(e){return[i.FILE,i.LONGTEXT,i.HTML].includes(e)}buildFormItemElement(a,t=""){var n;if(this.isItemFullWidth(a.userInterface)&&(t+=" input-full_width"),this._customEditors.has(a.name)){const l=null===(n=this._formElements.map((e=>({name:e.dataset.fieldName,value:e.value}))).find((e=>e.name===a.name)))||void 0===n?void 0:n.value,o=this._customEditors.get(a.name).customEditor;return e("div",{class:t},e("ez-custom-form-input",{"data-field-name":a.name,customEditor:o,formViewField:a,builderFallback:v,value:l,selectedRecord:this.selectedRecord}))}return e("div",{class:t},v(a))}render(){if(s.addIDInfoIfNotExists(this._element,"ezFormView"),null==this.fields)return;let a=[],t=Array.from(this.groupFields(this.fields).entries()).map((([t,n])=>{if(Array.isArray(n))return e("ez-collapsible-box",{id:`group-${t}`,label:t,"header-size":"large",key:t},e("div",{class:`form-view__content ${this.singleColumn&&"form-view__content--single-column"}`},n.map((e=>this.buildFormItemElement(e)))));a.push(n)})),n=a.map((e=>this.buildFormItemElement(e))),o=e("div",{class:`form-view__content ${this.singleColumn&&"form-view__content--single-column"}`},n);return e(l,null,o,t)}get _element(){return n(this)}};b.style=".sc-ez-form-view-h{display:flex;flex-wrap:wrap;width:100%;--ez-form-view__item--min-width:220px;--ez-form-view__item--max-width:440px;--ez-form-view__item--width:var(--space--small);--ez-form-view__item--padding:var(--space--small)}.form-view__content.sc-ez-form-view{display:grid;grid-template-columns:repeat(auto-fill, minmax(var(--ez-form-view__item--min-width), 1fr));gap:var(--ez-form-view__item--width);padding-inline:var(--ez-form-view__item--padding);width:100%}.form-view__content--single-column.sc-ez-form-view{grid-template-columns:repeat(1, minmax(var(--ez-form-view__item--min-width), var(--ez-form-view__item--max-width)))}.input-full_width.sc-ez-form-view{grid-column:1 / -1;width:100%}";export{b as ez_form_view}
1
+ import{h as e,r as a,c as t,g as n,H as l}from"./p-23a36bb6.js";import{ObjectUtils as o,StringUtils as r,UserInterface as i,ElementIDUtils as s}from"@sankhyalabs/core";import{C as d}from"./p-b853763b.js";import{g as c}from"./p-a61fdd20.js";function m(a,t,n,l,o){return e("div",{class:"ez-col ez-col--sd-12 ez-align--middle ez-padding-top--medium ez-padding-bottom--medium"},e("ez-check",{enabled:!n,label:t,mode:o?d.SWITCH:d.REGULAR,"data-field-name":a,"data-context-name":l,key:a}))}function u(a,t,n,l,o,r,i){return e("div",{class:"ez-col ez-col--sd-12"},e("ez-number-input",{class:"ez-input__no-margin",enabled:!n,label:t,precision:l,prettyPrecision:o,"data-field-name":a,"data-context-name":r,key:a,canShowError:i}))}const h=({name:a,label:t,readOnly:n,contextName:l,canShowError:o,props:r})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-text-input",{class:"ez-input__no-margin",label:t,"data-field-name":a,"data-context-name":l,key:a,enabled:!n,canShowError:o,mask:null==r?void 0:r.mask,"clean-value-mask":null==r?void 0:r.cleanValueMask})),p=new Map;p.set(i.CHECKBOX,(e=>m(e.name,e.label,e.readOnly,e.contextName,!1))),p.set(i.SWITCH,(e=>m(e.name,e.label,e.readOnly,e.contextName,!0))),p.set(i.OPTIONSELECTOR,(({name:a,label:t,readOnly:n,required:l,props:o,contextName:r,canShowError:i})=>{const s=null==o?void 0:o.options;let d;if("string"==typeof s){const e=JSON.parse(s);d=Object.keys(e).map((a=>({value:a,label:e[a]})))}else d=s;return e("div",{class:"ez-col ez-col--sd-12"},e("ez-combo-box",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:l,label:t,"data-field-name":a,"data-context-name":r,key:a,options:d,canShowError:i}))})),p.set(i.DATE,(({name:a,label:t,readOnly:n,canShowError:l})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-date-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l})))),p.set(i.TIME,(({name:a,label:t,readOnly:n,canShowError:l,props:o})=>{var r;return e("div",{class:"ez-col ez-col--sd-12"},e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l,"show-seconds":null!==(r=null==o?void 0:o.showSeconds)&&void 0!==r&&r}))})),p.set(i.ELAPSEDTIME,(({name:a,label:t,readOnly:n,canShowError:l})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l,showSeconds:!0})))),p.set(i.DATETIME,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-date-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a,canShowError:o})))),p.set(i.FILE,(({name:a,label:t,readOnly:n,contextName:l,props:r})=>{const i=o.removeEmptyValues({subTitle:r.subTitle,requestHeaders:Object.assign(Object.assign({},r.STORAGESTRATEGY&&{STORAGESTRATEGY:r.STORAGESTRATEGY}),r.INTERNAL_FILENAME&&{INTERNAL_FILENAME:r.INTERNAL_FILENAME})});return e("div",{class:"ez-col ez-col--sd-12"},e("ez-upload",Object.assign({enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a},i)))})),p.set(i.DECIMALNUMBER,(({name:e,label:a,readOnly:t,props:n,contextName:l,canShowError:o})=>{var r,i;const s=Number(null!==(r=null==n?void 0:n.precision)&&void 0!==r?r:2);return u(e,a,t,s,Number(null!==(i=null==n?void 0:n.prettyPrecision)&&void 0!==i?i:s),l,o)})),p.set(i.INTEGERNUMBER,(({name:e,label:a,readOnly:t,contextName:n,canShowError:l})=>u(e,a,t,0,0,n,l))),p.set(i.SEARCH,(({name:a,label:t,readOnly:n,required:l,contextName:o,canShowError:i,optionLoader:s,props:d})=>{var c;const m=!r.isEmpty(null==d?void 0:d.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-search",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:l,label:t,"data-field-name":a,"data-context-name":o,key:a,canShowError:i,optionLoader:s,ignoreLimitCharsToSearch:null!==(c=null==d?void 0:d.ignoreLimitCharsToSearch)&&void 0!==c&&c,hideDescriptionInput:!m}))})),p.set(i.SEARCHPLUS,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o,optionLoader:i,props:s})=>{const d=!r.isEmpty(null==s?void 0:s.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-search-plus",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a,canShowError:o,optionLoader:i,hideDescriptionInput:!d}))})),p.set(i.LONGTEXT,(({name:a,label:t,readOnly:n,contextName:l,rows:o,canShowError:r})=>e("div",{class:"ez-col ez-col--sd-12",key:a},e("ez-text-area",{enabled:!n,label:t,"data-field-name":a,"data-context-name":l,rows:o,canShowError:r})))),p.set(i.HTML,(({name:a,label:t,readOnly:n,contextName:l,rows:o,canShowError:r})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-rich-text",{key:a,enabled:!n,label:t,"data-field-name":a,"data-context-name":l,rows:o,canShowError:r})))),p.set(i.MULTISELECTOR,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o,props:r})=>{var i,s,d,c;const m=null==r?void 0:r.options;let u;if("string"==typeof m){const e=JSON.parse(m);u=Object.keys(e).map((a=>({value:a,label:e[a],check:!1})))}else u=m;const h=null!==(i=null==r?void 0:r.useOptions)&&void 0!==i?i:null!=u&&null==(null==r?void 0:r.dataSource);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-multi-select-input",{class:"ez-input__no-margin",label:t,"data-field-name":a,"data-context-name":l,key:a,enabled:!n,canShowError:o,options:u,dataSource:null==r?void 0:r.dataSource,columnName:null!==(s=null==r?void 0:r.columnName)&&void 0!==s?s:a,useOptions:h,isTextSearch:null!==(d=null==r?void 0:r.isTextSearch)&&void 0!==d&&d,orderSelectedFirst:null!==(c=null==r?void 0:r.orderSelectedFirst)&&void 0!==c&&c}))}));const v=e=>{const a=c(),t=p.get(e.userInterface)||h,n=e.required?`${e.label}${a("app.requiredInfo")}`:e.label,l=t(Object.assign(Object.assign({},e),{label:n}));return l.t["data-form-item"]=e.name,l};class w{constructor(e){this.elem=e}addRightElement(e){this.removeRightElement(),e.classList.add("ez-padding-left--small"),e.setAttribute("data-custom-item","true"),this.elem.classList.add("ez-col--nowrap"),this.elem.appendChild(e)}removeRightElement(){Array.from(this.elem.querySelectorAll('[data-custom-item="true"]')).forEach((e=>e.remove()))}get fieldName(){return this.elem.getAttribute("data-form-item")}}class z{constructor(e,a){this.items=new Map,this.formId=a,e.forEach((e=>{const a=new w(e);this.items.set(a.fieldName,a)}))}getItem(e){return this.items.get(e)}get formName(){return this.formId}}const b=class{constructor(e){a(this,e),this.ezContentReady=t(this,"ezContentReady",7),this.formItemsReady=t(this,"formItemsReady",7),this._customEditors=new Map,this.fields=void 0,this.selectedRecord=void 0,this.singleColumn=!1}async showUp(){this.singleColumn||this._element.scrollIntoView({behavior:"smooth",block:"start"})}async addCustomEditor(e,a,t){const n=new Map(this._customEditors);n.set(e,{customEditor:a,detailContext:t}),this._customEditors=n}async setFieldProp(e,a,t){const n=this.fields.map((n=>(n.name===e&&null!=t&&(n.props=n.props||{},n.props[a]=t),n)));this.fields=[...n]}groupFields(e){const a=new Map;return e.forEach((e=>{const t=e.group;if(t){let n=a.get(t);null==n&&(n=[],a.set(t,n)),n.push(e)}else a.set(e.name,e)})),a}componentDidRender(){this._formElements=Array.from(this._element.querySelectorAll("[data-field-name]")),this.ezContentReady.emit(this._formElements);const e=new z(Array.from(this._element.querySelectorAll("[data-form-item]")));this.formItemsReady.emit(e)}isItemFullWidth(e){return[i.FILE,i.LONGTEXT,i.HTML].includes(e)}buildFormItemElement(a,t=""){var n;if(this.isItemFullWidth(a.userInterface)&&(t+=" input-full_width"),this._customEditors.has(a.name)){const l=null===(n=this._formElements.map((e=>({name:e.dataset.fieldName,value:e.value}))).find((e=>e.name===a.name)))||void 0===n?void 0:n.value,o=this._customEditors.get(a.name).customEditor;return e("div",{class:t},e("ez-custom-form-input",{"data-field-name":a.name,customEditor:o,formViewField:a,builderFallback:v,value:l,selectedRecord:this.selectedRecord}))}return e("div",{class:t},v(a))}render(){if(s.addIDInfoIfNotExists(this._element,"ezFormView"),null==this.fields)return;let a=[],t=Array.from(this.groupFields(this.fields).entries()).map((([t,n])=>{if(Array.isArray(n))return e("ez-collapsible-box",{id:`group-${t}`,label:t,"header-size":"large",key:t},e("div",{class:`form-view__content ${this.singleColumn&&"form-view__content--single-column"}`},n.map((e=>this.buildFormItemElement(e)))));a.push(n)})),n=a.map((e=>this.buildFormItemElement(e))),o=e("div",{class:`form-view__content ${this.singleColumn&&"form-view__content--single-column"}`},n);return e(l,null,o,t)}get _element(){return n(this)}};b.style=".sc-ez-form-view-h{display:flex;flex-wrap:wrap;width:100%;--ez-form-view__item--min-width:220px;--ez-form-view__item--max-width:440px;--ez-form-view__item--width:var(--space--small);--ez-form-view__item--padding:var(--space--small)}.form-view__content.sc-ez-form-view{display:grid;grid-template-columns:repeat(auto-fill, minmax(var(--ez-form-view__item--min-width), 1fr));gap:var(--ez-form-view__item--width);padding-inline:var(--ez-form-view__item--padding);width:100%}.form-view__content--single-column.sc-ez-form-view{grid-template-columns:repeat(1, minmax(var(--ez-form-view__item--min-width), var(--ez-form-view__item--max-width)))}.input-full_width.sc-ez-form-view{grid-column:1 / -1;width:100%}";export{b as ez_form_view}
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 e,H as r,g as o}from"./p-e4c7eb39.js";import{MaskFormatter as n,ElementIDUtils as s}from"@sankhyalabs/core";const a=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.applyMask(t),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{const i=this.handleDefaultMask(t);this._maskFormatter.mask=i,this._inputElem.value=this._maskFormatter.format(this._maskFormatter.removeMask(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)}handleDefaultMask(t=this.value){return"cgc_cpf"===this.mask&&(this.mask=t&&t.length<=11?n.DEFAULT_MASKS.cpf:n.DEFAULT_MASKS.cnpj),this.mask}applyMask(t){if(!t||""===t)return t;if(this._maskFormatter)try{const i=this.handleDefaultMask(t);this._maskFormatter.mask=i;const e=this._maskFormatter.applyMask(this._maskFormatter.removeMask(t));return this._inputElem?(this._inputElem.value=e,this._inputElem.value):(this.cleanValueMask||(this.value=e),this.value)}catch(t){this.errorMessage=t.message}return t}handleChange(){if(!this._inputElem)return;let t=this._inputElem.value;this.restrict&&t!==t.trim()&&(t=t.trim(),this._inputElem.value=t),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&&s.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.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.applyMask(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 s.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":s.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":s.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"]}}};a.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{a as ez_text_input}
1
+ import{r as t,c as i,h as e,H as r,g as o}from"./p-23a36bb6.js";import{MaskFormatter as n,ElementIDUtils as s}from"@sankhyalabs/core";const a=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.applyMask(t),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{const i=this.handleDefaultMask(t);this._maskFormatter.mask=i,this._inputElem.value=this._maskFormatter.format(this._maskFormatter.removeMask(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)}handleDefaultMask(t=this.value){return"cgc_cpf"===this.mask&&(this.mask=t&&t.length<=11?n.DEFAULT_MASKS.cpf:n.DEFAULT_MASKS.cnpj),this.mask}applyMask(t){if(!t||""===t)return t;if(this._maskFormatter)try{const i=this.handleDefaultMask(t);this._maskFormatter.mask=i;const e=this._maskFormatter.applyMask(this._maskFormatter.removeMask(t));return this._inputElem?(this._inputElem.value=e,this._inputElem.value):(this.cleanValueMask||(this.value=e),this.value)}catch(t){this.errorMessage=t.message}return t}handleChange(){if(!this._inputElem)return;let t=this._inputElem.value;this.restrict&&t!==t.trim()&&(t=t.trim(),this._inputElem.value=t),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&&s.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.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.applyMask(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 s.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":s.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":s.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"]}}};a.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{a as ez_text_input}
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
@@ -123,6 +123,7 @@ export default class AgGridController implements EzGridController, SortingProvid
123
123
  private getStyleByColumn;
124
124
  private getFormatterByColumn;
125
125
  private onCallStateChange;
126
+ private syncCachedConfigOrderWithLiveOrder;
126
127
  private onCellClicked;
127
128
  private isElementResize;
128
129
  private isUIEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "7.3.2",
3
+ "version": "7.3.3",
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
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
@@ -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
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
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file