@sankhyalabs/ezui 7.2.0 → 7.3.0

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 (1139) hide show
  1. package/dist/cjs/{ApplicationUtils-9a9185fc.js → ApplicationUtils-5cc05979.js} +1 -1
  2. package/dist/cjs/ApplicationUtils-5cc05979.js.gz +0 -0
  3. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  4. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  5. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  6. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  7. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  8. package/dist/cjs/{types-6a5df0c7.js → FormLayout-18853e70.js} +6 -0
  9. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  10. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  11. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  12. package/dist/cjs/{app-globals-27a943d9.js → app-globals-2fbe4b17.js} +1 -1
  13. package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
  14. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  15. package/dist/cjs/ez-actions-button.cjs.entry.js +3 -4
  16. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  17. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  19. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  20. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  21. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  23. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  24. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  25. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  26. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  28. package/dist/cjs/{ez-multi-selection-list_5.cjs.entry.js → ez-card-item_5.cjs.entry.js} +56 -222
  29. package/dist/cjs/ez-card-item_5.cjs.entry.js.gz +0 -0
  30. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  31. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  32. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  33. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +15 -38
  34. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  35. package/dist/cjs/ez-classic-input.cjs.entry.js +18 -144
  36. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  37. package/dist/cjs/ez-classic-text-area.cjs.entry.js +2 -13
  38. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  39. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -4
  40. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  41. package/dist/cjs/{classic-search-list_8.cjs.entry.js → ez-combo-box-list_5.cjs.entry.js} +5 -364
  42. package/dist/cjs/ez-combo-box-list_5.cjs.entry.js.gz +0 -0
  43. package/dist/cjs/ez-combo-box.cjs.entry.js +3 -4
  44. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  45. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  47. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  49. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  51. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  53. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  55. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  57. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  59. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  60. package/dist/cjs/ez-form-view.cjs.entry.js +37 -130
  61. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  62. package/dist/cjs/ez-form.cjs.entry.js +81 -144
  63. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  64. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  65. package/dist/cjs/ez-grid.cjs.entry.js +160 -216
  66. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  67. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  68. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  69. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  70. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  71. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  72. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  73. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  74. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  75. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  76. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  77. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  78. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  79. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  80. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  81. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  82. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  83. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  84. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  85. package/dist/cjs/ez-popover-core.cjs.entry.js +227 -0
  86. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  87. package/dist/cjs/ez-popover.cjs.entry.js +0 -8
  88. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  89. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  90. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  91. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  92. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  93. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  94. package/dist/cjs/ez-scroller_2.cjs.entry.js +14 -81
  95. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  96. package/dist/cjs/ez-search-plus.cjs.entry.js +8 -18
  97. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  98. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  99. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  100. package/dist/cjs/ez-search.cjs.entry.js +11 -49
  101. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  102. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  103. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  104. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  105. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  106. package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
  107. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  108. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  109. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  110. package/dist/cjs/ez-split-button.cjs.entry.js +17 -16
  111. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  112. package/dist/cjs/ez-split-item.cjs.entry.js +3 -4
  113. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  114. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  115. package/dist/cjs/ez-tabselector.cjs.entry.js +61 -209
  116. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  117. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  118. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  119. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  120. package/dist/cjs/ez-text-input.cjs.entry.js +0 -37
  121. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  122. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  123. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  124. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  125. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  126. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  127. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  128. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  129. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  130. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  131. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  132. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  133. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  134. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  135. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  136. package/dist/cjs/ezui.cjs.js +3 -3
  137. package/dist/cjs/ezui.cjs.js.gz +0 -0
  138. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  139. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  140. package/dist/cjs/{floating-ui.dom.esm-9c8bfebb.js → floating-ui.dom.esm-f1e4e440.js} +120 -166
  141. package/dist/cjs/floating-ui.dom.esm-f1e4e440.js.gz +0 -0
  142. package/dist/cjs/{index-d4a1cad8.js → index-1be40f19.js} +30 -175
  143. package/dist/cjs/index-1be40f19.js.gz +0 -0
  144. package/dist/cjs/index-a7b0c73d.js +26 -58
  145. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  146. package/dist/cjs/index.cjs.js.gz +0 -0
  147. package/dist/cjs/loader.cjs.js +3 -3
  148. package/dist/cjs/loader.cjs.js.gz +0 -0
  149. package/dist/cjs/purify-417f092d.js +2433 -0
  150. package/dist/cjs/purify-417f092d.js.gz +0 -0
  151. package/dist/cjs/{search-column-c04897a9.js → search-column-316e2c59.js} +10 -12
  152. package/dist/cjs/search-column-316e2c59.js.gz +0 -0
  153. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  154. package/dist/collection/collection-manifest.json +3 -64
  155. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  156. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  157. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  158. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  159. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  160. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  161. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  162. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  163. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  164. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  165. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  166. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  167. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  168. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  169. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  170. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  171. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  172. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  173. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  174. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  175. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  176. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  177. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  178. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  179. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  180. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  181. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  182. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  183. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  184. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  185. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  186. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  187. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  188. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  189. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  190. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  191. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  192. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  193. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  194. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  195. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  196. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  197. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  198. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  199. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  200. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  201. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +0 -5
  202. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  203. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +18 -96
  204. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  205. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  206. package/dist/collection/components/ez-classic-input/ez-classic-input.css +5 -33
  207. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  208. package/dist/collection/components/ez-classic-input/ez-classic-input.js +19 -200
  209. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  210. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  211. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  212. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +0 -1
  213. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  214. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +1 -32
  215. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  216. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  217. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  218. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  219. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  220. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  221. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  222. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  223. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  224. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  225. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  226. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  227. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  228. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  229. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  230. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  231. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  232. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  233. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  234. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  235. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  236. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  237. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  238. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  239. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  240. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  241. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  242. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  243. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  244. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  245. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  246. package/dist/collection/components/ez-form/ez-form.js +4 -30
  247. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  248. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  249. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  250. package/dist/collection/components/ez-form-view/ez-form-view.css +8 -27
  251. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  252. package/dist/collection/components/ez-form-view/ez-form-view.js +4 -62
  253. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  254. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +4 -9
  255. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  256. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +6 -9
  257. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  258. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -8
  259. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  260. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +6 -30
  261. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  262. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  263. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  264. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
  265. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +5 -12
  266. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  267. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
  268. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  269. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +3 -9
  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 +1 -8
  272. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  273. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -7
  274. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  275. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -8
  276. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  277. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  278. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  279. package/dist/collection/components/ez-form-view/structure/index.js +1 -1
  280. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  281. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  282. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +13 -138
  283. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  284. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +1 -11
  285. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  286. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  287. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  288. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  289. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  290. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  291. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  292. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  293. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  294. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  295. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  296. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  297. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  298. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  299. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  300. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  301. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  302. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  303. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  304. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  305. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  306. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  307. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  308. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  309. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  310. package/dist/collection/components/ez-grid/ez-grid.css +60 -5
  311. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  312. package/dist/collection/components/ez-grid/ez-grid.js +150 -52
  313. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  314. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  315. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  316. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  317. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  318. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  319. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  320. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  321. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  322. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  323. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  324. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  325. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  326. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  327. package/dist/collection/components/ez-grid/utils/index.js +0 -1
  328. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  329. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  330. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  331. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  332. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  333. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  334. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  335. package/dist/collection/components/ez-icon/ez-icon.css +1147 -1157
  336. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  337. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  338. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  339. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  340. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  341. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  342. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  343. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  344. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  345. package/dist/collection/components/ez-modal/ez-modal.css +0 -3
  346. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  347. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  348. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  349. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  350. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  351. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  352. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  353. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
  354. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
  355. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  356. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  357. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  358. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  359. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  360. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  361. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  362. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  363. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  364. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  365. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  366. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  367. package/dist/collection/components/ez-popover/ez-popover.js +0 -27
  368. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  369. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  370. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  371. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  372. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  373. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  374. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  375. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  376. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  377. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  378. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  379. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  380. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  381. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  382. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  383. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  384. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  385. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  386. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  387. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  388. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  389. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  390. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  391. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  392. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  393. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  394. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  395. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  396. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  397. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  398. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  399. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  400. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  401. package/dist/collection/components/ez-scroller/ez-scroller.css +11 -117
  402. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  403. package/dist/collection/components/ez-scroller/ez-scroller.js +13 -118
  404. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  405. package/dist/collection/components/ez-search/ez-search.css +0 -4
  406. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  407. package/dist/collection/components/ez-search/ez-search.js +3 -75
  408. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  409. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  410. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  411. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  412. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  413. package/dist/collection/components/ez-search-plus/ez-search-plus.js +2 -11
  414. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  415. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  416. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  417. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  418. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  419. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  420. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  421. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  422. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  423. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  424. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  425. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  426. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  427. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  428. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  429. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  430. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  431. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  432. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  433. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  434. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  435. package/dist/collection/components/ez-split-button/ez-split-button.js +15 -20
  436. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  437. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  438. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  439. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  440. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  441. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  442. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  443. package/dist/collection/components/ez-tabselector/ez-tabselector.css +1 -29
  444. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  445. package/dist/collection/components/ez-tabselector/ez-tabselector.js +62 -254
  446. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  447. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  448. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  449. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  450. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  451. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  452. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  453. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  454. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  455. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  456. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  457. package/dist/collection/components/ez-text-input/ez-text-input.js +1 -38
  458. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  459. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  460. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  461. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  462. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  463. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  464. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  465. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  466. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  467. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  468. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  469. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  470. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  471. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  472. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  473. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  474. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  475. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  476. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  477. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  478. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  479. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  480. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  481. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  482. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  483. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  484. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  485. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  486. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  487. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  488. package/dist/collection/global/app-init.js.gz +0 -0
  489. package/dist/collection/index.js.gz +0 -0
  490. package/dist/collection/servidor.js.gz +0 -0
  491. package/dist/collection/setupTests.js.gz +0 -0
  492. package/dist/collection/sw.js.gz +0 -0
  493. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  494. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  495. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  496. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  497. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  498. package/dist/collection/utils/constants.js.gz +0 -0
  499. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  500. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  501. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  502. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  503. package/dist/collection/utils/form/DataBinder.js +2 -2
  504. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  505. package/dist/collection/utils/form/FormMetadata.js +74 -132
  506. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  507. package/dist/collection/utils/form/index.js.gz +0 -0
  508. package/dist/collection/utils/form/interfaces/FormLayout.js +1 -3
  509. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  510. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  511. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  512. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  513. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  514. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  515. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  516. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  517. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  518. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  519. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  520. package/dist/collection/utils/i18n/index.js.gz +0 -0
  521. package/dist/collection/utils/i18n/locales/en-us.js +4 -55
  522. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  523. package/dist/collection/utils/i18n/locales/es-es.js +4 -55
  524. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  525. package/dist/collection/utils/i18n/locales/pt-br.js +4 -55
  526. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  527. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  528. package/dist/collection/utils/index.js.gz +0 -0
  529. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  530. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  531. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  532. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  533. package/dist/collection/utils/search/types.js.gz +0 -0
  534. package/dist/collection/utils/searchColumn/search-column.js +6 -8
  535. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  536. package/dist/collection/utils/utils.js.gz +0 -0
  537. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  538. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  539. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  540. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  541. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  542. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  543. package/dist/custom-elements/index.d.ts +0 -66
  544. package/dist/custom-elements/index.js +1919 -4485
  545. package/dist/custom-elements/index.js.gz +0 -0
  546. package/dist/esm/{ApplicationUtils-29d2709c.js → ApplicationUtils-1569f757.js} +1 -1
  547. package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
  548. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  549. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  550. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  551. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  552. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  553. package/dist/esm/{types-6f6b2650.js → FormLayout-071d324c.js} +7 -1
  554. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  555. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  556. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  557. package/dist/esm/{app-globals-44bdc4c4.js → app-globals-c0ac93c0.js} +1 -1
  558. package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
  559. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  560. package/dist/esm/ez-actions-button.entry.js +3 -4
  561. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  562. package/dist/esm/ez-alert-list.entry.js +1 -1
  563. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  564. package/dist/esm/ez-alert.entry.js.gz +0 -0
  565. package/dist/esm/ez-application.entry.js.gz +0 -0
  566. package/dist/esm/ez-avatar.entry.js +1 -1
  567. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  568. package/dist/esm/ez-badge.entry.js.gz +0 -0
  569. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  570. package/dist/esm/ez-button.entry.js.gz +0 -0
  571. package/dist/esm/ez-calendar.entry.js +1 -1
  572. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  573. package/dist/esm/{ez-multi-selection-list_5.entry.js → ez-card-item_5.entry.js} +58 -224
  574. package/dist/esm/ez-card-item_5.entry.js.gz +0 -0
  575. package/dist/esm/ez-chart.entry.js.gz +0 -0
  576. package/dist/esm/ez-check.entry.js.gz +0 -0
  577. package/dist/esm/ez-chip.entry.js.gz +0 -0
  578. package/dist/esm/ez-classic-combo-box.entry.js +15 -38
  579. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  580. package/dist/esm/ez-classic-input.entry.js +19 -145
  581. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  582. package/dist/esm/ez-classic-text-area.entry.js +2 -13
  583. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  584. package/dist/esm/ez-collapsible-box.entry.js +3 -4
  585. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  586. package/dist/esm/{classic-search-list_8.entry.js → ez-combo-box-list_5.entry.js} +7 -363
  587. package/dist/esm/ez-combo-box-list_5.entry.js.gz +0 -0
  588. package/dist/esm/ez-combo-box.entry.js +3 -4
  589. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  590. package/dist/esm/ez-date-input.entry.js +1 -1
  591. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  592. package/dist/esm/ez-date-time-input.entry.js +1 -1
  593. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  594. package/dist/esm/ez-dialog.entry.js +1 -1
  595. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  596. package/dist/esm/ez-double-list.entry.js +1 -1
  597. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  598. package/dist/esm/ez-dropdown.entry.js +1 -1
  599. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  600. package/dist/esm/ez-empty-card.entry.js +1 -1
  601. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  602. package/dist/esm/ez-file-item.entry.js +1 -1
  603. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  604. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  605. package/dist/esm/ez-form-view.entry.js +37 -130
  606. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  607. package/dist/esm/ez-form.entry.js +81 -144
  608. package/dist/esm/ez-form.entry.js.gz +0 -0
  609. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  610. package/dist/esm/ez-grid.entry.js +159 -215
  611. package/dist/esm/ez-grid.entry.js.gz +0 -0
  612. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  613. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  614. package/dist/esm/ez-icon.entry.js +1 -1
  615. package/dist/esm/ez-icon.entry.js.gz +0 -0
  616. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  617. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  618. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  619. package/dist/esm/ez-list.entry.js +1 -1
  620. package/dist/esm/ez-list.entry.js.gz +0 -0
  621. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  622. package/dist/esm/ez-modal-container.entry.js +1 -1
  623. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  624. package/dist/esm/ez-modal.entry.js +2 -2
  625. package/dist/esm/ez-modal.entry.js.gz +0 -0
  626. package/dist/esm/ez-number-input.entry.js +1 -1
  627. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  628. package/dist/esm/ez-pagination.entry.js +1 -1
  629. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  630. package/dist/esm/ez-popover-core.entry.js +223 -0
  631. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  632. package/dist/esm/ez-popover.entry.js +0 -8
  633. package/dist/esm/ez-popover.entry.js.gz +0 -0
  634. package/dist/esm/ez-popup.entry.js +1 -1
  635. package/dist/esm/ez-popup.entry.js.gz +0 -0
  636. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  637. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  638. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  639. package/dist/esm/ez-scroller_2.entry.js +14 -81
  640. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  641. package/dist/esm/ez-search-plus.entry.js +5 -15
  642. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  643. package/dist/esm/ez-search-result-list.entry.js +1 -1
  644. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  645. package/dist/esm/ez-search.entry.js +6 -44
  646. package/dist/esm/ez-search.entry.js.gz +0 -0
  647. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  648. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  649. package/dist/esm/ez-skeleton.entry.js +1 -1
  650. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  651. package/dist/esm/ez-sortable-list.entry.js +2 -2
  652. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  653. package/dist/esm/ez-spinner.entry.js +1 -1
  654. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  655. package/dist/esm/ez-split-button.entry.js +17 -16
  656. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  657. package/dist/esm/ez-split-item.entry.js +3 -4
  658. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  659. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  660. package/dist/esm/ez-tabselector.entry.js +61 -209
  661. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  662. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  663. package/dist/esm/ez-tag.entry.js.gz +0 -0
  664. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  665. package/dist/esm/ez-text-input.entry.js +0 -37
  666. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  667. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  668. package/dist/esm/ez-tile.entry.js.gz +0 -0
  669. package/dist/esm/ez-time-input.entry.js +1 -1
  670. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  671. package/dist/esm/ez-toast.entry.js.gz +0 -0
  672. package/dist/esm/ez-tooltip.entry.js +1 -1
  673. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  674. package/dist/esm/ez-tree.entry.js +1 -1
  675. package/dist/esm/ez-tree.entry.js.gz +0 -0
  676. package/dist/esm/ez-underface.entry.js.gz +0 -0
  677. package/dist/esm/ez-upload.entry.js +2 -2
  678. package/dist/esm/ez-upload.entry.js.gz +0 -0
  679. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  680. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  681. package/dist/esm/ezui.js +3 -3
  682. package/dist/esm/ezui.js.gz +0 -0
  683. package/dist/esm/filter-column.entry.js +1 -1
  684. package/dist/esm/filter-column.entry.js.gz +0 -0
  685. package/dist/esm/{floating-ui.dom.esm-0c464cef.js → floating-ui.dom.esm-c94d4011.js} +120 -166
  686. package/dist/esm/floating-ui.dom.esm-c94d4011.js.gz +0 -0
  687. package/dist/esm/{index-b5a15d4b.js → index-41363fa6.js} +30 -175
  688. package/dist/esm/index-41363fa6.js.gz +0 -0
  689. package/dist/esm/index-baa5e267.js +26 -58
  690. package/dist/esm/index-baa5e267.js.gz +0 -0
  691. package/dist/esm/index.js.gz +0 -0
  692. package/dist/esm/loader.js +3 -3
  693. package/dist/esm/loader.js.gz +0 -0
  694. package/dist/esm/polyfills/core-js.js.gz +0 -0
  695. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  696. package/dist/esm/polyfills/dom.js.gz +0 -0
  697. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  698. package/dist/esm/polyfills/index.js.gz +0 -0
  699. package/dist/esm/polyfills/system.js.gz +0 -0
  700. package/dist/esm/purify-055bfb9f.js +2431 -0
  701. package/dist/esm/purify-055bfb9f.js.gz +0 -0
  702. package/dist/esm/{search-column-9414ad22.js → search-column-c20d2b01.js} +10 -12
  703. package/dist/esm/search-column-c20d2b01.js.gz +0 -0
  704. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  705. package/dist/ezui/ezui.esm.js +1 -1
  706. package/dist/ezui/ezui.esm.js.gz +0 -0
  707. package/dist/ezui/index.esm.js.gz +0 -0
  708. package/dist/ezui/{p-2c1c9ec6.entry.js → p-02d448bb.entry.js} +1 -1
  709. package/dist/ezui/p-02d448bb.entry.js.gz +0 -0
  710. package/dist/ezui/{p-58fa7883.js → p-04126429.js} +1 -1
  711. package/dist/ezui/p-04126429.js.gz +0 -0
  712. package/dist/ezui/{p-c547f48f.entry.js → p-05c32903.entry.js} +1 -1
  713. package/dist/ezui/p-05c32903.entry.js.gz +0 -0
  714. package/dist/ezui/{p-5a217a52.entry.js → p-0f7971cf.entry.js} +1 -1
  715. package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
  716. package/dist/ezui/{p-381570d2.entry.js → p-110cfb7d.entry.js} +1 -1
  717. package/dist/ezui/p-110cfb7d.entry.js.gz +0 -0
  718. package/dist/ezui/p-112455b1.js.gz +0 -0
  719. package/dist/ezui/p-18384b91.entry.js +1 -0
  720. package/dist/ezui/p-18384b91.entry.js.gz +0 -0
  721. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  722. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  723. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  724. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  725. package/dist/ezui/p-24460bb2.js +1 -0
  726. package/dist/ezui/p-24460bb2.js.gz +0 -0
  727. package/dist/ezui/p-288631d1.entry.js +1 -0
  728. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  729. package/dist/ezui/p-30ffb9ed.js +1 -0
  730. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  731. package/dist/ezui/{p-73bae77e.entry.js → p-34a476a9.entry.js} +1 -1
  732. package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
  733. package/dist/ezui/{p-83ffba67.entry.js → p-39761eca.entry.js} +1 -1
  734. package/dist/ezui/p-39761eca.entry.js.gz +0 -0
  735. package/dist/ezui/{p-0fbf5842.entry.js → p-3afa1c6e.entry.js} +1 -1
  736. package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
  737. package/dist/ezui/p-3ce867cf.entry.js +1 -0
  738. package/dist/ezui/p-3ce867cf.entry.js.gz +0 -0
  739. package/dist/ezui/p-3e767a74.js.gz +0 -0
  740. package/dist/ezui/p-40a60148.js.gz +0 -0
  741. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  742. package/dist/ezui/p-4314f87a.entry.js +1 -0
  743. package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
  744. package/dist/ezui/p-48effc69.entry.js +1 -0
  745. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  746. package/dist/ezui/{p-b50289bb.entry.js → p-4d30b703.entry.js} +1 -1
  747. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  748. package/dist/ezui/{p-1160c33a.entry.js → p-4fe123b6.entry.js} +1 -1
  749. package/dist/ezui/p-4fe123b6.entry.js.gz +0 -0
  750. package/dist/ezui/p-5554704c.js +1 -0
  751. package/dist/ezui/p-5554704c.js.gz +0 -0
  752. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  753. package/dist/ezui/p-6020f3d5.entry.js +1 -0
  754. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  755. package/dist/ezui/p-6bd430b8.entry.js +1 -0
  756. package/dist/ezui/p-6bd430b8.entry.js.gz +0 -0
  757. package/dist/ezui/{p-97545f8e.entry.js → p-6c51ccd1.entry.js} +1 -1
  758. package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
  759. package/dist/ezui/p-6ca0815e.entry.js +1 -0
  760. package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
  761. package/dist/ezui/p-6cb82d33.entry.js +1 -0
  762. package/dist/ezui/p-6cb82d33.entry.js.gz +0 -0
  763. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  764. package/dist/ezui/p-6de4cae1.entry.js +1 -0
  765. package/dist/ezui/p-6de4cae1.entry.js.gz +0 -0
  766. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  767. package/dist/ezui/{p-52122022.entry.js → p-721fd999.entry.js} +1 -1
  768. package/dist/ezui/p-721fd999.entry.js.gz +0 -0
  769. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  770. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  771. package/dist/ezui/p-7fe97ef5.entry.js +1 -0
  772. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  773. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  774. package/dist/ezui/{p-1222e1b6.entry.js → p-82b0afe7.entry.js} +1 -1
  775. package/dist/ezui/p-82b0afe7.entry.js.gz +0 -0
  776. package/dist/ezui/{p-27236a0f.entry.js → p-859e3134.entry.js} +1 -1
  777. package/dist/ezui/p-859e3134.entry.js.gz +0 -0
  778. package/dist/ezui/p-8bf077ea.entry.js +1 -0
  779. package/dist/ezui/p-8bf077ea.entry.js.gz +0 -0
  780. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  781. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  782. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  783. package/dist/ezui/{p-a62bbd49.entry.js → p-948f0fb2.entry.js} +1 -1
  784. package/dist/ezui/p-948f0fb2.entry.js.gz +0 -0
  785. package/dist/ezui/p-94deb71e.entry.js +1 -0
  786. package/dist/ezui/p-94deb71e.entry.js.gz +0 -0
  787. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  788. package/dist/ezui/p-98c42bbc.entry.js +1 -0
  789. package/dist/ezui/p-98c42bbc.entry.js.gz +0 -0
  790. package/dist/ezui/{p-afb2f145.entry.js → p-9ab2add9.entry.js} +1 -1
  791. package/dist/ezui/p-9ab2add9.entry.js.gz +0 -0
  792. package/dist/ezui/{p-f7fb2587.entry.js → p-9b215871.entry.js} +1 -1
  793. package/dist/ezui/p-9b215871.entry.js.gz +0 -0
  794. package/dist/ezui/{p-6c24ab67.entry.js → p-9b3f3c02.entry.js} +1 -1
  795. package/dist/ezui/p-9b3f3c02.entry.js.gz +0 -0
  796. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  797. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  798. package/dist/ezui/p-a278f26e.entry.js +1 -0
  799. package/dist/ezui/p-a278f26e.entry.js.gz +0 -0
  800. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  801. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  802. package/dist/ezui/{p-e60aa084.entry.js → p-a4083a7a.entry.js} +1 -1
  803. package/dist/ezui/p-a4083a7a.entry.js.gz +0 -0
  804. package/dist/ezui/p-a61fdd20.js +1 -0
  805. package/dist/ezui/p-a61fdd20.js.gz +0 -0
  806. package/dist/ezui/p-a80b1287.entry.js +1 -0
  807. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  808. package/dist/ezui/{p-7ecac0c4.entry.js → p-a80e6b24.entry.js} +1 -1
  809. package/dist/ezui/p-a80e6b24.entry.js.gz +0 -0
  810. package/dist/ezui/p-ab574d59.js.gz +0 -0
  811. package/dist/ezui/p-b1e45320.js.gz +0 -0
  812. package/dist/ezui/{p-40c92fc7.entry.js → p-b3d8034b.entry.js} +1 -1
  813. package/dist/ezui/p-b3d8034b.entry.js.gz +0 -0
  814. package/dist/ezui/p-b853763b.js.gz +0 -0
  815. package/dist/ezui/{p-ade1c43b.entry.js → p-b989a33e.entry.js} +1 -1
  816. package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
  817. package/dist/ezui/{p-320c401f.js → p-baec56c9.js} +1 -1
  818. package/dist/ezui/p-baec56c9.js.gz +0 -0
  819. package/dist/ezui/p-bbeafaa1.entry.js +1 -0
  820. package/dist/ezui/p-bbeafaa1.entry.js.gz +0 -0
  821. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  822. package/dist/ezui/{p-93d0f1aa.entry.js → p-c03ee0d4.entry.js} +46 -46
  823. package/dist/ezui/p-c03ee0d4.entry.js.gz +0 -0
  824. package/dist/ezui/p-cde41310.entry.js +1 -0
  825. package/dist/ezui/p-cde41310.entry.js.gz +0 -0
  826. package/dist/ezui/{p-664b9f4c.entry.js → p-ce0b36d7.entry.js} +1 -1
  827. package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
  828. package/dist/ezui/p-d2645bdf.entry.js +1 -0
  829. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  830. package/dist/ezui/{p-3b9ccdb7.entry.js → p-d5eb2fad.entry.js} +1 -1
  831. package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
  832. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  833. package/dist/ezui/{p-852d6133.entry.js → p-d6bb930d.entry.js} +1 -1
  834. package/dist/ezui/p-d6bb930d.entry.js.gz +0 -0
  835. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  836. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  837. package/dist/ezui/p-de862af4.entry.js +1 -0
  838. package/dist/ezui/p-de862af4.entry.js.gz +0 -0
  839. package/dist/ezui/p-dee18824.entry.js +1 -0
  840. package/dist/ezui/p-dee18824.entry.js.gz +0 -0
  841. package/dist/ezui/{p-ef3cd4ef.entry.js → p-e5de42e7.entry.js} +1 -1
  842. package/dist/ezui/p-e5de42e7.entry.js.gz +0 -0
  843. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  844. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  845. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  846. package/dist/ezui/p-ec5a5d85.js +3 -0
  847. package/dist/ezui/p-ec5a5d85.js.gz +0 -0
  848. package/dist/ezui/p-ec7db713.js.gz +0 -0
  849. package/dist/ezui/{p-c6b9a72a.entry.js → p-ecd6409d.entry.js} +2 -2
  850. package/dist/ezui/p-ecd6409d.entry.js.gz +0 -0
  851. package/dist/ezui/p-f00c9dc2.entry.js +1 -0
  852. package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
  853. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  854. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  855. package/dist/index.cjs.js.gz +0 -0
  856. package/dist/index.js.gz +0 -0
  857. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +3 -11
  858. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +1 -24
  859. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +0 -3
  860. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  861. package/dist/types/components/ez-form/ez-form.d.ts +0 -6
  862. package/dist/types/components/ez-form-view/ez-form-view.d.ts +0 -11
  863. package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +2 -3
  864. package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +1 -2
  865. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +4 -5
  866. package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +1 -2
  867. package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +2 -3
  868. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +1 -2
  869. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +1 -2
  870. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +1 -2
  871. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +1 -2
  872. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -2
  873. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +0 -2
  874. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +0 -14
  875. package/dist/types/components/ez-grid/ez-grid.d.ts +27 -10
  876. package/dist/types/components/ez-grid/utils/index.d.ts +0 -1
  877. package/dist/types/components/ez-popover/ez-popover.d.ts +0 -9
  878. package/dist/types/components/ez-scroller/ez-scroller.d.ts +2 -16
  879. package/dist/types/components/ez-search/ez-search.d.ts +1 -12
  880. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +0 -1
  881. package/dist/types/components/ez-split-button/ez-split-button.d.ts +2 -1
  882. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +20 -41
  883. package/dist/types/components/ez-text-input/ez-text-input.d.ts +0 -4
  884. package/dist/types/components.d.ts +2064 -3511
  885. package/dist/types/utils/form/FormMetadata.d.ts +1 -2
  886. package/dist/types/utils/form/interfaces/FormLayout.d.ts +1 -3
  887. package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +0 -3
  888. package/dist/types/utils/form/interfaces/ITabConfig.d.ts +0 -3
  889. package/dist/types/utils/i18n/locales/en-us.d.ts +3 -54
  890. package/dist/types/utils/i18n/locales/es-es.d.ts +3 -54
  891. package/dist/types/utils/i18n/locales/pt-br.d.ts +3 -54
  892. package/dist/types/utils/i18n/translations.d.ts +9 -162
  893. package/package.json +5 -5
  894. package/react/components.d.ts +0 -11
  895. package/react/components.js +0 -11
  896. package/react/components.js.map +1 -1
  897. package/dist/cjs/ApplicationUtils-9a9185fc.js.gz +0 -0
  898. package/dist/cjs/FormLayout-fe8da83c.js +0 -9
  899. package/dist/cjs/FormLayout-fe8da83c.js.gz +0 -0
  900. package/dist/cjs/app-globals-27a943d9.js.gz +0 -0
  901. package/dist/cjs/classic-search-list_8.cjs.entry.js.gz +0 -0
  902. package/dist/cjs/ez-card-item.cjs.entry.js +0 -62
  903. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  904. package/dist/cjs/ez-classic-date-input.cjs.entry.js +0 -201
  905. package/dist/cjs/ez-classic-date-input.cjs.entry.js.gz +0 -0
  906. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +0 -246
  907. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js.gz +0 -0
  908. package/dist/cjs/ez-classic-number-input.cjs.entry.js +0 -205
  909. package/dist/cjs/ez-classic-number-input.cjs.entry.js.gz +0 -0
  910. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +0 -420
  911. package/dist/cjs/ez-classic-search-plus.cjs.entry.js.gz +0 -0
  912. package/dist/cjs/ez-classic-search.cjs.entry.js +0 -683
  913. package/dist/cjs/ez-classic-search.cjs.entry.js.gz +0 -0
  914. package/dist/cjs/ez-classic-time-input.cjs.entry.js +0 -198
  915. package/dist/cjs/ez-classic-time-input.cjs.entry.js.gz +0 -0
  916. package/dist/cjs/ez-grid-pagination.cjs.entry.js +0 -331
  917. package/dist/cjs/ez-grid-pagination.cjs.entry.js.gz +0 -0
  918. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js.gz +0 -0
  919. package/dist/cjs/ez-record-navigation.cjs.entry.js +0 -121
  920. package/dist/cjs/ez-record-navigation.cjs.entry.js.gz +0 -0
  921. package/dist/cjs/floating-ui.dom.esm-9c8bfebb.js.gz +0 -0
  922. package/dist/cjs/index-d4a1cad8.js.gz +0 -0
  923. package/dist/cjs/purify-8c74770b.js +0 -1398
  924. package/dist/cjs/purify-8c74770b.js.gz +0 -0
  925. package/dist/cjs/search-column-c04897a9.js.gz +0 -0
  926. package/dist/cjs/searchFormatters-051f8677.js +0 -23
  927. package/dist/cjs/searchFormatters-051f8677.js.gz +0 -0
  928. package/dist/cjs/types-6a5df0c7.js.gz +0 -0
  929. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +0 -44
  930. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css.gz +0 -0
  931. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +0 -541
  932. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js.gz +0 -0
  933. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +0 -44
  934. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css.gz +0 -0
  935. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +0 -586
  936. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js.gz +0 -0
  937. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +0 -16
  938. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css.gz +0 -0
  939. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +0 -583
  940. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js.gz +0 -0
  941. package/dist/collection/components/ez-classic-search/ez-classic-search.css +0 -126
  942. package/dist/collection/components/ez-classic-search/ez-classic-search.css.gz +0 -0
  943. package/dist/collection/components/ez-classic-search/ez-classic-search.js +0 -1330
  944. package/dist/collection/components/ez-classic-search/ez-classic-search.js.gz +0 -0
  945. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +0 -227
  946. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css.gz +0 -0
  947. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +0 -316
  948. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js.gz +0 -0
  949. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +0 -18
  950. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js.gz +0 -0
  951. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +0 -428
  952. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css.gz +0 -0
  953. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +0 -1003
  954. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js.gz +0 -0
  955. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +0 -221
  956. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css.gz +0 -0
  957. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +0 -298
  958. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js.gz +0 -0
  959. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +0 -14
  960. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css.gz +0 -0
  961. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +0 -512
  962. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js.gz +0 -0
  963. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js +0 -4
  964. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js.gz +0 -0
  965. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +0 -23
  966. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js.gz +0 -0
  967. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +0 -24
  968. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js.gz +0 -0
  969. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +0 -1
  970. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js.gz +0 -0
  971. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +0 -217
  972. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css.gz +0 -0
  973. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +0 -516
  974. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js.gz +0 -0
  975. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js +0 -1
  976. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js.gz +0 -0
  977. package/dist/collection/components/ez-image-input/ez-image-input.css +0 -189
  978. package/dist/collection/components/ez-image-input/ez-image-input.css.gz +0 -0
  979. package/dist/collection/components/ez-image-input/ez-image-input.js +0 -329
  980. package/dist/collection/components/ez-image-input/ez-image-input.js.gz +0 -0
  981. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +0 -51
  982. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css.gz +0 -0
  983. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +0 -246
  984. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js.gz +0 -0
  985. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +0 -5
  986. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js.gz +0 -0
  987. package/dist/esm/ApplicationUtils-29d2709c.js.gz +0 -0
  988. package/dist/esm/FormLayout-bda67973.js +0 -9
  989. package/dist/esm/FormLayout-bda67973.js.gz +0 -0
  990. package/dist/esm/app-globals-44bdc4c4.js.gz +0 -0
  991. package/dist/esm/classic-search-list_8.entry.js.gz +0 -0
  992. package/dist/esm/ez-card-item.entry.js +0 -58
  993. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  994. package/dist/esm/ez-classic-date-input.entry.js +0 -197
  995. package/dist/esm/ez-classic-date-input.entry.js.gz +0 -0
  996. package/dist/esm/ez-classic-date-time-input.entry.js +0 -242
  997. package/dist/esm/ez-classic-date-time-input.entry.js.gz +0 -0
  998. package/dist/esm/ez-classic-number-input.entry.js +0 -201
  999. package/dist/esm/ez-classic-number-input.entry.js.gz +0 -0
  1000. package/dist/esm/ez-classic-search-plus.entry.js +0 -416
  1001. package/dist/esm/ez-classic-search-plus.entry.js.gz +0 -0
  1002. package/dist/esm/ez-classic-search.entry.js +0 -679
  1003. package/dist/esm/ez-classic-search.entry.js.gz +0 -0
  1004. package/dist/esm/ez-classic-time-input.entry.js +0 -194
  1005. package/dist/esm/ez-classic-time-input.entry.js.gz +0 -0
  1006. package/dist/esm/ez-grid-pagination.entry.js +0 -327
  1007. package/dist/esm/ez-grid-pagination.entry.js.gz +0 -0
  1008. package/dist/esm/ez-multi-selection-list_5.entry.js.gz +0 -0
  1009. package/dist/esm/ez-record-navigation.entry.js +0 -117
  1010. package/dist/esm/ez-record-navigation.entry.js.gz +0 -0
  1011. package/dist/esm/floating-ui.dom.esm-0c464cef.js.gz +0 -0
  1012. package/dist/esm/index-b5a15d4b.js.gz +0 -0
  1013. package/dist/esm/purify-ff423562.js +0 -1396
  1014. package/dist/esm/purify-ff423562.js.gz +0 -0
  1015. package/dist/esm/search-column-9414ad22.js.gz +0 -0
  1016. package/dist/esm/searchFormatters-6d9b06e4.js +0 -20
  1017. package/dist/esm/searchFormatters-6d9b06e4.js.gz +0 -0
  1018. package/dist/esm/types-6f6b2650.js.gz +0 -0
  1019. package/dist/ezui/p-08e3184d.entry.js +0 -1
  1020. package/dist/ezui/p-08e3184d.entry.js.gz +0 -0
  1021. package/dist/ezui/p-0ca765f4.entry.js +0 -1
  1022. package/dist/ezui/p-0ca765f4.entry.js.gz +0 -0
  1023. package/dist/ezui/p-0d80e3ec.entry.js +0 -1
  1024. package/dist/ezui/p-0d80e3ec.entry.js.gz +0 -0
  1025. package/dist/ezui/p-0ddb9a95.entry.js +0 -1
  1026. package/dist/ezui/p-0ddb9a95.entry.js.gz +0 -0
  1027. package/dist/ezui/p-0fbf5842.entry.js.gz +0 -0
  1028. package/dist/ezui/p-1160c33a.entry.js.gz +0 -0
  1029. package/dist/ezui/p-1222e1b6.entry.js.gz +0 -0
  1030. package/dist/ezui/p-178cb9df.entry.js +0 -1
  1031. package/dist/ezui/p-178cb9df.entry.js.gz +0 -0
  1032. package/dist/ezui/p-1c7aa5af.entry.js +0 -1
  1033. package/dist/ezui/p-1c7aa5af.entry.js.gz +0 -0
  1034. package/dist/ezui/p-27236a0f.entry.js.gz +0 -0
  1035. package/dist/ezui/p-2c1c9ec6.entry.js.gz +0 -0
  1036. package/dist/ezui/p-320c401f.js.gz +0 -0
  1037. package/dist/ezui/p-381570d2.entry.js.gz +0 -0
  1038. package/dist/ezui/p-3b7d9f30.js +0 -1
  1039. package/dist/ezui/p-3b7d9f30.js.gz +0 -0
  1040. package/dist/ezui/p-3b9ccdb7.entry.js.gz +0 -0
  1041. package/dist/ezui/p-40a0a773.entry.js +0 -1
  1042. package/dist/ezui/p-40a0a773.entry.js.gz +0 -0
  1043. package/dist/ezui/p-40c92fc7.entry.js.gz +0 -0
  1044. package/dist/ezui/p-41954f37.entry.js +0 -1
  1045. package/dist/ezui/p-41954f37.entry.js.gz +0 -0
  1046. package/dist/ezui/p-45d09b32.entry.js +0 -1
  1047. package/dist/ezui/p-45d09b32.entry.js.gz +0 -0
  1048. package/dist/ezui/p-46188bfe.entry.js +0 -1
  1049. package/dist/ezui/p-46188bfe.entry.js.gz +0 -0
  1050. package/dist/ezui/p-47e4a8ce.js +0 -1
  1051. package/dist/ezui/p-47e4a8ce.js.gz +0 -0
  1052. package/dist/ezui/p-49bc0b59.entry.js +0 -1
  1053. package/dist/ezui/p-49bc0b59.entry.js.gz +0 -0
  1054. package/dist/ezui/p-5124ba43.entry.js +0 -1
  1055. package/dist/ezui/p-5124ba43.entry.js.gz +0 -0
  1056. package/dist/ezui/p-52122022.entry.js.gz +0 -0
  1057. package/dist/ezui/p-5895e687.js +0 -1
  1058. package/dist/ezui/p-5895e687.js.gz +0 -0
  1059. package/dist/ezui/p-58fa7883.js.gz +0 -0
  1060. package/dist/ezui/p-5a217a52.entry.js.gz +0 -0
  1061. package/dist/ezui/p-5c440899.js +0 -3
  1062. package/dist/ezui/p-5c440899.js.gz +0 -0
  1063. package/dist/ezui/p-664b9f4c.entry.js.gz +0 -0
  1064. package/dist/ezui/p-6791d05f.entry.js +0 -1
  1065. package/dist/ezui/p-6791d05f.entry.js.gz +0 -0
  1066. package/dist/ezui/p-6c24ab67.entry.js.gz +0 -0
  1067. package/dist/ezui/p-73bae77e.entry.js.gz +0 -0
  1068. package/dist/ezui/p-7df45688.entry.js +0 -1
  1069. package/dist/ezui/p-7df45688.entry.js.gz +0 -0
  1070. package/dist/ezui/p-7ecac0c4.entry.js.gz +0 -0
  1071. package/dist/ezui/p-83ffba67.entry.js.gz +0 -0
  1072. package/dist/ezui/p-852d6133.entry.js.gz +0 -0
  1073. package/dist/ezui/p-88a115b3.js +0 -1
  1074. package/dist/ezui/p-88a115b3.js.gz +0 -0
  1075. package/dist/ezui/p-90a0b52b.entry.js +0 -1
  1076. package/dist/ezui/p-90a0b52b.entry.js.gz +0 -0
  1077. package/dist/ezui/p-93d0f1aa.entry.js.gz +0 -0
  1078. package/dist/ezui/p-95fb50d1.entry.js +0 -1
  1079. package/dist/ezui/p-95fb50d1.entry.js.gz +0 -0
  1080. package/dist/ezui/p-97545f8e.entry.js.gz +0 -0
  1081. package/dist/ezui/p-9d06f315.entry.js +0 -1
  1082. package/dist/ezui/p-9d06f315.entry.js.gz +0 -0
  1083. package/dist/ezui/p-a62bbd49.entry.js.gz +0 -0
  1084. package/dist/ezui/p-a9ab6cb9.entry.js +0 -1
  1085. package/dist/ezui/p-a9ab6cb9.entry.js.gz +0 -0
  1086. package/dist/ezui/p-ade1c43b.entry.js.gz +0 -0
  1087. package/dist/ezui/p-afb2f145.entry.js.gz +0 -0
  1088. package/dist/ezui/p-b43fcdb6.js +0 -1
  1089. package/dist/ezui/p-b43fcdb6.js.gz +0 -0
  1090. package/dist/ezui/p-b50289bb.entry.js.gz +0 -0
  1091. package/dist/ezui/p-be4b042f.entry.js +0 -1
  1092. package/dist/ezui/p-be4b042f.entry.js.gz +0 -0
  1093. package/dist/ezui/p-c547f48f.entry.js.gz +0 -0
  1094. package/dist/ezui/p-c6b9a72a.entry.js.gz +0 -0
  1095. package/dist/ezui/p-ca4c015a.entry.js +0 -1
  1096. package/dist/ezui/p-ca4c015a.entry.js.gz +0 -0
  1097. package/dist/ezui/p-d6f50207.entry.js +0 -1
  1098. package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
  1099. package/dist/ezui/p-dcb7275b.entry.js +0 -1
  1100. package/dist/ezui/p-dcb7275b.entry.js.gz +0 -0
  1101. package/dist/ezui/p-dcd6a163.entry.js +0 -1
  1102. package/dist/ezui/p-dcd6a163.entry.js.gz +0 -0
  1103. package/dist/ezui/p-dcde2e69.entry.js +0 -1
  1104. package/dist/ezui/p-dcde2e69.entry.js.gz +0 -0
  1105. package/dist/ezui/p-ddf856db.entry.js +0 -1
  1106. package/dist/ezui/p-ddf856db.entry.js.gz +0 -0
  1107. package/dist/ezui/p-de14fe07.js +0 -1
  1108. package/dist/ezui/p-de14fe07.js.gz +0 -0
  1109. package/dist/ezui/p-df6173c8.entry.js +0 -1
  1110. package/dist/ezui/p-df6173c8.entry.js.gz +0 -0
  1111. package/dist/ezui/p-e60aa084.entry.js.gz +0 -0
  1112. package/dist/ezui/p-eb0cfd29.entry.js +0 -1
  1113. package/dist/ezui/p-eb0cfd29.entry.js.gz +0 -0
  1114. package/dist/ezui/p-ef3cd4ef.entry.js.gz +0 -0
  1115. package/dist/ezui/p-f7f7bb17.entry.js +0 -1
  1116. package/dist/ezui/p-f7f7bb17.entry.js.gz +0 -0
  1117. package/dist/ezui/p-f7fb2587.entry.js.gz +0 -0
  1118. package/dist/ezui/p-fed3f5fe.entry.js +0 -1
  1119. package/dist/ezui/p-fed3f5fe.entry.js.gz +0 -0
  1120. package/dist/ezui/p-feffb6a5.entry.js +0 -1
  1121. package/dist/ezui/p-feffb6a5.entry.js.gz +0 -0
  1122. package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +0 -91
  1123. package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +0 -95
  1124. package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +0 -101
  1125. package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +0 -219
  1126. package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +0 -29
  1127. package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +0 -2
  1128. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +0 -189
  1129. package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +0 -29
  1130. package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +0 -9
  1131. package/dist/types/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.d.ts +0 -2
  1132. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +0 -4
  1133. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +0 -2
  1134. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +0 -3
  1135. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +0 -91
  1136. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.model.d.ts +0 -7
  1137. package/dist/types/components/ez-image-input/ez-image-input.d.ts +0 -43
  1138. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +0 -43
  1139. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +0 -4
@@ -1 +0,0 @@
1
- import{r as e,c as a,h as t,H as r,g as o}from"./p-23a36bb6.js";import{StringUtils as i,ElementIDUtils as s}from"@sankhyalabs/core";const c=class{constructor(t){e(this,t),this.ezChange=a(this,"ezChange",7),this.ezBlur=a(this,"ezBlur",7),this.iconClick=a(this,"iconClick",7),this.name=i.generateUUID(),this.label="",this.placeholder="",this.value="",this.helpText=void 0,this.errorMessage=void 0,this.state="default",this.enabled=!0,this.readonly=!1,this.maxlength=void 0,this.resize="vertical",this.leftIconName=void 0,this.rightIconName=void 0,this.rightIconTooltip=void 0,this.leftIconTooltip=void 0,this.leftIconClickable=!1,this.rightIconClickable=!1,this.rows=5}async setFocus(e){(null==e?void 0:e.selectText)&&this._textAreaElem.select(),(null==e?void 0:e.preventScroll)||this._textAreaElem.scrollIntoView({behavior:"smooth",block:"center"}),this._textAreaElem.focus({preventScroll:!0})}async setBlur(){this._textAreaElem.blur()}async observeErrorMessage(e){this.state=e&&""!==e.trim()?"error":"default"}onBlur(){this.ezBlur.emit(this.value)}handleInput(e){this.ezChange.emit(e.target.value)}handleIconClick(e,a){this.enabled&&("left"===a&&!this.leftIconClickable||"right"===a&&!this.rightIconClickable?this.setFocus({preventScroll:!0}):(e.stopPropagation(),this.iconClick.emit({icon:a})))}addInfoId(){this._element&&s.addIDInfo(this._element),this._textAreaElem&&s.addIDInfo(this._textAreaElem,"classic-text-area",{id:"embedded"})}componentDidLoad(){this.addInfoId()}render(){return t(r,null,this.label&&t("label",{title:this.label,htmlFor:this.name},this.label),t("div",{class:"text-area-container","data-state":this.state,"data-disabled":(!this.enabled).toString(),"data-resize":this.resize,onClick:()=>this.setFocus({preventScroll:!0})},this.leftIconName&&t("ez-icon",{iconName:this.leftIconName,title:this.leftIconTooltip,onClick:e=>this.handleIconClick(e,"left"),class:{"icon-clickable":this.leftIconClickable}}),t("textarea",{ref:e=>this._textAreaElem=e,id:this.name,name:this.name,placeholder:this.placeholder,value:this.value,disabled:!this.enabled,readOnly:this.readonly,maxLength:this.maxlength,rows:this.rows,onInput:this.handleInput.bind(this),onBlur:this.onBlur.bind(this)}),this.rightIconName&&t("ez-icon",{iconName:this.rightIconName,title:this.rightIconTooltip,onClick:e=>this.handleIconClick(e,"right"),class:{"icon-clickable":this.rightIconClickable}})),(this.helpText||this.errorMessage)&&t("span",{id:"textArea_helpText",title:this.errorMessage||this.helpText},this.errorMessage||this.helpText))}get _element(){return o(this)}static get watchers(){return{errorMessage:["observeErrorMessage"]}}};c.style=':host{display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);border:none;padding:0;width:100%;--ez-classic-text-area--label-color:var(--color--ocean-green-1000, #00281D);--ez-classic-text-area--border-color-default:var(--color--gray-200, #D2D2D3);--ez-classic-text-area--border-color-focus:var(--color--gray-300, #A4A5A7);--ez-classic-text-area--border-color-success:var(--color--green-600, #157A00);--ez-classic-text-area--border-color-error:var(--color--red-600, #BD0025);--ez-classic-text-area--border-color-warning:var(--color--yellow-600, #EFB103);--ez-classic-text-area--background-color:var(--color--gray-70, #FFFFFF);--ez-classic-text-area--background-color-disabled:var(--color--gray-90, #EAEAEA);--ez-classic-text-area--text-color:var(--color--ocean-green-1000, #00281D);--ez-classic-text-area--placeholder-color:#bdbdbd;--ez-classic-text-area--icon-color:var(--color--gray-400, #77777A);--ez-classic-text-area--helptext-color:var(--color--ocean-green-1000, #00281D)}.text-area-container{display:flex;flex-direction:row;align-items:start;width:100%;border:none;border-radius:var(--border--radius-8, 8px);padding:var(--space--16, 16px);box-sizing:border-box;gap:var(--space--10, 10px);margin:var(--space--4, 4px) var(--space--2, 2px);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);resize:vertical;overflow:auto;background-color:var(--ez-classic-text-area--background-color)}.text-area-container,.text-area-container[data-state="default"]{box-shadow:0 0 0 1px var(--ez-classic-text-area--border-color-default)}.text-area-container[data-state="success"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-success)}.text-area-container[data-state="error"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-error)}.text-area-container[data-state="warning"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-warning)}.text-area-container:focus-within{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-focus)}ez-icon{min-width:var(--space--24, 24px);color:var(--ez-classic-text-area--icon-color)}textarea{flex:1;border:none;outline:none;background:transparent;height:100%;width:100%;padding:0;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);text-overflow:ellipsis;min-height:calc(var(--ez-classic-text-area--min-height) - var(--space--32, 32px));resize:none;scrollbar-width:thin;color:var(--ez-classic-text-area--text-color)}.text-area-container[data-disabled="true"]{cursor:not-allowed;background:var(--ez-classic-text-area--background-color-disabled);border-color:var(--ez-classic-text-area--border-color-default)}.text-area-container[data-disabled="true"]>*{cursor:not-allowed}@keyframes ez-helptext-fadein{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}span{font-size:var(--font-size--xsmall, 10px);line-height:var(--line-height--16, 16px);overflow:hidden;text-overflow:ellipsis;animation:ez-helptext-fadein 0.3s ease;color:var(--ez-classic-text-area--helptext-color)}label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:var(--line-height--20, 20px);color:var(--ez-classic-text-area--label-color)}.icon-clickable{cursor:pointer}.text-area-container[data-resize="none"]{resize:none}.text-area-container[data-resize="both"]{resize:both}.text-area-container[data-resize="horizontal"]{resize:horizontal}.text-area-container[data-resize="vertical"]{resize:vertical}.text-area-container::-webkit-resizer{display:none}.text-area-container::-moz-resizer{display:none}.text-area-container:not([data-resize="none"]){position:relative}.text-area-container:not([data-resize="none"])::after{content:\'\';position:absolute;bottom:var(--space--2, 2px);right:var(--space--2, 2px);width:var(--space--10, 10px);height:var(--space--10, 10px);background:linear-gradient(135deg, transparent 0% 50%, var(--ez-classic-text-area--border-color-default) 50% 58%, transparent 58% 70%, var(--ez-classic-text-area--border-color-default) 70% 78%, transparent 78% 100%);pointer-events:none}';export{c as ez_classic_text_area}
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- function n(n){const t=new RegExp("<span class='card-item__highlight'>","g"),r=new RegExp("</span>","g");return g(String(null!=n?n:"").replace(t,"").replace(r,""))}function g(n){if(null!=n)return String(n).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"')}export{n as a,g as r}
Binary file
@@ -1 +0,0 @@
1
- import{r,h as e,H as o,c as t,g as l}from"./p-23a36bb6.js";import{JSUtils as s,ElementIDUtils as a}from"@sankhyalabs/core";import{i}from"./p-3b7d9f30.js";import{E as n}from"./p-98bb8b16.js";var c;!function(r){r.SCROLLBAR="scrollbar",r.BUTTONS="buttons"}(c||(c={}));const h=class{constructor(e){r(this,e),this._shadowStart="ez-scroller__wrapper--shadow-start",this._shadowEnd="ez-scroller__wrapper--shadow-end",this._startHidden=void 0,this._endHidden=void 0,this.isActive=!1,this.direction=void 0,this.locked=!1,this.activeShadow=!1,this.navigationMode=c.SCROLLBAR,this.scrollAmount=200}scrollToPrevious(){if(!this._container)return;const r={behavior:"smooth"};this.direction===n.HORIZONTAL?r.left=Math.max(0,this._container.scrollLeft-this.scrollAmount):this.direction===n.VERTICAL&&(r.top=Math.max(0,this._container.scrollTop-this.scrollAmount)),this._container.scrollTo(r)}scrollToNext(){if(!this._container)return;const r={behavior:"smooth"};this.direction===n.HORIZONTAL?r.left=this._container.scrollLeft+this.scrollAmount:this.direction===n.VERTICAL&&(r.top=this._container.scrollTop+this.scrollAmount),this._container.scrollTo(r)}getContainerClass(){return`ez-scroller__container ez-scroller__container--${this.direction}\n ${this.locked||!this.isActive?" ez-scroller__container--locked":""}\n ${this.navigationMode===c.BUTTONS?" ez-scroller__container--buttons-mode":""}\n `}getWrapperClass(){return`ez-scroller__wrapper ez-scroller__wrapper--${this.direction}\n ${this.navigationMode===c.BUTTONS?" ez-scroller__wrapper--buttons-mode":""}\n `}finishDrag(){this._controller&&this._container.classList.remove("dragging")}updateScroller(){const r=this._container;if(null==r)return;let e;if(this.direction===n.HORIZONTAL){const{scrollWidth:o,clientWidth:t,scrollLeft:l}=r;e=o-t-Math.ceil(l),this._startHidden=r.scrollLeft>0}else if(this.direction===n.VERTICAL){const{scrollHeight:o,clientHeight:t,scrollTop:l}=r;e=o-t-Math.ceil(l),this._startHidden=r.scrollTop>0}this._endHidden=e>0,this.isActive=this._startHidden||this._endHidden||this.isActiveScroller(),this.updateShadow()}updateShadow(){if(!this.activeShadow)return;const r=this.navigationMode===c.BUTTONS?this._container:this._wrapper;if(null==r)return;const e=["","start","end","middle"][Number(this._startHidden)|Number(this._endHidden)<<1];"start"===e?(r.classList.add(this._shadowStart),r.classList.remove(this._shadowEnd)):"end"===e?(r.classList.remove(this._shadowStart),r.classList.add(this._shadowEnd)):"middle"===e?(r.classList.add(this._shadowStart),r.classList.add(this._shadowEnd)):(r.classList.remove(this._shadowStart),r.classList.remove(this._shadowEnd))}configResize(){const r=this._container;null!=r&&(null!=this._resizeObserver&&this._resizeObserver.unobserve(r),this._resizeObserver=new ResizeObserver(s.debounce(this.updateScroller.bind(this),200)),this._resizeObserver.observe(r))}getContainerElement(){return e("div",{ref:r=>this._container=r,class:this.getContainerClass()},e("slot",null))}isActiveScroller(){return null!=this._container&&(this._container.scrollWidth>this._container.clientWidth||this._container.scrollHeight>this._container.clientHeight)}renderNavigationButtons(){if(this.navigationMode!==c.BUTTONS||this.direction===n.BOTH)return null;const r=this.direction===n.HORIZONTAL,o=r?"arrow_back":"arrow-up",t=r?"arrow-forward":"arrow-down";return{previousButton:this._startHidden?e("ez-button",{class:"ez-scroller__nav-button ez-scroller__nav-button--previous",onClick:()=>this.scrollToPrevious(),title:this.i18n("ez-scroller.previousButton"),"aria-label":this.i18n("ez-scroller.previousButton"),type:"button",variant:"tertiary",mode:"icon",suppressAnimation:!0,iconName:o},e("ez-icon",{iconName:o})):null,nextButton:this._endHidden?e("ez-button",{class:"ez-scroller__nav-button ez-scroller__nav-button--next",onClick:()=>this.scrollToNext(),title:this.i18n("ez-scroller.nextButton"),"aria-label":this.i18n("ez-scroller.nextButton"),type:"button",variant:"tertiary",mode:"icon",suppressAnimation:!0,iconName:t},e("ez-icon",{iconName:t})):null}}clickListener(r){this._controller&&this._controller.didScroll()&&(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation())}mouseDownHandler(r){this.locked?this.finishDrag():(this._controller||(this._controller=new b(this._container)),this._controller.startDragg(r),this._container.classList.add("dragging"))}mouseUpHandler(){this.finishDrag()}mouseMoveHandler(r){this.locked?this.finishDrag():this._controller&&(0===r.buttons?this.finishDrag():this._controller.doScroll(r))}async componentWillLoad(){this.i18n=await i()}componentDidRender(){var r,e;if(null!=this._container){if(this.direction===n.BOTH)return null===(r=this._wrapper)||void 0===r||r.classList.remove(this._shadowStart),null===(e=this._wrapper)||void 0===e||e.classList.remove(this._shadowEnd),void(this.isActive=this.isActiveScroller());this._container.onscroll=this.updateScroller.bind(this),this.configResize(),this.updateScroller()}}render(){const r=this.navigationMode===c.BUTTONS?this.renderNavigationButtons():null;return e(o,null,this.activeShadow||this.navigationMode===c.BUTTONS?e("div",{ref:r=>this._wrapper=r,class:this.getWrapperClass()},null==r?void 0:r.previousButton,this.getContainerElement(),null==r?void 0:r.nextButton):this.getContainerElement())}};class b{constructor(r){this.scrollablePanel=r}startDragg(r){this.startX=this.measureX(r),this.startY=this.measureY(r),this.scrollWidth=0,this.scrollHeight=0}measureX(r){return r.pageX-this.scrollablePanel.offsetLeft}measureY(r){return r.pageY-this.scrollablePanel.offsetTop}doScroll(r){const e=this.measureX(r),o=this.measureY(r);if(e!=this.startX||o!=this.startY){const r=e-this.startX,t=o-this.startY;this.startX+=r,this.startY+=t,this.scrollWidth+=Math.abs(r),this.scrollHeight+=Math.abs(t),this.scrollablePanel.scrollLeft=Math.max(0,this.scrollablePanel.scrollLeft-r),this.scrollablePanel.scrollTop=Math.max(0,this.scrollablePanel.scrollTop-t)}}didScroll(){return this.scrollHeight>5||this.scrollWidth>5}}h.style=':host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__nav-button--spacing:var(--space--8, 8px);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;--ez-scroller__scrollbar--padding-right:var(--space-extra-small, 3px);display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row;padding-right:var(--ez-scroller__scrollbar--padding-right)}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row;align-items:center;gap:var(--ez-scroller__nav-button--spacing)}.ez-scroller__wrapper--vertical{flex-direction:column;align-items:center;gap:var(--ez-scroller__nav-button--spacing)}.ez-scroller__wrapper--buttons-mode{display:flex}.ez-scroller__wrapper--buttons-mode.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--buttons-mode.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after{content:"";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical:not(.ez-scroller__wrapper--buttons-mode).ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__container--buttons-mode::-webkit-scrollbar{display:none}.ez-scroller__container--buttons-mode{scrollbar-width:none;flex:1;min-width:0;position:relative}.ez-scroller__nav-button{--ez-scroller__nav-button--size:var(--space--32, 32px);--ez-scroller__nav-button--border-radius:var(--border--radius-24, 24px);--ez-scroller__nav-button--gradient-width:40px;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;flex-shrink:0;position:relative;z-index:2;width:var(--ez-scroller__nav-button--size);height:var(--ez-scroller__nav-button--size);border-radius:var(--ez-scroller__nav-button--border-radius)}.ez-scroller__nav-button--previous::after{content:"";position:absolute;z-index:-1;pointer-events:none}.ez-scroller__wrapper--horizontal .ez-scroller__nav-button--previous::after{left:100%;top:0;bottom:0;width:var(--ez-scroller__nav-button--gradient-width);background:linear-gradient(to left, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%)}.ez-scroller__wrapper--vertical .ez-scroller__nav-button--previous::after{top:100%;left:0;right:0;height:var(--ez-scroller__nav-button--gradient-width);background:linear-gradient(to top, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%)}.ez-scroller__nav-button--next::before{content:"";position:absolute;z-index:-1;pointer-events:none}.ez-scroller__wrapper--horizontal .ez-scroller__nav-button--next::before{right:100%;top:0;bottom:0;width:var(--ez-scroller__nav-button--gradient-width);background:linear-gradient(to right, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%)}.ez-scroller__wrapper--vertical .ez-scroller__nav-button--next::before{bottom:100%;left:0;right:0;height:var(--ez-scroller__nav-button--gradient-width);background:linear-gradient(to bottom, transparent 0%, var(--ez-scroller--box-shadow-color, #fafcff) 100%)}.ez-scroller__nav-button ez-icon{pointer-events:none}';const d=class{constructor(e){r(this,e),this.ezClick=t(this,"ezClick",7)}componentDidLoad(){this._element&&a.addIDInfo(this._element),this._button&&a.addIDInfo(this._button,"button",{id:"embedded"})}render(){return e("button",{type:"button",onClick:()=>{this.ezClick.emit()},ref:r=>this._button=r},e("span",null),e("ez-icon",{iconName:"chevron-right",size:"small"}))}get _element(){return l(this)}};d.style=":host{position:relative;--ez-sidebar-button--width:6px;--ez-sidebar-button--hover--width:12px;--ez-sidebar-button--height:96px;--ez-sidebar-navigator-button--z-index:var(--elevation--20, 20);--ez-sidebar-button--background-color--xlight:var(--background--xlight, #fff);--ez-sidebar-button--background-color--primary:var(--color--primary);--ez-sidebar-button--space--small:var(--space--small, 6px);--ez-sidebar-button--space--medium:var(--space--medium, 12px);--ez-sidebar-button--box-shadow:var(--shadow--small, 0px 0px 16px rgba(0, 38, 111, 0.07));--ez-sidebar-button--hover--box-shadow:var(--shadow--hard, 0px 0px 16px rgba(43, 58, 84, 0.24));--ez-sidebar-button--border--radius-small:var(--border--radius-small);--ez-sidebar-button--border--radius-medium:var(--border--radius-medium)}button{z-index:var(--ez-sidebar-navigator-button--z-index);position:absolute;display:flex;background:var(--ez-sidebar-button--background-color--xlight);border:0;border-radius:0 var(--ez-sidebar-button--border--radius-medium) var(--ez-sidebar-button--border--radius-medium) 0;box-shadow:var(--ez-sidebar-button--box-shadow);padding:0;cursor:pointer;align-items:center}span{width:var(--ez-sidebar-button--width);height:var(--ez-sidebar-button--height);margin:var(--ez-sidebar-button--space--medium) 0 var(--ez-sidebar-button--space--medium) 0;background:var(--ez-sidebar-button--background-color--primary);border-radius:0 var(--ez-sidebar-button--border--radius-small) var(--ez-sidebar-button--border--radius-small) 0}ez-icon{--ez-icon--color:var(--ez-sidebar-button--background-color--primary)}button:hover{box-shadow:var(--ez-sidebar-button--hover--box-shadow)}button:hover span{width:var(--ez-sidebar-button--hover--width);margin:var(--ez-sidebar-button--space--medium) 0 var(--ez-sidebar-button--space--medium) 0}";export{h as ez_scroller,d as ez_sidebar_button}
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as s,c as e,h as i,H as t,g as a}from"./p-23a36bb6.js";import{StringUtils as r,KeyboardManager as l,ElementIDUtils as c}from"@sankhyalabs/core";import"./p-320c401f.js";import{C as o}from"./p-ec7db713.js";import"./p-ab574d59.js";import"./p-b853763b.js";import{i as n}from"./p-3b7d9f30.js";import{S as h}from"./p-5895e687.js";import"./p-47e4a8ce.js";const d=class{constructor(i){s(this,i),this.ezChange=e(this,"ezChange",7),this.SEARCH_DESCRIPTION_TIMEOUT=2e3,this.INTERVAL_TO_RETRY_ASYNC_VALUE=100,this._ignoreNextValue=!1,this.value=void 0,this.enabled=!0,this.disableCodeInput=!1,this.disableDescriptionInput=!1,this.label=void 0,this.hideDescriptionInput=!1,this.canShowError=!0,this.errorMessage=void 0,this.mode="regular",this.size="default",this.required=!1,this.contextProperties=void 0,this.optionLoader=void 0,this.showOptionValue=!0,this.stopPropagateEnterKeyEvent=!1,this.autoFocus=!1,this.showSelectedValue=!0,this.suppressEmptyOption=!1,this.hideErrorOnFocusOut=!0,this.listOptionsPosition=void 0,this.isTextSearch=!1,this.ignoreLimitCharsToSearch=!1,this.suppressSearch=!1,this.suppressPreLoad=!0,this.ensureClearButtonVisible=!1,this.descriptionValue="",this.codeValue="",this.isLoadingDescription=!1,this.searchDescriptionIsOpen=!1,this.visibleOptions=void 0,this.showLoading=!0,this.canShowClearButton=!1,this.isHoveringDescription=!1}async observeValue(s,e){var i;if(this._ignoreNextValue)return void(this._ignoreNextValue=!1);const t=this.normalizeValueToCodeValue(s);if(t!==this.normalizeValueToCodeValue(e)){if(void 0===t)return this.clearSearch(),void this.ezChange.emit(void 0);this.canShowClearButton=this.getClearButtonStatus(),this.codeValue=t;try{if(this.descriptionValue=await this.normalizeCodeToDescriptionValue(s),null==this.descriptionValue)throw new Error("Valor não encontrado!")}catch(s){throw this._ignoreNextValue=!0,this.clearSearch(),console.warn("[EzSearchPlus] Erro ao obter descrição do registro.",s),"WarningException"===(null===(i=null==s?void 0:s.constructor)||void 0===i?void 0:i.name)&&(this.errorMessage=s.message),s}this.value=this.buildCurrentValue(),this.ezChange.emit(this.value),this.errorMessage=null}}async setFocus(s){var e;this.disableCodeInput?null===(e=this._textInputDescriptionValue)||void 0===e||e.setFocus(s):this._latestFocusedInputElement?this._latestFocusedInputElement.setFocus(s):this._textInputCodeValue.setFocus(s)}async getValueAsync(){if(!this.isLoadingDescription){const s=this.buildCurrentValue();return new Promise((e=>e(s)))}return new Promise((s=>{let e=setInterval((()=>{if(!this.isLoadingDescription){clearInterval(e);const i=this.buildCurrentValue();s(i)}}),this.INTERVAL_TO_RETRY_ASYNC_VALUE)}))}async clearValue(){this.clearSearch()}async setBlur(){var s,e;null===(s=this._textInputCodeValue)||void 0===s||s.setBlur(),null===(e=this._textInputDescriptionValue)||void 0===e||e.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async componentWillLoad(){this.i18n=await n(),this.value&&r.isEmpty(this.codeValue)&&await this.observeValue(this.value,void 0)}componentDidLoad(){o.applyVarsTextInput(this.el,this._textInputCodeValue),o.applyVarsTextInput(this.el,this._textInputDescriptionValue)}connectedCallback(){this.initKeyboardManager(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}clearSearch(){this._textInputCodeValue.value=null,this.hideDescriptionInput||(this._textInputDescriptionValue.value=null),this.value=null,this.codeValue=null,this.descriptionValue=null,this.canShowClearButton=!1}async normalizeCodeToDescriptionValue(s){if(!s)return"";if("string"==typeof s)try{if((null==(s=JSON.parse(s))?void 0:s.value)&&!(null==s?void 0:s.label))return await this.loadDescriptionValueByCode(null==s?void 0:s.value)}catch(e){return await this.loadDescriptionValueByCode(s)}return"object"!=typeof s?await this.loadDescriptionValueByCode(s):null==s?void 0:s.label}normalizeValueToCodeValue(s){if(s){if("string"==typeof s)try{s=JSON.parse(s)}catch(e){return s}return"object"!=typeof s?"number"==typeof s?String(s):s:null==s?void 0:s.value}}async loadDescriptionValueByCode(s){if(!this.optionLoader)return console.warn(this.i18n("ez-classic-search-plus.optionLoaderNotDefined")),"";try{this.isLoadingDescription=!0;const e={mode:h.LOAD_DESCRIPTION,argument:s},i=await this.optionLoader(e);return i?Array.isArray(i)?i[0].label:i.label:""}finally{this.isLoadingDescription=!1}}handleCodeInputFocusOut(){this.cancelSelection(),this.codeValue!=this._textInputCodeValue.value&&(this.value=this._textInputCodeValue.value)}handleSearchClick(){this.loadAdvancedSearch()}async loadAdvancedSearch(){if(!this.optionLoader)return void console.warn(this.i18n("ez-classic-search-plus.optionLoaderNotDefined"));const s={mode:h.ADVANCED,argument:""};let e;try{e=await this.optionLoader(s,this.contextProperties)}catch(s){}e&&(this.value=e)}buildCurrentValue(){if(!r.isEmpty(this.codeValue))return{value:this.codeValue,label:this.descriptionValue}}async handleTextInputChangeHandler(s){this.searchDescriptionIsOpen||this._popover.showUnder(this.el);const e=s.target.value;this.canShowClearButton=this.getClearButtonStatus(),await this.debounceLoaderOptions(e)}async debounceLoaderOptions(s){return this._debounceSearch&&clearTimeout(this._debounceSearch),new Promise((e=>{this._debounceSearch=setTimeout((async()=>{await this.processOptionsLoader(s),e()}),this.SEARCH_DESCRIPTION_TIMEOUT)}))}updateKeyOption(s){return Object.assign(Object.assign({},s),{presentationValue:s.value,presentationLabel:s.label})}parseSearchOptions(s=[]){if(Array.isArray(s)){const e=s[0];return e?"label"in e||"value"in e?s.map((s=>this.updateKeyOption(s))):s:[]}return("label"in s||"value"in s)&&this.updateKeyOption(s),[s]}async processOptionsLoader(s){try{this.showLoading=!0;const e={mode:h.PREDICTIVE,argument:s},i=await this.optionLoader(e);this.visibleOptions=this.parseSearchOptions(i)}finally{this.showLoading=!1}}handleSelectItem(s){this.value=s.detail,this._popover.hide(),window.requestAnimationFrame((()=>{var s;null===(s=this._textInputDescriptionValue)||void 0===s||s.setFocus({selectText:!0})}))}async handleArrowUp(){this.isOptionsVisible()&&await this._classicSearchList.previousOption()}async handleArrowDown(){this.isOptionsVisible()&&await this._classicSearchList.nextOption()}async selectCurrentItem(){var s;await(null===(s=this._classicSearchList)||void 0===s?void 0:s.selectCurrentItem())}async cancelSelection(){var s,e,i;const t="object"==typeof this.value?null===(s=this.value)||void 0===s?void 0:s.label:"";this._textInputDescriptionValue&&t&&this._textInputDescriptionValue.value!=t&&(this._textInputDescriptionValue.value=t),await(null===(e=this._classicSearchList)||void 0===e?void 0:e.cancelSelection()),null===(i=this._popover)||void 0===i||i.hide()}async handleInputTab(){await this.cancelSelection()}async handleInputEsc(){var s;await this.cancelSelection(),await(null===(s=this._latestFocusedInputElement)||void 0===s?void 0:s.setFocus({selectText:!0}))}async initKeyboardManager(){this._keyboardManager=new l;const s={element:this.el,propagate:!0};this._keyboardManager.bind("ArrowUp",(()=>this.handleArrowUp()),Object.assign(Object.assign({},s),{propagate:!1})).bind("ArrowDown",(()=>this.handleArrowDown()),Object.assign(Object.assign({},s),{propagate:!1})).bind("Enter",(()=>this.selectCurrentItem()),Object.assign(Object.assign({},s),{propagate:!this.stopPropagateEnterKeyEvent})).bind("Tab",(()=>this.handleInputTab()),s).bind("Escape",(()=>this.handleInputEsc()),s)}disconnectedCallback(){this._keyboardManager.unbind("ArrowUp").unbind("ArrowDown").unbind("Enter").unbind("Tab").unbind("Escape")}isOptionsVisible(){return this._popover.opened}setLatestFocusedInputElement(s){this._latestFocusedInputElement=s}handleCodeInputFocus(){this.setLatestFocusedInputElement(this._textInputCodeValue)}handleDescriptionInputFocus(){this.setLatestFocusedInputElement(this._textInputDescriptionValue)}handleOnEzVisibilityChange(s){s.stopPropagation(),this.searchDescriptionIsOpen=s.detail}getClearButtonStatus(){var s,e;return!!(this.ensureClearButtonVisible||(null===(s=this._textInputCodeValue)||void 0===s?void 0:s.value)||(null===(e=this._textInputDescriptionValue)||void 0===e?void 0:e.value)||this.value)}render(){return c.addIDInfoIfNotExists(this.el,"input"),i(t,null,i("div",{class:"ez-classic-search-plus__wrapper"},i("div",{class:"ez-classic-search-plus__label-container"},i("label",{title:this.label},this.label),this.required&&i("span",{class:"required-indicator"},"*")),i("div",{class:"ez-classic-search-plus__container"},i("ez-classic-input",{ref:s=>this._textInputCodeValue=s,class:{"ez-classic-search-plus__code-input":!this.hideDescriptionInput,"ez-classic-search-plus__code-input-no-border":!this.hideDescriptionInput,"ez-classic-search-plus__code-input-full":this.hideDescriptionInput},"data-element-id":c.getInternalIDInfo("codeInput"),"data-slave-mode":"true",enabled:!this.disableCodeInput&&this.enabled,size:this.size,label:null,errorMessage:this.hideDescriptionInput?this.errorMessage:"",value:this.codeValue,onFocusout:()=>this.handleCodeInputFocusOut(),onFocus:()=>this.handleCodeInputFocus(),leftIconName:"search",leftIconClickable:this.enabled,onIconClick:()=>this.handleSearchClick(),onEzChange:s=>s.stopPropagation(),state:this.errorMessage&&this.canShowError?"error":"default"}),!this.hideDescriptionInput&&i("div",{class:"description-input-container",onMouseEnter:()=>this.isHoveringDescription=!0,onMouseLeave:()=>this.isHoveringDescription=!1},i("ez-classic-input",{ref:s=>this._textInputDescriptionValue=s,tabIndex:-1,class:{"ez-classic-search-plus__text-input":!0},"data-element-id":c.getInternalIDInfo("textInput"),"data-slave-mode":"true",enabled:!this.disableDescriptionInput&&this.enabled,label:null,size:this.size,value:this.descriptionValue,onInput:s=>this.handleTextInputChangeHandler(s),onFocus:()=>this.handleDescriptionInputFocus(),rightIconName:this.canShowClearButton&&this.isHoveringDescription?"close":null,rightIconClickable:this.enabled,onIconClick:()=>this.clearSearch(),onEzChange:s=>s.stopPropagation(),rightIconTooltip:this.i18n("ez-classic-search-plus.clearValue"),state:this.errorMessage&&this.canShowError?"error":"default"}),i("ez-popover-plus",{ref:s=>this._popover=s,anchorElement:this.el,autoClose:!0,boxWidth:"fit-content",overlayType:"none",useAnchorSize:!0,onEzVisibilityChange:s=>this.handleOnEzVisibilityChange(s),"data-element-id":this.el.getAttribute("data-element-id")},i("ez-classic-search-result-list",{ref:s=>this._classicSearchList=s,showLoading:this.showLoading,visibleOptions:this.visibleOptions,value:this.value,showOptionValue:this.showOptionValue,onChangeValue:s=>this.handleSelectItem(s)})))),i("div",{class:"ez-classic-search-plus__error-container"},i("span",null,this.errorMessage))))}get el(){return a(this)}static get watchers(){return{value:["observeValue"]}}};d.style=":host{--ez-classic-search--height:42px;--ez-classic-search--width:100%;--ez-classic-search__icon--width:48px;--ez-classic-search--border-radius:var(--border--radius-medium, 12px);--ez-classic-search--border-radius-small:var(--border--radius-small, 6px);--ez-classic-search--font-size:var(--text--medium, 14px);--ez-classic-search--font-family:var(--font-pattern, Arial);--ez-classic-search--font-weight--large:var(--text-weight--large, 500);--ez-classic-search--font-weight--medium:var(--text-weight--medium, 400);--ez-classic-search--background-color--xlight:var(--background--xlight, #fff);--ez-classic-search--background-medium:var(--background--medium, #f0f3f7);--ez-classic-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-classic-search__input--background-color:var(--background--medium, #e0e0e0);--ez-classic-search__input--border:var(--border--medium, 2px solid);--ez-classic-search__input--border-color:var(--ez-classic-search__input--background-color);--ez-classic-search__input--focus--border-color:var(--color--primary, #008561);--ez-classic-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-classic-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-classic-search__input--error--border-color:#CC2936;--ez-classic-search__btn--color:var(--title--primary, #2B3A54);--ez-classic-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-classic-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-classic-search__label--color:var(--title--primary, #2B3A54);--ez-classic-search__list-title--primary:var(--title--primary, #2B3A54);--ez-classic-search__list-text--primary:var(--text--primary, #626e82);--ez-classic-search__list-height:calc(var(--ez-classic-search--font-size) + var(--ez-classic-search--space--medium) + 4px);--ez-classic-search__list-min-width:64px;--ez-classic-search--space--medium:var(--space--medium, 12px);--ez-classic-search--space--small:var(--space--small, 6px);--ez-classic-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-classic-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-classic-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-classic-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-classic-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-classic-search__scrollbar--width:var(--space--medium, 12px);--ez-classic-input--helptext-color:var(--color--ocean-green-1000, #00281D);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-classic-search--width);font-family:var(--font--pattern, Arial, sans-serif)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-classic-input__input--border-color:var(--color--strokes, #dce0e8);--ez-classic-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-classic-input__input--disabled--color:var(--title--primary, #2B3A54)}.list-container{min-width:var(--ez-classic-search__list-min-width);overflow:auto;position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;min-width:150px;background-color:var(--ez-classic-search--background-color--xlight);border-radius:var(--ez-classic-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000)}.list-options{margin-top:0px;box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-classic-search__scrollbar--color-clicked) var(--ez-classic-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-classic-search__scrollbar--color-background);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-classic-search__scrollbar--color-default);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-classic-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-classic-search__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-classic-search--border-radius-small);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size);line-height:var(--ez-classic-search--line-height)}.item__label{font-weight:var(--ez-classic-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-classic-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-classic-search__list-text--primary);font-weight:var(--ez-classic-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-classic-search__list-height)}.message__no-result{color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-classic-search__list-title--primary);border-top:3px solid transparent}.item__list>li:hover{background-color:var(--ez-classic-search--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-classic-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-classic-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-classic-search__btn-disabled--color)}.btn:hover{color:var(--ez-classic-search__btn-hover--color)}.btn__close{visibility:hidden}ez-classic-input:hover .btn__close,ez-c-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}.ez-classic-search-plus__container{display:flex;flex-grow:1;gap:3px}.ez-classic-search-plus__wrapper{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.ez-classic-search-plus__label-container{display:flex;flex-grow:1;gap:3px;overflow:hidden}.ez-classic-search-plus__label-container label{overflow:hidden;text-overflow:ellipsis;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);white-space:nowrap}.ez-classic-search-plus__text-input{--ez-classic-input--border-top-left-radius:0px;--ez-classic-input--border-bottom-left-radius:0px;outline:none}.ez-classic-search-plus__code-input-no-border{--ez-classic-input--border-top-right-radius:0px;--ez-classic-input--border-bottom-right-radius:0px}.ez-classic-search-plus__code-input{max-width:85px;--ez-classic-input--padding-inline:6px;--ez-classic-input--gap:6px}.ez-classic-search-plus__code-input-full{width:100%}.description-input-container{width:100%;outline:none}.required-indicator{font-size:var(--font--size--default, 14px);font-family:var(--font--pattern, 'Roboto');color:var(--color--red-600, #BD0025);margin-left:var(--space--4, 4px);vertical-align:top}.ez-classic-search-plus__error-container{display:flex;flex-grow:1;gap:3px;overflow:hidden}.ez-classic-search-plus__error-container span{font-size:var(--font-size--xsmall, 10px);line-height:var(--line-height--16, 16px);overflow:hidden;text-overflow:ellipsis;animation:ez-helptext-fadein 0.3s ease;color:var(--ez-classic-input--helptext-color)}";export{d as ez_classic_search_plus}
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,F as s,H as o,g as r}from"./p-23a36bb6.js";import{i as a}from"./p-3b7d9f30.js";import{ArrayUtils as l,ElementIDUtils as h,StringUtils as n}from"@sankhyalabs/core";import{c,f as d,s as p,a as u}from"./p-de14fe07.js";import{a as v,r as m}from"./p-40a60148.js";var b;!function(t){t.DATASOURCE_RESULTS="DATASOURCE_RESULTS",t.DATASOURCE_RESULTS_EMPTY="DATASOURCE_RESULTS_EMPTY",t.DATASOURCE_INIT="DATASOURCE_INIT",t.OPTIONS_EMPTY="OPTIONS_EMPTY",t.OPTIONS="OPTIONS"}(b||(b={}));const g=class{constructor(e){t(this,e),this.changeFilteredOptions=i(this,"changeFilteredOptions",7),this.columnName=void 0,this.dataSource=void 0,this.useOptions=!1,this.options=void 0,this.isTextSearch=!1,this.orderSelectedFirst=!0,this.filteredOptions=void 0,this.displayOptions=void 0,this.viewScenario=void 0,this.displayOptionToCheckAllItems=!0}async componentWillLoad(){this.i18n=await a()}async clearFilteredOptions(){this.setInitialScenario(),this.filteredOptions=[],this.searchInput&&await this.searchInput.clearValue(),this.filterInput&&(this.filterInput.value="")}async clearSelection(){this.filteredOptions=[...this.filteredOptions.map((t=>(t.check=!1,t)))],this.searchInput&&await this.searchInput.clearValue(),this.filterInput&&(this.filterInput.value=""),this.changeFilteredOptions.emit(this.filteredOptions)}onChangeUseOptions(){this.setInitialScenario()}onChangeOptions(){this.options&&(this.filteredOptions=this.ordenationByCheckStateAndAlphabetically(this.options)),this.checkInput&&this.changeCheckAllValeuFromFilteredOptions(),this.setInitialScenario()}onChangeFilteredOptions(t){var i;const e=null===(i=this.filterInput)||void 0===i?void 0:i.value;this.displayOptions=e?l.applyStringFilter(e,this.filteredOptions,!0):this.filteredOptions,this.displayOptionToCheckAllItems=this.filteredOptions.length>1,this.checkInput&&this.changeCheckAllValeuFromFilteredOptions(),this.changeFilteredOptions.emit(t)}componentDidLoad(){this.onChangeOptions()}componentDidRender(){this.changeCheckAllValeuFromFilteredOptions()}ordenationByCheckStateAndAlphabetically(t){if(!this.orderSelectedFirst)return t.map((t=>null==t.value||""===t.label?Object.assign(Object.assign({},t),{label:this.i18n("ez-multi-selection-list.empty")}):t));const i=[],e=[];let s;return t.forEach((t=>{null==t.value||""===t.label?s=Object.assign(Object.assign({},t),{label:this.i18n("ez-multi-selection-list.empty")}):t.check?i.push(t):e.push(t)})),(null==s?[]:[s]).concat(null==this.dataSource?l.sortAlphabetically(i):this.dataSource.sortItems(this.columnName,i)).concat(null==this.dataSource?l.sortAlphabetically(e):this.dataSource.sortItems(this.columnName,e))}changeCheckAllValeuFromFilteredOptions(){var t,i,e,s;const o=null===(t=this.filteredOptions)||void 0===t?void 0:t.every((t=>!0===t.check)),r=null===(i=this.filteredOptions)||void 0===i?void 0:i.every((t=>!1===t.check)),a=(null===(e=this.filteredOptions)||void 0===e?void 0:e.some((t=>!1===t.check)))&&(null===(s=this.filteredOptions)||void 0===s?void 0:s.some((t=>!0===t.check)))&&(!o||!r);return this.checkInput&&o?(this.checkInput.indeterminate=!1,void(this.checkInput.value=!0)):this.checkInput&&a?(this.checkInput.indeterminate=!0,void(this.checkInput.value=!1)):this.checkInput&&r?(this.checkInput.indeterminate=!1,void(this.checkInput.value=!1)):void 0}setInitialScenario(){if(this.useOptions)return this.viewScenario=b.OPTIONS,void this.changeCheckAllValeuFromFilteredOptions();this.viewScenario=this.options&&this.options.length>0?b.DATASOURCE_RESULTS:b.DATASOURCE_INIT}async searchWithDataSource(t,i){const{argument:e,mode:s}=t;if("PRELOAD"!==s&&i)return this.dataSource.fetchData(e,i)}async handleSearchOnDataSource(t){var i;if(!t.detail)return;const e=null!==(i=this.filteredOptions)&&void 0!==i?i:[];t.detail&&!e.some((i=>i.value==t.detail.value))&&(this.filteredOptions=this.ordenationByCheckStateAndAlphabetically([...e,t.detail])),this.viewScenario=b.DATASOURCE_RESULTS,await this.searchInput.clearValue()}async handleRemoveItemFromOptions(t){this.filteredOptions=this.ordenationByCheckStateAndAlphabetically(this.filteredOptions.filter((i=>i.value!==t.value))),0===this.filteredOptions.length&&(this.viewScenario=b.DATASOURCE_INIT),this.searchInput&&await this.searchInput.clearValue()}handleSearchOnOption(t){if(t.detail)return this.displayOptions=l.applyStringFilter(t.detail,this.filteredOptions,!0),void(this.viewScenario=0===this.displayOptions.length?b.OPTIONS_EMPTY:b.OPTIONS);this.displayOptions=this.filteredOptions,this.viewScenario=b.OPTIONS}handleChangeSelectAllItems(t){const i=!!t.detail;this.filteredOptions=this.filteredOptions.map((t=>Object.assign(Object.assign({},t),{check:i})))}handleChangeSelectedItem(t){const{detail:i}=t;this.filteredOptions=this.filteredOptions.map((t=>t.label===i.label?Object.assign(Object.assign({},t),{check:i.check}):t))}buildViewList(t){return e(s,null,this.displayOptionToCheckAllItems&&e("ez-check",{ref:t=>this.checkInput=t,label:this.i18n("ez-multi-selection-list.selectAll"),class:"multi-selection__select-all",onEzChange:this.handleChangeSelectAllItems.bind(this)}),e("ez-list",{class:"multi-selection__list",dataSource:this.displayOptions.map((t=>Object.assign(Object.assign({},t),{id:t.value}))),listMode:"check",hoverFeedback:!0,onEzCheckChange:this.handleChangeSelectedItem.bind(this),itemSlotBuilder:t?this.buildDeleteIconSlot.bind(this):null}))}buildDeleteIconSlot(t){return e("ez-icon",{style:{cursor:"pointer"},iconName:"delete",onClick:()=>this.handleRemoveItemFromOptions(t)})}buildInitViewWithDataSource(){return e("multi-selection-box-message",{message:this.i18n("ez-multi-selection-list.initMessage")})}buildViewEmptyResults(){return e("multi-selection-box-message",{message:this.i18n("ez-multi-selection-list.emptyResults")})}scenarioToDisplay(t){const i={[b.DATASOURCE_INIT]:()=>this.buildInitViewWithDataSource(),[b.DATASOURCE_RESULTS]:()=>this.buildViewList(!0),[b.DATASOURCE_RESULTS_EMPTY]:()=>this.buildViewEmptyResults(),[b.OPTIONS_EMPTY]:()=>this.buildViewEmptyResults(),[b.OPTIONS]:()=>this.buildViewList(!1)}[t];return i?i():void 0}render(){return e(o,null,e("div",{class:"multi-selection"},this.useOptions?e("ez-filter-input",{ref:t=>this.filterInput=t,label:this.i18n("ez-multi-selection-list.search"),onEzChange:this.handleSearchOnOption.bind(this)}):e("ez-search",{class:"multi-selection__input",label:this.i18n("ez-multi-selection-list.search"),ref:t=>this.searchInput=t,suppressEmptyOption:!0,showOptionValue:!1,showSelectedValue:!1,optionLoader:t=>this.searchWithDataSource(t,this.columnName),onEzChange:this.handleSearchOnDataSource.bind(this),isTextSearch:this.isTextSearch}),e("ez-scroll",{class:"multi-selection__content-options"},this.scenarioToDisplay(this.viewScenario))))}static get watchers(){return{useOptions:["onChangeUseOptions"],options:["onChangeOptions"],filteredOptions:["onChangeFilteredOptions"]}}};g.style=".sc-ez-multi-selection-list-h{--ez-check--outter-gap:0px;--ez-multi-selection-default-max-height:calc(100vh - 435px);display:flex;flex-direction:column;box-sizing:border-box;width:var(--ez-multi-selection-default-width, 304px);min-width:0;max-width:100%;height:var(--ez-multi-selection-default-height, 322px);min-height:0;max-height:calc(100vh - 350px)}.multi-selection.sc-ez-multi-selection-list{display:flex;flex-direction:column;height:100%;min-height:0}.multi-selection__input.sc-ez-multi-selection-list{margin-bottom:var(--space--2xs, 8px);flex:0 0 auto}.multi-selection__content-options.sc-ez-multi-selection-list{position:relative;left:-4px;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden}.multi-selection__select-all.sc-ez-multi-selection-list{height:var(--space--xl);margin:0 var(--space--small, 6px);flex:0 0 auto}.multi-selection__list.sc-ez-multi-selection-list{max-height:var(--ez-multi-selection-default-max-height);flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:clip}.multi-selection__list.sc-ez-multi-selection-list::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";const _=class{constructor(e){t(this,e),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this.autoClose=!0,this.boxWidth="fit-content",this.opened=!1,this.overlayType="light",this.anchorElement=void 0,this.options={horizontalGap:0,verticalGap:0,fromRight:!1},this.useAnchorSize=!1,this.minWidth=150,this.fitInViewport=!0}observeOpened(t,i){t!==i&&(t?this.openPopover():this.hidePopover())}async updatePosition(t,i){this.updateOptionPosition(t,i),await this.updatePositionPopover()}async show(t,i){this.updateOptionPosition(t,i),this.opened=!0}async showUnder(t,i){i&&(this.options=i),this.anchorElement=t,this.opened=!0}async hide(){this.opened=!1}async setOptions(t){Object.assign(this.options,t)}async setAnchorElement(t){this.anchorElement=t}parseSizePixel(t,i){return t?"string"==typeof t?Number(t.replace("px","")):null!=t?t:0:null!=i?i:0}updateOptionPosition(t,i){Object.assign(this.options,{horizontalGap:this.parseSizePixel(i,this.options.horizontalGap),verticalGap:this.parseSizePixel(t,this.options.verticalGap)})}getElement(t){return"string"==typeof t?document.getElementById(t):t}getAnchorElement(){if(!this.anchorElement)return this._host;if(Array.isArray(this.anchorElement)){for(const t of this.anchorElement){const i=this.getElement(t);if(i)return i}return this._host}return this.getElement(this.anchorElement)}async updatePositionPopover(){if(!this._box||!this.opened)return;const t=this.getAnchorElement(),i=[d(),p({padding:5})];this.fitInViewport&&i.push(u({padding:5,apply:({availableWidth:t,availableHeight:i,elements:e})=>{Object.assign(e.floating.style,{maxWidth:`${Math.max(0,t)}px`,maxHeight:`${Math.max(0,i)}px`})}})),await c(t,this._box,{placement:this.options.fromRight?"bottom-end":"bottom-start",middleware:i,strategy:"fixed"}).then((({x:t,y:i,placement:e})=>{const s=e.includes("bottom")?i+this.options.verticalGap:i-this.options.verticalGap,o=e.includes("start")?t+this.options.horizontalGap:t-this.options.horizontalGap;Object.assign(this._box.style,{top:`${s}px`,left:`${o}px`})}))}hidePopover(){this._box&&(this._box.style.display="",this._box.style.maxWidth="",this._box.style.maxHeight="",this._box.style.overflow="",this.hideOverlay(),this.ezVisibilityChange.emit(!1))}async openPopover(){if(this._box&&this.opened){if(this._box.style.display="flex",this._box.style.visibility="hidden",this.useAnchorSize){const t=this.getAnchorElement().getBoundingClientRect().width;this._box.style.width=`${t<this.minWidth?this.minWidth:t}px`}await this.updatePositionPopover(),this.openOverlay(),this.ezVisibilityChange.emit(!0),this._box.style.visibility="visible"}}openOverlay(){this._overlay&&this._overlayIsActive&&(this._overlay.style.display="block")}hideOverlay(){this._overlay&&(this._overlay.style.display="none")}checkStatusOverlay(){return"none"!==this.overlayType||!("none"!==this.overlayType||!this.autoClose)}handlePositionUpdate(){this.opened&&this.updatePositionPopover()}componentWillLoad(){window.addEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.addEventListener("resize",this.handlePositionUpdate.bind(this),!0)}componentDidLoad(){this._overlayIsActive=this.checkStatusOverlay(),this._resizeObserver=new ResizeObserver(this.updatePositionPopover.bind(this)),this._resizeObserver.observe(this._box),this.openPopover()}disconnectedCallback(){window.removeEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.removeEventListener("resize",this.handlePositionUpdate.bind(this),!0),this._resizeObserver.disconnect()}render(){return e(o,null,e("div",{ref:t=>this._overlay=t,onClick:()=>this.hide(),class:`popover__overlay popover__overlay--${this.overlayType}`}),e("section",{ref:t=>this._box=t,class:{popover__box:!0,"popover__box--fit-content":"fit-content"===this.boxWidth,"popover__box--full-width":"fit-content"!==this.boxWidth}},e("slot",null)))}get _host(){return r(this)}static get watchers(){return{opened:["observeOpened"]}}};_.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--elevation--100, 100);--ez-popover__box--overlay-z-index:var(--elevation--24, 24);position:relative;display:flex;user-select:none}.popover__overlay{display:none;position:fixed;padding:0;top:0px;left:0px;width:100%;height:100vh;box-sizing:border-box;z-index:var(--ez-popover__box--overlay-z-index)}.popover__overlay--light{background-color:rgba(var(--rgb-background--overlay), var(--opacity--bright))}.popover__overlay--medium{background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.popover__box{display:none;position:fixed;top:0;left:0;z-index:var(--ez-popover__box--z-index);flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:calc(100% - 10px)}";const x=class{constructor(e){t(this,e),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this.autoClose=!0,this.boxWidth="fit-content",this.opened=!1,this.overlayType="light",this.anchorElement=void 0,this.options={horizontalGap:0,verticalGap:0,fromRight:!1},this.useAnchorSize=!1,this.minWidth=150,this.fitInViewport=!0}async observeOpened(t){t&&!this._popOverCore&&this.renderPopoverCore(),this._popOverCore.opened=t}async updatePosition(t,i){var e;await(null===(e=this._popOverCore)||void 0===e?void 0:e.updatePosition(t,i))}async show(t,i){this._popOverCore||this.renderPopoverCore(),await this._popOverCore.show(t,i)}async showUnder(t,i){this._popOverCore||this.renderPopoverCore(),await this._popOverCore.showUnder(t,i)}async hide(){var t;await(null===(t=this._popOverCore)||void 0===t?void 0:t.hide())}async setOptions(t){var i;await(null===(i=this._popOverCore)||void 0===i?void 0:i.setOptions(t))}async setAnchorElement(t){var i;await(null===(i=this._popOverCore)||void 0===i?void 0:i.setAnchorElement(t)),this.anchorElement=t}getFirstElement(t){return Array.isArray(t)&&t.length?t[0]:!Array.isArray(t)&&t.item?t.item(0):null}buildElementId(t){const i=t.filter((t=>!!t));return h.getInternalIDInfo(i.join("_"))}renderPopoverCore(){var t;this._popOverCore=document.createElement("ez-popover-core"),this._popOverCore.opened=this.opened,this._popOverCore.anchorElement=this.anchorElement,this._popOverCore.autoClose=this.autoClose,this._popOverCore.boxWidth=this.boxWidth,this._popOverCore.overlayType=this.overlayType,this._popOverCore.options=this.options,this._popOverCore.useAnchorSize=this.useAnchorSize,this._popOverCore.minWidth=this.minWidth,this._popOverCore.fitInViewport=this.fitInViewport,this._popOverCore.setAttribute("data-element-id",this.buildElementId(["ez-popover-core",this._host.getAttribute("data-element-id")])),this._popOverCore.addEventListener("ezVisibilityChange",(({detail:t})=>{this.ezVisibilityChange.emit(t),this.opened=t}));const i=this.getFirstElement(this._host.children);i?this._popOverCore.appendChild(i):console.warn("O slot do popover está vazio. Adicione conteúdo ao slot para exibição correta.");const e=document.body.querySelector("#root"),s=this.getFirstElement(document.body.getElementsByTagName("div"));(null!==(t=null!=e?e:s)&&void 0!==t?t:document.body).appendChild(this._popOverCore)}render(){return e(o,null,e("slot",null))}get _host(){return r(this)}static get watchers(){return{opened:["observeOpened"]}}};x.style=":host{display:none}";const f=class{constructor(i){t(this,i),this.message=void 0}render(){return e("div",{class:"multi-selection__message"},e("span",{class:"multi-selection__text-message"},this.message))}};f.style=".multi-selection__message{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;min-height:320px;text-align:center}.multi-selection__text-message{margin-top:-30px;font-family:var(--font-pattern);font-size:var(--text--meduim);padding:var(--space-xs);color:var(--text--primary)}";const z=class{constructor(e){t(this,e),this.changeValue=i(this,"changeValue",7),this.changePreSelection=i(this,"changePreSelection",7),this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this.MAX_HEIGHT=350,this.HEADER_MENU_HEIGHT=60,this.showLoading=void 0,this.visibleOptions=[],this.textEmptyList=void 0,this.canShowListOptions=void 0,this.value=void 0,this.showOptionValue=!0,this.preSelection=void 0}async nextOption(){const t=void 0===this.preSelection?0:Math.min(this.preSelection+1,this.visibleOptions.length-1);this.changePreSelection.emit(t),this.scrollToOption(this.visibleOptions[t])}async previousOption(){const t=void 0===this.preSelection?0:Math.max(this.preSelection-1,0);this.changePreSelection.emit(t),this.scrollToOption(this.visibleOptions[t])}selectOption(t){const i=Object.assign(Object.assign({},t),{value:v(null==t?void 0:t.value),label:v(null==t?void 0:t.label)}),e=Object.assign(Object.assign({},i),{value:m(null==i?void 0:i.value),label:m(null==i?void 0:i.label)});this.changeValue.emit(e)}createOption(t){let{key:i,title:e}=t;const s=new RegExp(this._startHighlightTag,"g"),o=new RegExp(this._endHighlightTag,"g");e=n.decodeHtmlEntities(e);const r={value:null==i?void 0:i.replace(s,"").replace(o,""),label:null==e?void 0:e.replace(s,"").replace(o,"")};this.selectOption(r)}scrollToOption(t){window.requestAnimationFrame((()=>{const i=(null==t?void 0:t.value)?this._optionsList.querySelector(`div#item_${t.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g,"\\$1")}`):void 0;i&&i.scrollIntoView({behavior:"smooth",block:"nearest"})}))}buildItem(t,i){t.label=t.label||t.value;const s={key:t.value,title:t.label,details:t.details};return e("div",{style:{height:"100%"},class:i===this.preSelection?"item preselected":"item",id:`item_${t.value}`,onMouseDown:()=>this.createOption(s),onMouseOver:()=>this.changePreSelection.emit(i)},e("ez-card-item",{item:s,compacted:!0,enableKey:this.showOptionValue}))}componentDidLoad(){this._optionsList&&(this._optionsList.style.maxHeight=`${this.MAX_HEIGHT}px`)}componentDidUpdate(){if(this._optionsList){const t=this._optionsList.getBoundingClientRect();window.innerHeight-t.bottom<0&&this.adjustMaxHeight(t)}}adjustMaxHeight(t){if(this._optionsList){const i=Math.min(t.top-this.HEADER_MENU_HEIGHT,this.MAX_HEIGHT);this._optionsList.style.maxHeight=`${i}px`}}cleanEmptyObjectArray(t){return t.filter((t=>Object.values(t).some((t=>void 0!==t))))}render(){return e(o,null,e("ul",{class:"list-options",ref:t=>this._optionsList=t},!this.showLoading&&0===this.cleanEmptyObjectArray(this.visibleOptions).length&&e("div",{class:"message"},e("span",{class:"message__no-result"},this.textEmptyList)),this.showLoading&&e("div",{class:"message"},e("div",{class:"message__loading"})),this.canShowListOptions&&this.visibleOptions.map(((t,i)=>this.buildItem(t,i)))))}};z.style=":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";export{g as ez_multi_selection_list,_ as ez_popover_core,x as ez_popover_plus,f as multi_selection_box_message,z as search_list}
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as o}from"./p-23a36bb6.js";import{ElementIDUtils as a,StringUtils as r}from"@sankhyalabs/core";const n=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.ezReorder=i(this,"ezReorder",7),this.setFocusedParam=t=>{if("Enter"===t.key){if(!this._processedTabs||void 0===this._focusedIndex)return;const i=this._processedTabs[this._focusedIndex];if(i.disabled)return void t.preventDefault();this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(i.index)}else if("ArrowLeft"===t.key||"ArrowRight"===t.key){let i;if("ArrowLeft"===t.key)i=!1;else{if("ArrowRight"!==t.key)return;i=!0}if(this._focusedIndex=this.findNextEnabledIndex(void 0!==this._focusedIndex?this._focusedIndex:this.selectedIndex,i?1:-1),void 0===this._focusedIndex)return;this.setFocusedBtn(!0,this._focusedIndex),this.setFocusedTab(this._focusedIndex)}else if("Tab"===t.key||"Escape"===t.key){if(!this._processedTabs||void 0===this.selectedIndex)return;const i=this._processedTabs[this.selectedIndex];this._focusedIndex=void 0,this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(this.selectedIndex)}},this._dragOverIndex=void 0,this._processedTabs=void 0,this.selectedIndex=void 0,this.selectedTab=void 0,this.tabs=void 0,this.reorderable=!1}observeTabs(t,i){t&&"string"!=typeof t?this._processedTabs=t:t!==i&&this.processesTabs()}observeSelectedIndex(t,i){t!==i&&void 0!==t&&this.scrollActiveTabIntoView(t)}observeSelectedTab(t,i){if(t!==i&&void 0!==t&&this._processedTabs){const i=this._processedTabs.findIndex((i=>i.tabKey===t));i>=0&&this.scrollActiveTabIntoView(i)}}async goToTab(t,i=!1){var s;const e=null===(s=this._processedTabs)||void 0===s?void 0:s.find((i=>i.index===t));e&&this.handleTabClick(e,!i)}handleTabClick(t,i=!0){var s;t.disabled||(this.selectedIndex=t.index,this._focusedIndex=void 0,this.selectedTab=t.tabKey,i&&(null===(s=this.ezChange)||void 0===s||s.emit(t)),this.setFocusedBtn(!1,t.index),this.scrollActiveTabIntoView(t.index))}scrollActiveTabIntoView(t){void 0!==t&&requestAnimationFrame((()=>{const i=this._scrollContainer;if(!i)return;const s=i.querySelector(`#tab${t}`);if(!s)return;const e=i.getBoundingClientRect(),o=s.getBoundingClientRect(),a=e.left+(this._startHidden?48:0),r=e.right-(this._endHidden?48:0);let n=0;o.left<a?n=o.left-a:o.right>r&&(n=o.right-r),0!==n&&i.scrollBy({left:n,behavior:"smooth"})}))}processesTabs(){var t;this.tabs&&(Array.isArray(this.tabs)?this._processedTabs=[...this.tabs]:(this._processedTabs=[],this.tabs.split(",").forEach((t=>{var i;t=t.trim(),null===(i=this._processedTabs)||void 0===i||i.push({label:t,tabKey:t,index:this._processedTabs.length}),this.buildElementIdTab(this._processedTabs)})))),null===(t=this._hostElem)||void 0===t||t.querySelectorAll("ez-tab").forEach((t=>{var i,s,e,o,a,r,n,l;const d=null!==(i=t.getAttribute("tabKey"))&&void 0!==i?i:"tab",h={label:null!==(s=t.getAttribute("label"))&&void 0!==s?s:"tab",tabKey:d,leftIcon:null!==(e=t.getAttribute("leftIcon"))&&void 0!==e?e:void 0,rightIcon:null!==(o=t.getAttribute("rightIcon"))&&void 0!==o?o:void 0,disabled:t.hasAttribute("disabled"),index:null!==(r=null===(a=this._processedTabs)||void 0===a?void 0:a.length)&&void 0!==r?r:0},c=t.firstChild;c&&(c.setAttribute("slot","tab"+h.index),null===(n=this._hostElem)||void 0===n||n.appendChild(c)),null===(l=this._processedTabs)||void 0===l||l.push(h),this.buildElementIdTab(this._processedTabs)}))}handleSlotChange(t){const i=t.target.assignedElements()[0];i&&(i.style.marginLeft="6px")}scrollBackward(){const t=this._scrollContainer;t&&(t.scrollLeft-=t.clientWidth)}scrollFoward(){const t=this._scrollContainer;if(t){let i=null;t.querySelectorAll(".tab").forEach((s=>{s.getBoundingClientRect().right<t.clientWidth&&(i=s)})),i&&(t.scrollLeft=i.offsetLeft+i.offsetWidth)}}updateScroll(){var t,i,s,e;const o=this._scrollContainer;if(o){const{scrollWidth:a,clientWidth:r,scrollLeft:n}=o,l=a-r-Math.ceil(n);this._startHidden=o.scrollLeft>0,this._endHidden=l>0,this._startHidden?null===(t=this._backwardButton)||void 0===t||t.classList.remove("hidden"):null===(i=this._backwardButton)||void 0===i||i.classList.add("hidden"),this._endHidden?null===(s=this._forwardButton)||void 0===s||s.classList.remove("hidden"):null===(e=this._forwardButton)||void 0===e||e.classList.add("hidden");const d=["","startHidden","endHidden","middle"],h=d[Number(this._startHidden)|Number(this._endHidden)<<1];d.forEach((t=>{t!==h&&o.classList.contains(t)&&o.classList.remove(t)})),h&&!o.classList.contains(h)&&o.classList.add(h)}}domScrollHandler(){window.clearTimeout(this._scrollCallBack),this._scrollCallBack=window.setTimeout((()=>{this.updateScroll()}),200)}setFocusedTab(t){void 0!==t&&(window.clearTimeout(this._scrollCallBackTest),this._scrollCallBackTest=window.setTimeout((()=>{var i;const s=null===(i=this._scrollContainer)||void 0===i?void 0:i.querySelector(`#tab${t}`);null==s||s.scrollIntoView()}),200))}handleDragStart(t,i){this.reorderable&&(this._dragSourceIndex=i,t.dataTransfer&&(t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",String(i))))}handleDragOver(t,i){this.reorderable&&void 0!==this._dragSourceIndex&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"),this._dragOverIndex!==i&&(this._dragOverIndex=i))}handleDragLeave(t){this._dragOverIndex===t&&(this._dragOverIndex=void 0)}handleDrop(t,i){var s;if(!this.reorderable||void 0===this._dragSourceIndex||!this._processedTabs)return;t.preventDefault();const e=this._dragSourceIndex;if(this._dragSourceIndex=void 0,this._dragOverIndex=void 0,e===i)return;const o=this.selectedTab,a=[...this._processedTabs],[r]=a.splice(e,1);if(a.splice(i,0,r),a.forEach(((t,i)=>{t.index=i})),this._processedTabs=a,void 0!==o){const t=a.findIndex((t=>t.tabKey===o));t>=0&&(this.selectedIndex=t)}null===(s=this.ezReorder)||void 0===s||s.emit(a)}handleDragEnd(){this._dragSourceIndex=void 0,this._dragOverIndex=void 0}findNextEnabledIndex(t,i){if(!this._processedTabs||0===this._processedTabs.length)return;const s=this._processedTabs.length;let e=void 0===t?i>0?-1:s:t;for(let o=0;o<s;o++){if(e+=i,e<0||e>s-1)return t;if(!this._processedTabs[e].disabled)return e}return t}setFocusedBtn(t,i){var s;if(void 0===i)return;const e=null===(s=this._scrollContainer)||void 0===s?void 0:s.querySelectorAll(".tab");null==e||e.forEach((s=>{s.classList.remove("is-focused"),s.id==="tab"+i&&t&&s.classList.add("is-focused")}))}buildElementIdTab(t=[]){t.forEach((t=>{var i;if(!t.hasOwnProperty(a.DATA_ELEMENT_ID_ATTRIBUTE_NAME)){const s=`${null===(i=this._hostElem)||void 0===i?void 0:i.getAttribute(a.DATA_ELEMENT_ID_ATTRIBUTE_NAME)}_${r.toCamelCase(t.tabKey)}`;t[a.DATA_ELEMENT_ID_ATTRIBUTE_NAME]=s}}))}componentWillLoad(){this.processesTabs()}componentDidRender(){this.updateScroll()}componentDidLoad(){var t;this._hostElem&&(a.addIDInfo(this._hostElem,"itemsSelector"),null===(t=this._hostElem.shadowRoot)||void 0===t||t.querySelectorAll('button[name="tab-button"]').forEach((t=>{var i;const s=null===(i=t.querySelector("span.tab-label"))||void 0===i?void 0:i.innerText,e={id:`${r.toCamelCase(s)}`};a.addIDInfo(t,"itemSelector",e)}))),this.scrollActiveTabIntoView(this.selectedIndex)}render(){var t;return s(e,null,s("button",{class:"backward-button",ref:t=>this._backwardButton=t,onClick:()=>this.scrollBackward()}),s("div",{class:"scroll",ref:t=>this._scrollContainer=t,onScroll:()=>this.domScrollHandler(),onKeyDown:t=>this.setFocusedParam(t)},null===(t=this._processedTabs)||void 0===t?void 0:t.map(((t,i)=>{const e="tab"+i,o=i===this.selectedIndex||this.selectedTab&&t.tabKey===this.selectedTab;return o&&(this.selectedTab=t.tabKey,this.selectedIndex=i),s("button",{id:e,name:"tab-button",class:`tab${o?" is-active":""}${t.disabled?" is-disabled":""}${this.reorderable?" is-reorderable":""}${this.reorderable&&this._dragOverIndex===i&&this._dragSourceIndex!==i?" is-drag-over":""}${this._dragSourceIndex===i?" is-dragging":""}`,disabled:t.disabled,"aria-disabled":t.disabled?"true":"false",draggable:this.reorderable&&!t.disabled,onClick:()=>this.handleTabClick(t),onDragStart:t=>this.handleDragStart(t,i),onDragOver:t=>this.handleDragOver(t,i),onDragLeave:()=>this.handleDragLeave(i),onDrop:t=>this.handleDrop(t,i),onDragEnd:()=>this.handleDragEnd()},t.leftIcon&&s("ez-icon",{iconName:t.leftIcon,class:"left-icon"}),s("span",{class:"tab-label",title:t.label},t.label),t.rightIcon&&s("ez-icon",{iconName:t.rightIcon,class:"right-icon"}),s("slot",{name:e,onSlotchange:t=>{this.handleSlotChange(t)}}))}))),s("button",{class:"forward-button",ref:t=>this._forwardButton=t,onClick:()=>this.scrollFoward()}))}get _hostElem(){return o(this)}static get watchers(){return{tabs:["observeTabs"],selectedIndex:["observeSelectedIndex"],selectedTab:["observeSelectedTab"]}}};n.style='@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--tabselector--forward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.middle{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px, #000 calc(100% - 48px), transparent calc(100% - 20px))}.scroll.endHidden{-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 48px), transparent calc(100% - 20px))}.tab{display:flex;border:none;background-color:unset;min-width:100px;max-width:260px;cursor:pointer;padding:6px 12px;align-items:center;justify-content:center;color:var(--text--primary, #626e82);font-family:var(--font-pattern, "Roboto");font-size:var(--title--small, 14px);flex-shrink:0;margin-bottom:var(--space--extra-small, 3px)}.tab:focus,.forward-button,.backward-button{outline:none}.is-active{position:relative;color:var(--color--primary, #008561)}.is-active ez-icon{--ez-icon--color:var(--color--primary, #008561)}.is-active::after{content:"";position:absolute;width:100%;height:100%;background-color:var(--color--primary, #008561);clip-path:inset(calc(100% - 3px) 0px 0px 0px);animation:activate 0.25s ease-in-out}.is-focused{border:1px dashed var(--color--primary, #000000c5)}.is-disabled,.tab:disabled{cursor:not-allowed;opacity:0.5;color:var(--text--disabled, #a0a7b4);pointer-events:none}.is-disabled ez-icon{--ez-icon--color:var(--text--disabled, #a0a7b4)}.is-reorderable:not(.is-disabled){cursor:grab}.is-reorderable:not(.is-disabled):active{cursor:grabbing}.is-dragging{opacity:0.4}.is-drag-over{box-shadow:inset 2px 0 0 0 var(--color--primary, #008561)}.tab-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:var(--text-shadow)}.forward-button,.backward-button{position:absolute;z-index:1;display:flex;box-sizing:border-box;padding:0px;top:-2px;right:0px;width:16px;height:100%;border:none;background-color:unset;cursor:pointer;justify-content:center;align-items:center}.backward-button{left:0px}.forward-button::after,.backward-button::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:10px;height:16px}.forward-button::after{-webkit-mask-image:var(--tabselector--forward-icon);mask-image:var(--tabselector--forward-icon)}.backward-button::after{-webkit-mask-image:var(--tabselector--backward-icon);mask-image:var(--tabselector--backward-icon)}.forward-button:hover::after,.backward-button:hover::after{background-color:var(--color--primary, #4e4e4e)}.hidden{display:none}.scroll::-webkit-scrollbar{display:none}.left-icon{padding-right:var(--space--small)}.right-icon{padding-left:var(--space--small)}';export{n as ez_tabselector}
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{i}from"./p-3b7d9f30.js";const o=async function(){await i(),console.log("Global initialization ez-ui completed!")};export{o as g}
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as d,h as i,H as o,g as l}from"./p-23a36bb6.js";import{FloatingManager as e,KeyboardManager as a}from"@sankhyalabs/core";import{i as n}from"./p-3b7d9f30.js";const s=class{constructor(i){t(this,i),this.ezCloseModal=d(this,"ezCloseModal",7),this.ezOpenModal=d(this,"ezOpenModal",7),this.ezModalAction=d(this,"ezModalAction",7),this.modalSize=void 0,this.align=void 0,this.heightMode="regular",this.opened=!0,this.closeEsc=!1,this.closeOutsideClick=!1,this.closeOutsideLeave=!1,this.scrim="medium"}observeOpened(){this.opened?this._overlayId=e.subscribeOverlayControl(this._modalRef):e.unsubscribeOverlayControl(this._modalRef||this._overlayId)}closeModal(){this.opened=!1,this.ezCloseModal.emit(this.opened)}async componentWillLoad(){this.i18n=await n()}componentDidLoad(){this.observeOpened(),this._keyboardManager=new a({propagate:!1,element:this._element,enableShadowDom:!0}).bind("Enter",this.ezModalAction.emit.bind("OK")).bind("Escape",(()=>this.closeModal())).bind("Esc",(()=>this.closeModal()))}componentDidRender(){this.modalFocus()}disconnectedCallback(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}modalFocus(){this.opened&&requestAnimationFrame((()=>{const t=this._element.shadowRoot.querySelector("ez-modal-container");this._modalRef&&null===t&&this._modalRef.focus()}))}onMouseDownHandler(t){this.closeOutsideClick&&t.target===this._overlay&&this.closeModal()}onMouseLeaveHandler(){this.closeOutsideLeave&&this.closeModal()}render(){const t="left"===this.align?"left":"right",d="regular"===this.heightMode?`modal__content--${t}`:"";return i(o,null,this.opened?i("div",{ref:t=>this._modalRef=t,class:`modal modal__screen-${this.scrim} ${"regular"===this.heightMode?"modal__vertical-padding":""}`,onMouseDown:t=>this.onMouseDownHandler(t),tabIndex:-1,"aria-label":this.i18n("ez-modal.close")},i("div",{class:`modal__container modal__container--${t}`,ref:t=>this._overlay=t},i("div",{onMouseLeave:()=>this.onMouseLeaveHandler(),class:`modal__content ${d} ${this.modalSize}`},i("slot",null)))):void 0)}get _element(){return l(this)}static get watchers(){return{opened:["observeOpened"]}}};s.style=":host{--ez-modal-z-index:var(--elevation--22, 22);--ez-modal-vertical-padding:var(--space--large, 24px);--ez-modal-content-padding:24px;display:block;--ez-modal-content-min-width:auto}.modal{position:fixed;display:flex;top:0px;z-index:var(--ez-modal-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;outline:none}.modal__screen-light{background:rgba(0, 4, 12, 0.1)}.modal__screen-none{background:none}.modal__screen-medium{backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.modal__vertical-padding{padding:var(--ez-modal-vertical-padding) 0}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;height:100%;box-sizing:border-box;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;box-sizing:border-box;max-height:100%;min-width:var(--ez-modal-content-min-width);height:100%;overflow-y:auto;background-color:rgb(255, 255, 255);padding:var(--ez-modal-content-padding);box-shadow:rgb(0 38 111 / 12%) 0px 0px 16px 0px}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";export{s as ez_modal}
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as i,c as s,h as t,g as e}from"./p-23a36bb6.js";import{NumberUtils as h,StringUtils as r,ElementIDUtils as n}from"@sankhyalabs/core";import{C as a}from"./p-ec7db713.js";import{i as o}from"./p-3b7d9f30.js";const l=class{constructor(t){i(this,t),this.ezChange=s(this,"ezChange",7),this.ezStartChange=s(this,"ezStartChange",7),this.ezCancelWaitingChange=s(this,"ezCancelWaitingChange",7),this._focused=!1,this._changePending=!1,this._valuePromiseCallbacks=[],this._value=void 0,this.label=void 0,this.value=void 0,this.enabled=!0,this.required=!1,this.canShowError=!0,this.errorMessage=void 0,this.allowNegative=!0,this.precision=void 0,this.prettyPrecision=void 0,this.mode="regular",this.size="default",this.autoFocus=!1,this.alternativePlaceholder=void 0}async setFocus(i){this._textInput.setFocus(i)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async getValueAsync(){return this._changePending?new Promise((i=>{this._valuePromiseCallbacks.push(i)})):Promise.resolve(this.value)}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){var i;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(i=this.errorMessage)||void 0===i?void 0:i.trim())||this.setInputValue())}observeValue(i,s){this._textInput&&i!=s&&this.handleNewValue(i,s),this._changePending=!1}observePrecision(){this._textInput&&this.setInputValue()}handleNewValue(i,s){const t=this.validateValue(i),e=this.validateValue(s);if(null===t&&(this._value=""),t===e)return;const h=this.getTextValue(t)||"",r=this.getParsedNumber(h);(this._value||"")===h||void 0===r&&this._focused||(this._value=h,this._focused=!1,this.errorMessage=""),this.ezChange.emit(null===t?void 0:t)}validateValue(i){return isNaN(i)||void 0===i?null:i}getTextValue(i){if(null==i)return;let s=this.precision>=0?h.format(i.toString(),Number(this.precision),Number(this.prettyPrecision)):i.toString();return 0===this.precision?r.replaceAll(s,".",""):s}changeValue(i){this.errorMessage="",this.value!=i?this.value=void 0===i?null:i:(this.setInputValue(),this.ezCancelWaitingChange.emit())}setError(i){this.value=null,this.errorMessage=i,this.ezCancelWaitingChange.emit()}handleBlur(){if(this._changePending)try{const i=this.getParsedNumber();if(void 0!==i&&isNaN(i))this.setError(this.i18n("ez-classic-number-input.invalidNumber"));else try{this.changeValue(i)}catch(i){return void this.setError(i.message)}}finally{for(const i of this._valuePromiseCallbacks)i(this.value);this._valuePromiseCallbacks=[]}}handleInput(){this.getParsedNumber()!==this.value&&(this._focused=!0,this._changePending=!0,this.ezStartChange.emit({waitmessage:"",blocking:!1}))}getParsedNumber(i=this._textInput.value){return(null==i?void 0:i.trim())?h.stringToNumber(i):void 0}setInputValue(){const i=this.getTextValue(this.value)||"";(this._value||"")!==i&&(this._value=i,this._textInput.value=this._value)}async componentWillLoad(){this.i18n=await o()}componentDidLoad(){a.applyVarsTextInput(this._elem,this._textInput),this.setInputValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return n.addIDInfoIfNotExists(this._elem,"input"),t("ez-classic-input",{class:"number__input","data-element-id":n.getInternalIDInfo("textInput"),ref:i=>this._textInput=i,"data-slave-mode":"true",label:this.label,onBlur:()=>this.handleBlur(),onInput:()=>this.handleInput(),enabled:this.enabled,errorMessage:this.errorMessage,size:this.size,value:this._value,required:this.required,onEzChange:i=>i.stopPropagation()})}get _elem(){return e(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"],precision:["observePrecision"],prettyPrecision:["observePrecision"]}}};l.style=":host{--ez-classic-number-input__min-width:0px;--ez-classic-number-input__max-width:100%;display:block;width:100%}.number__input{height:100%;min-width:var(--ez-classic-number-input__min-width);max-width:var(--ez-classic-number-input__max-width)}";export{l as ez_classic_number_input}
Binary file
@@ -1 +0,0 @@
1
- import{r as e,c as n,h as t,H as i,g as a}from"./p-23a36bb6.js";import{StringUtils as o,ElementIDUtils as d}from"@sankhyalabs/core";const r=class{constructor(t){e(this,t),this.ezClick=n(this,"ezClick",7),this.item=void 0,this.enableKey=!0,this.compacted=!1}componentWillRender(){this.createDetailList()}componentDidLoad(){var e,n;const t={id:o.toCamelCase((null===(e=this.item)||void 0===e?void 0:e.key)||(null===(n=this.item)||void 0===n?void 0:n.title)||"")};d.addIDInfo(this._element,null,t)}createDetailList(){var e,n,t;this._details={detailsLeft:[],detailsRight:[]};let i=0;if(null===(e=this.item)||void 0===e?void 0:e.details)for(const e in this.item.details)i<3?this._details.detailsLeft.push({label:e,value:null===(n=this.item.details[e])||void 0===n?void 0:n.toString()}):this._details.detailsRight.push({label:e,value:null===(t=this.item.details[e])||void 0===t?void 0:t.toString()}),i++}buildDetailContentTitle(e){var n,t;if(null!=(null==e?void 0:e.label)||null!=(null==e?void 0:e.value))return`${null===(n=o.replaceAccentuatedCharsHtmlEntities(null==e?void 0:e.label))||void 0===n?void 0:n.replace(/<[^>]*>/g,"")}: ${null===(t=o.replaceAccentuatedCharsHtmlEntities(null==e?void 0:e.value))||void 0===t?void 0:t.replace(/<[^>]*>/g,"")}`}buildDetailContent(e){return t("div",{class:"card-item__detail "+(this.compacted?"":"card-item__detail-default"),title:this.buildDetailContentTitle(e)},t("label",{class:"card-item__detail-label "+(this.compacted?"card-item__detail-label-compacted":"")},`${e.label}: `)," ",t("label",{class:"card-item__detail-value "+(this.compacted?"card-item__detail-value-compacted":""),innerHTML:e.value}))}render(){return t(i,null,this.item&&t("div",{class:`card-item ${this.compacted?"card-item__compacted":"card-item__expanded"} `,onClick:()=>{this.ezClick.emit(this.item)}},t("div",{class:"ez-row card-item__content"},t("div",{class:"ez-col ez-col--sd-11 card-item__details"},t("label",{class:"card-item__title "+(this.compacted?"card-item__title-compacted":"")},this.enableKey&&t("span",{class:"card-item__key",innerHTML:this.item.key}),t("span",{innerHTML:this.item.title})),t("div",{class:this.compacted?"card-item__details-container_compacted":"card-item__details-container_default"},t("div",{class:"card-item__details-container__left "+(this.compacted?"card-item__details-container__left-compacted":"")},this._details.detailsLeft.map((e=>this.buildDetailContent(e)))),t("div",{class:"card-item__details-container__right "+(this.compacted?"card-item__details-container__right-compacted":"")},this._details.detailsRight.map((e=>this.buildDetailContent(e)))))),t("div",{class:"ez-col ez-col--sd-1 card-item__details-slot"},t("slot",{name:"rightSlot"})))))}get _element(){return a(this)}};r.style=":host { \n /*@doc Define o tamanho da fonte do componente.*/\n --ez-card-item--font-size: var(--text--medium, 14px);\n\n /*@doc Define o tamanho da fonte do componente no modo compacto.*/\n --ez-card-item--font-size-compacted: var(--text--extra-small, 10px);\n\n /*@doc Define a família da fonte do componente.*/\n --ez-card-item--font-family: var(--font-pattern, Arial);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--font-weight: var(--font-weight--semi-bold, 600);\n\n /*@doc Define o peso da fonte do title do componente.*/\n --ez-card-item--font-weight-large: var(--font-weight--semi-bold, 600);\n\n /*@doc Define a cor da fonte do componente.*/\n --ez-card-item--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte da key do componente.*/\n --ez-card-item__key--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte do label do detalhe do componente.*/\n --ez-card-item__detail-label--color: var(--text--secondary, #A2ABB9);\n\n /*@doc Define a cor da fonte do valor do detalhe do componente.*/\n --ez-card-item__detail-value--color: var(--color--petroleum-500, #404E65);\n\n /*@doc Define o espaçamento inferior dos detalhes do componente.*/\n --ez-card-item__detail--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define o espaçamento inferior do title do componente.*/\n --ez-card-item__title--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define a cor do highlight / marcação nos textos do componente.*/\n --ez-card-item__highlight--color: var(--color--primary-300, #E2F4EF);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--detail-label--font-weight: var(--text-weight--large, 400);\n\n width: 100%;\n display: flex;\n cursor: pointer;\n}\n\n.card-item {\n display: flex;\n flex-direction: column;\n width: 100%;\n cursor: pointer;\n z-index: 0;\n position: relative;\n container-type: inline-size;\n container-name: box;\n white-space: pre-line;\n}\n\n.card-item__detail{\n display: inline-block;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: 0.95;\n}\n\n\n\n.card-item__expanded {\n padding: var(--space--medium);\n}\n\n.card-item:hover {\n background: #F0F3F7;\n border-radius: 12px;\n}\n\n.card-item__title {\n display: flex;\n align-items: center;\n line-height: 18px;\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight-large);\n color: var(--ez-card-item--color);\n padding-bottom: var(--ez-card-item__title--padding-bottom);\n gap: var(--space--small, 6px);\n}\n\n.card-item__key {\n /*public*/\n color: var(--ez-card-item__key--color);\n}\n\n.card-item__details {\n display: flex;\n flex-direction: column;\n cursor: pointer;\n justify-content: space-between;\n width: 100%;\n}\n\n.card-item__details-container__left {\n display: flex;\n flex-direction: column;\n white-space: pre-line;\n cursor: pointer;\n width: 50%;\n}\n\n.card-item__details-container__right {\n display: flex;\n flex-direction: column;\n white-space: pre-line;\n width: 50%;\n cursor: pointer;\n}\n\n.card-item__detail{\n cursor: pointer;\n}\n\n.card-item__detail-default:not(:last-child) {\n padding-bottom: var(--ez-card-item__detail--padding-bottom);\n}\n\n.card-item__detail-label {\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--detail-label--font-weight);\n}\n\n.card-item__detail-value {\n cursor: pointer;\n line-break: anywhere;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight);\n color: var(--ez-card-item__detail-value--color);\n}\n\n.card-item__highlight {\n position: relative;\n border-radius: 8px;\n z-index: -1;\n\n /*public*/\n background-color: var(--ez-card-item__highlight--color);\n outline: 2px solid var(--ez-card-item__highlight--color);\n box-shadow: -4px 0px 0px 0px var(--ez-card-item__highlight--color), \n 4px 0px 0px 0px var(--ez-card-item__highlight--color);\n}\n\n.card-item__content{\n display: flex;\n align-items: center;\n}\n\n.card-item__details-container_default{\n display: flex;\n}\n\n.card-item__details-slot{\n margin-left: auto;\n}\n\n/* Modo compacto */\n.card-item__compacted {\n padding: var(--space--2xs) var(--space--small);\n}\n\n.card-item__detail-label-compacted {\n font-size: var(--ez-card-item--font-size-compacted);\n}\n\n.card-item__detail-value-compacted {\n font-size: var(--ez-card-item--font-size-compacted);\n}\n\n.card-item__title-compacted {\n font-size: var(--ez-card-item--font-size-compacted);\n}\n\n.card-item__details-container__left-compacted{\n width: 100%;\n}\n\n.card-item__details-container__right-compacted {\n width: 100%;\n}\n\n\n@container box (max-width: 550px) {\n .card-item__details {\n flex-direction: column;\n }\n\n .card-item__details-container__left {\n width: 100%;\n }\n \n .card-item__details-container__right {\n width: 100%;\n }\n}\n\n@container box (max-width: 200px) {\n .card-item__title {\n font-size: 10px;\n }\n\n .card-item__detail-label {\n font-size: 10px;\n }\n\n .card-item__detail-value {\n font-size: 10px;\n }\n\n}";export{r as ez_card_item}
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,f as n,H as s,g as r}from"./p-23a36bb6.js";import{DateUtils as o,ApplicationContext as l,Action as a,StringUtils as u,KeyboardManager as h,DataUnit as d,ElementIDUtils as c}from"@sankhyalabs/core";import{b as f,a as v,S as m,f as p,c as b,D as y}from"./p-58fa7883.js";import{g as w,i as g}from"./p-3b7d9f30.js";import{F as _}from"./p-47e4a8ce.js";import"./p-320c401f.js";import"./p-ab574d59.js";import"./p-b853763b.js";import"./p-5895e687.js";const C=/child\[([^\]]+)\]/,O=/\$\{.+\}/;class j{constructor(){this._sheets=new Map,this._requiredFields=[],this._cleanOnCopyFields=[],this._defaultValues={}}static getDetailName(t){const i=C.exec(t);return i?i[1]:void 0}getSheet(t){return this._sheets.get(t)}getAllSheets(){return this._sheets}addSheet(t){this._sheets.set(t.name,t)}addRequiredFields(t){this._requiredFields=this._requiredFields.concat(t)}getRequiredFields(){return this._requiredFields}addCleanOnCopyFields(t){this._cleanOnCopyFields=this._cleanOnCopyFields.concat(t)}getCleanOnCopyFields(){return this._cleanOnCopyFields}addDefaultValues(t){return this._defaultValues=Object.assign(Object.assign({},this._defaultValues),t)}getDefaultValues(){const t={};return Object.entries(this._defaultValues).forEach((([i,e])=>{if("string"==typeof e){const t=O.exec(e);t&&(e=this.getDefaultVar(t[0]))}t[i]=e})),t}getDefaultVar(t){return"${data}"===t?o.getToday():"${datahora}"===t?o.getToday(!0):this._defaultVars?this._defaultVars.get(t):void 0}setDefaultVars(t){this._defaultVars=t}}function E(t){var i,e;return(null!==(e=null===(i=t.fields)||void 0===i?void 0:i.map(((t,i)=>({label:t.tab,name:t.tab,order:i,visible:!0,isDetail:!1,isCustom:!1}))))&&void 0!==e?e:[]).reduce(((t,i)=>t.some((t=>t.name===i.name))?t:[...t,i]),[])}const F=(t,i)=>{var e;if(!i)return;const n=null!==(e=null==i?void 0:i.tabs)&&void 0!==e?e:E(i);return null==n?void 0:n.find((i=>i.label===t))},z=(t,i,e)=>{if("string"!=typeof t)return t;if(e){const i=F(t,e);if(i)return i}return Array.from(i.keys()).find((i=>i.label===t))||{label:t,visible:!0}};function x(t,i){var e,n;return"__main"===t[0].label&&"__main"!==i[0].label?-1:"__main"!==t[0].label&&"__main"===i[0].label?1:(null!==(e=t[0].order)&&void 0!==e?e:Number.MAX_VALUE)-(null!==(n=i[0].order)&&void 0!==n?n:Number.MAX_VALUE)}const A=t=>`child[${t.name}]`,N=t=>({name:A(t),label:t.label,fields:[]});function S(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var D="function"==typeof Symbol&&Symbol.observable||"@@observable",M=function(){return Math.random().toString(36).substring(7).split("").join(".")},R={INIT:"@@redux/INIT"+M(),REPLACE:"@@redux/REPLACE"+M(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+M()}};function T(t){if("object"!=typeof t||null===t)return!1;for(var i=t;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(t)===i}function P(t,i,e){var n;if("function"==typeof i&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(S(0));if("function"==typeof i&&void 0===e&&(e=i,i=void 0),void 0!==e){if("function"!=typeof e)throw new Error(S(1));return e(P)(t,i)}if("function"!=typeof t)throw new Error(S(2));var s=t,r=i,o=[],l=o,a=!1;function u(){l===o&&(l=o.slice())}function h(){if(a)throw new Error(S(3));return r}function d(t){if("function"!=typeof t)throw new Error(S(4));if(a)throw new Error(S(5));var i=!0;return u(),l.push(t),function(){if(i){if(a)throw new Error(S(6));i=!1,u();var e=l.indexOf(t);l.splice(e,1),o=null}}}function c(t){if(!T(t))throw new Error(S(7));if(void 0===t.type)throw new Error(S(8));if(a)throw new Error(S(9));try{a=!0,r=s(r,t)}finally{a=!1}for(var i=o=l,e=0;e<i.length;e++)(0,i[e])();return t}function f(t){if("function"!=typeof t)throw new Error(S(10));s=t,c({type:R.REPLACE})}function v(){var t,i=d;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(S(11));function e(){t.next&&t.next(h())}return e(),{unsubscribe:i(e)}}})[D]=function(){return this},t}return c({type:R.INIT}),(n={dispatch:c,subscribe:d,getState:h,replaceReducer:f})[D]=v,n}const I={};function L(t=I,i){switch(i.type){case $.METADATA_LOADED:return Object.assign(Object.assign({},t),{formMetadata:i.payload,currentSheet:void 0});case $.CHANGE_TAB:return Object.assign(Object.assign({},t),{currentSheet:i.payload});default:return t}}function V(t){return t.formMetadata}function K(t){const i=function(t){return t.currentSheet}(t);return i?t.formMetadata.getSheet(i):Array.from(t.formMetadata.getAllSheets().values())[0]}var $;!function(t){t.METADATA_LOADED="FORM/METADATA_LOADED",t.CHANGE_TAB="FORM/CHANGE_TAB"}($||($={}));const q=class{constructor(e){t(this,e),this.ezFormRequestClearFieldToFocus=i(this,"ezFormRequestClearFieldToFocus",7),this.ezFormSetFields=i(this,"ezFormSetFields",7),this.ezReady=i(this,"ezReady",7),this.formItemsReady=i(this,"formItemsReady",7),this._customEditors=new Map,this._application=l.getContextValue("__SNK__APPLICATION__"),this.onDataUnitAction=t=>{t.type===a.METADATA_LOADED&&this.processMetadata()},this._fieldsProps=new Map,this._singleColumn=!1,this._formLayout=void 0,this.dataUnit=void 0,this.config=void 0,this.recordsValidator=void 0,this.fieldToFocus=void 0,this.onlyStaticFields=!1,this.useSearchField=!0,this.elementFocusSearchField=void 0,this.customUiBuilders=new Map}validate(){return this._dataBinder.validate()}async addCustomEditor(t,i,e){if(this._formView)return void this._formView.addCustomEditor(t,i,e);const n=new Map(this._customEditors);n.set(t,{customEditor:i,detailContext:e}),this._customEditors=n}observeConfig(){this.processMetadata()}async setFieldProp(t,i,e){const n=new Map(this._fieldsProps),s=this._fieldsProps.get(t);n.set(t,Object.assign(Object.assign({},s),{[i]:e})),this._fieldsProps=n}getDynamicContent(){var t;const i=V(this._store.getState());if(!i)return null;const n=Array.from(i.getAllSheets().values()),s=K(null===(t=this._store)||void 0===t?void 0:t.getState());let r=[];if(n.length>1){const t=n.map(((t,i)=>({tabKey:t.name,label:t.label,index:i}))),i="selector";r.push(e("ez-tabselector",{tabs:this.buildIdTabSelector(t),onEzChange:t=>this._store.dispatch(function(t){return{type:$.CHANGE_TAB,payload:"string"==typeof t?t:t.tabKey}}(t.detail)),selectedTab:s.name,"data-element-id":i}))}return r=r.concat(this.buildFormContent(s)),r}buildFormContent(t){const i=null==t?void 0:t.fields;if(null==t)return;this.ezFormSetFields.emit(i);const n=`${u.replaceAccentuatedChars(u.toCamelCase(null==t?void 0:t.label),!1)}_selectorContainer`;return e("div",{class:"dynamic-content ez-box--no-outline","data-element-id":n,ref:t=>this._container=t,tabindex:"0"},e("ez-popover",{ref:t=>this._ezPopoverSearchField=t,overlayType:"none"},this.renderFieldColumn()),e("ez-form-view",{ref:t=>this._formView=t,class:"ez-row ez-padding-vertical--small",fields:i,singleColumn:this._singleColumn,formLayout:this._formLayout,selectedRecord:this.dataUnit.getSelectedRecord(),customUiBuilders:this.customUiBuilders}))}renderFieldColumn(){return null!=this._fieldSearch||(this._fieldSearch=v({value:u.generateUUID(),label:this._i18n("ez-form.labelSearchField")},(({argument:t})=>this.fieldsOptionLoader(t)),(t=>this.onSelectField(t)))),this._fieldSearch}getFormFields(){var t;return null===(t=this.config)||void 0===t?void 0:t.fields}fieldsOptionLoader(t){const i=null==t?void 0:t.toLowerCase(),e=this.getFormFields().map((t=>{var i;return null===(i=this.dataUnit)||void 0===i?void 0:i.getField(t.name)})).filter((t=>{var e,n;return(null===(e=t.name)||void 0===e?void 0:e.toLowerCase().includes(i))||(null===(n=t.label)||void 0===n?void 0:n.toLowerCase().includes(i))})).map((t=>({value:t.name,label:t.label})));return Promise.resolve(e)}onSelectField(t){null!=t&&null!=t.value?(this.fieldToFocus=t.value,this._ezPopoverSearchField.hide()):this.fieldToFocus=""}async initKeyboardManager(){var t,i;this._keyboardManager=new h({propagate:!1,element:null!==(t=this.elementFocusSearchField)&&void 0!==t?t:this._element}),this.useSearchField&&this._keyboardManager.bind(m,(async()=>{if(!this._container||!this._ezPopoverSearchField)return;const t=this._container.getBoundingClientRect();await p(this._fieldSearch),this._ezPopoverSearchField.showUnder(this._container,{horizontalGap:t.width-b,verticalGap:-1*t.height})}),{description:this._i18n("ez-form.labelSearchField"),element:null!==(i=this.elementFocusSearchField)&&void 0!==i?i:this._element})}componentDidLoad(){this.initKeyboardManager()}processMetadata(){if(this.bindFields()&&this.dataUnit&&this._store){const t=((t,i,e=!1,n)=>{var s;null!=t&&!0!==(null==t?void 0:t.emptyConfig)||(t=(t=>{const i=t.metadata;let e;return i&&(e=i.fields.filter((t=>!1!==t.visible)).map((t=>({name:t.name,defaultValue:t.defaultValue})))),{emptyConfig:!1,fields:e}})(i));const r=new Map,o=new Map,l=[],a=[],u={};(null!==(s=null==t?void 0:t.tabs)&&void 0!==s?s:E(t)).forEach((t=>{o.has(t.label)||!1!==t.visible||o.set(t.label,t)})),function(t,i,e,n,s,r,o){var l;null===(l=null==t?void 0:t.fields)||void 0===l||l.forEach((l=>{var a,u,h,d,c,v;if(!1===l.visible)return;!l.tab&&(null===(u=null===(a=n.getField(l.name))||void 0===a?void 0:a.properties)||void 0===u?void 0:u.isPrimaryKey)&&(l.tab="__main");const m=z(l.tab||"Geral",i,t);if(e.has(m.label))return;const p=n.getField(l.name);if(p&&(null==(null==p?void 0:p.visible)||!0===(null==p?void 0:p.visible))&&m.visible){i.has(m)||i.set(m,[]);const t=f(p,l);null===(h=i.get(m))||void 0===h||h.push(t),t.required&&s.push(l.name),((null==l.cleanOnCopy?null===(d=p.properties)||void 0===d?void 0:d.cleanOnCopy:l.cleanOnCopy)||(null===(c=p.properties)||void 0===c?void 0:c.cleanOnCopy))&&r.push(l.name);let e=null==l.defaultValue?null===(v=p.properties)||void 0===v?void 0:v.defaultValue:l.defaultValue;if(e&&null!=e.value){const{type:t,value:i}=e;if(t)if("V"===t)e=i;else try{const t=JSON.parse(i);e=t&&"value"in t?t:i}catch(t){}o[l.name]=e}}}))}(t,r,o,i,l,a,u);const h=new j;return h.setDefaultVars(t.defaultVars),e&&function(t,i,e){const n=t.metadata;void 0!==n&&void 0!==n.children&&n.children.forEach((t=>{const n=F(t.label,i);if(n)return void e.set(Object.assign(n,{name:A(t),isDetail:!0}),[]);const{label:s,name:r,fields:o}=N(t);e.set({name:r,label:s,isDetail:!0},o)}))}(i,t,r),n&&function(t,i,e){t.forEach((t=>{const n=F(t.label,i),s={};Object.entries(t).forEach((([t,i])=>{(function(t){return["id","label"].includes(t)})(t)||(s[t]=i)})),e.set(n?Object.assign(n,{name:t.id,isCustom:!0,ctxProps:s}):{label:t.label,name:t.id,isCustom:!0,visible:!0,ctxProps:s},[])}))}(n,t,r),Array.from(r.entries()).sort(x).forEach((([t,i])=>{o.has(t.label)||h.addSheet(function(t,i){const e=w();return{label:"__main"===t.label?e("ez-form.mainTab"):t.label,name:t.name||t.label,isCustom:t.isCustom,isDetail:t.isDetail,ctxProps:t.ctxProps,fields:i}}(t,i))})),h.addRequiredFields(l),h.addCleanOnCopyFields(a),h.addDefaultValues(u),h})(this.config,this.dataUnit);this._store.dispatch({type:$.METADATA_LOADED,payload:t})}}isStatic(){var t;return(null===(t=this._staticFields)||void 0===t?void 0:t.length)>0}bindFields(){return!this.isStatic()||!1===this.onlyStaticFields}async componentWillLoad(){var t;void 0===this.dataUnit&&(this.dataUnit=new d("ez-form")),this.dataUnit.unsubscribe(this.onDataUnitAction),this.dataUnit.subscribe(this.onDataUnitAction),this._dataBinder=new y(this.dataUnit),this._store=P(L),this._store.subscribe((()=>n(this))),this._staticFields=Array.from(this._element.querySelectorAll("[data-field-name]")),this.processMetadata(),c.addIDInfo(this._element,null,{dataUnit:this.dataUnit});const i=await(null===(t=this._application)||void 0===t?void 0:t.getLayoutFormConfig());this.setSingleColumn(i),this.registerNotifyListeners(i),this._i18n=await g()}async setSingleColumn(t){this._singleColumn=(null==t?void 0:t.config)===_.CASCADE||(null==t?void 0:t.config)===_.CLASSIC_CASCADE,this._formLayout=null==t?void 0:t.config}async registerNotifyListeners(t){t&&t.onConfigChange((t=>{this._singleColumn=t===_.CASCADE||t===_.CLASSIC_CASCADE,this._formLayout=t}))}componentDidRender(){const t=V(this._store.getState());t.addRequiredFields(this._staticFields.filter((t=>t.dataset.required)).map((t=>t.dataset.fieldName))),this._dataBinder.bind(Array.from(this._element.querySelectorAll("[data-field-name]")),this.dataUnit.dataUnitId,t,this.recordsValidator),this.ezReady.emit(),this.handleFieldToFocus(),this.setCustomEditors(),this.setFieldsProps()}setCustomEditors(){if(this._formView)for(const[t,i]of this._customEditors)this._formView.addCustomEditor(t,i.customEditor,i.detailContext),this._customEditors.delete(t)}handleFieldToFocus(){var t;if(null==this.fieldToFocus)return;const i=K(null===(t=this._store)||void 0===t?void 0:t.getState());(null==i?void 0:i.fields).some((t=>t.name===this.fieldToFocus))&&requestAnimationFrame((()=>{this._dataBinder.setFocus(this.fieldToFocus),this.ezFormRequestClearFieldToFocus.emit(),this.fieldToFocus=null}))}setFieldsProps(){if(this._formView)for(const[t,i]of this._fieldsProps){for(const e in i)this._formView.setFieldProp(t,e,i[e]);this._fieldsProps.delete(t)}}disconnectedCallback(){var t;this.dataUnit.unsubscribe(this.onDataUnitAction),this._dataBinder.onDisconnectedCallback(),null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}buildIdTabSelector(t){return t&&t.forEach((t=>t[c.DATA_ELEMENT_ID_ATTRIBUTE_NAME]=u.toCamelCase(t.label))),t}render(){return e(s,null,this.isStatic()?null:this.getDynamicContent())}get _element(){return r(this)}static get watchers(){return{config:["observeConfig"]}}};q.style=".sc-ez-form-h{display:flex;flex-direction:column;width:100%}.dynamic-content.sc-ez-form ez-collapsible-box.sc-ez-form{--ez-collapsible-box__header--padding-right:var(--space-small, 6px);--ez-collapsible-box__header--padding-left:var(--space-small, 6px)}";export{q as ez_form}
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as a}from"./p-23a36bb6.js";import{DateUtils as n,ElementIDUtils as h}from"@sankhyalabs/core";import{C as o}from"./p-ec7db713.js";import{i as r}from"./p-3b7d9f30.js";const l=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.ezStartChange=i(this,"ezStartChange",7),this.ezCancelWaitingChange=i(this,"ezCancelWaitingChange",7),this.ezInput=i(this,"ezInput",7),this._changePending=!1,this._focused=!1,this._valuePromiseCallbacks=[],this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.mode="regular",this.size="default",this.required=!1,this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,i){if(this._textInput&&t!=i){const s=n.validateDate(t),e=n.validateDate(i);if((null==s?void 0:s.getTime())!==(null==e?void 0:e.getTime())){const t=this.getTextValue(s)||"";!n.strToDate(t)&&this._focused||(this._textInput.value||"")===t||(this._textInput.value=t,this._focused=!1,this.errorMessage=""),this.ezChange.emit(null===s?void 0:s)}}this._changePending=!1}async setFocus(t){this._textInput.setFocus(t)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async getValueAsync(){return this._changePending?new Promise((t=>{this._valuePromiseCallbacks.push(t)})):Promise.resolve(this.value)}changeValue(t){const i=n.validateDate(this.value),s=n.validateDate(t);(null==i?void 0:i.getTime())!==(null==s?void 0:s.getTime())?this.value=s:this._changePending=!1}async handleChangeCalendar(t){this.changeValue(this._calendar.value),this.ezInput.emit(this._calendar.value),this._popover.hide(),await this.setFocus(),t.stopPropagation()}handleBlur(){if(this._changePending)try{const t=this._textInput.value,i=n.strToDate(t);if(i||!t){this.errorMessage="";const t=n.validateDate(this.value),s=n.validateDate(i);(null==t?void 0:t.getTime())===(null==s?void 0:s.getTime())?(s&&(this._textInput.value=this.getTextValue(s)||"",this._focused=!1),this.ezCancelWaitingChange.emit()):(this._focused=!1,this.changeValue(s))}else this.changeValue(void 0),this.ezCancelWaitingChange.emit(),this.errorMessage=this.i18n("ez-classic-date-input.invalidDate")}finally{for(const t of this._valuePromiseCallbacks)t(this.value);this._valuePromiseCallbacks=[]}}getTextValue(t){return t?n.formatDate(t):void 0}handleInput(t){const i=n.strToDate(this._textInput.value),s=n.validateDate(this.value),e=n.validateDate(i);if((null==s?void 0:s.getTime())!==(null==e?void 0:e.getTime())&&(this._changePending=!0,this._focused=!0,this.ezStartChange.emit({waitmessage:"",blocking:!1})),"H"===t.data||"h"===t.data){const t=new Date;this.ezInput.emit(t),this.changeValue(t)}}setInputValue(){const t=this.getTextValue(this.value)||"";(this._textInput.value||"")!==t&&(this._textInput.value=t)}disconnectedCallback(){this._popover.hide()}async componentWillLoad(){this.i18n=await r()}componentDidLoad(){o.applyVarsTextInput(this._elem,this._textInput),this.setInputValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return h.addIDInfoIfNotExists(this._elem,"input"),s(e,null,s("ez-classic-input",{"data-element-id":h.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",label:this.label,onBlur:()=>this.handleBlur(),onInput:t=>this.handleInput(t),mask:"##/##/####",enabled:this.enabled,errorMessage:this.errorMessage,mode:this.mode,size:this.size,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder,required:this.required,leftIconName:"calendar",leftIconClickable:this.enabled,onIconClick:()=>{var t;return null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput)},onEzChange:t=>t.stopPropagation()}),s("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none","data-element-id":this._elem.getAttribute("data-element-id"),onEzVisibilityChange:t=>t.stopPropagation()},s("ez-calendar",{ref:t=>this._calendar=t,"data-element-id":h.getInternalIDInfo("calendar"),onEzChange:t=>this.handleChangeCalendar(t),value:this.value})))}get _elem(){return a(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};l.style=':host{display:block;width:100%;--ez-classic-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-classic-date-input__input--border-color:var(--ez-classic-date-input__input--background-color);--ez-classic-date-input__calendar-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>\')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-classic-date-input__calendar-image);mask-image:var(--ez-classic-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-classic-input{--text-input__input--background-color:var(--ez-classic-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-classic-date-input__input--border-color, #DCE0E8)}';export{l as ez_classic_date_input}
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as h}from"./p-23a36bb6.js";import{C as o}from"./p-ec7db713.js";import{ObjectUtils as r,StringUtils as n,ElementIDUtils as a}from"@sankhyalabs/core";import{A as l}from"./p-320c401f.js";import"./p-ab574d59.js";import"./p-b853763b.js";import{i as c}from"./p-3b7d9f30.js";import{S as d}from"./p-5895e687.js";import"./p-47e4a8ce.js";import{r as u,a as v}from"./p-40a60148.js";const p=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.ezEmptySearch=i(this,"ezEmptySearch",7),this._changeDeboucingTimeout=null,this._limitCharsToSearch=3,this._deboucingTime=300,this._maxWidthValue=0,this._tabPressed=!1,this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this._preSelection=void 0,this._visibleOptions=void 0,this._startLoading=!1,this._showLoading=!0,this._showLoadingDescription=!1,this._criteria=void 0,this.value=void 0,this.label=void 0,this.enabled=!0,this.errorMessage=void 0,this.optionLoader=void 0,this.contextProperties=void 0,this.showSelectedValue=!0,this.showOptionValue=!0,this.suppressEmptyOption=!1,this.stopPropagateEnterKeyEvent=!1,this.mode="regular",this.canShowError=!0,this.hideErrorOnFocusOut=!0,this.listOptionsPosition=void 0,this.isTextSearch=!1,this.ignoreLimitCharsToSearch=!1,this.options=void 0,this.suppressSearch=!1,this.ensureClearButtonVisible=!1,this.suppressPreLoad=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0,this.showMore=void 0,this.suppressInputPersist=!1,this.hideDescriptionInput=!1}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,!(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())&&this.errorMessage&&this.setInputValue())}getValue(t){return"object"==typeof t?null==t?void 0:t.value:t}validateNewValue(t,i){const s=this.getValue(t),e=this.getValue(i);return!("[object Object]"===s||s===e)}async observeValue(t,i){if(this._textInput&&this.validateNewValue(t,i)){if("string"==typeof t)return void await this.handleValueAsString(t);const i=this.getSelectedOption(t),s=this.getSelectedOption(this._currentValue);this.isDifferentValues(s,i)&&(this._currentValue=i,this.setInputValue(),this.ezChange.emit(null!=i?i:void 0)),this.resetOptions()}}observeOptions(t,i){!t.length&&this.suppressPreLoad||(null==t?void 0:t.join(""))!==(null==i?void 0:i.join(""))&&this.loadOptions(d.PRELOAD)}async getValueAsync(){return new Promise(this._showLoading?t=>{let i=setInterval((()=>{this._showLoading||(clearInterval(i),t(this.value))}),100)}:t=>t(this.value))}async setFocus(t){this._textInput&&this._textInput.setFocus(t)}async setBlur(){this._textInput&&this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async clearValue(){this.clearSearch()}async handleValueAsString(t){this.getSelectedOption(t)?this.setInputValue():(await this.loadDescriptionValue(t),this._currentValue&&(this.setInputValue(),this.ezChange.emit(this.value),this._currentValue=this.value))}isDifferentValues(t,i){return r.objectToString(t||{})!==r.objectToString(i||{})}getFormattedText(t){if(null==t)return;let i=this.showSelectedValue&&null!=t.value?t.label?`${t.value} - ${t.label}`:t.value:t.label;return i=null==i?void 0:i.replace(new RegExp(this._startHighlightTag,"g"),"").replace(new RegExp(this._endHighlightTag,"g"),""),i}getText(){const t=this.getSelectedOption(this._currentValue),i=this.getFormattedText(t);return u(i)}getSelectedOption(t){return"string"==typeof t||t instanceof String?this._visibleOptions.find((i=>i.value===t)):t?Object.assign(Object.assign({},t),{value:v(null==t?void 0:t.value),label:v(null==t?void 0:t.label)}):t}updateVisibleOptions(){let t=this._source||[];this._visibleOptions=this.suppressEmptyOption?t:[{value:void 0,label:""}].concat(t),this._maxWidthValue=this.getMaxWidthValue()}getMaxWidthValue(){var t;const i=[];return null===(t=this._visibleOptions)||void 0===t||t.forEach((t=>{const s=this.getWidthValue(t.value);i.includes(s)||i.push(s)})),i.length>1?Math.max(...i):0}getWidthValue(t){if(null!=this._itemValueBasis){const i=this._itemValueBasis;if(null!=t)return i.innerHTML=t,i.clientWidth>0?i.clientWidth+2:0;i.innerHTML=""}return 0}showOptions(){this.enabled&&(this.isOptionsVisible()||this._ezPopOverPlusElement.showUnder(this._textInput))}hideOptions(){this._ezPopOverPlusElement.hide()}isOptionsVisible(){return this._ezPopOverPlusElement.opened}selectCurrentOption(t=!0){void 0!==this._preSelection?(this.selectOption(this._visibleOptions[this._preSelection],t),this._preSelection=void 0):this.controlListWithOnlyOne()}updateSource(t){this._startLoading=!1,t instanceof Promise?(this._showLoading=!0,this._showLoadingDescription=!0,t.then((t=>{this.updateSource(t)})).finally((()=>{this._showLoading=!1,this._showLoadingDescription=!1})),this.updateVisibleOptions()):(this._showLoading=!1,Array.isArray(t)?(this._source=t,this.updateVisibleOptions(),this._tabPressed&&(this._tabPressed=!1,this.controlEmptySearch(!1))):this.selectOption(t))}clearSource(){this._source=[],this.updateVisibleOptions()}selectOption(t,i=!0){var s,e;const h=this.getSelectedOption(this.value),o=Object.assign(Object.assign({},t),{value:v(null==t?void 0:t.value),label:v(null==t?void 0:t.label)}),r=Object.assign(Object.assign({},o),{value:u(null==o?void 0:o.value),label:u(null==o?void 0:o.label)});if((null===(s=null==h?void 0:h.value)||void 0===s?void 0:s.toString())!==(null===(e=null==r?void 0:r.value)||void 0===e?void 0:e.toString())||null==h&&null!=r&&"value"in r){const t=(null==r?void 0:r.value)?r:void 0;this.value=t,this._currentValue=t}else this.setInputValue(),this.resetOptions();this._visibleOptions=[],this.clearSource(),i&&setTimeout((()=>{this.setFocus()}),0)}loadOptions(t,i=""){this._criteria=i,this._startLoading=!0,this.updateSource(this.optionLoader?this.optionLoader({mode:t,argument:i},this.contextProperties):this.options)}cancelPreselection(){!this._textInput.value&&this._currentValue&&this._source.length>0?this.selectOption(void 0):window.setTimeout((()=>{this.setInputValue()}),this._deboucingTime),this.resetOptions()}setInputValue(t=!0){if(this.suppressInputPersist)return void this.clearSearch();const i=this.getText();(this._textInput.value||"")!==i&&(this._textInput.value=i,t&&(this.errorMessage=null))}clearSearch(){this.value=null,this._currentValue=null,this._textInput.value="",this.ezChange.emit(null)}controlListWithOnlyOne(t=!0){var i,s;const e=null===(i=this._visibleOptions)||void 0===i?void 0:i.filter((t=>""!==t.label&&null!=t.value));if((null==e?void 0:e.length)>0){const i=new RegExp(this._startHighlightTag,"g"),h=new RegExp(this._endHighlightTag,"g");let o=n.decodeHtmlEntities(e[0].label);const r={value:null===(s=e[0].value)||void 0===s?void 0:s.replace(i,"").replace(h,""),label:null==o?void 0:o.replace(i,"").replace(h,"")};this.selectOption(r,t)}}controlEmptySearch(t=!0){var i;(null===(i=this._visibleOptions)||void 0===i?void 0:i.length)?this.controlListWithOnlyOne(t):(this.clearSearch(),l.info(this.i18n("ez-search.emptyList")))}async loadDescriptionValue(t){var i,s,e;if(null==t)return;if((null===(i=this.options)||void 0===i?void 0:i.length)>0)return void this.loadOptionValue(t);const h={mode:this.hideDescriptionInput?d.LOAD_DESCRIPTION:d.PREDICTIVE,argument:t};try{const t=await(null===(s=this.optionLoader)||void 0===s?void 0:s.call(this,h,this.contextProperties));if(null==t)return;t instanceof Promise?t.then((t=>{this.setDescriptionValue(t)})):this.setDescriptionValue(t)}catch(t){throw"WarningException"===(null===(e=null==t?void 0:t.constructor)||void 0===e?void 0:e.name)&&(this.errorMessage=t.message),t}}setDescriptionValue(t){const i=(null==t?void 0:t[0])||t;null!=i&&Object.keys(i).length?(this._currentValue=i?Object.assign(Object.assign({},i),{value:v(i.value),label:v(i.label)}):i,this.value=this._currentValue,this.setTextInputValue()):this.showNoResultMessage()}setTextInputValue(){if(this._textInput&&null==this._textInput.value){if(null==this.value)return;const t="string"==typeof this.value?this.value:this.getFormattedText(this.value);this._textInput.value=u(t)}}loadOptionValue(t){var i;const s=null===(i=this.options)||void 0===i?void 0:i.find((i=>i.value===t));null!=s?this.selectOption(s):this.showNoResultMessage()}async showNoResultMessage(){var t;const i="string"==typeof this.value?this.value:null===(t=this.value)||void 0===t?void 0:t.value;this.clearSearch(),this.ezEmptySearch.emit(i);const s=this.i18n("ez-search.emptySearch",{field:this.getFieldLabel()});this.errorMessage=s,await l.info(s)}getFieldLabel(){var t;return null===(t=this.label)||void 0===t?void 0:t.replace(this.i18n("app.requiredInfo"),"").toUpperCase()}resetOptions(){this.showMore?this.handleResetOptionsWithShowMoreVisible():(this.hideOptions(),this._criteria=void 0,this._preSelection=void 0,this.updateVisibleOptions())}handleResetOptionsWithShowMoreVisible(){setTimeout((()=>{this.hideOptions(),this._criteria=void 0,this._preSelection=void 0,this.updateVisibleOptions()}),100)}async handleInitialValue(){if(!this.getValue(this.value))return;if("string"==typeof this.value)return void await this.handleValueAsString(this.value);let t=this.getFormattedText(this.value);t=u(t),this._textInput.value=t}async componentWillLoad(){if(this.i18n=await c(),void 0===this.options){this.options=[];const t=this.el.querySelectorAll("option");t&&t.forEach((t=>{let i=t.innerText,s=t.getAttribute("value"),e=t.getAttribute("details");s||(s=i),this.options.push({label:i,value:s,details:e}),t.hidden=!0}))}this.updateSource([])}componentDidRender(){var t;null===(t=this._optionsList)||void 0===t||t.querySelectorAll(".item").forEach((t=>{a.addIDInfoIfNotExists(t,"itemSearch")}))}async componentDidLoad(){this._currentValue=this.value,o.applyVarsTextInput(this.el,this._textInput),this._resizeObserver=new ResizeObserver((t=>{window.requestAnimationFrame((()=>{Array.isArray(t)}))})),this._intersectionObserver=new IntersectionObserver((t=>{t.forEach((t=>{!t.isIntersecting&&this._ezPopOverPlusElement&&this._ezPopOverPlusElement.hide()}))}),{threshold:.1}),this._textInput&&this._intersectionObserver.observe(this._textInput),await this.handleInitialValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}disconnectedCallback(){var t,i;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),null===(i=this._intersectionObserver)||void 0===i||i.disconnect()}handlerIconClick(){this.loadOptions(d.ADVANCED)}buildNumberArgument(t){return this.isTextSearch?NaN:Number(t||void 0)}onTextInputChangeHandler(t){var i;if(this.clearDeboucingTimeout(),this._startLoading)return void(this._changeDeboucingTimeout=window.setTimeout((()=>{this.onTextInputChangeHandler(t)}),this._deboucingTime));const s=null===(i=t.target.value)||void 0===i?void 0:i.trim(),e=this.buildNumberArgument(s);this._criteria||(this._textInput.value=t.data||s),this._criteria=s,s?(this._showLoading=!1,this.clearSource(),this.ignoreLimitCharsToSearch||!isNaN(e)||s.length>=this._limitCharsToSearch?(this._showLoading=!0,this._changeDeboucingTimeout=window.setTimeout((()=>{this.loadOptions(d.PREDICTIVE,isNaN(e)?s:e.toString())}),this._deboucingTime),this.showOptions()):this.hideOptions()):(this.hideOptions(),this._showLoading=!1,this.clearSource())}clearDeboucingTimeout(){this._changeDeboucingTimeout&&(window.clearTimeout(this._changeDeboucingTimeout),this._changeDeboucingTimeout=null)}async keyDownHandler(t){switch(this._tabPressed=!1,t.ctrlKey&&("f"!==t.key&&"F"!==t.key||(this.loadOptions(d.ADVANCED),t.stopPropagation(),t.stopImmediatePropagation(),t.preventDefault())),t.key){case"ArrowDown":t.stopPropagation(),this.canShowListOptions()&&t.preventDefault(),this.isOptionsVisible()||this.showOptions(),await this._searchList.nextOption();break;case"ArrowUp":t.stopPropagation(),this.canShowListOptions()&&t.preventDefault(),await this._searchList.previousOption();break;case"Enter":this.handleEventPropagation(t),this.selectCurrentOption();break;case"Escape":this.cancelPreselection();break;case"Tab":this._tabPressed=!0,this.selectCurrentOption(!1)}}handleEventPropagation(t){this._ezPopOverPlusElement.opened&&this.stopPropagateEnterKeyEvent&&t.stopPropagation()}onTextInputFocusOutHandler(){this.hideErrorOnFocusOut&&this.cancelPreselection()}canShowListOptions(){return!this._showLoading&&this._visibleOptions.length>0}canShowLoadSpinDescription(){return this._showLoadingDescription&&!this._ezPopOverPlusElement.opened}onChangePreSelection(t){this._preSelection=t}async handleClickShowMore(){var t,i;if(!this.optionLoader)return;const s=null!==(i=null===(t=this._textInput)||void 0===t?void 0:t.value)&&void 0!==i?i:"",e={mode:d.ADVANCED,argument:s},h=await this.optionLoader(e,this.contextProperties);h&&!Array.isArray(h)&&this.selectOption(h)}renderShowMore(){if(this.showMore&&!this._showLoading)return s("div",{style:{display:"flex",justifyContent:"center"},"data-element-id":a.getInternalIDInfo("showMore")},s("ez-button",{onClick:async()=>await this.handleClickShowMore(),variant:"tertiary",style:{width:"100%",justifyContent:"center"},label:this.i18n("ez-search.showMore")}))}render(){var t;return a.addIDInfoIfNotExists(this.el,"input"),s(e,null,s("ez-text-input",{"data-element-id":a.getInternalIDInfo("textInput"),class:this.suppressSearch?"suppressed-search-input":"",ref:t=>this._textInput=t,"data-slave-mode":"true",enabled:this.enabled&&!this.suppressSearch,onInput:t=>this.onTextInputChangeHandler(t),onFocusout:()=>this.onTextInputFocusOutHandler(),onKeyDown:t=>this.keyDownHandler(t),label:this.label,canShowError:this.canShowError,errorMessage:this.errorMessage,mode:this.mode,alternativePlaceholder:this.alternativePlaceholder},s("button",{class:"btn",slot:"leftIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.handlerIconClick()},this.canShowLoadSpinDescription()?s("div",{class:"message__loading"}):s("ez-icon",{iconName:"search"})),(null===(t=this._textInput)||void 0===t?void 0:t.value)&&(this._criteria||this.value)||this.ensureClearButtonVisible?s("button",{class:"btn btn__close",slot:"rightIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.clearSearch()},s("ez-icon",{iconName:"close"})):void 0),s("ez-popover-plus",{ref:t=>this._ezPopOverPlusElement=t,autoClose:!1,overlayType:"none",useAnchorSize:!0,anchorElement:[this._textInput,this.el],"data-element-id":this.el.getAttribute("data-element-id"),onEzVisibilityChange:t=>t.stopPropagation()},s("div",null,s("search-list",{ref:t=>this._searchList=t,showLoading:this._showLoading,visibleOptions:this._visibleOptions,textEmptyList:this.i18n("ez-search.emptyList"),canShowListOptions:this.canShowListOptions(),value:this.value,showOptionValue:this.showOptionValue,preSelection:this._preSelection,onChangeValue:({detail:t})=>this.selectOption(t),onChangePreSelection:({detail:t})=>this.onChangePreSelection(t)}),this.renderShowMore())))}get el(){return h(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],value:["observeValue"],options:["observeOptions"]}}};p.style=":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search--min-width:0;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width);min-width:var(--ez-search--min-width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}";export{p as ez_search}
Binary file
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as a,H as n,g as e}from"./p-23a36bb6.js";import{i as o}from"./p-3b7d9f30.js";import{Action as s,ElementIDUtils as r}from"@sankhyalabs/core";const l="ez-grid-pagination:ask-cancel",c=class{constructor(a){i(this,a),this.pageChange=t(this,"pageChange",7),this._dataUnitInitialized=!1,this._pendingResolve=null,this._collapseTimeout=null,this._suppressedUntilNextAsk=!1,this._hoverEnabled=!1,this.handleLoadAllChange=i=>{this.loadAll=i.target.checked},this.handleAskCancelPagination=i=>{const t=i.detail;if(!t||!this.dataUnit)return;if(t.dataUnitName!==this.dataUnit.name)return;this.resolvePending("CONTINUE"),this._pendingResolve=t.resolve,this._suppressedUntilNextAsk=!1,this._hoverEnabled=!0,this.loadAll=!1;const a=this._cancelPaginationPopoverElement;a&&!a.opened&&"function"==typeof a.showAbove&&a.showAbove({bottom:"4px",right:"4px"})},this.paginationInfo=void 0,this.leftButtonDisabled=void 0,this.rightButtonDisabled=void 0,this.expanded=!1,this.loadAll=!1,this.paginationCounterMode="auto",this.dataUnit=void 0,this.paginationTextPosition="left",this.buttonsSize="large"}async previousPage(){this.dataUnit&&(await this.dataUnit.previousPage(),this.handlePageChange("previous"))}async nextPage(){this.dataUnit&&(await this.dataUnit.nextPage(),this.handlePageChange("next"))}async firstPage(){this.dataUnit&&(await this.dataUnit.gotoPage(0),this.handlePageChange("previous"))}async lastPage(){this.dataUnit&&(await this.dataUnit.gotoPage(this.getTotalPages()-1),this.handlePageChange("next"))}onDataUnitChange(){this.initializeDataUnit()}shouldPresentPaginationLabel(){return"hidden"!==this.paginationCounterMode}getRemainingPageLabel(){var i;return this.paginationInfo?`${null==this.paginationInfo.total?this.i18n("ez-grid-pagination.remainingPageLabel",{count:(null!==(i=this.paginationInfo.count)&&void 0!==i?i:0)+1}):this.i18n("ez-grid-pagination.remainingTotalLabel",{total:this.paginationInfo.total,count:this.paginationInfo.count})}`:""}getActualPageLabel(){var i,t;return this.paginationInfo?`${null!==(i=this.paginationInfo.firstRecord)&&void 0!==i?i:0} - ${null!==(t=this.paginationInfo.lastRecord)&&void 0!==t?t:0}`:"0-0"}getPaginationCount(){var i;if(!this.paginationInfo||!this.dataUnit)return"0-0";const t=(null!==(i=this.paginationInfo.currentPage)&&void 0!==i?i:0)+1;let a=this.getTotalPages();return this.i18n("ez-grid-pagination.pageCounter",{currentPage:t,totalPages:a})}getTotalPages(){var i;return void 0!==this.paginationInfo.total?Math.ceil(this.paginationInfo.total/this.dataUnit.pageSize):Math.ceil((null!==(i=this.paginationInfo.count)&&void 0!==i?i:0)/this.dataUnit.pageSize)}handlePageChange(i){this.setPaginationInfo(),this.setStatusButtonPagination(),this.pageChange.emit(i)}resolvePending(i){if(!this._pendingResolve)return;const t=this._pendingResolve;this._pendingResolve=null,t(i)}async handleCancelAction(){if(!this.dataUnit)return;this.dataUnit.cancelPagination=!0,this.resolvePending("CANCEL"),this._suppressedUntilNextAsk=!0,this.collapse();const i=this._cancelPaginationPopoverElement;i&&"function"==typeof i.hide&&await i.hide()}async handleContinueAction(){this.resolvePending(this.loadAll?"LOAD_ALL":"CONTINUE"),this._suppressedUntilNextAsk=!0,this.loadAll=!1,this.collapse();const i=this._cancelPaginationPopoverElement;i&&"function"==typeof i.hide&&await i.hide()}handleShowCancelPagination(){const i=this._cancelPaginationPopoverElement;if(!this.hasToShowCancelPagination()){if(this._pendingResolve)return;return i&&"function"==typeof i.hide&&i.hide(),this._hoverEnabled=!1,void this.collapse()}this._suppressedUntilNextAsk||(null==i?void 0:i.opened)||i&&"function"==typeof i.showAbove&&i.showAbove({bottom:"4px",right:"4px"})}hasToShowCancelPagination(){return!(!this.dataUnit||!this.paginationInfo)&&(!this.dataUnit.cancelPagination&&void 0===this.paginationInfo.total&&this.paginationInfo.count>this.dataUnit.pageSize)}expand(){this._hoverEnabled&&(this._collapseTimeout&&(clearTimeout(this._collapseTimeout),this._collapseTimeout=null),this.expanded=!0)}collapse(){this._collapseTimeout&&(clearTimeout(this._collapseTimeout),this._collapseTimeout=null),this.expanded=!1}scheduleCollapse(){this._collapseTimeout&&clearTimeout(this._collapseTimeout),this._collapseTimeout=setTimeout((()=>{this._collapseTimeout=null,this.expanded=!1}),120)}setPaginationInfo(){this.paginationInfo=this.dataUnit&&this.dataUnit.getPaginationInfo()||null}dataUnitObserver(i){switch(i.type){case s.PAGINATION_UPDATED:this.setPaginationInfo(),this.setStatusButtonPagination(),this.handleShowCancelPagination();break;case s.DATA_LOADED:this.setPaginationInfo()}}getLeftButtonDisabledStatus(){var i,t;return!this.dataUnit||(null!==(t=null===(i=this.paginationInfo)||void 0===i?void 0:i.currentPage)&&void 0!==t?t:0)<=0}getRightButtonDisabledStatus(){var i;return!this.dataUnit||!(null===(i=this.paginationInfo)||void 0===i?void 0:i.hasMore)}setStatusButtonPagination(){this.leftButtonDisabled=this.getLeftButtonDisabledStatus(),this.rightButtonDisabled=this.getRightButtonDisabledStatus()}initializeDataUnit(){this.dataUnit&&!this._dataUnitInitialized&&(this.setPaginationInfo(),this.setStatusButtonPagination(),this._dataUnitObserverBound=this.dataUnitObserver.bind(this),this.dataUnit.subscribe(this._dataUnitObserverBound),this._dataUnitInitialized=!0)}addInfoId(){this._element&&r.addIDInfo(this._element)}renderCollapsedTrigger(){return a("div",{class:"cancel-pagination__trigger"},a("ez-icon",{iconName:"sync",size:"x-large",class:"spin"}),a("span",{class:"cancel-pagination__label"},this.i18n("ez-grid-pagination.paginationLabel")))}renderExpandedContent(){return a("div",{class:"cancel-pagination__expanded",role:"group","aria-label":this.i18n("ez-grid-pagination.paginationLabel")},a("div",{class:"cancel-pagination__trigger cancel-pagination__trigger--expanded"},a("ez-icon",{iconName:"ellipsis-circle",size:"large",class:"spin"}),a("span",{class:"cancel-pagination__label"},this.i18n("ez-grid-pagination.paginationLabel"))),a("hr",{class:"cancel-pagination__divider","aria-hidden":"true"}),a("p",{class:"cancel-pagination__message"},this.i18n("ez-grid-pagination.largeLoad.line1")),a("p",{class:"cancel-pagination__message"},this.i18n("ez-grid-pagination.largeLoad.line2")),a("p",{class:"cancel-pagination__question"},this.i18n("ez-grid-pagination.largeLoad.line3")),a("label",{class:"cancel-pagination__checkbox"},a("input",{type:"checkbox",checked:this.loadAll,onChange:this.handleLoadAllChange}),a("span",null,this.i18n("ez-grid-pagination.largeLoad.loadAll"))),a("div",{class:"cancel-pagination__actions"},a("ez-button",{class:"cancel-pagination__continue-btn",label:this.i18n("ez-grid-pagination.largeLoad.continue"),size:"small",onClick:()=>this.handleContinueAction()}),a("ez-button",{class:"cancel-pagination__cancel-btn ez-button--primary",label:this.i18n("ez-grid-pagination.largeLoad.cancel"),size:"small",onClick:()=>this.handleCancelAction()})))}renderCancelPagination(){return a("ez-popover",{class:"cancel-pagination__popover",ref:i=>this._cancelPaginationPopoverElement=i,"overlay-type":"none",autoClose:!1},a("div",{class:{"cancel-pagination":!0,"cancel-pagination--expanded":this.expanded},onMouseEnter:()=>this.expand(),onMouseLeave:()=>this.scheduleCollapse()},this.expanded?this.renderExpandedContent():this.renderCollapsedTrigger()))}async connectedCallback(){this._askCancelListenerBound=this.handleAskCancelPagination.bind(this),document.addEventListener(l,this._askCancelListenerBound),this.i18n=await o(),this.initializeDataUnit()}componentDidLoad(){this.addInfoId()}disconnectedCallback(){this._askCancelListenerBound&&(document.removeEventListener(l,this._askCancelListenerBound),this._askCancelListenerBound=void 0),this._collapseTimeout&&(clearTimeout(this._collapseTimeout),this._collapseTimeout=null),this.resolvePending("CONTINUE"),this.dataUnit&&this._dataUnitInitialized&&this._dataUnitObserverBound&&this.dataUnit.unsubscribe(this._dataUnitObserverBound)}render(){return a(n,null,a("div",{id:"grid-pagination--container",class:{pagination__container:!0,"pagination-expanded":"hidden"!==this.paginationCounterMode,"pagination-contracted":"hidden"===this.paginationCounterMode,"pagination-text-right":"right"===this.paginationTextPosition}},a("div",{id:"grid-pagination--page-navigator",class:"pagination__page-navigator"},a("div",{id:"grid-pagination--row-summary-panel",class:"pagination__row-summary-panel"},a("span",{class:"pagination__label","aria-live":"polite","aria-atomic":"true",title:`${this.getActualPageLabel()} ${this.getRemainingPageLabel()}`},this.shouldPresentPaginationLabel()&&this.getActualPageLabel(),this.shouldPresentPaginationLabel()&&this.getRemainingPageLabel())),this.renderCancelPagination(),a("div",{id:"grid-pagination--page-summary-panel",class:{"pagination__page-summary-panel":!0,pagination__container:!0,"pagination-expanded":"hidden"!==this.paginationCounterMode,"pagination-contracted":"hidden"===this.paginationCounterMode,"pagination-text-right":"right"===this.paginationTextPosition}},a("div",{id:"grid-pagination--first-tooltip",class:{"pagination__buttons-container":!0,disabled:this.leftButtonDisabled}},a("ez-tooltip",{message:this.i18n("ez-grid-pagination.firstPage")},a("ez-icon",{size:this.buttonsSize,iconName:"dual-chevron-left",onClick:()=>!this.leftButtonDisabled&&this.firstPage()}))),a("div",{id:"grid-pagination--previous-tooltip",class:{"pagination__buttons-container":!0,disabled:this.leftButtonDisabled}},a("ez-tooltip",{message:this.i18n("ez-grid-pagination.previousPage")},a("ez-icon",{size:this.buttonsSize,iconName:"chevron-left",onClick:()=>!this.leftButtonDisabled&&this.previousPage()}))),a("div",{class:"pagination__container-label"},a("span",{class:"pagination__label","aria-live":"polite","aria-atomic":"true",title:`${this.getActualPageLabel()} ${this.getRemainingPageLabel()}`},this.shouldPresentPaginationLabel()&&this.getPaginationCount())),a("div",{id:"grid-pagination--next-tooltip",class:{"pagination__buttons-container":!0,disabled:this.rightButtonDisabled}},a("ez-tooltip",{message:this.i18n("ez-grid-pagination.nextPage")},a("ez-icon",{size:this.buttonsSize,iconName:"chevron-right",onClick:()=>!this.rightButtonDisabled&&this.nextPage()}))),a("div",{id:"grid-pagination--last-tooltip",class:{"pagination__buttons-container":!0,disabled:this.rightButtonDisabled}},a("ez-tooltip",{message:this.i18n("ez-grid-pagination.lastPage")},a("ez-icon",{size:this.buttonsSize,iconName:"dual-chevron-right",onClick:()=>!this.rightButtonDisabled&&this.lastPage()})))))))}get _element(){return e(this)}static get watchers(){return{dataUnit:["onDataUnitChange"]}}};c.style=":host{display:block}.pagination__container{display:flex;align-items:center;flex-grow:1;flex-shrink:1;flex-wrap:nowrap;justify-content:flex-end;position:relative}ez-popover.cancel-pagination__popover{position:absolute;right:0;bottom:100%;width:0;height:0}.pagination__buttons-container{display:flex;border-radius:50%;background-color:var(--color--ocean-green-90, #E1E2E5);cursor:pointer}.pagination__buttons-container ez-icon{--ez-icon--color:var(--color--ocean-green-600, #008561)}.pagination__buttons-container.disabled{background-color:#DEDEDE;cursor:not-allowed;pointer-events:auto}.pagination__buttons-container.disabled ez-icon{--ez-icon--color:var(--color--petroleum-300, #848D9C);pointer-events:none}.pagination__page-navigator{display:flex;align-items:center}.pagination__row-summary-panel{font-size:var(--font-size--default, 14px);font-family:var(--font--pattern, 'Roboto');color:var(--color--petroleum-300, #848D9C);font-weight:var(--font-weight--regular, 400);padding:var(--space--8, 8px) var(--space--16, 16px)}.pagination__page-summary-panel{display:flex;align-items:center;padding:var(--space--8, 8px) var(--space--16, 16px);gap:var(--space--4, 4px)}.pagination__container-label{margin:0 var(--space--8, 8px)}.pagination-contracted{width:100px}.pagination-expanded{min-width:150px}.pagination__label{font-family:var(--font--pattern, 'Roboto');color:var(--color--petroleum-300, #848D9C);font-weight:var(--font-weight--regular, 400);width:100%;white-space:nowrap}.cancel-pagination{display:flex;flex-direction:column;padding:var(--space--12, 12px);gap:var(--space--16, 16px);min-width:304px;max-width:180px;transition:min-width 220ms cubic-bezier(0.4, 0, 0.2, 1),\n max-width 220ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}.cancel-pagination--expanded{min-width:304px}.cancel-pagination__expanded{animation:cancel-pagination-fade-in 220ms cubic-bezier(0.4, 0, 0.2, 1) 60ms both}@keyframes cancel-pagination-fade-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.cancel-pagination__trigger{display:flex;flex-direction:row;align-items:center;gap:var(--space--16, 16px);padding:var(--space--4, 4px);border-radius:var(--border-radius--small, 4px);cursor:pointer;outline:none}.cancel-pagination__trigger:focus-visible{box-shadow:0 0 0 2px var(--color--ocean-green-600, #008561)}.cancel-pagination__trigger--expanded{cursor:default;padding-bottom:var(--space--4, 4px)}.cancel-pagination__divider{border:0;border-top:1px solid var(--color--petroleum-100, #C8CCD3);width:100%}.cancel-pagination__label{color:var(--color--petroleum-700, #2E3742);font-size:var(--font-size--medium, 16px);font-weight:var(--font-weight--semi-bold, 600);font-family:var(--font--pattern, 'Roboto');white-space:nowrap}.cancel-pagination__expanded{display:flex;flex-direction:column;gap:var(--space--8, 8px)}.cancel-pagination__message{color:var(--color--petroleum-500, #4A5567);font-size:var(--font-size--default, 14px);font-family:var(--font--pattern, 'Roboto');font-weight:var(--font-weight--regular, 400);margin:0;line-height:1.4}.cancel-pagination__question{color:var(--color--petroleum-700, #2E3742);font-size:var(--font-size--default, 14px);font-family:var(--font--pattern, 'Roboto');font-weight:var(--font-weight--semi-bold, 600);margin-top:16px;margin-bottom:8px}.cancel-pagination__checkbox{display:flex;flex-direction:row;align-items:center;gap:var(--space--8, 8px);color:var(--color--petroleum-700, #2E3742);font-size:var(--font-size--default, 14px);font-family:var(--font--pattern, 'Roboto');cursor:pointer}.cancel-pagination__checkbox input[type=\"checkbox\"]{cursor:pointer;accent-color:var(--color--ocean-green-600, #008561)}.cancel-pagination__actions{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--space--8, 8px);padding-top:var(--space--4, 4px)}.spin{animation-name:spin;animation-duration:5000ms;animation-iteration-count:infinite;animation-timing-function:linear;--ez-icon--color:var(--color--ocean-green-600, #008561)}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.pagination-text-right{flex-direction:row-reverse}";export{c as ez_grid_pagination}
Binary file
@@ -1 +0,0 @@
1
- const t=Math.min,n=Math.max,e=Math.round,o=Math.floor,r=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function a(e,o,r){return n(e,t(o,r))}function c(t,n){return"function"==typeof t?t(n):t}function s(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function f(t){return"x"===t?"y":"x"}function d(t){return"y"===t?"height":"width"}const m=new Set(["top","bottom"]);function p(t){return m.has(s(t))?"y":"x"}function y(t){return f(p(t))}function h(t){return t.replace(/start|end/g,(t=>l[t]))}const w=["left","right"],g=["right","left"],x=["top","bottom"],v=["bottom","top"];function b(t){return t.replace(/left|right|bottom|top/g,(t=>i[t]))}function A(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function S(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function R(t,n,e){let{reference:o,floating:r}=t;const i=p(n),l=y(n),a=d(l),c=s(n),f="y"===i,m=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,w=o[a]/2-r[a]/2;let g;switch(c){case"top":g={x:m,y:o.y-r.height};break;case"bottom":g={x:m,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(u(n)){case"start":g[l]-=w*(e&&f?-1:1);break;case"end":g[l]+=w*(e&&f?-1:1)}return g}async function F(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=c(n,t),y=A(p),h=a[m?"floating"===d?"reference":"floating":d],w=S(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:s})),g="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=S(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:s}):g);return{top:(w.top-b.top+y.top)/v.y,bottom:(b.bottom-w.bottom+y.bottom)/v.y,left:(w.left-b.left+y.left)/v.x,right:(b.right-w.right+y.right)/v.x}}const k=new Set(["left","top"]);function O(){return"undefined"!=typeof window}function C(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){var n;return null==(n=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function M(t){return!!O()&&(t instanceof Node||t instanceof T(t).Node)}function P(t){return!!O()&&(t instanceof Element||t instanceof T(t).Element)}function z(t){return!!O()&&(t instanceof HTMLElement||t instanceof T(t).HTMLElement)}function L(t){return!(!O()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof T(t).ShadowRoot)}const B=new Set(["inline","contents"]);function E(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=G(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!B.has(r)}const H=new Set(["table","td","th"]);function I(t){return H.has(C(t))}const N=[":popover-open",":modal"];function j(t){return N.some((n=>{try{return t.matches(n)}catch(t){return!1}}))}const q=["transform","translate","scale","rotate","perspective"],W=["transform","translate","scale","rotate","perspective","filter"],$=["paint","layout","strict","content"];function V(t){const n=X(),e=P(t)?G(t):t;return q.some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||W.some((t=>(e.willChange||"").includes(t)))||$.some((t=>(e.contain||"").includes(t)))}function X(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Y=new Set(["html","body","#document"]);function _(t){return Y.has(C(t))}function G(t){return T(t).getComputedStyle(t)}function J(t){return P(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if("html"===C(t))return t;const n=t.assignedSlot||t.parentNode||L(t)&&t.host||D(t);return L(n)?n.host:n}function Q(t){const n=K(t);return _(n)?t.ownerDocument?t.ownerDocument.body:t.body:z(n)&&E(n)?n:Q(n)}function U(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=Q(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=T(r);if(i){const t=Z(l);return n.concat(l,l.visualViewport||[],E(r)?r:[],t&&e?U(t):[])}return n.concat(r,U(r,[],e))}function Z(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tt(t){const n=G(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=z(t),l=i?t.offsetWidth:o,a=i?t.offsetHeight:r,c=e(o)!==l||e(r)!==a;return c&&(o=l,r=a),{width:o,height:r,$:c}}function nt(t){return P(t)?t:t.contextElement}function et(t){const n=nt(t);if(!z(n))return r(1);const o=n.getBoundingClientRect(),{width:i,height:l,$:a}=tt(n);let c=(a?e(o.width):o.width)/i,s=(a?e(o.height):o.height)/l;return c&&Number.isFinite(c)||(c=1),s&&Number.isFinite(s)||(s=1),{x:c,y:s}}const ot=r(0);function rt(t){const n=T(t);return X()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:ot}function it(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),l=nt(t);let a=r(1);n&&(o?P(o)&&(a=et(o)):a=et(t));const c=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==T(t))&&n}(l,e,o)?rt(l):r(0);let s=(i.left+c.x)/a.x,u=(i.top+c.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l){const t=T(l),n=o&&P(o)?T(o):o;let e=t,r=Z(e);for(;r&&o&&n!==e;){const t=et(r),n=r.getBoundingClientRect(),o=G(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=l,e=T(r),r=Z(e)}}return S({width:f,height:d,x:s,y:u})}function lt(t,n){const e=J(t).scrollLeft;return n?n.left+e:it(D(t)).left+e}function at(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-lt(t,e),y:e.top+n.scrollTop}}const ct=new Set(["absolute","fixed"]);function st(t,e,o){let i;if("viewport"===e)i=function(t,n){const e=T(t),o=D(t),r=e.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,c=0;if(r){i=r.width,l=r.height;const t=X();(!t||t&&"fixed"===n)&&(a=r.offsetLeft,c=r.offsetTop)}const s=lt(o);if(s<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),r="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,l=Math.abs(o.clientWidth-n.clientWidth-r);l<=25&&(i-=l)}else s<=25&&(i+=s);return{width:i,height:l,x:a,y:c}}(t,o);else if("document"===e)i=function(t){const e=D(t),o=J(t),r=t.ownerDocument.body,i=n(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),l=n(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+lt(t);const c=-o.scrollTop;return"rtl"===G(r).direction&&(a+=n(e.clientWidth,r.clientWidth)-i),{width:i,height:l,x:a,y:c}}(D(t));else if(P(e))i=function(t,n){const e=it(t,!0,"fixed"===n),o=e.top+t.clientTop,i=e.left+t.clientLeft,l=z(t)?et(t):r(1);return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:i*l.x,y:o*l.y}}(e,o);else{const n=rt(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return S(i)}function ut(t,n){const e=K(t);return!(e===n||!P(e)||_(e))&&("fixed"===G(e).position||ut(e,n))}function ft(t,n,e){const o=z(n),i=D(n),l="fixed"===e,a=it(t,!0,l,n);let c={scrollLeft:0,scrollTop:0};const s=r(0);function u(){s.x=lt(i)}if(o||!o&&!l)if(("body"!==C(n)||E(i))&&(c=J(n)),o){const t=it(n,!0,l,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else i&&u();l&&!o&&i&&u();const f=!i||o||l?r(0):at(i,c);return{x:a.left+c.scrollLeft-s.x-f.x,y:a.top+c.scrollTop-s.y-f.y,width:a.width,height:a.height}}function dt(t){return"static"===G(t).position}function mt(t,n){if(!z(t)||"fixed"===G(t).position)return null;if(n)return n(t);let e=t.offsetParent;return D(t)===e&&(e=e.ownerDocument.body),e}function pt(t,n){const e=T(t);if(j(t))return e;if(!z(t)){let n=K(t);for(;n&&!_(n);){if(P(n)&&!dt(n))return n;n=K(n)}return e}let o=mt(t,n);for(;o&&I(o)&&dt(o);)o=mt(o,n);return o&&_(o)&&dt(o)&&!V(o)?e:o||function(t){let n=K(t);for(;z(n)&&!_(n);){if(V(n))return n;if(j(n))return null;n=K(n)}return null}(t)||e}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const l="fixed"===i,a=D(o),c=!!n&&j(n.floating);if(o===a||c&&l)return e;let s={scrollLeft:0,scrollTop:0},u=r(1);const f=r(0),d=z(o);if((d||!d&&!l)&&(("body"!==C(o)||E(a))&&(s=J(o)),z(o))){const t=it(o);u=et(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!a||d||l?r(0):at(a,s);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:D,getClippingRect:function(e){let{element:o,boundary:r,rootBoundary:i,strategy:l}=e;const a=[..."clippingAncestors"===r?j(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=U(t,[],!1).filter((t=>P(t)&&"body"!==C(t))),r=null;const i="fixed"===G(t).position;let l=i?K(t):t;for(;P(l)&&!_(l);){const n=G(l),e=V(l);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&ct.has(r.position)||E(l)&&!e&&ut(t,l))?o=o.filter((t=>t!==l)):r=n,l=K(l)}return n.set(t,o),o}(o,this._c):[].concat(r),i],c=a.reduce(((e,r)=>{const i=st(o,r,l);return e.top=n(i.top,e.top),e.right=t(i.right,e.right),e.bottom=t(i.bottom,e.bottom),e.left=n(i.left,e.left),e}),st(o,a[0],l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:pt,getElementRects:async function(t){const n=this.getOffsetParent||pt,e=this.getDimensions,o=await e(t.floating);return{reference:ft(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=tt(t);return{width:n,height:e}},getScale:et,isElement:P,isRTL:function(t){return"rtl"===G(t).direction}};function ht(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function wt(e,r,i,l){void 0===l&&(l={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=l,d=nt(e),m=a||c?[...d?U(d):[],...U(r)]:[];m.forEach((t=>{a&&t.addEventListener("scroll",i,{passive:!0}),c&&t.addEventListener("resize",i)}));const p=d&&u?function(e,r){let i,l=null;const a=D(e);function c(){var t;clearTimeout(i),null==(t=l)||t.disconnect(),l=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),c();const d=e.getBoundingClientRect(),{left:m,top:p,width:y,height:h}=d;if(u||r(),!y||!h)return;const w={rootMargin:-o(p)+"px "+-o(a.clientWidth-(m+y))+"px "+-o(a.clientHeight-(p+h))+"px "+-o(m)+"px",threshold:n(0,t(1,f))||1};let g=!0;function x(t){const n=t[0].intersectionRatio;if(n!==f){if(!g)return s();n?s(!1,n):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==n||ht(d,e.getBoundingClientRect())||s(),g=!1}try{l=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){l=new IntersectionObserver(x,w)}l.observe(e)}(!0),c}(d,i):null;let y,h=-1,w=null;s&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&(w.unobserve(r),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(r)}))),i()})),d&&!f&&w.observe(d),w.observe(r));let g=f?it(e):null;return f&&function t(){const n=it(e);g&&!ht(g,n)&&i(),g=n,y=requestAnimationFrame(t)}(),i(),()=>{var t;m.forEach((t=>{a&&t.removeEventListener("scroll",i),c&&t.removeEventListener("resize",i)})),null==p||p(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(y)}}const gt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:a}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=s(e),a=u(e),f="y"===p(e),d=k.has(l)?-1:1,m=i&&f?-1:1,y=c(n,t);let{mainAxis:h,crossAxis:w,alignmentAxis:g}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return a&&"number"==typeof g&&(w="end"===a?-1*g:g),f?{x:w*m,y:h*d}:{x:h*d,y:w*m}}(n,t);return l===(null==(e=a.offset)?void 0:e.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:l}}}}},xt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:l=!0,crossAxis:u=!1,limiter:d={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...m}=c(t,n),y={x:e,y:o},h=await i.detectOverflow(n,m),w=p(s(r)),g=f(w);let x=y[g],v=y[w];l&&(x=a(x+h["y"===g?"top":"left"],x,x-h["y"===g?"bottom":"right"])),u&&(v=a(v+h["y"===w?"top":"left"],v,v-h["y"===w?"bottom":"right"]));const b=d.fn({...n,[g]:x,[w]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[g]:l,[w]:u}}}}}},vt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:a,platform:f,elements:m}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:O=!0,...C}=c(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=s(r),D=p(a),M=s(a)===a,P=await(null==f.isRTL?void 0:f.isRTL(m.floating)),z=R||(M||!O?[b(a)]:function(t){const n=b(t);return[h(t),n,h(n)]}(a)),L="none"!==k;!R&&L&&z.push(...function(t,n,e,o){const r=u(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?g:w:n?w:g;case"left":case"right":return n?x:v;default:return[]}}(s(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(h)))),i}(a,O,k,P));const B=[a,...z],E=await f.detectOverflow(n,C),H=[];let I=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&H.push(E[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=u(t),r=y(t),i=d(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=b(l)),[l,b(l)]}(r,l,P);H.push(E[t[0]],E[t[1]])}if(I=[...I,{placement:r,overflows:H}],!H.every((t=>t<=0))){var N,j;const t=((null==(N=i.flip)?void 0:N.index)||0)+1,n=B[t];if(n&&("alignment"!==S||D===p(n)||I.every((t=>p(t.placement)!==D||t.overflows[0]>0))))return{data:{index:t,overflows:I},reset:{placement:n}};let e=null==(j=I.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:j.placement;if(!e)switch(F){case"bestFit":{var q;const t=null==(q=I.filter((t=>{if(L){const n=p(t.placement);return n===D||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:q[0];t&&(e=t);break}case"initialPlacement":e=a}if(r!==e)return{reset:{placement:e}}}return{}}}},bt=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(o){var r,i;const{placement:l,rects:a,platform:f,elements:d}=o,{apply:m=(()=>{}),...y}=c(e,o),h=await f.detectOverflow(o,y),w=s(l),g=u(l),x="y"===p(l),{width:v,height:b}=a.floating;let A,S;"top"===w||"bottom"===w?(A=w,S=g===(await(null==f.isRTL?void 0:f.isRTL(d.floating))?"start":"end")?"left":"right"):(S=w,A="end"===g?"top":"bottom");const R=b-h.top-h.bottom,F=v-h.left-h.right;let k=t(b-h[A],R),O=t(v-h[S],F);if(null!=(r=o.middlewareData.shift)&&r.enabled.x&&(O=F),null!=(i=o.middlewareData.shift)&&i.enabled.y&&(k=R),!o.middlewareData.shift&&!g){const t=n(h.left,0),e=n(h.right,0),o=n(h.top,0),r=n(h.bottom,0);x?O=v-2*(0!==t||0!==e?t+e:n(h.left,h.right)):k=b-2*(0!==o||0!==r?o+r:n(h.top,h.bottom))}await m({...o,availableWidth:O,availableHeight:k});const C=await f.getDimensions(d.floating);return v!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}},At=n=>({name:"arrow",options:n,async fn(e){const{x:o,y:r,placement:i,rects:l,platform:s,elements:f,middlewareData:m}=e,{element:p,padding:h=0}=c(n,e)||{};if(null==p)return{};const w=A(h),g={x:o,y:r},x=y(i),v=d(x),b=await s.getDimensions(p),S="y"===x,R=S?"top":"left",F=S?"bottom":"right",k=S?"clientHeight":"clientWidth",O=l.reference[v]+l.reference[x]-g[x]-l.floating[v],C=g[x]-l.reference[x],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(p));let D=T?T[k]:0;D&&await(null==s.isElement?void 0:s.isElement(T))||(D=f.floating[k]||l.floating[v]);const M=O/2-C/2,P=D/2-b[v]/2-1,z=t(w[R],P),L=t(w[F],P),B=z,E=D-b[v]-L,H=D/2-b[v]/2+M,I=a(B,H,E),N=!m.arrow&&null!=u(i)&&H!==I&&l.reference[v]/2-(H<B?z:L)-b[v]/2<0,j=N?H<B?H-B:H-E:0;return{[x]:g[x]+j,data:{[x]:I,centerOffset:H-I-j,...N&&{alignmentOffset:j}},reset:N}}}),St=(t,n,e)=>{const o=new Map,r={platform:yt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,a=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let s=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=R(s,o,c),d=o,m={},p=0;for(let e=0;e<a.length;e++){var y;const{name:i,fn:h}=a[e],{x:w,y:g,data:x,reset:v}=await h({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:{...l,detectOverflow:null!=(y=l.detectOverflow)?y:F},elements:{reference:t,floating:n}});u=null!=w?w:u,f=null!=g?g:f,m={...m,[i]:{...m[i],...x}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:f}=R(s,d,c))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})};export{bt as a,wt as b,St as c,At as d,vt as f,gt as o,xt as s}
Binary file
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as r}from"./p-23a36bb6.js";import{ElementIDUtils as o,MaskFormatter as a}from"@sankhyalabs/core";class n{constructor(t){this.mask=t,this.maskChars={"#":t=>/\d/.test(t),U:t=>/[a-zA-Z]/.test(t),L:t=>/[a-zA-Z]/.test(t),A:t=>/[a-zA-Z0-9]/.test(t),Z:t=>/[a-zA-Z0-9]/.test(t),"?":t=>/[a-zA-Z]/.test(t),"*":()=>!0}}format(t){if(!t||!this.mask)return t;const i=this.removeIncompatibleChars(t);let s="",e=0,r=0;for(;r<this.mask.length&&e<i.length;){const t=this.mask[r],o=i[e];if("'"!==t){if(this.maskChars[t]){if(!this.maskChars[t](o)){e++;continue}s+="U"===t||"Z"===t?o.toUpperCase():"L"===t?o.toLowerCase():o,e++}else s+=t,o===t&&e++;r++}else r++,r<this.mask.length&&(s+=this.mask[r],r++)}return s}removeIncompatibleChars(t){let i="";for(let s=0;s<t.length;s++){const e=t[s];let r=!1;for(const t in this.maskChars)if(this.maskChars[t](e)){r=!0;break}if(!r)for(let t=0;t<this.mask.length;t++)if(this.mask[t]===e&&!this.maskChars[this.mask[t]]){r=!0;break}r&&(i+=e)}return i}removeMask(t){if(!t||!this.mask)return t;let i="",s=0,e=0;for(;s<t.length&&e<this.mask.length;){const r=this.mask[e],o=t[s];"'"!==r?(this.maskChars[r]?(this.maskChars[r](o)&&(i+=o),s++):o===r&&s++,e++):(e++,e<this.mask.length&&(o===this.mask[e]&&s++,e++))}for(;s<t.length;){const e=t[s];/[a-zA-Z0-9]/.test(e)&&(i+=e),s++}return i}getMask(){return this.mask}generatePlaceholder(){if(!this.mask)return"";let t="",i=0;for(;i<this.mask.length;){const s=this.mask[i];if("'"!==s){if(this.maskChars[s])switch(s){case"#":case"~":t+="0";break;case"U":case"L":case"?":case"A":t+="A";break;default:t+="_"}else t+=s;i++}else i++,i<this.mask.length&&(t+=this.mask[i],i++)}return t}}const c=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.ezBlur=i(this,"ezBlur",7),this.ezFocus=i(this,"ezFocus",7),this.iconClick=i(this,"iconClick",7),this._internalValueChange=!1,this.type="text",this.value=void 0,this.label=void 0,this.helpText=void 0,this.errorMessage=void 0,this.placeholder=void 0,this.enabled=!0,this.readonly=!1,this.required=!1,this.name=void 0,this.size="default",this.minlength=void 0,this.maxlength=void 0,this.leftIconName=void 0,this.rightIconName=void 0,this.rightIconTooltip=void 0,this.leftIconTooltip=void 0,this.state="default",this.leftIconClickable=!1,this.rightIconClickable=!1,this.mask=void 0,this.emitMaskedValue=!1}async setFocus(t){(null==t?void 0:t.selectText)&&this._inputElem.select(),(null==t?void 0:t.preventScroll)||this._inputElem.scrollIntoView({behavior:"smooth",block:"center"}),this._inputElem.focus({preventScroll:!0})}async setBlur(){this._inputElem.blur()}async syncValue(){if(this._internalValueChange)this._internalValueChange=!1;else if(this.value&&this._maskFormatter&&this._inputElem){const t=this._maskFormatter.format(this.value);this._inputElem.value=t}else this._inputElem&&(this._inputElem.value=this.value||"")}async observeErrorMessage(t){this.state=t&&""!==t.trim()?"error":"default"}onInput(t){try{const i=t.target,s=i.value;if(this._maskFormatter){const{formattedValue:t,cleanValue:e}=this.processInputWithMask(s);this.updateInputValue(i,t,e)}else this.updateInputValueWithoutMask(s)}catch(t){console.error("Error processing input event:",t)}}processInputWithMask(t){return"cgc_cpf"===this.mask?this.processCgcCpfMask(t):this.processRegularMask(t)}processCgcCpfMask(t){const i=t.replace(/\D/g,"");return 11===i.length||14===i.length?(this._maskFormatter=new n(11===i.length?a.DEFAULT_MASKS.cpf:a.DEFAULT_MASKS.cnpj),{formattedValue:this._maskFormatter.format(i),cleanValue:i}):{formattedValue:i,cleanValue:i}}processRegularMask(t){const i=this._maskFormatter.format(t);return{formattedValue:i,cleanValue:this._maskFormatter.removeMask(i)}}isDataChar(t){return/[a-zA-Z0-9]/.test(t)}countDataCharsBefore(t,i){let s=0;for(let e=0;e<i&&e<t.length;e++)this.isDataChar(t[e])&&s++;return s}skipLeadingSeparators(t,i){for(;i<t.length&&!this.isDataChar(t[i]);)i++;return i}findPositionAfterDataChars(t,i){let s=0;for(let e=0;e<=t.length;e++){if(s===i)return this.skipLeadingSeparators(t,e);e<t.length&&this.isDataChar(t[e])&&s++}return t.length}getCursorPositionAfterFormat(t,i,s){const e=this.countDataCharsBefore(t,s);return this.findPositionAfterDataChars(i,e)}restoreCursorSelection(t,i,s,e,r){const o=this.getCursorPositionAfterFormat(i,s,e),a=e===r?o:this.getCursorPositionAfterFormat(i,s,r);t.setSelectionRange(o,a)}updateInputValue(t,i,s){const e=t.value,r=t.selectionStart,o=t.selectionEnd;t.value=i,null!==r&&null!==o&&this.restoreCursorSelection(t,e,i,r,o),this._internalValueChange=!0,this.value=s,this.ezChange.emit(this.emitMaskedValue?i:s)}updateInputValueWithoutMask(t){this._internalValueChange=!0,this.value=t,this.ezChange.emit(t)}onBlur(){this.ezBlur.emit(this.value)}onFocus(){this.ezFocus.emit(this.value)}handleIconClick(t,i){this.enabled&&("left"===i&&!this.leftIconClickable||"right"===i&&!this.rightIconClickable?this.setFocus({preventScroll:!0}):(t.stopPropagation(),this.iconClick.emit({icon:i})))}addInfoId(){this._element&&o.addIDInfo(this._element),this._inputElem&&o.addIDInfo(this._inputElem,"classic-input",{id:"embedded"})}buildPlaceholder(){!this.placeholder&&this._maskFormatter&&(this.placeholder=this._maskFormatter.generatePlaceholder())}buildMaskFormatter(){if(this.mask&&(!this._maskFormatter||"cgc_cpf"===this.mask)){const t=this.getMaskToBuilder();this._maskFormatter=t?new n(t):void 0}}getMaskToBuilder(){return"cgc_cpf"===this.mask?this.getCGCCpfMask():"phone"===this.mask?this.getPhoneMask():this.mask in a.DEFAULT_MASKS?a.DEFAULT_MASKS[this.mask]:this.mask}getPhoneMask(){return this.value&&10===this.value.length?n.DEFAULT_MASKS?n.DEFAULT_MASKS.phone:void 0:this.value&&11===this.value.length&&n.DEFAULT_MASKS?n.DEFAULT_MASKS.phone_mobile:void 0}getCGCCpfMask(){var t,i;return 11===(null===(t=this.value)||void 0===t?void 0:t.length)?a.DEFAULT_MASKS.cpf:14===(null===(i=this.value)||void 0===i?void 0:i.length)?a.DEFAULT_MASKS.cnpj:void 0}componentDidRender(){this.buildMaskFormatter(),this.buildPlaceholder(),this.syncValue()}componentDidLoad(){this.syncValue(),this.addInfoId()}render(){return s(e,null,s("label",{title:this.label,htmlFor:this.name},this.label,this.required&&s("span",{class:"required-indicator"},"*")),s("div",{class:"input-container "+(this.size?`input-container--${this.size}`:""),"data-state":this.state,"data-disabled":(!this.enabled).toString(),onClick:()=>this.setFocus({preventScroll:!0})},this.leftIconName&&s("ez-icon",{iconName:this.leftIconName,title:this.leftIconTooltip,onClick:t=>this.handleIconClick(t,"left"),class:{"icon-clickable":this.leftIconClickable}}),s("input",{ref:t=>this._inputElem=t,id:this.name,type:this.type,title:this.value,placeholder:this.placeholder,disabled:!this.enabled,readonly:this.readonly,name:this.name,minlength:this.minlength,maxlength:this.maxlength,onInput:t=>this.onInput(t),onBlur:this.onBlur.bind(this),onFocus:this.onFocus.bind(this)}),this.rightIconName&&s("ez-icon",{iconName:this.rightIconName,title:this.rightIconTooltip,onClick:t=>this.handleIconClick(t,"right"),class:{"icon-clickable":this.rightIconClickable}})),(this.helpText||this.errorMessage)&&s("span",{id:"input_helpText",title:this.errorMessage||this.helpText},this.errorMessage||this.helpText))}get _element(){return r(this)}static get watchers(){return{value:["syncValue"],errorMessage:["observeErrorMessage"]}}};c.style=':host{display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);border:none;padding:0;padding-inline:var(--space--2, 2px);width:100%;--ez-classic-input--label-color:var(--color--ocean-green-1000, #00281D);--ez-classic-input--border-color-default:var(--color--gray-200, #D2D2D3);--ez-classic-input--border-color-focus:var(--color--gray-300, #A4A5A7);--ez-classic-input--border-color-success:var(--color--green-600, #157A00);--ez-classic-input--border-color-error:var(--color--red-600, #BD0025);--ez-classic-input--border-color-warning:var(--color--yellow-600, #EFB103);--ez-classic-input--background-color:var(--color--gray-70, #FFFFFF);--ez-classic-input--background-color-disabled:var(--color--gray-90, #EAEAEA);--ez-classic-input--text-color:var(--color--ocean-green-1000, #00281D);--ez-classic-input--placeholder-color:#bdbdbd;--ez-classic-input--icon-color:var(--color--gray-400, #77777A);--ez-classic-input--helptext-color:var(--color--ocean-green-1000, #00281D);--ez-classic-input--height:var(--space--56, 56px);--ez-classic-input--height-small:var(--space--48, 48px);--ez-classic-input--height-xsmall:var(--space--40, 40px);--ez-classic-input--gap:var(--space--10, 10px);--ez-classic-input--padding-inline:var(--space--16, 16px)}.input-container{display:flex;flex-direction:row;align-items:center;width:100%;border:none;border-radius:var(--border--radius-8, 8px);padding-inline:var(--ez-classic-input--padding-inline);box-sizing:border-box;gap:var(--ez-classic-input--gap);margin-block:var(--space--4, 4px);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);height:var(--ez-classic-input--height);background-color:var(--ez-classic-input--background-color)}.input-container--small{height:var(--ez-classic-input--height-small)}.input-container--xsmall{height:var(--ez-classic-input--height-xsmall)}.input-container,.input-container[data-state="default"]{box-shadow:0 0 0 1px var(--ez-classic-input--border-color-default)}.input-container[data-state="success"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-success)}.input-container[data-state="error"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-error)}.input-container[data-state="warning"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-warning)}.input-container:focus-within{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-input--border-color-focus)}ez-icon{min-width:var(--space--24, 24px);color:var(--ez-classic-input--icon-color)}input{flex:1;border:none;outline:none;background:transparent;height:100%;width:100%;padding:0;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);text-overflow:ellipsis;color:var(--ez-classic-input--text-color)}input::placeholder{color:var(--ez-classic-input--placeholder-color)}.input-container[data-disabled="true"]{cursor:not-allowed;background:var(--ez-classic-input--background-color-disabled);border-color:var(--ez-classic-input--border-color-default)}.input-container[data-disabled="true"]>*{cursor:not-allowed}.input-container input:read-only{cursor:default}@keyframes ez-helptext-fadein{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}span{font-size:var(--font-size--xsmall, 10px);line-height:var(--line-height--16, 16px);overflow:hidden;text-overflow:ellipsis;animation:ez-helptext-fadein 0.3s ease;color:var(--ez-classic-input--helptext-color)}label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-classic-input--label-color)}.icon-clickable{cursor:pointer}.required-indicator{font-size:var(--font--size--default, 14px);font-family:var(--font--pattern, \'Roboto\');color:var(--color--red-600, #BD0025);margin-left:var(--space--4, 4px);vertical-align:top}';export{c as ez_classic_input}
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{r as t,h as i,F as a,H as e,g as n}from"./p-23a36bb6.js";import{Action as s,ElementIDUtils as o}from"@sankhyalabs/core";import{i as r}from"./p-3b7d9f30.js";const h=class{constructor(i){t(this,i),this._dataUnitInitialized=!1,this.leftButtonDisabled=void 0,this.rightButtonDisabled=void 0,this.dataUnit=void 0,this.primaryKeys=void 0,this.textPosition="right",this.disabled=!1}async previousRecord(){this.dataUnit&&await this.dataUnit.previousRecord()}async nextRecord(){this.dataUnit&&await this.dataUnit.nextRecord()}onDataUnitChange(){this.initializeDataUnit()}onDisabledChange(){this.setStatusButtonPagination()}renderPageTitle(){return this.primaryKeys?this.primaryKeys.map(((t,e)=>{var n;const s=this.dataUnit.getFieldValue(t),o=null===(n=this.dataUnit.getField(t))||void 0===n?void 0:n.label,r=e===this.primaryKeys.length-1;return i(a,null,i("ez-tooltip",{message:null!=o?o:s},i("span",{class:"record-navigation__label","aria-live":"polite","aria-atomic":"true"},null!=s?s:"-")),!r&&i("span",{class:"record-navigation__divider"}))})):null}dataUnitObserver(t){switch(t.type){case s.SELECTION_CHANGED:case s.PREVIOUS_SELECTED:case s.NEXT_SELECTED:this.setStatusButtonPagination()}}getLeftButtonDisabledStatus(){return!(this.dataUnit&&!this.disabled&&this.dataUnit.hasPrevious())}getRightButtonDisabledStatus(){return!(this.dataUnit&&!this.disabled&&this.dataUnit.hasNext())}setStatusButtonPagination(){this.leftButtonDisabled=this.getLeftButtonDisabledStatus(),this.rightButtonDisabled=this.getRightButtonDisabledStatus()}initializeDataUnit(){this.dataUnit&&!this._dataUnitInitialized&&(this.setStatusButtonPagination(),this._dataUnitObserverBound=this.dataUnitObserver.bind(this),this.dataUnit.subscribe(this._dataUnitObserverBound),this._dataUnitInitialized=!0)}addInfoId(){this._element&&o.addIDInfo(this._element)}async connectedCallback(){this.i18n=await r(),this.initializeDataUnit()}componentDidLoad(){this.addInfoId()}disconnectedCallback(){this.dataUnit&&this._dataUnitInitialized&&this._dataUnitObserverBound&&this.dataUnit.unsubscribe(this._dataUnitObserverBound)}render(){return i(e,null,i("div",{class:{"record-navigation__container":!0,"record-navigation-text-right":"right"===this.textPosition}},i("div",{class:"record-navigation__container-label"},this.renderPageTitle()),i("div",{id:"grid-record-navigation-tooltip",class:"record-navigation__buttons-container"},i("ez-tooltip",{message:this.i18n("ez-record-navigation.previousRecord")},i("ez-button",{iconName:"chevron-left",mode:"icon",isDisabled:this.leftButtonDisabled,onClick:()=>this.previousRecord(),label:this.i18n("ez-record-navigation.previousRecord")})),i("ez-tooltip",{message:this.i18n("ez-record-navigation.nextRecord")},i("ez-button",{iconName:"chevron-right",mode:"icon",isDisabled:this.rightButtonDisabled,onClick:()=>this.nextRecord(),label:this.i18n("ez-record-navigation.nextRecord")})))))}get _element(){return n(this)}static get watchers(){return{dataUnit:["onDataUnitChange"],disabled:["onDisabledChange"]}}};h.style=":host{display:block}.record-navigation__container{display:flex;align-items:center;flex-grow:1;flex-shrink:1;justify-content:flex-end;flex-wrap:nowrap}.record-navigation__buttons-container{display:flex;gap:var(--space--8, 8px)}.record-navigation__container-label{font-size:var(--font-size--default, 14px);font-family:var(--font--pattern, 'Roboto');color:var(--color--gray-600, #1C1D22);text-shadow:0 0 var(--color--gray-500, #494A4E), 0 0 1px transparent;margin-right:var(--space--12, 12px);display:flex;align-items:center}.record-navigation-contracted{width:100px}.record-navigation-expanded{min-width:150px}.record-navigation__label{width:100%;white-space:nowrap}.record-navigation__divider{width:3px;height:15px;background-color:var(--color--gray-300, #C1C2C6);margin-inline:var(--space--8, 8px)}.record-navigation-text-right{flex-direction:row-reverse}";export{h as ez_record_navigation}