@sankhyalabs/ezui 7.2.1-rc.1 → 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 +1 @@
1
- import{r as t,c as i,f as o,h as a,g as e}from"./p-23a36bb6.js";import{D as n}from"./p-ab574d59.js";import{FloatingManager as l,ElementIDUtils as d,KeyboardManager as r}from"@sankhyalabs/core";import{F as c}from"./p-dc628ed3.js";import{i as s}from"./p-3b7d9f30.js";class h{constructor(t,i,o,a,e,n,l,d,r,c){this.title=t,this.message=i,this.dialogType=o,this.confirm=a,this.icon=e,this.labelCancel=n,this.labelConfirm=l,this.btnConfirmDanger=d,this.callBack=r,this.beforeClose=c}}const g=class{constructor(o){t(this,o),this.ezCancel=i(this,"ezCancel",7),this.ezAccept=i(this,"ezAccept",7),this.PRIMARY_BUTTON_ID="EZ_DIALOG_PRIMARY_BUTTON",this.btnConfirmDanger=!1,this._messageQueue=[],this._canFocusOnPrimaryBtn=!1,this.confirm=!1,this.dialogType=void 0,this.message=void 0,this.opened=!1,this.personalizedIconPath=void 0,this.ezTitle=void 0,this.beforeClose=void 0}observeConfig(t,i){this.manageOverflow(),t&&!i&&(this._canFocusOnPrimaryBtn=!0)}manageOverflow(){window.document.body.style.overflow=this.opened?"hidden":""}manageOverlay(){this.opened?this._overlayId=l.subscribeOverlayControl(this._overlayRef):l.unsubscribeOverlayControl(this._overlayRef||this._overlayId)}handleButtonClick(t){this._currentMessage.beforeClose&&!1===this._currentMessage.beforeClose(t)||(this.opened=this._messageQueue.length>0,this._currentMessage.callBack&&this._currentMessage.callBack(t),t?this.ezAccept.emit(t):this.ezCancel.emit(t),this._currentMessage=this._messageQueue.shift(),o(this))}async show(t,i,o,a,e,n,l,d,r){return this.opened=!0,new Promise((c=>{this._messageQueue.push(new h(t,i,o,a,e,n,l,d,c,r))}))}isCritical(t){return t===n.CRITICAL}getIconElement(t){if(t.dialogType===n.DEFAULT)return;const i=this.getIconClass(t.dialogType);return a("div",{class:`changeable__icon__container ${i}`},a("ez-icon",{class:"changeable__icon",size:"small",iconName:this.getIconName(t)}))}getIconClass(t){return this.isCritical(t)?"title-icon--critical":t===n.SUCCESS?"title-icon--success":t===n.WARN?"title-icon--warn":""}getIconName(t){return t.icon?t.icon:this.isCritical(t.dialogType)?"alert-circle-inverted":t.dialogType===n.WARN?"warning-outline":t.dialogType===n.SUCCESS?"check":void 0}getTypeIndicatorElement(t){if(t.dialogType!==n.DEFAULT)return a("div",{class:this.getClassIconIndicator(t.dialogType)})}getClassIconIndicator(t){return this.isCritical(t)?"dialog__critical--indicator":t==n.SUCCESS?"dialog__success--indicator":t==n.WARN?"dialog__warning--indicator":""}getClassContainer(t){return(t.dialogType||n.DEFAULT)===n.DEFAULT?"dialog__container dialog__container--default":"dialog__container"}getClassTitleLabel(t){return null==this.getIconElement(t)?"title title__label title__label--no-icon":"title title__label"}async componentWillLoad(){this.i18n=await s()}componentWillRender(){this._currentMessage||(this._messageQueue.length>0?this._currentMessage=this._messageQueue.pop():this.opened&&(this._currentMessage=new h(this.ezTitle,this.message,this.dialogType,this.confirm,this.personalizedIconPath,this.i18n("app.no"),this.i18n("app.yes"),this.btnConfirmDanger,null,this.beforeClose)))}componentDidLoad(){d.addIDInfo(this._element),this._keyboardManager=new r({propagate:!1,element:this._element}).bind("Enter",(()=>this.handleButtonClick(!0)),{description:this.i18n("ez-dialog.confirmButton"),element:this._element}).bind("Escape",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element}).bind("Esc",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element})}componentDidRender(){this.manageOverlay(),this.focusOnDialog(),this.handleFocusOnPrimaryButton()}focusOnDialog(){const t=this._element.shadowRoot.querySelector(".overlay .dialog");t instanceof HTMLDivElement&&(t.style.outline="none",this._lastActiveElement=document.activeElement,t.focus())}handleFocusOnPrimaryButton(){this._canFocusOnPrimaryBtn&&(this.focusOnPrimaryButton(),this._canFocusOnPrimaryBtn=!1)}focusOnPrimaryButton(){const t=this._element.shadowRoot.querySelector(`#${this.PRIMARY_BUTTON_ID}`),i=null==t?void 0:t.shadowRoot.querySelector("button");requestAnimationFrame((()=>{null==i||i.focus()}))}disconnectedCallback(){var t;c.resolveFocus(this._lastActiveElement),this._lastActiveElement=void 0,null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}render(){return this.opened&&this._currentMessage?a("div",{class:"overlay",ref:t=>this._overlayRef=t},a("div",{tabindex:"-1",class:"dialog"},this.getTypeIndicatorElement(this._currentMessage),a("div",{class:this.getClassContainer(this._currentMessage)},a("div",{class:"title__container"},a("div",{class:"title__box"},this.getIconElement(this._currentMessage),a("div",{class:this.getClassTitleLabel(this._currentMessage),innerHTML:this._currentMessage.title,"data-element-id":d.getInternalIDInfo("title")})),a("button",{class:"btn-close",onClick:()=>this.handleButtonClick(!1),"data-element-id":d.getInternalIDInfo("buttonClose")})),a("div",{class:"message",innerHTML:this._currentMessage.message,"data-element-id":d.getInternalIDInfo("message")}),this._currentMessage.confirm&&a("div",{class:"button-yes-no__container"},a("ez-button",{class:"button__cancel","data-element-id":d.getInternalIDInfo("cancel"),label:this._currentMessage.labelCancel,onClick:()=>this.handleButtonClick(!1)}),a("ez-button",{id:this.PRIMARY_BUTTON_ID,class:this._currentMessage.btnConfirmDanger?"button__confirm--danger":"button__confirm","data-element-id":d.getInternalIDInfo("confirm"),label:this._currentMessage.labelConfirm,onClick:()=>this.handleButtonClick(!0)})),!this._currentMessage.confirm&&a("div",{class:"button__confirm--container"},a("ez-button",{id:this.PRIMARY_BUTTON_ID,label:"Ok","data-element-id":d.getInternalIDInfo("ok"),class:"button__confirm",onClick:()=>this.handleButtonClick(!0)}))))):null}get _element(){return e(this)}static get watchers(){return{opened:["observeConfig"]}}};g.style=':host{--dialog__container-padding:var(--space--md, 20px);--dialog__btn__close--background-color:var(--title--primary, #2b3a54);--dialog__btn__no--padding-right:var(--space--8, 8px);--dialog__btn__close__image:url(\'data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>\');--dialog__btn__min-width:80px;--dialog__title--font-pattern:var(--font-pattern, "Roboto");--dialog__title--padding-left:var(--space--small, 6px);--dialog__title__container--padding-bottom:var(--space--medium, 12px);--dialog__title--weight--large:var(--text-weight--large, 600);--dialog__body--font-pattern:var(--font-pattern, "Roboto");--dialog__body--text-shadow:var(--text-shadow, "0 0 0 #353535, 0 0 1px transparent");--dialog__body--text-weight--medium:var(--text-weight--medium, 400);--dialog__body--padding-bottom:var(--space--medium, 12px);--dialog__body--font-size:var(--text--medium, 14px);--dialog__body--color:var(--text--primary, #626e82);--dialog__icon--color:var(--text--inverted, #fff);--dialog__critical--background-color:var(--color--alert-error-800, #BD0025);--dialog__warning--background-color:var(--color--alert-warning-500, #EFB103);--dialog__success--background-color:var(--color--alert-success-500, #00523c);--dialog-z-index:var(--elevation--100, 100);--dialog--warning__image:url(\'data: image/svg+xml;utf8,<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M 7.5,0 0,13 h 15 z m 0,2.73684 5.1341,8.89476 H 2.36591 Z M 6.81818,5.47368 V 8.21053 H 8.18182 V 5.47368 Z m 0,4.10527 V 10.9474 H 8.18182 V 9.57895"/></svg>\');--dialog--critical__image:url(\'data: image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path d="M 7.6534493,6.4948538 12.762051,1.3864299 C 12.914368,1.2341297 13,1.027552 13,0.81215179 13,0.59676225 12.914369,0.39018443 12.762051,0.23787352 12.609733,0.08557341 12.40318,0 12.187747,0 11.972425,0 11.765762,0.08557341 11.613445,0.23787352 L 6.5048431,5.3462975 1.3961977,0.23787352 C 1.2438802,0.08557341 1.0373043,0 0.82189458,0 0.60649572,0 0.39990901,0.08557341 0.24759147,0.23787352 0.09527396,0.39018443 0.00970766,0.59676225 0.00970766,0.81215179 c 0,0.21540021 0.0855663,0.42197791 0.23788381,0.57427811 L 5.3562369,6.4948538 0.24759147,11.604381 c -0.0775121,0.07492 -0.13931586,0.164543 -0.18182835,0.263595 -0.04250169,0.09905 -0.064850182,0.205678 -0.0657357237,0.313391 -8.8554258e-4,0.107813 0.0197049337,0.214771 0.0605827337,0.314472 0.04086693,0.0998 0.10119858,0.190415 0.17746563,0.266625 0.0762779,0.07622 0.16695386,0.136398 0.26675594,0.177208 0.099802,0.04082 0.20672745,0.06127 0.31452961,0.06029 0.1078025,-9.53e-4 0.21433799,-0.0235 0.31337139,-0.06604 0.099045,-0.04265 0.1886052,-0.104571 0.263465,-0.182081 L 6.5048431,7.6434102 11.613445,12.751855 c 0.152317,0.152312 0.35898,0.237831 0.574302,0.237831 0.215433,0 0.421986,-0.08552 0.574304,-0.237831 C 12.914368,12.599545 13,12.393 13,12.177578 13,11.962157 12.91437,11.75561 12.762051,11.603299 Z"/></svg>\')}h2{margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px}.overlay{position:fixed;display:flex;top:0px;z-index:var(--dialog-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.dialog{display:flex;width:80%;position:absolute;top:50%;left:50%;margin-right:-50%;box-sizing:border-box;transform:translate(-50%, -50%);box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122)}@media screen and (min-width: 768px){.dialog{width:50%}}@media screen and (min-width: 992px){.dialog{width:33.33333%}}.dialog__container{width:100%;background:#FFFF;border-radius:0px 6px 6px 0px;box-sizing:border-box;padding:var(--dialog__container-padding)}.dialog__container--default{border-radius:6px 6px 6px 6px}.dialog__critical--indicator{box-sizing:border-box;width:12px;border-radius:6px 0px 0px 6px;background-color:var(--dialog__critical--background-color)}.dialog__warning--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__warning--background-color)}.dialog__success--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__success--background-color)}.message{font-size:var(--dialog__body--font-size);font-weight:var(--dialog__body--text-weight--medium);font-family:var(--dialog__body--font-pattern);text-shadow:var(--dialog__body--text-shadow);padding-bottom:var(--dialog__body--padding-bottom);color:var(--dialog__body--color);max-height:30vh;content-visibility:auto;margin-bottom:var(--space--medium);overflow-y:auto}.changeable__icon__container{background:var(--dialog__warning--background-color);display:flex;justify-content:center;align-items:center;min-width:26px;min-height:26px;border-radius:50%}.changeable__icon{--ez-icon--color:var(--dialog__icon--color)}.changeable__icon__container.title-icon--critical{background-color:var(--dialog__critical--background-color)}.changeable__icon__container.title-icon--success{background-color:var(--dialog__success--background-color)}.changeable__icon__container.title-icon--warn{background-color:var(--dialog__warning--background-color)}.changeable__icon__container.title-icon--warn ez-icon{transform:translateY(-1px)}.title{display:flex;font-family:var(--dialog__title--font-pattern);margin:0;font-weight:var(--dialog__title--weight--large);color:var(--title--primary)}.title__container{display:flex;padding-bottom:var(--dialog__title__container--padding-bottom)}.title__box{display:flex;width:100%;align-items:center;align-self:center}.title__label{padding-left:var(--dialog__title--padding-left)}.title__label--no-icon{padding-left:0}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--dialog__btn__close--background-color);width:12px;height:12px;-webkit-mask-image:var(--dialog__btn__close__image);mask-image:var(--dialog__btn__close__image)}.title-icon::after{content:\'\';display:flex;background-color:#FFFF;width:15px;height:15px;-webkit-mask-image:var(--dialog--warning__image);mask-image:var(--dialog--warning__image)}.button-yes-no__container{display:flex;box-sizing:border-box;align-self:center;align-items:center;justify-content:flex-end}.button__cancel{padding-right:var(--dialog__btn__no--padding-right);--ez-button--min-width:var(--dialog__btn__min-width)}.button__confirm{--ez-button--background-color:var(--color--primary);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color--primary-600);--ez-button--hover-color:var(--color--inverted);--ez-button--min-width:var(--dialog__btn__min-width)}.button__confirm--danger{--ez-button--background-color:var(--color--alert-error-800, #BD0025);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color-alert--error-900, #a10020);--ez-button--hover-color:var(--color--inverted);--ez-button--min-width:var(--dialog__btn__min-width)}.button__confirm--container{display:flex;justify-content:flex-end}.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{g as ez_dialog}
1
+ import{r as t,c as i,f as o,h as a,g as e}from"./p-23a36bb6.js";import{D as n}from"./p-ab574d59.js";import{FloatingManager as l,ElementIDUtils as d,KeyboardManager as r}from"@sankhyalabs/core";import{F as c}from"./p-dc628ed3.js";import{i as s}from"./p-a61fdd20.js";class h{constructor(t,i,o,a,e,n,l,d,r,c){this.title=t,this.message=i,this.dialogType=o,this.confirm=a,this.icon=e,this.labelCancel=n,this.labelConfirm=l,this.btnConfirmDanger=d,this.callBack=r,this.beforeClose=c}}const g=class{constructor(o){t(this,o),this.ezCancel=i(this,"ezCancel",7),this.ezAccept=i(this,"ezAccept",7),this.PRIMARY_BUTTON_ID="EZ_DIALOG_PRIMARY_BUTTON",this.btnConfirmDanger=!1,this._messageQueue=[],this._canFocusOnPrimaryBtn=!1,this.confirm=!1,this.dialogType=void 0,this.message=void 0,this.opened=!1,this.personalizedIconPath=void 0,this.ezTitle=void 0,this.beforeClose=void 0}observeConfig(t,i){this.manageOverflow(),t&&!i&&(this._canFocusOnPrimaryBtn=!0)}manageOverflow(){window.document.body.style.overflow=this.opened?"hidden":""}manageOverlay(){this.opened?this._overlayId=l.subscribeOverlayControl(this._overlayRef):l.unsubscribeOverlayControl(this._overlayRef||this._overlayId)}handleButtonClick(t){this._currentMessage.beforeClose&&!1===this._currentMessage.beforeClose(t)||(this.opened=this._messageQueue.length>0,this._currentMessage.callBack&&this._currentMessage.callBack(t),t?this.ezAccept.emit(t):this.ezCancel.emit(t),this._currentMessage=this._messageQueue.shift(),o(this))}async show(t,i,o,a,e,n,l,d,r){return this.opened=!0,new Promise((c=>{this._messageQueue.push(new h(t,i,o,a,e,n,l,d,c,r))}))}isCritical(t){return t===n.CRITICAL}getIconElement(t){if(t.dialogType===n.DEFAULT)return;const i=this.getIconClass(t.dialogType);return a("div",{class:`changeable__icon__container ${i}`},a("ez-icon",{class:"changeable__icon",size:"small",iconName:this.getIconName(t)}))}getIconClass(t){return this.isCritical(t)?"title-icon--critical":t===n.SUCCESS?"title-icon--success":t===n.WARN?"title-icon--warn":""}getIconName(t){return t.icon?t.icon:this.isCritical(t.dialogType)?"alert-circle-inverted":t.dialogType===n.WARN?"warning-outline":t.dialogType===n.SUCCESS?"check":void 0}getTypeIndicatorElement(t){if(t.dialogType!==n.DEFAULT)return a("div",{class:this.getClassIconIndicator(t.dialogType)})}getClassIconIndicator(t){return this.isCritical(t)?"dialog__critical--indicator":t==n.SUCCESS?"dialog__success--indicator":t==n.WARN?"dialog__warning--indicator":""}getClassContainer(t){return(t.dialogType||n.DEFAULT)===n.DEFAULT?"dialog__container dialog__container--default":"dialog__container"}getClassTitleLabel(t){return null==this.getIconElement(t)?"title title__label title__label--no-icon":"title title__label"}async componentWillLoad(){this.i18n=await s()}componentWillRender(){this._currentMessage||(this._messageQueue.length>0?this._currentMessage=this._messageQueue.pop():this.opened&&(this._currentMessage=new h(this.ezTitle,this.message,this.dialogType,this.confirm,this.personalizedIconPath,this.i18n("app.no"),this.i18n("app.yes"),this.btnConfirmDanger,null,this.beforeClose)))}componentDidLoad(){d.addIDInfo(this._element),this._keyboardManager=new r({propagate:!1,element:this._element}).bind("Enter",(()=>this.handleButtonClick(!0)),{description:this.i18n("ez-dialog.confirmButton"),element:this._element}).bind("Escape",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element}).bind("Esc",(()=>this.handleButtonClick(!1)),{description:this.i18n("ez-dialog.closeButton"),element:this._element})}componentDidRender(){this.manageOverlay(),this.focusOnDialog(),this.handleFocusOnPrimaryButton()}focusOnDialog(){const t=this._element.shadowRoot.querySelector(".overlay .dialog");t instanceof HTMLDivElement&&(t.style.outline="none",this._lastActiveElement=document.activeElement,t.focus())}handleFocusOnPrimaryButton(){this._canFocusOnPrimaryBtn&&(this.focusOnPrimaryButton(),this._canFocusOnPrimaryBtn=!1)}focusOnPrimaryButton(){const t=this._element.shadowRoot.querySelector(`#${this.PRIMARY_BUTTON_ID}`),i=null==t?void 0:t.shadowRoot.querySelector("button");requestAnimationFrame((()=>{null==i||i.focus()}))}disconnectedCallback(){var t;c.resolveFocus(this._lastActiveElement),this._lastActiveElement=void 0,null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}render(){return this.opened&&this._currentMessage?a("div",{class:"overlay",ref:t=>this._overlayRef=t},a("div",{tabindex:"-1",class:"dialog"},this.getTypeIndicatorElement(this._currentMessage),a("div",{class:this.getClassContainer(this._currentMessage)},a("div",{class:"title__container"},a("div",{class:"title__box"},this.getIconElement(this._currentMessage),a("div",{class:this.getClassTitleLabel(this._currentMessage),innerHTML:this._currentMessage.title,"data-element-id":d.getInternalIDInfo("title")})),a("button",{class:"btn-close",onClick:()=>this.handleButtonClick(!1),"data-element-id":d.getInternalIDInfo("buttonClose")})),a("div",{class:"message",innerHTML:this._currentMessage.message,"data-element-id":d.getInternalIDInfo("message")}),this._currentMessage.confirm&&a("div",{class:"button-yes-no__container"},a("ez-button",{class:"button__cancel","data-element-id":d.getInternalIDInfo("cancel"),label:this._currentMessage.labelCancel,onClick:()=>this.handleButtonClick(!1)}),a("ez-button",{id:this.PRIMARY_BUTTON_ID,class:this._currentMessage.btnConfirmDanger?"button__confirm--danger":"button__confirm","data-element-id":d.getInternalIDInfo("confirm"),label:this._currentMessage.labelConfirm,onClick:()=>this.handleButtonClick(!0)})),!this._currentMessage.confirm&&a("div",{class:"button__confirm--container"},a("ez-button",{id:this.PRIMARY_BUTTON_ID,label:"Ok","data-element-id":d.getInternalIDInfo("ok"),class:"button__confirm",onClick:()=>this.handleButtonClick(!0)}))))):null}get _element(){return e(this)}static get watchers(){return{opened:["observeConfig"]}}};g.style=':host{--dialog__container-padding:var(--space--md, 20px);--dialog__btn__close--background-color:var(--title--primary, #2b3a54);--dialog__btn__no--padding-right:var(--space--8, 8px);--dialog__btn__close__image:url(\'data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>\');--dialog__btn__min-width:80px;--dialog__title--font-pattern:var(--font-pattern, "Roboto");--dialog__title--padding-left:var(--space--small, 6px);--dialog__title__container--padding-bottom:var(--space--medium, 12px);--dialog__title--weight--large:var(--text-weight--large, 600);--dialog__body--font-pattern:var(--font-pattern, "Roboto");--dialog__body--text-shadow:var(--text-shadow, "0 0 0 #353535, 0 0 1px transparent");--dialog__body--text-weight--medium:var(--text-weight--medium, 400);--dialog__body--padding-bottom:var(--space--medium, 12px);--dialog__body--font-size:var(--text--medium, 14px);--dialog__body--color:var(--text--primary, #626e82);--dialog__icon--color:var(--text--inverted, #fff);--dialog__critical--background-color:var(--color--alert-error-800, #BD0025);--dialog__warning--background-color:var(--color--alert-warning-500, #EFB103);--dialog__success--background-color:var(--color--alert-success-500, #00523c);--dialog-z-index:var(--elevation--100, 100);--dialog--warning__image:url(\'data: image/svg+xml;utf8,<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M 7.5,0 0,13 h 15 z m 0,2.73684 5.1341,8.89476 H 2.36591 Z M 6.81818,5.47368 V 8.21053 H 8.18182 V 5.47368 Z m 0,4.10527 V 10.9474 H 8.18182 V 9.57895"/></svg>\');--dialog--critical__image:url(\'data: image/svg+xml;utf8,<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path d="M 7.6534493,6.4948538 12.762051,1.3864299 C 12.914368,1.2341297 13,1.027552 13,0.81215179 13,0.59676225 12.914369,0.39018443 12.762051,0.23787352 12.609733,0.08557341 12.40318,0 12.187747,0 11.972425,0 11.765762,0.08557341 11.613445,0.23787352 L 6.5048431,5.3462975 1.3961977,0.23787352 C 1.2438802,0.08557341 1.0373043,0 0.82189458,0 0.60649572,0 0.39990901,0.08557341 0.24759147,0.23787352 0.09527396,0.39018443 0.00970766,0.59676225 0.00970766,0.81215179 c 0,0.21540021 0.0855663,0.42197791 0.23788381,0.57427811 L 5.3562369,6.4948538 0.24759147,11.604381 c -0.0775121,0.07492 -0.13931586,0.164543 -0.18182835,0.263595 -0.04250169,0.09905 -0.064850182,0.205678 -0.0657357237,0.313391 -8.8554258e-4,0.107813 0.0197049337,0.214771 0.0605827337,0.314472 0.04086693,0.0998 0.10119858,0.190415 0.17746563,0.266625 0.0762779,0.07622 0.16695386,0.136398 0.26675594,0.177208 0.099802,0.04082 0.20672745,0.06127 0.31452961,0.06029 0.1078025,-9.53e-4 0.21433799,-0.0235 0.31337139,-0.06604 0.099045,-0.04265 0.1886052,-0.104571 0.263465,-0.182081 L 6.5048431,7.6434102 11.613445,12.751855 c 0.152317,0.152312 0.35898,0.237831 0.574302,0.237831 0.215433,0 0.421986,-0.08552 0.574304,-0.237831 C 12.914368,12.599545 13,12.393 13,12.177578 13,11.962157 12.91437,11.75561 12.762051,11.603299 Z"/></svg>\')}h2{margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px}.overlay{position:fixed;display:flex;top:0px;z-index:var(--dialog-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.dialog{display:flex;width:80%;position:absolute;top:50%;left:50%;margin-right:-50%;box-sizing:border-box;transform:translate(-50%, -50%);box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122)}@media screen and (min-width: 768px){.dialog{width:50%}}@media screen and (min-width: 992px){.dialog{width:33.33333%}}.dialog__container{width:100%;background:#FFFF;border-radius:0px 6px 6px 0px;box-sizing:border-box;padding:var(--dialog__container-padding)}.dialog__container--default{border-radius:6px 6px 6px 6px}.dialog__critical--indicator{box-sizing:border-box;width:12px;border-radius:6px 0px 0px 6px;background-color:var(--dialog__critical--background-color)}.dialog__warning--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__warning--background-color)}.dialog__success--indicator{width:12px;border-radius:6px 0px 0px 6px;box-sizing:border-box;background-color:var(--dialog__success--background-color)}.message{font-size:var(--dialog__body--font-size);font-weight:var(--dialog__body--text-weight--medium);font-family:var(--dialog__body--font-pattern);text-shadow:var(--dialog__body--text-shadow);padding-bottom:var(--dialog__body--padding-bottom);color:var(--dialog__body--color);max-height:30vh;content-visibility:auto;margin-bottom:var(--space--medium);overflow-y:auto}.changeable__icon__container{background:var(--dialog__warning--background-color);display:flex;justify-content:center;align-items:center;min-width:26px;min-height:26px;border-radius:50%}.changeable__icon{--ez-icon--color:var(--dialog__icon--color)}.changeable__icon__container.title-icon--critical{background-color:var(--dialog__critical--background-color)}.changeable__icon__container.title-icon--success{background-color:var(--dialog__success--background-color)}.changeable__icon__container.title-icon--warn{background-color:var(--dialog__warning--background-color)}.changeable__icon__container.title-icon--warn ez-icon{transform:translateY(-1px)}.title{display:flex;font-family:var(--dialog__title--font-pattern);margin:0;font-weight:var(--dialog__title--weight--large);color:var(--title--primary)}.title__container{display:flex;padding-bottom:var(--dialog__title__container--padding-bottom)}.title__box{display:flex;width:100%;align-items:center;align-self:center}.title__label{padding-left:var(--dialog__title--padding-left)}.title__label--no-icon{padding-left:0}.btn-close{justify-content:flex-end;align-self:flex-start;align-items:flex-start;display:flex;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:\'\';display:flex;background-color:var(--dialog__btn__close--background-color);width:12px;height:12px;-webkit-mask-image:var(--dialog__btn__close__image);mask-image:var(--dialog__btn__close__image)}.title-icon::after{content:\'\';display:flex;background-color:#FFFF;width:15px;height:15px;-webkit-mask-image:var(--dialog--warning__image);mask-image:var(--dialog--warning__image)}.button-yes-no__container{display:flex;box-sizing:border-box;align-self:center;align-items:center;justify-content:flex-end}.button__cancel{padding-right:var(--dialog__btn__no--padding-right);--ez-button--min-width:var(--dialog__btn__min-width)}.button__confirm{--ez-button--background-color:var(--color--primary);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color--primary-600);--ez-button--hover-color:var(--color--inverted);--ez-button--min-width:var(--dialog__btn__min-width)}.button__confirm--danger{--ez-button--background-color:var(--color--alert-error-800, #BD0025);--ez-button--color:var(--color--inverted);--ez-button--hover--background-color:var(--color-alert--error-900, #a10020);--ez-button--hover-color:var(--color--inverted);--ez-button--min-width:var(--dialog__btn__min-width)}.button__confirm--container{display:flex;justify-content:flex-end}.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{g as ez_dialog}
Binary file
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s}from"./p-23a36bb6.js";import{ObjectUtils as o}from"@sankhyalabs/core";import{i as l}from"./p-80dfc50b.js";import{i as n}from"./p-3b7d9f30.js";function h(t,e,i){if(!t.length)return[...e];if(!e.length)return[];const s=function(t,e){return t.map((t=>e.findIndex((e=>e.id===t))))}(t,e),o=0===(l=s).length?0:l.reduce(((t,e)=>e<t?e:t),l[0]);var l;const n=function(t){return 0===t.length?0:t.reduce(((t,e)=>e>t?e:t),t[0])}(s);return function(t,e,i,s){return t<0||e>=s.length||t>e?s:i?function(t,e,i){if(t===i.length-1)return i;const s=i.slice(0,e),o=i.slice(e,t+1),l=i.slice(t+1),n=l.shift();return n?[...s,n,...o,...l]:i}(e,t,s):function(t,e,i){if(0===t)return i;const s=i.slice(0,t-1),o=i.slice(t,e+1),l=i.slice(e+1);return[...s,...o,i[t-1],...l]}(t,e,s)}(o,n,i,e)}function r({from:t,to:e,selectedFrom:i,selectedTo:s}){return e=[...e.map((t=>d(t,!1))),...t.map((t=>d(t,!0)))],i=[],s=[...t.map((({id:t})=>t))],{from:t=[],to:e,selectedFrom:i,selectedTo:s}}function a({from:t,to:e,selectedFrom:i,selectedTo:s,insertIndex:o=e.length}){if(!t.length)return{from:t,to:e,selectedFrom:i,selectedTo:s};const l=function(t,e,i){const s=t.map((t=>t.id)),o=e.filter((t=>!s.includes(t)));return i.filter((({id:t})=>o.includes(t)))}(e,i,t);if(!l.length)return{from:t,to:e,selectedFrom:i,selectedTo:s};let n=e.map((t=>d(t,!1)));return n.splice(o,0,...l.map((t=>d(t,!0)))),{from:t.filter((t=>!i.includes(t.id))),to:n,selectedFrom:[],selectedTo:[...i]}}function d(t,e){return Object.assign(Object.assign({},t),{selected:e})}const c=class{constructor(i){t(this,i),this.ezLeftListChanged=e(this,"ezLeftListChanged",7),this.ezRightListChanged=e(this,"ezRightListChanged",7),this.LEFT_LIST_ID="LEFT-LIST-ID",this.RIGHT_LIST_ID="RIGHT-LIST-ID",this.leftList=[],this.leftTitle=void 0,this.rightList=[],this.entityLabel="item",this.entityLabelPlural="itens",this.leftListLabel="disponíveis",this.rightListLabel="selecionados",this.useOnlyRightList=!1,this.rightTitle=void 0,this.emptyMessage=void 0,this.slotsListBuilder=void 0,this.leftFilteredList=[],this.rightFilteredList=[],this.selectedLeftList=[],this.selectedRightList=[],this.isFilteringLeft=!1,this.isFilteringRight=!1}async resetSelectedLists(){this.selectedLeftList=[],this.selectedRightList=[]}observeLeftList(t,e){o.equals(t,e)||this.ezLeftListChanged.emit(t)}observeRightList(t,e){o.equals(t,e)||this.ezRightListChanged.emit(t)}async componentWillLoad(){this.i18n=await n()}async handleChangeLeft({detail:t}){t.to.getAttribute("id")&&t.to.getAttribute("id")===this.RIGHT_LIST_ID?(t.selectItens=t.selectItens.filter((t=>this.rightList.every((e=>e.id!==t)))),this.leftList=[...t.dataSource],this.selectedLeftList=[...t.selectItens],this.transferToRight(null==t?void 0:t.newIndex)):this.leftList=[...this.reorderArray(t.dataSource,t.selectItens,t.newIndex)]}async handleChangeRight({detail:t}){t.to.getAttribute("id")&&t.to.getAttribute("id")===this.LEFT_LIST_ID?(t.selectItens=t.selectItens.filter((t=>this.leftList.every((e=>e.id!==t)))),this.rightList=[...t.dataSource],this.selectedRightList=[...t.selectItens],this.transferToLeft(null==t?void 0:t.newIndex)):this.rightList=[...this.reorderArray(t.dataSource,t.selectItens,t.newIndex)]}reorderArray(t,e,i){const s=t.filter((t=>!e.includes(t.id))),o=t.filter((t=>e.includes(t.id)));return s.splice(i,0,...o),s}enableTransferAllToRight(){return this.leftList.length>0}enableTransferAllToLeft(){return this.rightList.length>0}enableTransferToRight(){return this.selectedLeftList.length>0}enableTransferToLeft(){return this.selectedRightList.length>0}enableMoveUp(t){if(this.isFilteringRight)return!1;const e=this.getRightSelectedItemsIndex();return this.selectedRightList.length>0&&!e.includes(0)&&(!!t||l(e))}enableMoveDown(t){if(this.isFilteringRight)return!1;const e=this.getRightSelectedItemsIndex();return this.selectedRightList.length>0&&!e.includes(this.rightList.length-1)&&(!!t||l(e))}getRightSelectedItemsIndex(){return this.selectedRightList.map((t=>this.rightList.findIndex((e=>e.id===t))))}transferToRight(t){const{from:e,to:i,selectedFrom:s,selectedTo:o}=a(Object.assign(Object.assign({},this.buildTransferToRightConfig()),{insertIndex:null!=t?t:0}));this.leftList=[],requestAnimationFrame((()=>this.leftList=[...e])),this.rightList=[...i],this.selectedLeftList=[...s],this.selectedRightList=[...o]}transferToLeft(t){const{from:e,to:i,selectedFrom:s,selectedTo:o}=a(Object.assign(Object.assign({},this.buildTransferToLeftConfig()),{insertIndex:null!=t?t:0}));this.rightList=[],requestAnimationFrame((()=>this.rightList=[...e])),this.leftList=[...i],this.selectedRightList=[...s],this.selectedLeftList=[...o]}async handleTransferAllToRight(){const{from:t,to:e,selectedFrom:i,selectedTo:s}=r(this.buildTransferToRightConfig());this.leftList=[...t],this.rightList=[...e],this.selectedLeftList=[...i],this.selectedRightList=[...s],requestAnimationFrame((async()=>{await this.clearSelectionAll()}))}async handleTransferAllToLeft(){const{from:t,to:e,selectedFrom:i,selectedTo:s}=r(this.buildTransferToLeftConfig());this.rightList=[...t],this.leftList=[...e],this.selectedRightList=[...i],this.selectedLeftList=[...s],requestAnimationFrame((async()=>{await this.clearSelectionAll()}))}buildTransferToRightConfig(){return{from:this.leftList,to:this.rightList,selectedFrom:this.selectedLeftList,selectedTo:this.selectedRightList}}buildTransferToLeftConfig(){return{from:this.rightList,to:this.leftList,selectedFrom:this.selectedRightList,selectedTo:this.selectedLeftList}}handleMoveUp(){this.rightList=[...h(this.selectedRightList,this.rightList,!1)]}handleMoveDown(){this.rightList=[...h(this.selectedRightList,this.rightList,!0)]}handleMoveToTop(){const{itemsToKeep:t,itemsToMove:e}=this.getItemsToKeepAndToMove();this.rightList=[...e,...t]}handleMoveToBottom(){const{itemsToKeep:t,itemsToMove:e}=this.getItemsToKeepAndToMove();this.rightList=[...t,...e]}handleSelectLeftItem({detail:t}){this.selectedLeftList=[...t.map((({id:t})=>t))]}handleSelectRightItem({detail:t}){this.selectedRightList=[...t.map((({id:t})=>t))]}getItemsToKeepAndToMove(){return{itemsToKeep:this.rightList.filter((t=>!this.selectedRightList.includes(t.id))),itemsToMove:this.rightList.filter((t=>this.selectedRightList.includes(t.id)))}}async handleTransferToRight(){this.transferToRight(),this.leftFilteredList=[],await this.leftEzListInstance.clearSelection()}async handleTransferToLeft(){this.transferToLeft(),this.rightFilteredList=[],await this.rightEzListInstance.clearSelection()}async clearSelectionAll(){await this.rightEzListInstance.clearSelection(),await this.leftEzListInstance.clearSelection()}handleChooseLeft(){requestAnimationFrame((async()=>{await this.rightEzListInstance.clearSelection()}))}handleChooseRight(){this.useOnlyRightList||requestAnimationFrame((async()=>{await this.leftEzListInstance.clearSelection()}))}renderList(t){const{idSortableList:e,list:s,isFiltering:o,filteredList:l,emptyMessage:n,slotConfig:h,callbacks:r,title:a}=t;return i("ez-sortable-list",{ref:null==r?void 0:r.setRef,title:a,idSortableList:e,emptyMessage:n,class:"ez-size-height--full",dataSource:o?l:s,hoverFeedback:!0,enableMultipleSelection:!0,removeItensMoved:!0,entityLabel:this.entityLabel,entityLabelPlural:this.entityLabelPlural,itemRightSlotBuilder:null==h?void 0:h.itemRightSlotBuilder,itemLeftSlotBuilder:null==h?void 0:h.itemLeftSlotBuilder,onItemsReordered:null==r?void 0:r.onChange.bind(this),onEzSelectItens:null==r?void 0:r.onSelect.bind(this),onEzDoubleClick:null==r?void 0:r.onDoubleClick.bind(this),onEzChoose:null==r?void 0:r.onChoose.bind(this)})}render(){var t,e,o,l,n,h,r,a,d,c;return i(s,null,!this.useOnlyRightList&&i("div",{class:"list__container"},this.leftList&&this.renderList({idSortableList:this.LEFT_LIST_ID,list:this.leftList,title:this.leftTitle,isFiltering:this.isFilteringLeft,filteredList:this.leftFilteredList,emptyMessage:(null===(t=this.emptyMessage)||void 0===t?void 0:t.LEFT_LIST)?this.emptyMessage.LEFT_LIST:this.i18n("ez-double-list.noItemsAvailable",{entity:this.entityLabel}),slotConfig:{itemRightSlotBuilder:null===(o=null===(e=this.slotsListBuilder)||void 0===e?void 0:e.LEFT_LIST)||void 0===o?void 0:o.itemRightSlotBuilder,itemLeftSlotBuilder:null===(n=null===(l=this.slotsListBuilder)||void 0===l?void 0:l.LEFT_LIST)||void 0===n?void 0:n.itemLeftSlotBuilder},callbacks:{setRef:t=>this.leftEzListInstance=t,onChange:t=>this.handleChangeLeft(t),onSelect:this.handleSelectLeftItem.bind(this),onDoubleClick:this.handleTransferToRight.bind(this),onChoose:this.handleChooseLeft.bind(this)}})),!this.useOnlyRightList&&i("div",{class:"actions__column"},i("ez-button",{mode:"icon",iconName:"dual-chevron-right",enabled:this.enableTransferAllToRight(),title:this.i18n("ez-double-list.moveAllTo",{list:this.rightListLabel}),size:"small",onClick:this.handleTransferAllToRight.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-right",enabled:this.enableTransferToRight(),title:this.i18n("ez-double-list.moveTo",{list:this.rightListLabel}),size:"small",onClick:this.handleTransferToRight.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-left",enabled:this.enableTransferToLeft(),title:this.i18n("ez-double-list.moveTo",{list:this.leftListLabel}),size:"small",onClick:this.handleTransferToLeft.bind(this)}),i("ez-button",{mode:"icon",iconName:"dual-chevron-left",enabled:this.enableTransferAllToLeft(),title:this.i18n("ez-double-list.moveAllTo",{list:this.leftListLabel}),size:"small",onClick:this.handleTransferAllToLeft.bind(this)})),i("div",{class:"list__container"},this.rightList&&this.renderList({idSortableList:this.RIGHT_LIST_ID,list:this.rightList,title:this.rightTitle,isFiltering:this.isFilteringRight,filteredList:this.rightFilteredList,emptyMessage:(null===(h=this.emptyMessage)||void 0===h?void 0:h.RIGHT_LIST)?this.emptyMessage.RIGHT_LIST:this.i18n("ez-double-list.noItemsSelected",{entity:this.entityLabel}),slotConfig:{itemRightSlotBuilder:null===(a=null===(r=this.slotsListBuilder)||void 0===r?void 0:r.RIGHT_LIST)||void 0===a?void 0:a.itemRightSlotBuilder,itemLeftSlotBuilder:null===(c=null===(d=this.slotsListBuilder)||void 0===d?void 0:d.RIGHT_LIST)||void 0===c?void 0:c.itemLeftSlotBuilder},callbacks:{setRef:t=>this.rightEzListInstance=t,onChange:t=>this.handleChangeRight(t),onSelect:this.handleSelectRightItem.bind(this),onDoubleClick:this.handleTransferToLeft.bind(this),onChoose:this.handleChooseRight.bind(this)}})),i("div",{class:"actions__column"},i("ez-button",{mode:"icon",iconName:"dual-chevron-up",enabled:this.enableMoveUp(!0),title:this.i18n("ez-double-list.moveToFirstPosition"),size:"small",onClick:this.handleMoveToTop.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-up",enabled:this.enableMoveUp(),title:this.i18n("ez-double-list.moveUp"),size:"small",onClick:this.handleMoveUp.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-down",enabled:this.enableMoveDown(),title:this.i18n("ez-double-list.moveDown"),size:"small",onClick:this.handleMoveDown.bind(this)}),i("ez-button",{mode:"icon",iconName:"dual-chevron-down",enabled:this.enableMoveDown(!0),title:this.i18n("ez-double-list.moveToLastPosition"),size:"small",onClick:this.handleMoveToBottom.bind(this)})))}static get watchers(){return{leftList:["observeLeftList"],rightList:["observeRightList"]}}};c.style='.sc-ez-double-list-h{display:flex;flex-direction:row;gap:8px;align-items:center;font-family:var(--font-pattern, "Roboto");width:100%}@media screen and (max-width: 1366px){.group.sc-ez-double-list{height:350px}}.list__container.sc-ez-double-list{height:100%;width:100%;min-height:150px;overflow:auto;display:flex}.actions__column.sc-ez-double-list{display:flex;flex-direction:column;gap:4px}';export{c as ez_double_list}
1
+ import{r as t,c as e,h as i,H as s}from"./p-23a36bb6.js";import{ObjectUtils as o}from"@sankhyalabs/core";import{i as l}from"./p-80dfc50b.js";import{i as n}from"./p-a61fdd20.js";function h(t,e,i){if(!t.length)return[...e];if(!e.length)return[];const s=function(t,e){return t.map((t=>e.findIndex((e=>e.id===t))))}(t,e),o=0===(l=s).length?0:l.reduce(((t,e)=>e<t?e:t),l[0]);var l;const n=function(t){return 0===t.length?0:t.reduce(((t,e)=>e>t?e:t),t[0])}(s);return function(t,e,i,s){return t<0||e>=s.length||t>e?s:i?function(t,e,i){if(t===i.length-1)return i;const s=i.slice(0,e),o=i.slice(e,t+1),l=i.slice(t+1),n=l.shift();return n?[...s,n,...o,...l]:i}(e,t,s):function(t,e,i){if(0===t)return i;const s=i.slice(0,t-1),o=i.slice(t,e+1),l=i.slice(e+1);return[...s,...o,i[t-1],...l]}(t,e,s)}(o,n,i,e)}function r({from:t,to:e,selectedFrom:i,selectedTo:s}){return e=[...e.map((t=>d(t,!1))),...t.map((t=>d(t,!0)))],i=[],s=[...t.map((({id:t})=>t))],{from:t=[],to:e,selectedFrom:i,selectedTo:s}}function a({from:t,to:e,selectedFrom:i,selectedTo:s,insertIndex:o=e.length}){if(!t.length)return{from:t,to:e,selectedFrom:i,selectedTo:s};const l=function(t,e,i){const s=t.map((t=>t.id)),o=e.filter((t=>!s.includes(t)));return i.filter((({id:t})=>o.includes(t)))}(e,i,t);if(!l.length)return{from:t,to:e,selectedFrom:i,selectedTo:s};let n=e.map((t=>d(t,!1)));return n.splice(o,0,...l.map((t=>d(t,!0)))),{from:t.filter((t=>!i.includes(t.id))),to:n,selectedFrom:[],selectedTo:[...i]}}function d(t,e){return Object.assign(Object.assign({},t),{selected:e})}const c=class{constructor(i){t(this,i),this.ezLeftListChanged=e(this,"ezLeftListChanged",7),this.ezRightListChanged=e(this,"ezRightListChanged",7),this.LEFT_LIST_ID="LEFT-LIST-ID",this.RIGHT_LIST_ID="RIGHT-LIST-ID",this.leftList=[],this.leftTitle=void 0,this.rightList=[],this.entityLabel="item",this.entityLabelPlural="itens",this.leftListLabel="disponíveis",this.rightListLabel="selecionados",this.useOnlyRightList=!1,this.rightTitle=void 0,this.emptyMessage=void 0,this.slotsListBuilder=void 0,this.leftFilteredList=[],this.rightFilteredList=[],this.selectedLeftList=[],this.selectedRightList=[],this.isFilteringLeft=!1,this.isFilteringRight=!1}async resetSelectedLists(){this.selectedLeftList=[],this.selectedRightList=[]}observeLeftList(t,e){o.equals(t,e)||this.ezLeftListChanged.emit(t)}observeRightList(t,e){o.equals(t,e)||this.ezRightListChanged.emit(t)}async componentWillLoad(){this.i18n=await n()}async handleChangeLeft({detail:t}){t.to.getAttribute("id")&&t.to.getAttribute("id")===this.RIGHT_LIST_ID?(t.selectItens=t.selectItens.filter((t=>this.rightList.every((e=>e.id!==t)))),this.leftList=[...t.dataSource],this.selectedLeftList=[...t.selectItens],this.transferToRight(null==t?void 0:t.newIndex)):this.leftList=[...this.reorderArray(t.dataSource,t.selectItens,t.newIndex)]}async handleChangeRight({detail:t}){t.to.getAttribute("id")&&t.to.getAttribute("id")===this.LEFT_LIST_ID?(t.selectItens=t.selectItens.filter((t=>this.leftList.every((e=>e.id!==t)))),this.rightList=[...t.dataSource],this.selectedRightList=[...t.selectItens],this.transferToLeft(null==t?void 0:t.newIndex)):this.rightList=[...this.reorderArray(t.dataSource,t.selectItens,t.newIndex)]}reorderArray(t,e,i){const s=t.filter((t=>!e.includes(t.id))),o=t.filter((t=>e.includes(t.id)));return s.splice(i,0,...o),s}enableTransferAllToRight(){return this.leftList.length>0}enableTransferAllToLeft(){return this.rightList.length>0}enableTransferToRight(){return this.selectedLeftList.length>0}enableTransferToLeft(){return this.selectedRightList.length>0}enableMoveUp(t){if(this.isFilteringRight)return!1;const e=this.getRightSelectedItemsIndex();return this.selectedRightList.length>0&&!e.includes(0)&&(!!t||l(e))}enableMoveDown(t){if(this.isFilteringRight)return!1;const e=this.getRightSelectedItemsIndex();return this.selectedRightList.length>0&&!e.includes(this.rightList.length-1)&&(!!t||l(e))}getRightSelectedItemsIndex(){return this.selectedRightList.map((t=>this.rightList.findIndex((e=>e.id===t))))}transferToRight(t){const{from:e,to:i,selectedFrom:s,selectedTo:o}=a(Object.assign(Object.assign({},this.buildTransferToRightConfig()),{insertIndex:null!=t?t:0}));this.leftList=[],requestAnimationFrame((()=>this.leftList=[...e])),this.rightList=[...i],this.selectedLeftList=[...s],this.selectedRightList=[...o]}transferToLeft(t){const{from:e,to:i,selectedFrom:s,selectedTo:o}=a(Object.assign(Object.assign({},this.buildTransferToLeftConfig()),{insertIndex:null!=t?t:0}));this.rightList=[],requestAnimationFrame((()=>this.rightList=[...e])),this.leftList=[...i],this.selectedRightList=[...s],this.selectedLeftList=[...o]}async handleTransferAllToRight(){const{from:t,to:e,selectedFrom:i,selectedTo:s}=r(this.buildTransferToRightConfig());this.leftList=[...t],this.rightList=[...e],this.selectedLeftList=[...i],this.selectedRightList=[...s],requestAnimationFrame((async()=>{await this.clearSelectionAll()}))}async handleTransferAllToLeft(){const{from:t,to:e,selectedFrom:i,selectedTo:s}=r(this.buildTransferToLeftConfig());this.rightList=[...t],this.leftList=[...e],this.selectedRightList=[...i],this.selectedLeftList=[...s],requestAnimationFrame((async()=>{await this.clearSelectionAll()}))}buildTransferToRightConfig(){return{from:this.leftList,to:this.rightList,selectedFrom:this.selectedLeftList,selectedTo:this.selectedRightList}}buildTransferToLeftConfig(){return{from:this.rightList,to:this.leftList,selectedFrom:this.selectedRightList,selectedTo:this.selectedLeftList}}handleMoveUp(){this.rightList=[...h(this.selectedRightList,this.rightList,!1)]}handleMoveDown(){this.rightList=[...h(this.selectedRightList,this.rightList,!0)]}handleMoveToTop(){const{itemsToKeep:t,itemsToMove:e}=this.getItemsToKeepAndToMove();this.rightList=[...e,...t]}handleMoveToBottom(){const{itemsToKeep:t,itemsToMove:e}=this.getItemsToKeepAndToMove();this.rightList=[...t,...e]}handleSelectLeftItem({detail:t}){this.selectedLeftList=[...t.map((({id:t})=>t))]}handleSelectRightItem({detail:t}){this.selectedRightList=[...t.map((({id:t})=>t))]}getItemsToKeepAndToMove(){return{itemsToKeep:this.rightList.filter((t=>!this.selectedRightList.includes(t.id))),itemsToMove:this.rightList.filter((t=>this.selectedRightList.includes(t.id)))}}async handleTransferToRight(){this.transferToRight(),this.leftFilteredList=[],await this.leftEzListInstance.clearSelection()}async handleTransferToLeft(){this.transferToLeft(),this.rightFilteredList=[],await this.rightEzListInstance.clearSelection()}async clearSelectionAll(){await this.rightEzListInstance.clearSelection(),await this.leftEzListInstance.clearSelection()}handleChooseLeft(){requestAnimationFrame((async()=>{await this.rightEzListInstance.clearSelection()}))}handleChooseRight(){this.useOnlyRightList||requestAnimationFrame((async()=>{await this.leftEzListInstance.clearSelection()}))}renderList(t){const{idSortableList:e,list:s,isFiltering:o,filteredList:l,emptyMessage:n,slotConfig:h,callbacks:r,title:a}=t;return i("ez-sortable-list",{ref:null==r?void 0:r.setRef,title:a,idSortableList:e,emptyMessage:n,class:"ez-size-height--full",dataSource:o?l:s,hoverFeedback:!0,enableMultipleSelection:!0,removeItensMoved:!0,entityLabel:this.entityLabel,entityLabelPlural:this.entityLabelPlural,itemRightSlotBuilder:null==h?void 0:h.itemRightSlotBuilder,itemLeftSlotBuilder:null==h?void 0:h.itemLeftSlotBuilder,onItemsReordered:null==r?void 0:r.onChange.bind(this),onEzSelectItens:null==r?void 0:r.onSelect.bind(this),onEzDoubleClick:null==r?void 0:r.onDoubleClick.bind(this),onEzChoose:null==r?void 0:r.onChoose.bind(this)})}render(){var t,e,o,l,n,h,r,a,d,c;return i(s,null,!this.useOnlyRightList&&i("div",{class:"list__container"},this.leftList&&this.renderList({idSortableList:this.LEFT_LIST_ID,list:this.leftList,title:this.leftTitle,isFiltering:this.isFilteringLeft,filteredList:this.leftFilteredList,emptyMessage:(null===(t=this.emptyMessage)||void 0===t?void 0:t.LEFT_LIST)?this.emptyMessage.LEFT_LIST:this.i18n("ez-double-list.noItemsAvailable",{entity:this.entityLabel}),slotConfig:{itemRightSlotBuilder:null===(o=null===(e=this.slotsListBuilder)||void 0===e?void 0:e.LEFT_LIST)||void 0===o?void 0:o.itemRightSlotBuilder,itemLeftSlotBuilder:null===(n=null===(l=this.slotsListBuilder)||void 0===l?void 0:l.LEFT_LIST)||void 0===n?void 0:n.itemLeftSlotBuilder},callbacks:{setRef:t=>this.leftEzListInstance=t,onChange:t=>this.handleChangeLeft(t),onSelect:this.handleSelectLeftItem.bind(this),onDoubleClick:this.handleTransferToRight.bind(this),onChoose:this.handleChooseLeft.bind(this)}})),!this.useOnlyRightList&&i("div",{class:"actions__column"},i("ez-button",{mode:"icon",iconName:"dual-chevron-right",enabled:this.enableTransferAllToRight(),title:this.i18n("ez-double-list.moveAllTo",{list:this.rightListLabel}),size:"small",onClick:this.handleTransferAllToRight.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-right",enabled:this.enableTransferToRight(),title:this.i18n("ez-double-list.moveTo",{list:this.rightListLabel}),size:"small",onClick:this.handleTransferToRight.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-left",enabled:this.enableTransferToLeft(),title:this.i18n("ez-double-list.moveTo",{list:this.leftListLabel}),size:"small",onClick:this.handleTransferToLeft.bind(this)}),i("ez-button",{mode:"icon",iconName:"dual-chevron-left",enabled:this.enableTransferAllToLeft(),title:this.i18n("ez-double-list.moveAllTo",{list:this.leftListLabel}),size:"small",onClick:this.handleTransferAllToLeft.bind(this)})),i("div",{class:"list__container"},this.rightList&&this.renderList({idSortableList:this.RIGHT_LIST_ID,list:this.rightList,title:this.rightTitle,isFiltering:this.isFilteringRight,filteredList:this.rightFilteredList,emptyMessage:(null===(h=this.emptyMessage)||void 0===h?void 0:h.RIGHT_LIST)?this.emptyMessage.RIGHT_LIST:this.i18n("ez-double-list.noItemsSelected",{entity:this.entityLabel}),slotConfig:{itemRightSlotBuilder:null===(a=null===(r=this.slotsListBuilder)||void 0===r?void 0:r.RIGHT_LIST)||void 0===a?void 0:a.itemRightSlotBuilder,itemLeftSlotBuilder:null===(c=null===(d=this.slotsListBuilder)||void 0===d?void 0:d.RIGHT_LIST)||void 0===c?void 0:c.itemLeftSlotBuilder},callbacks:{setRef:t=>this.rightEzListInstance=t,onChange:t=>this.handleChangeRight(t),onSelect:this.handleSelectRightItem.bind(this),onDoubleClick:this.handleTransferToLeft.bind(this),onChoose:this.handleChooseRight.bind(this)}})),i("div",{class:"actions__column"},i("ez-button",{mode:"icon",iconName:"dual-chevron-up",enabled:this.enableMoveUp(!0),title:this.i18n("ez-double-list.moveToFirstPosition"),size:"small",onClick:this.handleMoveToTop.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-up",enabled:this.enableMoveUp(),title:this.i18n("ez-double-list.moveUp"),size:"small",onClick:this.handleMoveUp.bind(this)}),i("ez-button",{mode:"icon",iconName:"chevron-down",enabled:this.enableMoveDown(),title:this.i18n("ez-double-list.moveDown"),size:"small",onClick:this.handleMoveDown.bind(this)}),i("ez-button",{mode:"icon",iconName:"dual-chevron-down",enabled:this.enableMoveDown(!0),title:this.i18n("ez-double-list.moveToLastPosition"),size:"small",onClick:this.handleMoveToBottom.bind(this)})))}static get watchers(){return{leftList:["observeLeftList"],rightList:["observeRightList"]}}};c.style='.sc-ez-double-list-h{display:flex;flex-direction:row;gap:8px;align-items:center;font-family:var(--font-pattern, "Roboto");width:100%}@media screen and (max-width: 1366px){.group.sc-ez-double-list{height:350px}}.list__container.sc-ez-double-list{height:100%;width:100%;min-height:150px;overflow:auto;display:flex}.actions__column.sc-ez-double-list{display:flex;flex-direction:column;gap:4px}';export{c as ez_double_list}
Binary file
@@ -1 +1 @@
1
- import{r as e,h as n,H as r,g as s}from"./p-23a36bb6.js";import{ElementIDUtils as i}from"@sankhyalabs/core";import{g as a}from"./p-3b7d9f30.js";const t=class{constructor(n){e(this,n),this.size="small"}addInfoId(){this._element&&i.addIDInfo(this._element)}async componentWillLoad(){this.i18n=a()}componentDidLoad(){this.addInfoId()}render(){return n(r,null,n("div",{class:"spinner__container","data-size":this.size,role:"status","aria-label":this.i18n?this.i18n("spinner.loading"):"Carregando..."},n("svg",{viewBox:"0 0 24 24",class:"spinner__svg"},n("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"spinner__path"}))))}get _element(){return s(this)}};t.style=':host{--ez-spinner--color:var(--color--ocean-green-600, #008561);--ez-spinner--size-default:24px;--ez-spinner--size-medium:32px;--ez-spinner--size-large:42px;--ez-spinner--animation-duration:1.4s;display:inline-flex;align-items:center;justify-content:center}.spinner__container{display:inline-flex;align-items:center;justify-content:center}.spinner__svg{color:var(--ez-spinner--color);width:var(--ez-spinner--size-default);height:var(--ez-spinner--size-default)}.spinner__container[data-size="medium"] .spinner__svg{width:var(--ez-spinner--size-medium);height:var(--ez-spinner--size-medium)}.spinner__container[data-size="large"] .spinner__svg{width:var(--ez-spinner--size-large);height:var(--ez-spinner--size-large)}.spinner__path{animation:spinner-dash var(--ez-spinner--animation-duration) ease-in-out infinite,\n spinner-rotate var(--ez-spinner--animation-duration) linear infinite;transform-origin:center;will-change:stroke-dasharray, stroke-dashoffset}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes spinner-dash{0%{stroke-dasharray:1, 63;stroke-dashoffset:0}50%{stroke-dasharray:32, 63;stroke-dashoffset:-16}100%{stroke-dasharray:1, 63;stroke-dashoffset:-63}}';export{t as ez_spinner}
1
+ import{r as e,h as n,H as r,g as s}from"./p-23a36bb6.js";import{ElementIDUtils as i}from"@sankhyalabs/core";import{g as a}from"./p-a61fdd20.js";const t=class{constructor(n){e(this,n),this.size="small"}addInfoId(){this._element&&i.addIDInfo(this._element)}async componentWillLoad(){this.i18n=a()}componentDidLoad(){this.addInfoId()}render(){return n(r,null,n("div",{class:"spinner__container","data-size":this.size,role:"status","aria-label":this.i18n?this.i18n("spinner.loading"):"Carregando..."},n("svg",{viewBox:"0 0 24 24",class:"spinner__svg"},n("circle",{cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round",class:"spinner__path"}))))}get _element(){return s(this)}};t.style=':host{--ez-spinner--color:var(--color--ocean-green-600, #008561);--ez-spinner--size-default:24px;--ez-spinner--size-medium:32px;--ez-spinner--size-large:42px;--ez-spinner--animation-duration:1.4s;display:inline-flex;align-items:center;justify-content:center}.spinner__container{display:inline-flex;align-items:center;justify-content:center}.spinner__svg{color:var(--ez-spinner--color);width:var(--ez-spinner--size-default);height:var(--ez-spinner--size-default)}.spinner__container[data-size="medium"] .spinner__svg{width:var(--ez-spinner--size-medium);height:var(--ez-spinner--size-medium)}.spinner__container[data-size="large"] .spinner__svg{width:var(--ez-spinner--size-large);height:var(--ez-spinner--size-large)}.spinner__path{animation:spinner-dash var(--ez-spinner--animation-duration) ease-in-out infinite,\n spinner-rotate var(--ez-spinner--animation-duration) linear infinite;transform-origin:center;will-change:stroke-dasharray, stroke-dashoffset}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes spinner-dash{0%{stroke-dasharray:1, 63;stroke-dashoffset:0}50%{stroke-dasharray:32, 63;stroke-dashoffset:-16}100%{stroke-dasharray:1, 63;stroke-dashoffset:-63}}';export{t as ez_spinner}
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,H as r,g as o}from"./p-23a36bb6.js";import{MaskFormatter as n,ElementIDUtils as s}from"@sankhyalabs/core";const a=class{constructor(e){t(this,e),this.ezChange=i(this,"ezChange",7),this._isOverflowing=!1,this.label=void 0,this.alternativePlaceholder=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.hasInvalid=!1,this.mask=void 0,this.cleanValueMask=!1,this.canShowError=!0,this.restrict=void 0,this.mode="regular",this.noBorder=!1,this.password=!1,this.autoFocus=!1,this.hasRightSlotContent=!1,this.forceLabelFloat=!1}observeHasInvalid(t,i){t!==i&&this.validateErrors()}observeMask(){this.mask&&(null==this._maskFormatter?this._maskFormatter=new n(this.mask):this._maskFormatter.mask=this.mask)}observeValue(t,i){this._inputElem&&t!=i&&(this._inputElem.value=this.value||"",this.handleChange(),this.applyMask(t),this.adjustFloatingLabel(),this.checkIsOverflowing(),this.isSlaveMode()||(this.errorMessage="",this.ezChange.emit(this.value)))}observeAlternativePlaceholder(t){this.forceLabelFloat=!!t}validateErrors(){const t=this.handleValidateErrorMessage(this.errorMessage);this.updateClassError(this.canShowError&&(t||this.hasInvalid))}handleValidateErrorMessage(t=this.errorMessage){return"string"==typeof t&&""!==t.trim()}updateClassError(t){this._inputElem&&(t?this._inputElem.classList.add("hasError"):this._inputElem.classList.remove("hasError"))}adjustFloatingLabel(){if(this.label&&this._labelElem){if(this._inputElem&&!this._inputElem.classList.contains("input--with--label")&&this._inputElem.classList.add("input--with--label"),this.forceLabelFloat)return;const t=this.value&&this.value.toString().length>0,i=this._labelElem.classList.contains("input__label--floated");t||this.isFocused()?i||this._labelElem.classList.add("input__label--floated"):i&&this._labelElem.classList.remove("input__label--floated")}}isFocused(){return null!==this._hostElement.shadowRoot.activeElement}isSlaveMode(){var t,i;return"true"===(null===(i=null===(t=this._hostElement)||void 0===t?void 0:t.dataset)||void 0===i?void 0:i.slaveMode)}adjustColorContentSlot(t=""){this._contentLeftSlot&&(this._contentLeftSlot.style.color=t)}adjustBorderInput(){this.noBorder&&this._inputElem.classList.add("input__slim--noborder")}async setFocus(t){const{selectText:i}=t||{};if(i&&this._inputElem.select(),this._inputElem.disabled)return this._inputElem.classList.add("focused"),void this._inputElem.scrollIntoView({behavior:"smooth",block:"start"});requestAnimationFrame((()=>this._inputElem.focus()))}async setBlur(){this._inputElem.blur()}async isInvalid(){return this.handleValidateErrorMessage()}handleFocusout(){const t=this._inputElem.value;if(t&&this._maskFormatter)try{const i=this.handleDefaultMask(t);this._maskFormatter.mask=i,this._inputElem.value=this._maskFormatter.format(this._maskFormatter.removeMask(t))}catch(t){this.errorMessage=t.message}this.controlChangeValue(),this.adjustFloatingLabel(),this.adjustColorContentSlot()}isValidValue(t){return!this.restrict||Array.from(t).reduce(((t,i)=>t&&this.restrict.indexOf(i)>-1),!0)}controlChangeValue(){this._inputElem&&(this.value||"")!==this._inputElem.value&&(this.value=this.cleanValueMask&&this._maskFormatter?this._maskFormatter.removeMask(this._inputElem.value):this._inputElem.value)}handleDefaultMask(t=this.value){return"cgc_cpf"===this.mask&&(this.mask=t&&t.length<=11?n.DEFAULT_MASKS.cpf:n.DEFAULT_MASKS.cnpj),this.mask}applyMask(t){if(!t||""===t)return t;if(this._maskFormatter)try{const i=this.handleDefaultMask(t);this._maskFormatter.mask=i;const e=this._maskFormatter.applyMask(this._maskFormatter.removeMask(t));return this._inputElem?(this._inputElem.value=e,this._inputElem.value):(this.cleanValueMask||(this.value=e),this.value)}catch(t){this.errorMessage=t.message}return t}handleChange(){if(!this._inputElem)return;const t=this._inputElem.value;this.isValidValue(t)?this._lastValidValue=t:this._inputElem.value=null==this._lastValidValue?"":this._lastValidValue,this.controlChangeValue()}handleSlotChange(t){var i;const e=t.target,r=e.assignedElements()[0];this.hasRightSlotContent=!1,r&&(r.style.position="absolute",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.overflow="hidden",r.style.top="0px",r.style.width="var(--ez-text-input__icon--width)",r.style.height="slim"!=this.mode?"var(--ez-text-input--height)":"var(--ez-text-input--height--slim)","leftIcon"==e.name?(r.style.left="0px",r.style.borderRadius="var(--ez-text-input--border-radius) 0 0 var(--ez-text-input--border-radius)",this._inputElem.classList.add("icon--left"),this._labelElem&&this._labelElem.classList.add("input__label--left"),this._contentLeftSlot=r):"rightIcon"==e.name&&(r.style.right="0px",r.style.borderRadius="0 var(--ez-text-input--border-radius) var(--ez-text-input--border-radius) 0",this._inputElem.classList.add("icon--right"),this._labelElem&&this._labelElem.classList.add("input__label--right"),this._tooltipIconElem&&this._tooltipIconElem.classList.add("rightIconSlot"),this.hasRightSlotContent=(null===(i=r.children)||void 0===i?void 0:i.length)>0),e.name&&s.addIDInfo(r,e.name)),this.validateErrors()}doFocus(){this.label&&this._labelElem&&!this._labelElem.classList.contains("input__label--floated")&&this._labelElem.classList.add("input__label--floated"),this.adjustColorContentSlot("var(--ez-text-input__input--focus--icon-color)")}getValue(){return this.mask?this.applyMask(this.value):this.value}buildLabelClass(){let t=this.enabled?"input__label":"input__label input__label--disabled";return this.errorMessage&&(t+=" hasError"),this.forceLabelFloat&&(t+=" input__label--floated"),t}buildPlaceholder(){return this.alternativePlaceholder?this.alternativePlaceholder:"slim"===this.mode&&this.label?this.label:""}checkIsOverflowing(){this._isOverflowing=!!this._inputElem&&this._inputElem.offsetWidth<this._inputElem.scrollWidth}componentWillLoad(){if(this.observeMask(),this.forceLabelFloat=!!this.alternativePlaceholder,this.value){if(this._maskFormatter)try{this.applyMask(this.value)}catch(t){this.errorMessage=t.message}this.isValidValue(this.value)||(this._lastValidValue="",this.value="")}}componentDidLoad(){var t;this.validateErrors(),this.observeMask(),this.adjustFloatingLabel(),this.adjustBorderInput(),this.checkIsOverflowing(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})})),null===(t=this._inputElem)||void 0===t||t.addEventListener("focus",(()=>{var t;this._inputElem.setSelectionRange(0,null===(t=this._inputElem)||void 0===t?void 0:t.value.length)})),this.onClickOutside=t=>{this._inputElem.contains(t.target)||this._inputElem.classList.remove("focused")},document.addEventListener("click",this.onClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.onClickOutside)}componentDidRender(){this.adjustFloatingLabel()}render(){return s.addIDInfoIfNotExists(this._hostElement,"input"),e(r,{style:this._hostElement.classList.contains("grid_editor")?{height:"100%"}:null},e("slot",{name:"leftIcon",onSlotchange:t=>{this.handleSlotChange(t)}}),this.label&&"slim"!=this.mode?e("label",{ref:t=>this._labelElem=t,class:this.buildLabelClass(),onClick:()=>this._inputElem.focus(),title:this.label},this.label):null,e("input",{"data-element-id":s.getInternalIDInfo("input"),onFocus:()=>this.doFocus(),ref:t=>this._inputElem=t,type:this.password?"password":"text",class:"slim"===this.mode?"input--slim":"",placeholder:this.buildPlaceholder(),value:this.getValue(),disabled:!this.enabled,onInput:()=>{this.handleChange()},onFocusout:()=>{this.handleFocusout()}}),e("ez-tooltip",{anchoringElement:this._hostElement,message:this.getValue(),active:this._isOverflowing,useAnchorSize:!0}),this.canShowError&&"slim"!=this.mode&&this.errorMessage&&e("ez-tooltip",{type:"error",message:this.errorMessage},e("ez-icon",{class:`tooltip-icon ${this.errorMessage?"hasError":""} ${this.hasRightSlotContent?"rightIconSlot":""}`,"data-element-id":s.getInternalIDInfo("tooltip-icon"),ref:t=>this._tooltipIconElem=t,iconName:"alert-circle"})),e("slot",{name:"rightIcon",onSlotchange:t=>{this.handleSlotChange(t)}}," "))}get _hostElement(){return o(this)}static get watchers(){return{hasInvalid:["observeHasInvalid"],errorMessage:["observeHasInvalid"],canShowError:["observeHasInvalid"],mask:["observeMask"],value:["observeValue"],alternativePlaceholder:["observeAlternativePlaceholder"]}}};a.style=":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:30px;--ez-text-input--height--slim:32px;--ez-text-input__min-width:0px;--ez-text-input__max-width:100%;--ez-text-input--border-radius:var(--border--radius-medium, 12px);--ez-text-input--border-top-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-top-right-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-right-radius:var(--ez-text-input--border-radius);--ez-text-input--font-size:var(--text--medium, 14px);--ez-text-input--font-family:var(--font-pattern, Arial);--ez-text-input--font-weight:var(--text-weight--medium, 400);--ez-text-input--color:var(--title--primary, #2B3A54);--ez-text-input__margin-bottom:var(--space--small);--ez-text-input__input--background-color:var(--background--light, #ffffff);--ez-text-input__input--border:var(--border--small, 1px solid);--ez-text-input__input--border-color:var(--color--strokes,#DCE0E8);--ez-text-input__input--focus--border-color:var(--color--primary, #008561);--ez-text-input__input--disabled--background-color:var(--background--medium, #F0F3F7);--ez-text-input__input--disabled--color:var(--text--primary, #626E82);--ez-text-input__input--error--border-color:var(--color-alert--error-800,#BD0025);--ez-text-input__input--noborder-color:white;--ez-text-input__input--padding:var(--space--medium, 6px);--ez-text-input__placeholder--color:var(--text--secondary, #a2abb9);--ez-text-input__tooltip_icon--error--color:var(--color-alert--error-800,#BD0025);--ez-text-input__label--floating--top:6px;--ez-text-input__label--padding-top:12px;--ez-text-input__label--padding-left:14px;--ez-text-input__label--padding-right:12px;--ez-text-input__input--focus--icon-color:var(--title--primary, #2B3A54);--ez-text-input__input--disabled--focus--icon-color:var(--text--primary, #626E82);--ez-text-input__tooltip-icon--spacing:var(--space--large);--ez-text-input__tooltip-icon---width:var(--space--large);--ez-text-input__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-input__tooltip-icon---vertical-margin:10px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-text-input--width);min-width:var(--ez-text-input__min-width);max-width:var(--ez-text-input__max-width)}:host(.grid_editor){--ez-text-input--height--slim:25px}input{width:100%;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:var(--ez-text-input--height);border-top-left-radius:var(--ez-text-input--border-top-left-radius);border-bottom-left-radius:var(--ez-text-input--border-bottom-left-radius);border-top-right-radius:var(--ez-text-input--border-top-right-radius);border-bottom-right-radius:var(--ez-text-input--border-bottom-right-radius);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);border:var(--ez-text-input__input--border);border-color:var(--ez-text-input__input--border-color);background-color:var(--ez-text-input__input--background-color);color:var(--ez-text-input--color);font-weight:var(--ez-text-input--font-weight);padding:var(--ez-text-input__input--padding);margin-bottom:var(--ez-text-input__margin-bottom)}input.no--margin{--ez-text-input__margin-bottom:0}input:disabled{background-color:var(--ez-text-input__input--disabled--background-color);color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}input:focus{outline:none;border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.focused{border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.icon--left{padding-left:var(--ez-text-input__icon--width)}input.icon--left.hasError{padding-right:var(--ez-text-input__icon--width)}input.icon--right{padding-right:var(--ez-text-input__icon--width)}input.icon--right.hasError{padding-right:calc(var(--ez-text-input__icon--width) + var(--ez-text-input__tooltip-icon--spacing))}input.hasError{color:var(--ez-text-input--color);border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--error--border-color);padding-right:calc(var(--ez-text-input__tooltip-icon---width) + (2*var(--ez-text-input__tooltip-icon---horizontal-margin)))}input:disabled.hasError{color:var(--ez-text-input__input--disabled--color)}input.text--right{text-align:right}input:disabled,input:read-only{cursor:not-allowed}.hasError{color:var(--ez-text-input__tooltip_icon--error--color)}.input__label{box-sizing:border-box;position:absolute;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - (var(--ez-text-input__label--padding-right) + var(--ez-text-input__label--padding-left)));left:var(--ez-text-input--space--medium);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input--color);top:var(--ez-text-input__label--padding-top);left:var(--ez-text-input__label--padding-left);padding-right:var(--ez-text-input__label--padding-right)}.input__label.hasError{width:calc(100% - 2*(var(--ez-text-input__tooltip-icon--spacing)))}.input__label--floated{font-family:var(--ez-text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-text-input__label--floating--top)}.input__label--disabled{color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}.input__label--left{text-align:left;left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - (var(--ez-text-input__icon--width) + var(--ez-text-input__label--padding-right)))}.input__label--left.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--right{right:var(--ez-text-input__icon--width);width:calc(100% - (var(--ez-text-input__icon--width) + var(--ez-text-input__label--padding-left)))}.input__label--right.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--left.input__label--right{left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}.input--slim{padding-top:var(--space--small, 3px);padding-bottom:var(--space--small, 3px);height:var(--ez-text-input--height--slim)}.input__slim--title{font-size:16px;font-weight:bold}.input--slim::-webkit-input-placeholder,.input--slim:-moz-placeholder,.input--slim::-moz-placeholder,.input--slim:-ms-input-placeholder,.input--slim::placeholder{font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input__placeholder--color)}.input--slim:disabled::-webkit-input-placeholder,.input--slim:disabled:-moz-placeholder,.input--slim:disabled::-moz-placeholder,.input--slim:disabled:-ms-input-placeholder,.input--slim:disabled::placeholder{color:var(--ez-text-input__input--disabled--color)}input.input__slim--noborder{box-shadow:0 0 0 0;border:0 none;outline:0;background:var(--ez-text-input__input--noborder-color)}ez-icon.tooltip-icon{position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden;width:var(--ez-text-input__tooltip-icon---width);height:22px;margin:var(--ez-text-input__tooltip-icon---vertical-margin) var(--ez-text-input__tooltip-icon---horizontal-margin);top:0;right:0;border-radius:var(--ez-text-input--border-radius)}ez-icon.tooltip-icon.rightIconSlot{right:var(--ez-text-input__tooltip-icon--spacing)}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-input__tooltip_icon--error--color)}";export{a as ez_text_input}
Binary file
Binary file
Binary file
@@ -1 +1 @@
1
- import{r as n,h as i}from"./p-23a36bb6.js";import{i as e}from"./p-3b7d9f30.js";import"@sankhyalabs/core";const r=["progress","pulse","false"],t=["circle","rect","text"],a="text",o="progress",s="circle",g=class{constructor(i){n(this,i),this.items=[],this.template=void 0,this.count=1,this.variant=a,this.width=null,this.height=null,this.marginTop=null,this.marginRight=null,this.marginBottom=null,this.marginLeft=null,this.animation=o}async componentWillLoad(){this.i18n=await e(),this.initializeItems()}componentWillUpdate(){this.initializeItems()}initializeItems(){this.items=Array(this.count).fill(1)}getSkeletonConfig(n){if(n)return(null==n?void 0:n.variant)==s?(n.width=n.width||"var(--skeleton-width, 40px)",n.height=n.height||"var(--skeleton-height, 40px)"):n.width=n.width||"var(--skeleton-width, 100%)",{skeletonClasses:{skeleton:!0,circle:n.variant===s,rect:"rect"===n.variant,progress:"progress"===n.animation,pulse:"pulse"===n.animation},styles:{width:(n.marginRight||n.marginLeft)&&n.width&&n.variant!=s?`calc(${n.width} ${n.marginRight?`- ${n.marginRight}`:""} ${n.marginLeft?`- ${n.marginLeft}`:""})`:n.width,height:n.height,marginTop:n.marginTop,marginRight:n.marginRight,marginBottom:n.marginBottom,marginLeft:n.marginLeft}}}validateVariant(n){return t.includes(n)?n:a}validateAnimation(n){return r.includes(n)?n:o}renderSkeletonTemplate(n){var e;const r=(null===(e=n.$attrs)||void 0===e?void 0:e.innerHTML)||n;if("string"==typeof r){const n=document.createElement("div");n.innerHTML=r;const e=(null==n?void 0:n.querySelectorAll(":not(.skeleton) > *"))||[];return Array.from(e).map((n=>{var e,r,t,a,o,s,g,l,d,p;if(null===(e=null==n?void 0:n.classList)||void 0===e?void 0:e.contains("skeleton")){const i=this.getSkeletonConfig({variant:this.validateVariant((null===(r=n.getAttribute("variant"))||void 0===r?void 0:r.replace(/[{}]/g,""))||this.variant),width:(null===(t=n.getAttribute("width"))||void 0===t?void 0:t.replace(/[{}]/g,""))||this.width,height:(null===(a=n.getAttribute("height"))||void 0===a?void 0:a.replace(/[{}]/g,""))||this.height,marginTop:(null===(o=n.getAttribute("marginTop"))||void 0===o?void 0:o.replace(/[{}]/g,""))||this.marginTop,marginLeft:(null===(s=n.getAttribute("marginLeft"))||void 0===s?void 0:s.replace(/[{}]/g,""))||this.marginLeft,marginRight:(null===(g=n.getAttribute("marginRight"))||void 0===g?void 0:g.replace(/[{}]/g,""))||this.marginRight,marginBottom:(null===(l=n.getAttribute("marginBottom"))||void 0===l?void 0:l.replace(/[{}]/g,""))||this.marginBottom,animation:this.validateAnimation((null===(d=n.getAttribute("animation"))||void 0===d?void 0:d.replace(/[{}]/g,""))||this.animation)}),e=Number(null===(p=n.getAttribute("count"))||void 0===p?void 0:p.replace(/[{}]/g,""))||1;return Array(e).fill(1).map(((n,e)=>this.renderSkeletonItem(e,i)))}return i("div",{innerHTML:n.outerHTML})}))}return n}renderSkeletonItem(n,i){const e=i||this.getSkeletonConfig({variant:this.validateVariant(this.variant),animation:this.validateAnimation(this.animation),width:this.width,height:this.height,marginTop:this.marginTop,marginRight:this.marginRight,marginBottom:this.marginBottom,marginLeft:this.marginLeft});return this.renderSkeletonSpan(n,e)}renderSkeletonSpan(n,e){return i("span",{key:n,class:null==e?void 0:e.skeletonClasses,style:null==e?void 0:e.styles,"data-busy":"true","data-valuemin":"0","data-valuemax":"100","data-valuetext":this.i18n("app.loading"),role:"progressbar",tabindex:"0"})}render(){return this.template?this.renderSkeletonTemplate(this.template):this.items.map(((n,i)=>this.renderSkeletonItem(i)))}};g.style=".skeleton {\n background: var(--skeleton-background, #f0f3f7) no-repeat;\n border-radius: var(--skeleton-border-radius, 12px);\n width: var(--skeleton-width, 100%);\n height: var(--skeleton-height, 20px);\n display: inline-block;\n margin-bottom: var(--skeleton-margin-bottom, 0px);\n\tmargin-top: var(--skeleton-margin-top, 0px);\n\tmargin-right: var(--skeleton-margin-right, 0px);\n\tmargin-left: var(--skeleton-margin-left, 0px);\n box-sizing: border-box;\n outline: none;\n overflow: hidden;\n position: relative;\n -webkit-will-change: transform;\n -moz-will-change: transform;\n will-change: transform;\n\n &:after,\n &:before {\n box-sizing: border-box;\n }\n\n &.circle {\n width: var(--skeleton-width, 40px);\n height: var(--skeleton-height, 40px);\n margin-bottom: var(--skeleton-margin-bottom, 0px);\n border-radius: var(--skeleton-border-radius, 50%);\n }\n\n &.rect {\n border-radius: var(--skeleton-border-radius, 0px);\n }\n\n &.progress,\n &.progress-dark {\n -webkit-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n background-size: 200px 100%;\n }\n\n &.progress {\n background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n }\n\n &.progress-dark {\n background-image: -webkit-linear-gradient(90deg, transparent, hsla(0, 0%, 0%, 0.2), transparent);\n background-image: -moz-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: -ms-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n }\n\n &.pulse {\n -webkit-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation-delay: 0.5s;\n }\n\n @media (prefers-reduced-motion: reduce) {\n &.pulse,\n &.progress-dark,\n &.progress {\n animation: none;\n }\n\n &.progress,\n &.progress-dark {\n background-image: none;\n }\n }\n}\n\n@-webkit-keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n@-moz-keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n@-ms-keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n@keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n\n@-webkit-keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n@-moz-keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n@-ms-keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n";export{g as ez_skeleton}
1
+ import{r as n,h as i}from"./p-23a36bb6.js";import{i as e}from"./p-a61fdd20.js";import"@sankhyalabs/core";const r=["progress","pulse","false"],t=["circle","rect","text"],a="text",o="progress",s="circle",g=class{constructor(i){n(this,i),this.items=[],this.template=void 0,this.count=1,this.variant=a,this.width=null,this.height=null,this.marginTop=null,this.marginRight=null,this.marginBottom=null,this.marginLeft=null,this.animation=o}async componentWillLoad(){this.i18n=await e(),this.initializeItems()}componentWillUpdate(){this.initializeItems()}initializeItems(){this.items=Array(this.count).fill(1)}getSkeletonConfig(n){if(n)return(null==n?void 0:n.variant)==s?(n.width=n.width||"var(--skeleton-width, 40px)",n.height=n.height||"var(--skeleton-height, 40px)"):n.width=n.width||"var(--skeleton-width, 100%)",{skeletonClasses:{skeleton:!0,circle:n.variant===s,rect:"rect"===n.variant,progress:"progress"===n.animation,pulse:"pulse"===n.animation},styles:{width:(n.marginRight||n.marginLeft)&&n.width&&n.variant!=s?`calc(${n.width} ${n.marginRight?`- ${n.marginRight}`:""} ${n.marginLeft?`- ${n.marginLeft}`:""})`:n.width,height:n.height,marginTop:n.marginTop,marginRight:n.marginRight,marginBottom:n.marginBottom,marginLeft:n.marginLeft}}}validateVariant(n){return t.includes(n)?n:a}validateAnimation(n){return r.includes(n)?n:o}renderSkeletonTemplate(n){var e;const r=(null===(e=n.$attrs)||void 0===e?void 0:e.innerHTML)||n;if("string"==typeof r){const n=document.createElement("div");n.innerHTML=r;const e=(null==n?void 0:n.querySelectorAll(":not(.skeleton) > *"))||[];return Array.from(e).map((n=>{var e,r,t,a,o,s,g,l,d,p;if(null===(e=null==n?void 0:n.classList)||void 0===e?void 0:e.contains("skeleton")){const i=this.getSkeletonConfig({variant:this.validateVariant((null===(r=n.getAttribute("variant"))||void 0===r?void 0:r.replace(/[{}]/g,""))||this.variant),width:(null===(t=n.getAttribute("width"))||void 0===t?void 0:t.replace(/[{}]/g,""))||this.width,height:(null===(a=n.getAttribute("height"))||void 0===a?void 0:a.replace(/[{}]/g,""))||this.height,marginTop:(null===(o=n.getAttribute("marginTop"))||void 0===o?void 0:o.replace(/[{}]/g,""))||this.marginTop,marginLeft:(null===(s=n.getAttribute("marginLeft"))||void 0===s?void 0:s.replace(/[{}]/g,""))||this.marginLeft,marginRight:(null===(g=n.getAttribute("marginRight"))||void 0===g?void 0:g.replace(/[{}]/g,""))||this.marginRight,marginBottom:(null===(l=n.getAttribute("marginBottom"))||void 0===l?void 0:l.replace(/[{}]/g,""))||this.marginBottom,animation:this.validateAnimation((null===(d=n.getAttribute("animation"))||void 0===d?void 0:d.replace(/[{}]/g,""))||this.animation)}),e=Number(null===(p=n.getAttribute("count"))||void 0===p?void 0:p.replace(/[{}]/g,""))||1;return Array(e).fill(1).map(((n,e)=>this.renderSkeletonItem(e,i)))}return i("div",{innerHTML:n.outerHTML})}))}return n}renderSkeletonItem(n,i){const e=i||this.getSkeletonConfig({variant:this.validateVariant(this.variant),animation:this.validateAnimation(this.animation),width:this.width,height:this.height,marginTop:this.marginTop,marginRight:this.marginRight,marginBottom:this.marginBottom,marginLeft:this.marginLeft});return this.renderSkeletonSpan(n,e)}renderSkeletonSpan(n,e){return i("span",{key:n,class:null==e?void 0:e.skeletonClasses,style:null==e?void 0:e.styles,"data-busy":"true","data-valuemin":"0","data-valuemax":"100","data-valuetext":this.i18n("app.loading"),role:"progressbar",tabindex:"0"})}render(){return this.template?this.renderSkeletonTemplate(this.template):this.items.map(((n,i)=>this.renderSkeletonItem(i)))}};g.style=".skeleton {\n background: var(--skeleton-background, #f0f3f7) no-repeat;\n border-radius: var(--skeleton-border-radius, 12px);\n width: var(--skeleton-width, 100%);\n height: var(--skeleton-height, 20px);\n display: inline-block;\n margin-bottom: var(--skeleton-margin-bottom, 0px);\n\tmargin-top: var(--skeleton-margin-top, 0px);\n\tmargin-right: var(--skeleton-margin-right, 0px);\n\tmargin-left: var(--skeleton-margin-left, 0px);\n box-sizing: border-box;\n outline: none;\n overflow: hidden;\n position: relative;\n -webkit-will-change: transform;\n -moz-will-change: transform;\n will-change: transform;\n\n &:after,\n &:before {\n box-sizing: border-box;\n }\n\n &.circle {\n width: var(--skeleton-width, 40px);\n height: var(--skeleton-height, 40px);\n margin-bottom: var(--skeleton-margin-bottom, 0px);\n border-radius: var(--skeleton-border-radius, 50%);\n }\n\n &.rect {\n border-radius: var(--skeleton-border-radius, 0px);\n }\n\n &.progress,\n &.progress-dark {\n -webkit-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation: progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n background-size: 200px 100%;\n }\n\n &.progress {\n background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--skeleton-background-image, #e4eaf1), rgba(255, 255, 255, 0));\n }\n\n &.progress-dark {\n background-image: -webkit-linear-gradient(90deg, transparent, hsla(0, 0%, 0%, 0.2), transparent);\n background-image: -moz-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: -ms-linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);\n }\n\n &.pulse {\n -webkit-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -moz-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n -ms-animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation-delay: 0.5s;\n }\n\n @media (prefers-reduced-motion: reduce) {\n &.pulse,\n &.progress-dark,\n &.progress {\n animation: none;\n }\n\n &.progress,\n &.progress-dark {\n background-image: none;\n }\n }\n}\n\n@-webkit-keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n@-moz-keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n@-ms-keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n@keyframes progress {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n}\n\n@-webkit-keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n@-moz-keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n@-ms-keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n}\n";export{g as ez_skeleton}
Binary file
@@ -0,0 +1 @@
1
+ import{ApplicationContext as e,LangUtils as t}from"@sankhyalabs/core";const i=e=>"string"==typeof e,o=()=>{let e,t;const i=new Promise(((i,o)=>{e=i,t=o}));return i.resolve=e,i.reject=t,i},s=e=>null==e?"":""+e,r=/###/g,a=e=>e&&e.indexOf("###")>-1?e.replace(r,"."):e,n=e=>!e||i(e),l=(e,t,o)=>{const s=i(t)?t.split("."):t;let r=0;for(;r<s.length-1;){if(n(e))return{};const t=a(s[r]);!e[t]&&o&&(e[t]=new o),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++r}return n(e)?{}:{obj:e,k:a(s[r])}},u=(e,t,i)=>{const{obj:o,k:s}=l(e,t,Object);if(void 0!==o||1===t.length)return void(o[s]=i);let r=t[t.length-1],a=t.slice(0,t.length-1),n=l(e,a,Object);for(;void 0===n.obj&&a.length;)r=`${a[a.length-1]}.${r}`,a=a.slice(0,a.length-1),n=l(e,a,Object),n&&n.obj&&void 0!==n.obj[`${n.k}.${r}`]&&(n.obj=void 0);n.obj[`${n.k}.${r}`]=i},c=(e,t)=>{const{obj:i,k:o}=l(e,t);if(i)return i[o]},d=(e,t,i)=>{const o=c(e,i);return void 0!==o?o:c(t,i)},h=(e,t,o)=>{for(const s in t)"__proto__"!==s&&"constructor"!==s&&(s in e?i(e[s])||e[s]instanceof String||i(t[s])||t[s]instanceof String?o&&(e[s]=t[s]):h(e[s],t[s],o):e[s]=t[s]);return e},p=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const g=e=>i(e)?e.replace(/[&<>"'\/]/g,(e=>m[e])):e,f=[" ",",","?","!",";"],v=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}}(20),b=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const o=t.split(i);let s=e;for(let e=0;e<o.length;){if(!s||"object"!=typeof s)return;let t,r="";for(let a=e;a<o.length;++a)if(a!==e&&(r+=i),r+=o[a],t=s[r],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<o.length-1)continue;e+=a-e+1;break}s=t}return s},y=e=>e&&e.replace("_","-"),x={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class S{constructor(e){this.init(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||x,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,o,s){return s&&!this.debug?null:(i(e[0])&&(e[0]=`${o}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new S(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new S(this.logger,e)}}var w=new S;class C{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const i=this.observers[e].get(t)||0;this.observers[e].set(t,i+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,o]=e;for(let e=0;e<o;e++)t(...i)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[o,s]=t;for(let t=0;t<s;t++)o.apply(o,[e,...i])}))}}class P extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const r=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,a=void 0!==s.ignoreJSONStructure?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let n;e.indexOf(".")>-1?n=e.split("."):(n=[e,t],o&&(Array.isArray(o)?n.push(...o):i(o)&&r?n.push(...o.split(r)):n.push(o)));const l=c(this.data,n);return!l&&!t&&!o&&e.indexOf(".")>-1&&(e=n[0],t=n[1],o=n.slice(2).join(".")),!l&&a&&i(o)?b(this.data&&this.data[e]&&this.data[e][t],o,r):l}addResource(e,t,i,o){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const r=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator;let a=[e,t];i&&(a=a.concat(r?i.split(r):i)),e.indexOf(".")>-1&&(a=e.split("."),o=t,t=a[1]),this.addNamespaces(t),u(this.data,a,o),s.silent||this.emit("added",e,t,i,o)}addResources(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const s in o)(i(o[s])||Array.isArray(o[s]))&&this.addResource(e,t,s,o[s],{silent:!0});s.silent||this.emit("added",e,t,o)}addResourceBundle(e,t,i,o,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),o=i,i=t,t=a[1]),this.addNamespaces(t);let n=c(this.data,a)||{};r.skipCopy||(i=JSON.parse(JSON.stringify(i))),o?h(n,i,s):n={...n,...i},u(this.data,a,n),r.silent||this.emit("added",e,t,i)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var z={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,i,o,s){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,i,o,s))})),t}};const A={};class N extends C{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var i,o;super(),i=e,o=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{i[e]&&(o[e]=i[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=w.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){if(null==e)return!1;const t=this.resolve(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}});return t&&void 0!==t.res}extractFromKey(e,t){let o=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===o&&(o=":");const s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let r=t.ns||this.options.defaultNS||[];const a=o&&e.indexOf(o)>-1,n=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,i)=>{t=t||"",i=i||"";const o=f.filter((e=>t.indexOf(e)<0&&i.indexOf(e)<0));if(0===o.length)return!0;const s=v.getRegExp(`(${o.map((e=>"?"===e?"\\?":e)).join("|")})`);let r=!s.test(e);if(!r){const t=e.indexOf(i);t>0&&!s.test(e.substring(0,t))&&(r=!0)}return r})(e,o,s));if(a&&!n){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(r)?[r]:r};const a=e.split(o);(o!==s||o===s&&this.options.ns.indexOf(a[0])>-1)&&(r=a.shift()),e=a.join(s)}return{key:e,namespaces:i(r)?[r]:r}}translate(e,t,o){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const s=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:a,namespaces:n}=this.extractFromKey(e[e.length-1],t),l=n[n.length-1],u=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return s?{res:`${l}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${a}`}return s?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}const d=this.resolve(e,t);let h=d&&d.res;const p=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(h),f=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!i(h)&&"boolean"!=typeof h&&"number"!=typeof h;if(!(v&&h&&b&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0)||i(f)&&Array.isArray(h))if(v&&i(f)&&Array.isArray(h))h=h.join(f),h&&(h=this.extendTranslation(h,e,t,o));else{let s=!1,n=!1;const c=void 0!==t.count&&!i(t.count),p=N.hasDefaultValue(t),m=c?this.pluralResolver.getSuffix(u,t.count,t):"",g=t.ordinal&&c?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",f=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),v=f&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${m}`]||t[`defaultValue${g}`]||t.defaultValue;!this.isValidLookup(h)&&p&&(s=!0,h=v),this.isValidLookup(h)||(n=!0,h=a);const b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:h,y=p&&v!==h&&this.options.updateMissing;if(n||s||y){if(this.logger.log(y?"updateKey":"missingKey",u,l,a,y?v:h),r){const e=this.resolve(a,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const i=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&i&&i[0])for(let t=0;t<i.length;t++)e.push(i[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const o=(e,i,o)=>{const s=p&&o!==h?o:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,i,s,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,i,s,y,t),this.emit("missingKey",e,l,i,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const i=this.pluralResolver.getSuffixes(e,t);f&&t[`defaultValue${this.options.pluralSeparator}zero`]&&i.indexOf(`${this.options.pluralSeparator}zero`)<0&&i.push(`${this.options.pluralSeparator}zero`),i.forEach((i=>{o([e],a+i,t[`defaultValue${i}`]||v)}))})):o(e,a,v))}h=this.extendTranslation(h,e,t,d,o),n&&h===a&&this.options.appendNamespaceToMissingKey&&(h=`${l}:${a}`),(n||s)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,s?h:void 0):this.options.parseMissingKeyHandler(h))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,h,{...t,ns:n}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(r){const e=Array.isArray(h),i=e?[]:{},o=e?m:p;for(const e in h)if(Object.prototype.hasOwnProperty.call(h,e)){const s=`${o}${r}${e}`;i[e]=this.translate(s,{...t,joinArrays:!1,ns:n}),i[e]===s&&(i[e]=h[e])}h=i}}return s?(d.res=h,d.usedParams=this.getUsedParamsDetails(t),d):h}extendTranslation(e,t,o,s,r){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...o},o.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init({...o,interpolation:{...this.options.interpolation,...o.interpolation}});const n=i(e)&&(o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let l;if(n){const t=e.match(this.interpolator.nestingRegexp);l=t&&t.length}let u=o.replace&&!i(o.replace)?o.replace:o;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,o.lng||this.language||s.usedLng,o),n){const t=e.match(this.interpolator.nestingRegexp);l<(t&&t.length)&&(o.nest=!1)}!o.lng&&"v1"!==this.options.compatibilityAPI&&s&&s.res&&(o.lng=this.language||s.usedLng),!1!==o.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];return r&&r[0]===i[0]&&!o.context?(a.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${t[0]}`),null):a.translate(...i,t)}),o)),o.interpolation&&this.interpolator.reset()}const n=o.postProcess||this.options.postProcess,l=i(n)?[n]:n;return null!=e&&l&&l.length&&!1!==o.applyPostProcessor&&(e=z.handle(l,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(o)},...o}:o,this)),e}resolve(e){let t,o,s,r,a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const l=this.extractFromKey(e,n),u=l.key;o=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const d=void 0!==n.count&&!i(n.count),h=d&&!n.ordinal&&0===n.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==n.context&&(i(n.context)||"number"==typeof n.context)&&""!==n.context,m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(a=e,!A[`${m[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(A[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach((i=>{if(this.isValidLookup(t))return;r=i;const o=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,u,i,e,n);else{let e;d&&(e=this.pluralResolver.getSuffix(i,n.count,n));const t=`${this.options.pluralSeparator}zero`,s=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(o.push(u+e),n.ordinal&&0===e.indexOf(s)&&o.push(u+e.replace(s,this.options.pluralSeparator)),h&&o.push(u+t)),p){const i=`${u}${this.options.contextSeparator}${n.context}`;o.push(i),d&&(o.push(i+e),n.ordinal&&0===e.indexOf(s)&&o.push(i+e.replace(s,this.options.pluralSeparator)),h&&o.push(i+t))}}let a;for(;a=o.pop();)this.isValidLookup(t)||(s=a,t=this.getResource(i,e,a,n))})))}))})),{res:t,usedKey:o,exactUsedKey:s,usedLng:r,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,i,o):this.resourceStore.getResource(e,t,i,o)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],o=e.replace&&!i(e.replace);let s=o?e.replace:e;if(o&&void 0!==e.count&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!o){s={...s};for(const e of t)delete s[e]}return s}static hasDefaultValue(e){const t="defaultValue";for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&void 0!==e[i])return!0;return!1}}const L=e=>e.charAt(0).toUpperCase()+e.slice(1);class k{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.create("languageUtils")}getScriptPartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}const t=["hans","hant","latn","cyrl","cans","mong","arab"];let i=e.split("-");return this.options.lowerCaseLng?i=i.map((e=>e.toLowerCase())):2===i.length?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=L(i[1].toLowerCase()))):3===i.length&&(i[0]=i[0].toLowerCase(),2===i[1].length&&(i[1]=i[1].toUpperCase()),"sgn"!==i[0]&&2===i[2].length&&(i[2]=i[2].toUpperCase()),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=L(i[1].toLowerCase())),t.indexOf(i[2].toLowerCase())>-1&&(i[2]=L(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const i=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(i)||(t=i)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const i=this.getLanguagePartFromCode(e);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find((e=>e===i?e:e.indexOf("-")<0&&i.indexOf("-")<0?void 0:e.indexOf("-")>0&&i.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===i||0===e.indexOf(i)&&i.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let o=e[t];return o||(o=e[this.getScriptPartFromCode(t)]),o||(o=e[this.formatLanguageCode(t)]),o||(o=e[this.getLanguagePartFromCode(t)]),o||(o=e.default),o||[]}toResolveHierarchy(e,t){const o=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],r=e=>{e&&(this.isSupportedCode(e)?s.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&r(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&r(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&r(this.getLanguagePartFromCode(e))):i(e)&&r(this.formatLanguageCode(e)),o.forEach((e=>{s.indexOf(e)<0&&r(this.formatLanguageCode(e))})),s}}let R=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],E={1:e=>Number(e>1),2:e=>Number(1!=e),3:()=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const T=["v1","v2","v3"],$=["v4"],M={zero:0,one:1,two:2,few:3,many:4,other:5};class O{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=w.create("pluralResolver"),this.options.compatibilityJSON&&!$.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return R.forEach((t=>{t.lngs.forEach((i=>{e[i]={numbers:t.nr,plurals:E[t.fc]}}))})),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const i=y("dev"===e?"en":e),o=t.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:i,type:o});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let r;try{r=new Intl.PluralRules(i,{type:o})}catch(i){if(!e.match(/-|_/))return;const o=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(o,t)}return this.pluralRulesCache[s]=r,r}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){const t=this.getRule(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return this.shouldUseIntlApi()?t&&t.resolvedOptions().pluralCategories.length>1:t&&t.numbers.length>1}getPluralFormsOfKey(e,t){return this.getSuffixes(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this.getRule(e,t);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(((e,t)=>M[e]-M[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):i.numbers.map((i=>this.getSuffix(e,i,t))):[]}getSuffix(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=this.getRule(e,i);return o?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${o.select(t)}`:this.getSuffixRetroCompatible(o,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const i=e.plurals(e.noAbs?t:Math.abs(t));let o=e.numbers[i];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));const s=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?`_plural_${o.toString()}`:s():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!T.includes(this.options.compatibilityJSON)}}const F=function(e,t,o){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=d(e,t,o);return!a&&r&&i(o)&&(a=b(e,o,s),void 0===a&&(a=b(t,o,s))),a},I=e=>e.replace(/\$/g,"$$$$");class j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=w.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:i,useRawValueToEscape:o,prefix:s,prefixEscaped:r,suffix:a,suffixEscaped:n,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:f,nestingOptionsSeparator:v,maxReplaces:b,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===i||i,this.useRawValueToEscape=void 0!==o&&o,this.prefix=s?p(s):r||"{{",this.suffix=a?p(a):n||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?p(d):h||p("$t("),this.nestingSuffix=m?p(m):f||p(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,o,r){let a,n,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=F(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,o,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),s=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(F(t,u,s,this.options.keySeparator,this.options.ignoreJSONStructure),a,o,{...r,...t,interpolationkey:s})};this.resetRegExp();const d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,h=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>I(e)},{regex:this.regexp,safeValue:e=>I(this.escapeValue?this.escape(e):e)}].forEach((t=>{for(l=0;a=t.regex.exec(e);){const o=a[1].trim();if(n=c(o),void 0===n)if("function"==typeof d){const t=d(e,a,r);n=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,o))n="";else{if(h){n=a[0];continue}this.logger.warn(`missed to pass in variable ${o} for interpolating ${e}`),n=""}else i(n)||this.useRawValueToEscape||(n=s(n));const u=t.safeValue(n);if(e=e.replace(a[0],u),h?(t.regex.lastIndex+=n.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,l++,l>=this.maxReplaces)break}})),e}nest(e,t){let o,r,a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const l=(e,t)=>{const i=this.nestingOptionsSeparator;if(e.indexOf(i)<0)return e;const o=e.split(new RegExp(`${i}[ ]*{`));let s=`{${o[1]}`;e=o[0],s=this.interpolate(s,a);const r=s.match(/'/g),n=s.match(/"/g);(r&&r.length%2==0&&!n||n.length%2!=0)&&(s=s.replace(/'/g,'"'));try{a=JSON.parse(s),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${i}${s}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;o=this.nestingRegexp.exec(e);){let u=[];a={...n},a=a.replace&&!i(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(-1!==o[0].indexOf(this.formatSeparator)&&!/{.*}/.test(o[1])){const e=o[1].split(this.formatSeparator).map((e=>e.trim()));o[1]=e.shift(),u=e,c=!0}if(r=t(l.call(this,o[1].trim(),a),a),r&&o[0]===e&&!i(r))return r;i(r)||(r=s(r)),r||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),r=""),c&&(r=u.reduce(((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:o[1].trim()})),r.trim())),e=e.replace(o[0],r),this.regexp.lastIndex=0}return e}}const D=e=>{const t={};return(i,o,s)=>{let r=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(r={...r,[s.interpolationkey]:void 0});const a=o+JSON.stringify(r);let n=t[a];return n||(n=e(y(o),s),t[a]=n),n(i)}};class B{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=w.create("formatter"),this.options=e,this.formats={number:D(((e,t)=>{const i=new Intl.NumberFormat(e,{...t});return e=>i.format(e)})),currency:D(((e,t)=>{const i=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>i.format(e)})),datetime:D(((e,t)=>{const i=new Intl.DateTimeFormat(e,{...t});return e=>i.format(e)})),relativetime:D(((e,t)=>{const i=new Intl.RelativeTimeFormat(e,{...t});return e=>i.format(e,t.range||"day")})),list:D(((e,t)=>{const i=new Intl.ListFormat(e,{...t});return e=>i.format(e)}))},this.init(e)}init(e){this.formatSeparator=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=D(t)}format(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=t.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find((e=>e.indexOf(")")>-1))){const e=s.findIndex((e=>e.indexOf(")")>-1));s[0]=[s[0],...s.splice(1,e)].join(this.formatSeparator)}return s.reduce(((e,t)=>{const{formatName:s,formatOptions:r}=(e=>{let t=e.toLowerCase().trim();const i={};if(e.indexOf("(")>-1){const o=e.split("(");t=o[0].toLowerCase().trim();const s=o[1].substring(0,o[1].length-1);"currency"===t&&s.indexOf(":")<0?i.currency||(i.currency=s.trim()):"relativetime"===t&&s.indexOf(":")<0?i.range||(i.range=s.trim()):s.split(";").forEach((e=>{if(e){const[t,...o]=e.split(":"),s=o.join(":").trim().replace(/^'+|'+$/g,""),r=t.trim();i[r]||(i[r]=s),"false"===s&&(i[r]=!1),"true"===s&&(i[r]=!0),isNaN(s)||(i[r]=parseInt(s,10))}}))}return{formatName:t,formatOptions:i}})(t);if(this.formats[s]){let t=e;try{const a=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{};t=this.formats[s](e,a.locale||a.lng||o.locale||o.lng||i,{...r,...o,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${s}`),e}),e)}}class U extends C{constructor(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=o,this.logger=w.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,o.backend,o)}queueLoad(e,t,i,o){const s={},r={},a={},n={};return e.forEach((e=>{let o=!0;t.forEach((t=>{const a=`${e}|${t}`;!i.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===r[a]&&(r[a]=!0):(this.state[a]=1,o=!1,void 0===r[a]&&(r[a]=!0),void 0===s[a]&&(s[a]=!0),void 0===n[t]&&(n[t]=!0)))})),o||(a[e]=!0)})),(Object.keys(s).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(s),pending:Object.keys(r),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(n)}}loaded(e,t,i){const o=e.split("|"),s=o[0],r=o[1];t&&this.emit("failedLoading",s,r,t),!t&&i&&this.store.addResourceBundle(s,r,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);const a={};this.queue.forEach((i=>{((e,t,i)=>{const{obj:o,k:s}=l(e,t,Object);o[s]=o[s]||[],o[s].push(i)})(i.loaded,[s],r),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(i,e),t&&i.errors.push(t),0!==i.pendingCount||i.done||(Object.keys(i.loaded).forEach((e=>{a[e]||(a[e]={});const t=i.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:i,tried:o,wait:s,callback:r});this.readingCalls++;const a=(a,n)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&n&&o<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,i,o+1,2*s,r)}),s):r(a,n)},n=this.backend[i].bind(this.backend);if(2!==n.length)return n(e,t,a);try{const i=n(e,t);i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}}prepareLoading(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);const r=this.queueLoad(e,t,o,s);if(!r.toLoad.length)return r.pending.length||s(),null;r.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=e.split("|"),o=i[0],s=i[1];this.read(o,s,"read",void 0,void 0,((i,r)=>{i&&this.logger.warn(`${t}loading namespace ${s} for language ${o} failed`,i),!i&&r&&this.logger.log(`${t}loaded namespace ${s} for language ${o}`,r),this.loaded(e,i,r)}))}saveMissing(e,t,i,o,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${i}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=i&&""!==i){if(this.backend&&this.backend.create){const n={...r,isUpdate:s},l=this.backend.create.bind(this.backend);if(l.length<6)try{let s;s=5===l.length?l(e,t,i,o,n):l(e,t,i,o),s&&"function"==typeof s.then?s.then((e=>a(null,e))).catch(a):a(null,s)}catch(e){a(e)}else l(e,t,i,o,a,n)}e&&e[0]&&this.store.addResource(e[0],t,i,o)}}}const q=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const i=e[3]||e[2];Object.keys(i).forEach((e=>{t[e]=i[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),V=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),G=()=>{};class H extends C{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var i;if(super(),this.options=V(e),this.services={},this.logger=w,this.modules={external:[]},i=this,Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((e=>{"function"==typeof i[e]&&(i[e]=i[e].bind(i))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(s=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(i(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=q();this.options={...r,...this.options,...V(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const a=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;w.init(this.modules.logger?a(this.modules.logger):null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=B);const i=new k(this.options);this.store=new P(this.options.resources,this.options);const o=this.services;o.logger=w,o.resourceStore=this.store,o.languageUtils=i,o.pluralResolver=new O(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=a(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new j(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new U(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];e.emit(t,...o)})),this.modules.languageDetector&&(o.languageDetector=a(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=a(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",(function(t){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];e.emit(t,...o)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,s||(s=G),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const n=o(),l=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),n.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),n}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;const o=i(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],i=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};o?i(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>i(e))),this.options.preload&&this.options.preload.forEach((e=>i(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,i){const s=o();return"function"==typeof e&&(i=e,e=void 0),"function"==typeof t&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=G),this.services.backendConnector.reload(e,t,(e=>{s.resolve(),i(e)})),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&z.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const r=o();this.emit("languageChanging",e);const a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},n=(e,i)=>{i?(a(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve((function(){return s.t(...arguments)})),t&&t(e,(function(){return s.t(...arguments)}))},l=t=>{e||t||!this.services.languageDetector||(t=[]);const o=i(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);o&&(this.language||a(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(o)),this.loadResources(o,(e=>{n(e,o)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e):l(this.services.languageDetector.detect()),r}getFixedT(e,t,o){var s=this;const r=function(e,t){let i;if("object"!=typeof t){for(var a=arguments.length,n=new Array(a>2?a-2:0),l=2;l<a;l++)n[l-2]=arguments[l];i=s.options.overloadTranslationOptionHandler([e,t].concat(n))}else i={...t};i.lng=i.lng||r.lng,i.lngs=i.lngs||r.lngs,i.ns=i.ns||r.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||o||r.keyPrefix);const u=s.options.keySeparator||".";let c;return c=i.keyPrefix&&Array.isArray(e)?e.map((e=>`${i.keyPrefix}${u}${e}`)):i.keyPrefix?`${i.keyPrefix}${u}${e}`:e,s.t(c,i)};return i(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=o,r}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=t.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;const r=(e,t)=>{const i=this.services.backendConnector.state[`${e}|${t}`];return-1===i||0===i||2===i};if(t.precheck){const e=t.precheck(this,r);if(void 0!==e)return e}return!(!this.hasResourceBundle(i,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!r(i,e)||o&&!r(s,e)))}loadNamespaces(e,t){const s=o();return this.options.ns?(i(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=o();i(e)&&(e=[e]);const r=this.options.preload||[],a=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return a.length?(this.options.preload=r.concat(a),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new k(q());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new H(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G;const i=e.forkResourceStore;i&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},s=new H(o);return void 0===e.debug&&void 0===e.prefix||(s.logger=s.logger.clone(e)),["store","services","language"].forEach((e=>{s[e]=this[e]})),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},i&&(s.store=new P(this.store.data,o),s.services.resourceStore=s.store),s.translator=new N(s.services,o),s.translator.on("*",(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];s.emit(e,...i)})),s.init(o,t),s.translator.options=o,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const W=H.createInstance();function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function J(e){var t=function(e){if("object"!=_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=_(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_(t)?t:t+""}function Y(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,J(o.key),o)}}W.createInstance=H.createInstance;var X=[],Z=X.forEach,Q=X.slice;function ee(e){return Z.call(Q.call(arguments,1),(function(t){if(t)for(var i in t)void 0===e[i]&&(e[i]=t[i])})),e}var te=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ie=function(e,t,i){var o=i||{};o.path=o.path||"/";var s=encodeURIComponent(t),r="".concat(e,"=").concat(s);if(o.maxAge>0){var a=o.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(a))}if(o.domain){if(!te.test(o.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(o.domain)}if(o.path){if(!te.test(o.path))throw new TypeError("option path is invalid");r+="; Path=".concat(o.path)}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(r+="; HttpOnly"),o.secure&&(r+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r},oe={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var i=function(e){for(var t="".concat(e,"="),i=document.cookie.split(";"),o=0;o<i.length;o++){for(var s=i[o];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return s.substring(t.length,s.length)}return null}(e.lookupCookie);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&function(e,t,i,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};i&&(s.expires=new Date,s.expires.setTime(s.expires.getTime()+60*i*1e3)),o&&(s.domain=o),document.cookie=ie(e,encodeURIComponent(t),s)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},se={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var i=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=i.substring(1).split("&"),s=0;s<o.length;s++){var r=o[s].indexOf("=");r>0&&o[s].substring(0,r)===e.lookupQuerystring&&(t=o[s].substring(r+1))}}return t}},re=null,ae=function(){if(null!==re)return re;try{re="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){re=!1}return re},ne={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&ae()){var i=window.localStorage.getItem(e.lookupLocalStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&ae()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},le=null,ue=function(){if(null!==le)return le;try{le="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){le=!1}return le},ce={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&ue()){var i=window.sessionStorage.getItem(e.lookupSessionStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&ue()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},de={name:"navigator",lookup:function(){var e=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)e.push(navigator.languages[t]);navigator.userLanguage&&e.push(navigator.userLanguage),navigator.language&&e.push(navigator.language)}return e.length>0?e:void 0}},he={name:"htmlTag",lookup:function(e){var t,i=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return i&&"function"==typeof i.getAttribute&&(t=i.getAttribute("lang")),t}},pe={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(i instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof i[e.lookupFromPathIndex])return;t=i[e.lookupFromPathIndex].replace("/","")}else t=i[0].replace("/","")}return t}},me={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,i="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[t]}},ge=!1;try{ge=!0}catch(e){}var fe=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];function ve(){return{order:fe,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}}ge||fe.splice(1,1);var be,ye=function(){return e=function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K(this,e),this.type="languageDetector",this.detectors={},this.init(t,i)},t=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=ee(t,this.options||{},ve()),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(oe),this.addDetector(se),this.addDetector(ne),this.addDetector(ce),this.addDetector(de),this.addDetector(he),this.addDetector(pe),this.addDetector(me)}},{key:"addDetector",value:function(e){return this.detectors[e.name]=e,this}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var i=[];return e.forEach((function(e){if(t.detectors[e]){var o=t.detectors[e].lookup(t.options);o&&"string"==typeof o&&(o=[o]),o&&(i=i.concat(o))}})),i=i.map((function(e){return t.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var i=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){i.detectors[t]&&i.detectors[t].cacheUserLanguage(e,i.options)})))}}],t&&Y(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();ye.type="languageDetector",function(e){e.PT_BR="pt_BR",e.EN_US="en_US",e.ES_ES="es_ES"}(be||(be={}));const xe={[be.PT_BR]:{translation:{app:{collapse:"Resumir",expand:"Expandir",close:"Fechar",profile:"Perfil",warning:"Aviso",edit:"Editar",remove:"Remover",yes:"Sim",no:"Não",loading:"Carregando",apply:"Aplicar",cancel:"Cancelar",confirm:"Confirmar",ok:"OK",alerts:"Avisos",requiredInfo:" (obrigatório) *"},"ez-upload":{enable:"Arraste e solte ou clique para adicionar arquivos",disable:"Somente leitura",replaceFileTitle:"Substituir arquivo",replaceFileMessage:'Já existe um arquivo chamado "{{fileName}}". Deseja substituí-lo?',maxFilesError:"A quantidade máxima de arquivos é {{maxFiles}}.",emptyFileError:'Erro de permissão: O arquivo "{{fileName}}" não pode ser enviado.',missingUploadUrlError:"Endereço de upload não informado.",maxFileSizeError:"O tamanho máximo dos arquivos é de {{maxSize}}.",uploadErrorTitle:"Enviando arquivo",uploadingMessage:"Há arquivos sendo enviados. Por favor aguarde a conclusão ou cancele o envio."},"ez-calendar":{month:{0:"Janeiro",1:"Fevereiro",2:"Março",3:"Abril",4:"Maio",5:"Junho",6:"Julho",7:"Agosto",8:"Setembro",9:"Outubro",10:"Novembro",11:"Dezembro"},weekDay:{0:"D",1:"S",2:"T",3:"Q",4:"Q",5:"S",6:"S"},today:"Hoje"},"ez-collapsible-box":{confirmRemove:"Deseja realmente remover o grupo <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Selecione um item",noResults:"Nenhum resultado encontrado"},"ez-classic-combo-box":{emptyOption:"Selecione um item",noResults:"Nenhum resultado encontrado"},"ez-date-time-input":{invalidDate:"O valor digitado não é uma data e hora válida"},"ez-date-input":{invalidDate:"O valor digitado não é uma data válida"},"ez-dialog":{confirmButton:"Botão de confirmação ou OK",closeButton:"Botão de fechar ou X"},"ez-double-list":{noItemsAvailable:"Nenhum {{entity}} disponível",noItemsSelected:"Nenhum {{entity}} selecionado",moveAllTo:"Mover todos para {{list}}",moveTo:"Mover para {{list}}",moveToFirstPosition:"Mover para a primeira posição",moveUp:"Mover para cima",moveDown:"Mover para baixo",moveToLastPosition:"Mover para a última posição"},"ez-file-item":{invalidProgress:"O progresso de upload deve ser um número entre 0 e 100."},"ez-grid":{filterAppliedSuccess:"Filtro de coluna aplicado com sucesso!",cancelPagination:"Cancelar paginação",pageLabel:"Página {{currentPage}}",previousPage:"Página anterior",nextPage:"Próxima página",returnToPreviousPage:"Retorna à página anterior.",goToNextPage:"Avança para a próxima página.",remainingPageLabel:" de {{count}} ou mais",remainingTotalLabel:" de {{total}}",nextRecord:"Avança para o próximo registro.",previousRecord:"Retorna ao registro anterior.",searchColumn:"Busca por coluna.",sortAscending:"Ordenar Ascendente",sortDescending:"Ordenar Descendente",pinColumn:"Fixar coluna",unpinColumn:"Desafixar coluna",filter:"Filtrar",columnCantBeOrder:"Coluna não pode ser ordenada",filterColumnHeader:"Filtro da coluna {{columnLabel}}",clearSelection:"Limpar Seleção",page:"Página",more:"mais",to:"para",of:"de",next:"Próximo",last:"Último",first:"Primeiro",previous:"Anterior",loadingOoo:"Carregar",selectAll:"Selecionar tudo",searchOoo:"Procurar",blanks:"Vazio",filterOoo:"Filtrar",applyFilter:"Aplicar filtro",equals:"Igual",lessThan:"Menor que",greaterThan:"Maior que",contains:"Contém",startsWith:"Começa com",endsWith:"Termina com",group:"Grupo",columns:"Colunas",rowGroupColumns:"Colunas do grupo de linhas",rowGroupColumnsEmptyMessage:"Colunas do grupo de linhas vazias",valueColumns:"Valores das colunas",pivotMode:"Modo pivô",groups:"Grupos",values:"Valores",pivots:"Pivôs",valueColumnsEmptyMessage:"Valores de colunas vazias",pivotColumnsEmptyMessage:"Pivôs de colunas vazias",toolPanelButton:"Botão de painel de ferramentas",noRowsToShow:"Não há registros para mostrar.",valueAggregation:"Agregar valor",autosizeThiscolumn:"Redimensionar esta coluna",autosizeAllColumns:"Redimensionar todas colunas",groupBy:"Agrupar por",ungroupBy:"Desagrupar por",resetColumns:"Resetar colunas",expandAll:"Expandir tudo",collapseAll:"Contrair tudo",toolPanel:"Painel de ferramentas",export:"Exportar",csvExport:"Exportar para CSV",excelExport:"Exportar para Excel",pinLeft:"Fixar coluna",pinRight:"Fixar a direita",noPin:"Desfixar coluna",sum:"Soma",min:"Mínimo",max:"Máximo",none:"Nenhum",count:"Contagem",average:"Média",copy:"Copiar",copyWithHeaders:"Copiar com cabeçalho",copyWithGroupHeaders:"Copiar com cabeçalhos de grupo",ctrlC:"Ctrl+C",paste:"Colar",ctrlV:"Ctrl+V",labelSearchColumn:"Buscar colunas (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Buscar guia",hideMenu:"Ocultar menu"},"ez-list":{moveToGroup:"Mover para {{groupName}}"},"ez-modal":{close:"Fechar modal"},"ez-multi-selection-list":{selectAll:"Selecionar todos",search:"Buscar...",empty:"(Vazio)",initMessage:"Selecione os valores a serem filtrados através do campo de busca.",emptyResults:"Nenhum resultado encontrado."},"ez-number-input":{invalidNumber:"O valor digitado não é um número válido"},"ez-pagination":{previousPage:"Página anterior",nextPage:"Próxima página"},"ez-rich-text":{listShortcut:"Aplica estilo de lista ao texto selecionado.",linkShortcut:"Abre popup de link.",imageShortcut:"Abre popup de imagem.",boldShortcut:"Aplica estilo negrito ao texto selecionado.",italicShortcut:"Aplica estilo itálico ao texto selecionado.",underlineShortcut:"Aplica estilo sublinhado ao texto selecionado.",breakLineShortcut:"Aplica quebra de linha.",undoShortcut:"Desfaz a última alteração de texto.",redoShortcut:"Refaz a última alteração de texto.",edit:"Editar",preview:"Pré-visualizar",title:{preview:"Ctrl + P",edit:"Ir para modo edição",undo:"Desfazer (Ctrl + Z)",redo:"Refazer (Ctrl + X)",link:"Inserir link (Ctrl + K)",image:"Inserir imagem (Ctrl + O)",list:"Lista (Ctrl + L)",underline:"Sublinhado (Ctrl + U)",italic:"Itálico (Ctrl + I)",bold:"Negrito (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Adicionar link",addLinkSubtitle:"Insira um link no texto para abrir novas páginas.",submit:"Enviar",urlInputLabel:"Insira a URL destino",textInputLabel:"Insira o texto a ser exibido",openInNewPage:"Abrir em uma nova página."},"ez-simple-image-uploader":{uploadTitle:"Upload de imagens",uploadSubtitle:"Envie seus arquivos preenchendo apenas 1 campo por vez.",submit:"Enviar",tooltipMessage:"O arquivo selecionado abaixo será priorizado!",urlInputLabel:"Insira a URL da imagem",orText:"OU",removeFile:"Remover arquivo",dragDropText:"Arraste e solte ou clique para adicionar arquivos",imageAlt:"Imagem",imageTooLarge:"A imagem deve ter menos de {{maxSize}}."},"ez-search":{emptyList:"Nenhum resultado encontrado",emptySearch:"Nenhum resultado de {{field}} encontrado"},"ez-search-plus":{emptyList:"Nenhum resultado encontrado",optionLoaderNotDefined:"optionLoader não definido",defaultCodeLabel:"Cód."},"ez-sortable-list":{emptyMessage:"Nenhum item na lista",entityLabel:"item",entityLabelPlural:"itens",total:"Total de",search:"Buscar"},"ez-split-button":{moreOptions:"Mais opções"},"ez-text-edit":{emptyFieldWarning:"Não é possível salvar um campo em branco."},"ez-time-input":{invalidTime:"Favor inserir um horário válido."},"ez-sidebar":{unPinMenu:"Desafixar menu",pushPinMenu:"Fixar menu",hideMenu:"Recolher menu"},"ez-form":{mainTab:"Principal",labelSearchField:"Buscar campos (Ctrl+F)"},utils:{requiredFieldMessage:"Há pelo menos um campo obrigatório não preenchido.",requiredField:"Essa informação é obrigatória.",selectAllPage:"Selecionar apenas a página atual",loadingAllRecords:"Carregando todos os {{count}} registros",selectAllRecords:"Selecionar todos os {{total}} registros",waitForLoad:"Aguarde o carregamento para selecionar o registro de todas as páginas",allRecordsSelected:"Todos os <strong>{{selectionCount}} registros</strong> da grade estão selecionados.",selectedRecords:"Há <strong>{{selectionCount}} registro{{plural}}</strong> selecionado{{plural}} na grade."},spinner:{loading:"Carregando..."}}},[be.EN_US]:{translation:{app:{collapse:"Collapse",expand:"Expand",close:"Close",profile:"Profile",warning:"Warning",edit:"Edit",remove:"Remove",yes:"Yes",no:"No",loading:"Loading",apply:"Apply",cancel:"Cancel",confirm:"Confirm",ok:"OK",alerts:"Alerts",requiredInfo:" (required) *"},"ez-upload":{enable:"Drag and drop or click to add files",disable:"Read only",replaceFileTitle:"Replace file",replaceFileMessage:'A file named "{{fileName}}" already exists. Do you want to replace it?',maxFilesError:"The maximum number of files is {{maxFiles}}.",emptyFileError:'Permission error: The file "{{fileName}}" cannot be uploaded.',missingUploadUrlError:"Upload URL not provided.",maxFileSizeError:"The maximum file size is {{maxSize}}.",uploadErrorTitle:"Uploading file",uploadingMessage:"Files are being uploaded. Please wait for completion or cancel the upload."},"ez-calendar":{month:{0:"January",1:"February",2:"March",3:"April",4:"May",5:"June",6:"July",7:"August",8:"September",9:"October",10:"November",11:"December"},weekDay:{0:"S",1:"M",2:"T",3:"W",4:"T",5:"F",6:"S"},today:"Today"},"ez-collapsible-box":{confirmRemove:"Do you really want to remove the group <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Select an item",noResults:"No results found"},"ez-classic-combo-box":{emptyOption:"Select an item",noResults:"No results found"},"ez-date-time-input":{invalidDate:"The entered value is not a valid date and time"},"ez-date-input":{invalidDate:"The entered value is not a valid date"},"ez-dialog":{confirmButton:"Confirm or OK button",closeButton:"Close or X button"},"ez-double-list":{noItemsAvailable:"No {{entity}} available",noItemsSelected:"No {{entity}} selected",moveAllTo:"Move all to {{list}}",moveTo:"Move to {{list}}",moveToFirstPosition:"Move to the first position",moveUp:"Move up",moveDown:"Move down",moveToLastPosition:"Move to the last position"},"ez-file-item":{invalidProgress:"The upload progress must be a number between 0 and 100."},"ez-grid":{filterAppliedSuccess:"Column filter applied successfully!",cancelPagination:"Cancel pagination",pageLabel:"Page {{currentPage}}",previousPage:"Previous page",nextPage:"Next page",returnToPreviousPage:"Return to the previous page.",goToNextPage:"Move to the next page.",remainingPageLabel:" from {{count}} or more",remainingTotalLabel:" from {{total}}",nextRecord:"Move to the next record.",previousRecord:"Return to the previous record.",searchColumn:"Search by column.",sortAscending:"Sort Ascending",sortDescending:"Sort Descending",pinColumn:"Pin column",unpinColumn:"Unpin column",filter:"Filter",columnCantBeOrder:"Column cannot be sorted",filterColumnHeader:"Filter for column {{columnLabel}}",clearSelection:"Clear Selection",page:"Page",more:"more",to:"to",of:"of",next:"Next",last:"Last",first:"First",previous:"Previous",loadingOoo:"Loading",selectAll:"Select all",searchOoo:"Search",blanks:"Blanks",filterOoo:"Filter",applyFilter:"Apply filter",equals:"Equals",lessThan:"Less than",greaterThan:"Greater than",contains:"Contains",startsWith:"Starts with",endsWith:"Ends with",group:"Group",columns:"Columns",rowGroupColumns:"Row group columns",rowGroupColumnsEmptyMessage:"Row group columns empty",valueColumns:"Value columns",pivotMode:"Pivot mode",groups:"Groups",values:"Values",pivots:"Pivots",valueColumnsEmptyMessage:"Value columns empty",pivotColumnsEmptyMessage:"Pivot columns empty",toolPanelButton:"Tool panel button",noRowsToShow:"No rows to show.",valueAggregation:"Aggregate value",autosizeThiscolumn:"Autosize this column",autosizeAllColumns:"Autosize all columns",groupBy:"Group by",ungroupBy:"Ungroup by",resetColumns:"Reset columns",expandAll:"Expand all",collapseAll:"Collapse all",toolPanel:"Tool panel",export:"Export",csvExport:"Export to CSV",excelExport:"Export to Excel",pinLeft:"Pin left",pinRight:"Pin right",noPin:"Unpin column",sum:"Sum",min:"Min",max:"Max",none:"None",count:"Count",average:"Average",copy:"Copy",copyWithHeaders:"Copy with headers",copyWithGroupHeaders:"Copy with group headers",ctrlC:"Ctrl+C",paste:"Paste",ctrlV:"Ctrl+V",labelSearchColumn:"Search columns (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Search guide",hideMenu:"Hide menu"},"ez-list":{moveToGroup:"Move to {{groupName}}"},"ez-modal":{close:"Close modal"},"ez-multi-selection-list":{selectAll:"Select all",search:"Search...",empty:"(Empty)",initMessage:"Select the values to be filtered through the search field.",emptyResults:"No results found."},"ez-number-input":{invalidNumber:"The entered value is not a valid number"},"ez-pagination":{previousPage:"Previous page",nextPage:"Next page"},"ez-rich-text":{listShortcut:"Applies list style to the selected text.",linkShortcut:"Opens link popup.",imageShortcut:"Opens image popup.",boldShortcut:"Applies bold style to the selected text.",italicShortcut:"Applies italic style to the selected text.",underlineShortcut:"Applies underline style to the selected text.",breakLineShortcut:"Applies line break.",undoShortcut:"Undoes the last text change.",redoShortcut:"Redoes the last text change.",edit:"Edit",preview:"Preview",title:{preview:"Ctrl + P",edit:"Switch to edit mode",undo:"Undo (Ctrl + Z)",redo:"Redo (Ctrl + X)",link:"Insert link (Ctrl + K)",image:"Insert image (Ctrl + O)",list:"List (Ctrl + L)",underline:"Underline (Ctrl + U)",italic:"Italic (Ctrl + I)",bold:"Bold (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Add link",addLinkSubtitle:"Insert a link into the text to open new pages.",submit:"Submit",urlInputLabel:"Enter the destination URL",textInputLabel:"Enter the text to display",openInNewPage:"Open in a new page."},"ez-simple-image-uploader":{uploadTitle:"Image Upload",uploadSubtitle:"Upload your files by filling only 1 field at a time.",submit:"Submit",tooltipMessage:"The selected file below will be prioritized!",urlInputLabel:"Enter the image URL",orText:"OR",removeFile:"Remove file",dragDropText:"Drag and drop or click to add files",imageAlt:"Image",imageTooLarge:"The image must be smaller than {{maxSize}}."},"ez-search":{emptyList:"No results found",emptySearch:"No results for {{field}} found"},"ez-search-plus":{emptyList:"No results found",optionLoaderNotDefined:"optionLoader not defined",defaultCodeLabel:"Code"},"ez-sortable-list":{emptyMessage:"No items in the list",entityLabel:"item",entityLabelPlural:"items",total:"Total of",search:"Search"},"ez-split-button":{moreOptions:"More options"},"ez-text-edit":{emptyFieldWarning:"It is not possible to save an empty field."},"ez-time-input":{invalidTime:"Please enter a valid time."},"ez-sidebar":{unPinMenu:"Unpin menu",pushPinMenu:"Pin menu",hideMenu:"Hide menu"},"ez-form":{mainTab:"Main",labelSearchField:"Search fields (Ctrl+F)"},utils:{requiredFieldMessage:"There is at least one required field not filled.",requiredField:"This information is required.",selectAllPage:"Select only the current page",loadingAllRecords:"Loading all {{count}} records",selectAllRecords:"Select all {{total}} records",waitForLoad:"Wait for loading to select records from all pages",allRecordsSelected:"All <strong>{{selectionCount}} records</strong> in the grid are selected.",selectedRecords:"There <strong>{{selectionCount}} record{{plural}}</strong> selected in the grid."},spinner:{loading:"Loading..."}}},[be.ES_ES]:{translation:{app:{collapse:"Colapsar",expand:"Expandir",close:"Cerrar",profile:"Perfil",warning:"Aviso",edit:"Editar",remove:"Eliminar",yes:"Sí",no:"No",loading:"Cargando",apply:"Aplicar",cancel:"Cancelar",confirm:"Confirmar",ok:"OK",alerts:"Avisos",requiredInfo:" (obligatorio) *"},"ez-upload":{enable:"Arrastra y suelta o haz clic para subir archivos",disable:"Solo lectura",replaceFileTitle:"Reemplazar archivo",replaceFileMessage:'Ya existe un archivo llamado "{{fileName}}". ¿Desea reemplazarlo?',maxFilesError:"La cantidad máxima de archivos es {{maxFiles}}.",emptyFileError:'Error de permiso: El archivo "{{fileName}}" no puede ser enviado.',missingUploadUrlError:"Dirección de carga no informada.",maxFileSizeError:"El tamaño máximo de los archivos es de {{maxSize}}.",uploadErrorTitle:"Subiendo archivo",uploadingMessage:"Se están subiendo archivos. Por favor, espere a que se complete o cancele la subida."},"ez-calendar":{month:{0:"Enero",1:"Febrero",2:"Marzo",3:"Abril",4:"Mayo",5:"Junio",6:"Julio",7:"Agosto",8:"Septiembre",9:"Octubre",10:"Noviembre",11:"Diciembre"},weekDay:{0:"D",1:"L",2:"M",3:"M",4:"J",5:"V",6:"S"},today:"Hoy"},"ez-collapsible-box":{confirmRemove:"¿Realmente desea eliminar el grupo <b>{{label}}</b>?"},"ez-combo-box":{placeholder:"Seleccione un elemento",noResults:"No se encontraron resultados"},"ez-classic-combo-box":{emptyOption:"Seleccione un elemento",noResults:"No se encontraron resultados"},"ez-date-time-input":{invalidDate:"El valor ingresado no es una fecha y hora válida"},"ez-date-input":{invalidDate:"El valor ingresado no es una fecha válida"},"ez-dialog":{confirmButton:"Botón de confirmación o OK",closeButton:"Botón de cerrar o X"},"ez-double-list":{noItemsAvailable:"No hay {{entity}} disponible",noItemsSelected:"No hay {{entity}} seleccionado",moveAllTo:"Mover todos a {{list}}",moveTo:"Mover a {{list}}",moveToFirstPosition:"Mover a la primera posición",moveUp:"Mover hacia arriba",moveDown:"Mover hacia abajo",moveToLastPosition:"Mover a la última posición"},"ez-file-item":{invalidProgress:"El progreso de carga debe ser un número entre 0 y 100."},"ez-grid":{filterAppliedSuccess:"¡Filtro de columna aplicado con éxito!",cancelPagination:"Cancelar paginación",pageLabel:"Página {{currentPage}}",previousPage:"Página anterior",nextPage:"Página siguiente",returnToPreviousPage:"Volver a la página anterior.",goToNextPage:"Avanzar a la página siguiente.",remainingPageLabel:" de {{count}} o más",remainingTotalLabel:" de {{total}}",nextRecord:"Avanzar al siguiente registro.",previousRecord:"Volver al registro anterior.",searchColumn:"Buscar por columna.",sortAscending:"Ordenar Ascendente",sortDescending:"Ordenar Descendente",pinColumn:"Fijar columna",unpinColumn:"Desafijar columna",filter:"Filtrar",columnCantBeOrder:"La columna no se puede ordenar",filterColumnHeader:"Filtro de la columna {{columnLabel}}",clearSelection:"Limpiar Selección",page:"Página",more:"más",to:"a",of:"de",next:"Siguiente",last:"Último",first:"Primero",previous:"Anterior",loadingOoo:"Cargando",selectAll:"Seleccionar todo",searchOoo:"Buscar",blanks:"Vacío",filterOoo:"Filtrar",applyFilter:"Aplicar filtro",equals:"Igual",lessThan:"Menor que",greaterThan:"Mayor que",contains:"Contiene",startsWith:"Empieza con",endsWith:"Termina con",group:"Grupo",columns:"Columnas",rowGroupColumns:"Columnas del grupo de filas",rowGroupColumnsEmptyMessage:"Columnas del grupo de filas vacías",valueColumns:"Valores de las columnas",pivotMode:"Modo pivote",groups:"Grupos",values:"Valores",pivots:"Pivotes",valueColumnsEmptyMessage:"Valores de columnas vacías",pivotColumnsEmptyMessage:"Pivotes de columnas vacías",toolPanelButton:"Botón del panel de herramientas",noRowsToShow:"No hay registros para mostrar.",valueAggregation:"Agregar valor",autosizeThiscolumn:"Redimensionar esta columna",autosizeAllColumns:"Redimensionar todas las columnas",groupBy:"Agrupar por",ungroupBy:"Desagrupar por",resetColumns:"Restablecer columnas",expandAll:"Expandir todo",collapseAll:"Contraer todo",toolPanel:"Panel de herramientas",export:"Exportar",csvExport:"Exportar a CSV",excelExport:"Exportar a Excel",pinLeft:"Fijar a la izquierda",pinRight:"Fijar a la derecha",noPin:"Desfijar columna",sum:"Suma",min:"Mínimo",max:"Máximo",none:"Ninguno",count:"Conteo",average:"Promedio",copy:"Copiar",copyWithHeaders:"Copiar con encabezados",copyWithGroupHeaders:"Copiar con encabezados de grupo",ctrlC:"Ctrl+C",paste:"Pegar",ctrlV:"Ctrl+V",labelSearchColumn:"Buscar columnas (Ctrl+F)"},"ez-guide-navigator":{searchGuide:"Buscar guía",hideMenu:"Ocultar menú"},"ez-list":{moveToGroup:"Mover a {{groupName}}"},"ez-modal":{close:"Cerrar modal"},"ez-multi-selection-list":{selectAll:"Seleccionar todos",search:"Buscar...",empty:"(Vacío)",initMessage:"Seleccione los valores a filtrar a través del campo de búsqueda.",emptyResults:"No se encontraron resultados."},"ez-number-input":{invalidNumber:"El valor ingresado no es un número válido"},"ez-pagination":{previousPage:"Página anterior",nextPage:"Página siguiente"},"ez-rich-text":{listShortcut:"Aplica estilo de lista al texto seleccionado.",linkShortcut:"Abre popup de enlace.",imageShortcut:"Abre popup de imagen.",boldShortcut:"Aplica estilo negrita al texto seleccionado.",italicShortcut:"Aplica estilo cursiva al texto seleccionado.",underlineShortcut:"Aplica estilo subrayado al texto seleccionado.",breakLineShortcut:"Aplica salto de línea.",undoShortcut:"Deshace el último cambio de texto.",redoShortcut:"Rehace el último cambio de texto.",edit:"Editar",preview:"Previsualizar",title:{preview:"Ctrl + P",edit:"Ir al modo de edición",undo:"Deshacer (Ctrl + Z)",redo:"Rehacer (Ctrl + X)",link:"Insertar enlace (Ctrl + K)",image:"Insertar imagen (Ctrl + O)",list:"Lista (Ctrl + L)",underline:"Subrayado (Ctrl + U)",italic:"Cursiva (Ctrl + I)",bold:"Negrita (Ctrl + B)"}},"ez-link-builder":{addLinkTitle:"Agregar enlace",addLinkSubtitle:"Inserte un enlace en el texto para abrir nuevas páginas.",submit:"Enviar",urlInputLabel:"Ingrese la URL de destino",textInputLabel:"Ingrese el texto a mostrar",openInNewPage:"Abrir en una nueva página."},"ez-simple-image-uploader":{uploadTitle:"Subida de imágenes",uploadSubtitle:"Sube tus archivos llenando solo 1 campo a la vez.",submit:"Enviar",tooltipMessage:"¡El archivo seleccionado a continuación será priorizado!",urlInputLabel:"Ingrese la URL de la imagen",orText:"O",removeFile:"Eliminar archivo",dragDropText:"Arrastra y suelta o haz clic para agregar archivos",imageAlt:"Imagen",imageTooLarge:"La imagen debe tener menos de {{maxSize}}."},"ez-search":{emptyList:"No se encontraron resultados",emptySearch:"No se encontraron resultados de {{field}}"},"ez-search-plus":{emptyList:"No se encontraron resultados",optionLoaderNotDefined:"optionLoader no definido",defaultCodeLabel:"Cód."},"ez-sortable-list":{emptyMessage:"No hay elementos en la lista",entityLabel:"elemento",entityLabelPlural:"elementos",total:"Total de",search:"Buscar"},"ez-split-button":{moreOptions:"Más opciones"},"ez-text-edit":{emptyFieldWarning:"No es posible guardar un campo vacío."},"ez-time-input":{invalidTime:"Por favor, ingrese una hora válida."},"ez-sidebar":{unPinMenu:"Desanclar menú",pushPinMenu:"Anclar menú",hideMenu:"Ocultar menú"},"ez-form":{mainTab:"Principal",labelSearchField:"Buscar campos (Ctrl+F)"},utils:{requiredFieldMessage:"Hay al menos un campo obligatorio sin completar.",requiredField:"Esta información es obligatoria.",selectAllPage:"Seleccionar solo la página actual",loadingAllRecords:"Cargando todos los {{count}} registros",selectAllRecords:"Seleccionar todos los {{total}} registros",waitForLoad:"Espere a que se carguen para seleccionar los registros de todas las páginas",allRecordsSelected:"Todos los <strong>{{selectionCount}} registros</strong> en la cuadrícula están seleccionados.",selectedRecords:"Hay <strong>{{selectionCount}} registro{{plural}}</strong> seleccionado{{plural}} en la cuadrícula."},spinner:{loading:"Cargando..."}}}},Se="__EZ_UI_I18N_INSTANCE__";function we(){return e.getContextValue(Se)}const Ce=async i=>{let o=we();if(!o){const s=W.createInstance(),r={resources:xe,fallbackLng:be.PT_BR};await s.use(ye).init(r);const a=t.getLanguage(),n=null!=i?i:a;await s.changeLanguage(n),e.setContextValue(Se,s.t),o=s.t}return o};export{we as g,Ce as i}
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,c as o,h as i,H as e,g as s}from"./p-23a36bb6.js";import{FloatingManager as r}from"@sankhyalabs/core";const n=class{constructor(i){t(this,i),this.ezVisibilityChange=o(this,"ezVisibilityChange",7),this._firstRender=!0,this.innerClickTest=(t,o,i)=>{const e=[t];this.innerElement&&("string"==typeof this.innerElement?e.push(document.querySelector(`#${this.innerElement}`)):this.innerElement.forEach((t=>{e.push(document.querySelector(`#${t}`))})));const s=(null==i?void 0:i.composedPath())||[];for(var r=0;r<e.length;r++){let t=e[r];if(null!=t){if(s.includes(t))return!0;if(t.contains(o))return!0;if(i&&"nodeType"in(null==i?void 0:i.target)&&t.contains(i.target))return!0;if(t.shadowRoot&&t.shadowRoot.contains(o))return!0;if(t=this._host,t.lastElementChild.shadowRoot?t.lastElementChild.shadowRoot.contains(o):t.contains(o))return!0}}return!1},this.backClickListener=()=>{this.ezVisibilityChange.emit(!1)},this.autoClose=!0,this.boxWidth="fit-content",this.opened=void 0,this.innerElement=void 0,this.overlayType="light"}observeOpened(t,o){t!=o&&(o?this.hide():this.show(),this.ezVisibilityChange.emit(t))}async updatePosition(t,o){r.updateFloatPosition(this._box,this._container,{autoClose:this.autoClose,top:t,left:o,innerClickTest:this.innerClickTest,backClickListener:this.backClickListener})}async show(t,o){this.float({top:t,left:o})}async showUnder(t,o){t&&this._host?this.float(this.calculatePosition(t,Object.assign({verticalGap:0,horizontalGap:0,fromRight:!1},o))):this.show((null==o?void 0:o.verticalGap)?`${o.verticalGap}px`:void 0,(null==o?void 0:o.horizontalGap)?`${o.horizontalGap}px`:void 0)}calculatePosition(t,o){const i=this._host.getBoundingClientRect(),e=t.getBoundingClientRect(),s=`${(o.fromRight?i.right-e.right:e.x-i.x)+o.horizontalGap}px`;return{top:`${e.bottom-i.y+o.verticalGap}px`,left:o.fromRight?"":s,right:o.fromRight?s:""}}float(t){this._box.style.top="",this._box.style.left="",this._box.style.right="";const o="none"!==this.overlayType,i=`ez-scrim ez-scrim--${this.overlayType}`;let e=Object.assign(Object.assign({},t),{autoClose:this.autoClose,innerClickTest:this.innerClickTest,backClickListener:this.backClickListener});o&&(e=Object.assign(Object.assign({},e),{autoClose:!0,useOverlay:o,overlayClassName:i})),this._floatingID=r.float(this._box,this._container,e),this.opened=!0}async hide(){void 0!==this._floatingID&&(r.close(this._floatingID),this._floatingID=void 0,this.opened=!1)}componentDidRender(){this._firstRender&&(this._box.remove(),this._firstRender=!1)}render(){return i(e,null,i("section",{ref:t=>this._container=t},i("div",{class:"popover__box "+("fit-content"===this.boxWidth?"popover__box--fit-content":"popover__box--full-width"),ref:t=>this._box=t},i("slot",null))))}get _host(){return s(this)}static get watchers(){return{opened:["observeOpened"]}}};n.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(--most-visible, 3);position:relative;display:flex;user-select:none}.popover__box{z-index:var(--ez-popover__box--z-index);display:flex;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:100%}";export{n as ez_popover}
Binary file
@@ -1 +1 @@
1
- import{r as t,c as i,h as e}from"./p-23a36bb6.js";import{UserInterface as s}from"@sankhyalabs/core";import{a as l}from"./p-b1e45320.js";import{i as o}from"./p-3b7d9f30.js";const n=window,a=new CustomEvent("onSubmitFilter",{detail:{showToast:!0}}),h=class{constructor(e){t(this,e),this.applyFilterColumnOptions=i(this,"applyFilterColumnOptions",7),this.opened=!0,this.columnName=void 0,this.columnLabel=void 0,this.gridHeaderHidden=!1,this.noHeaderTaskBar=!1,this.dataSource=void 0,this.dataUnit=void 0,this.options=void 0,this.selectedItems=void 0,this.fieldDescriptor=void 0,this.useOptions=!1,this.isTextSearch=!1}async hide(){await this.ezPopoverElement.hide(),await this.clearConfigs()}async show(t){var i;this.canShow(t)&&(this.fieldDescriptor=null!==(i=t.fieldDescriptor)&&void 0!==i?i:this.dataUnit.getField(t.columnName),this.buildIsTextSearch(),this.columnName=t.columnName,this.columnLabel=t.columnLabel,await this.setOptions(t),await this.ezPopoverElement.showUnder(`filter-column-${t.columnName}-${this.dataUnit.dataUnitId}`))}buildIsTextSearch(){var t,i;const e=null!==(i=null===(t=this.fieldDescriptor)||void 0===t?void 0:t.userInterface)&&void 0!==i?i:s.SHORTTEXT;this.isTextSearch=!(e===s.DECIMALNUMBER||e===s.INTEGERNUMBER)}async clearConfigs(){var t;await(null===(t=this.ezMultiSelectionList)||void 0===t?void 0:t.clearFilteredOptions()),this.options=null,this.columnName=null}canShow(t){return!this.ezPopoverElement.opened||t.columnName!==this.columnName}submit(){this.applyFilterColumnOptions.emit({field:this.columnName,values:this.selectedItems}),n.dispatchEvent(a),this.hide()}changeSelectedItems(t){this.selectedItems=t}hasToUseOptions(){return this.fieldDescriptor.userInterface===s.OPTIONSELECTOR||this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}isCheckBoxOrSwitch(){return this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}async setOptions(t){var i,e,s,o;const n=t.filteredOptions,a=this.hasToUseOptions();if(a)return this.useOptions=a,void(this.options=a?this.buildOptions(n):null!=n?n:null);let h=this.columnName;const r={onlyLabel:!1};(null===(e=null===(i=t.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e[l])&&(h=null===(o=null===(s=t.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===o?void 0:o[l],r.onlyLabel=!0);const c=await this.dataSource.getStaticOptions(h,r);if(null!=c){const t=new Set((n||[]).filter((t=>t.check)).map((t=>t.label)));return this.useOptions=!0,void(this.options=0===t.size?c:c.map((i=>Object.assign(Object.assign({},i),{check:t.has(i.label)}))))}this.useOptions=!1,this.options=null}buildOptions(t){var i,e,s,l;if(t&&t.length>0)return t;if(this.isCheckBoxOrSwitch())return[{label:this.i18n("app.yes"),value:"true",check:!0},{label:this.i18n("app.no"),value:"false",check:!0},{label:"",value:null,check:!0}];const o=null===(e=null===(i=this.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e.options;if(Array.isArray(o))return(null===(l=null===(s=this.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===l?void 0:l.switchLabelsAndValues)?o.map((t=>({label:t.label,value:t.value,check:!0}))):o.map((t=>({label:t.value,value:t.value,check:!0})));const n=JSON.parse(o);return Object.keys(n).map((t=>({label:n[t],value:t,check:!0})))}handleEzVisibilityChange(t){!1===t.detail&&this.clearConfigs()}async componentWillLoad(){this.i18n=await o()}render(){return e("ez-popover-plus",{ref:t=>this.ezPopoverElement=t,class:"filter-column__popover","overlay-type":"none",autoClose:!0,onEzVisibilityChange:this.handleEzVisibilityChange.bind(this)},e("section",{class:"filter-column"},e("header",{class:"filter-column__header"},e("span",{class:"ez-text ez-text--medium filter-column__header-title"},this.i18n("ez-grid.filterColumnHeader",{columnLabel:this.columnLabel})),e("ez-button",{mode:"icon","icon-name":"close",class:"ez-button--tertiary",onClick:()=>this.hide()})),e("ez-multi-selection-list",{id:"filter-column-selection-list",columnName:this.columnName,dataSource:this.dataSource,options:this.options,useOptions:this.useOptions,ref:t=>this.ezMultiSelectionList=t,onChangeFilteredOptions:t=>this.changeSelectedItems(t.detail),isTextSearch:this.isTextSearch,"data-element-id":this.columnName}),e("footer",{class:"filter-column__footer"},e("ez-button",{label:this.i18n("app.apply"),class:"ez-button--primary",onClick:this.submit.bind(this)}))))}};h.style=".filter-column{padding:var(--space--2xs, 8px);position:relative;display:flex;flex-direction:column;min-height:0;height:100%}.filter-column__header{margin-bottom:var(--space--2xs, 8px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:var(--space--xl, 32px);flex:0 0 auto}.filter-column__footer{position:relative;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;bottom:0;left:0;padding-top:var(--space--2xs, 8px);border-top:var(--border--medium) var(--color--disable-secondary);flex:0 0 auto}.filter-column__popover{position:absolute}.filter-column__header-title{margin-left:8px}#filter-column-selection-list{--ez-multi-selection-default-height:unset;--ez-multi-selection-default-max-height:100%;flex:1 1 auto;min-height:0;overflow:auto}";export{h as filter_column}
1
+ import{r as t,c as i,h as e}from"./p-23a36bb6.js";import{UserInterface as s}from"@sankhyalabs/core";import{a as l}from"./p-b1e45320.js";import{i as o}from"./p-a61fdd20.js";const n=window,a=new CustomEvent("onSubmitFilter",{detail:{showToast:!0}}),h=class{constructor(e){t(this,e),this.applyFilterColumnOptions=i(this,"applyFilterColumnOptions",7),this.opened=!0,this.columnName=void 0,this.columnLabel=void 0,this.gridHeaderHidden=!1,this.noHeaderTaskBar=!1,this.dataSource=void 0,this.dataUnit=void 0,this.options=void 0,this.selectedItems=void 0,this.fieldDescriptor=void 0,this.useOptions=!1,this.isTextSearch=!1}async hide(){await this.ezPopoverElement.hide(),await this.clearConfigs()}async show(t){var i;this.canShow(t)&&(this.fieldDescriptor=null!==(i=t.fieldDescriptor)&&void 0!==i?i:this.dataUnit.getField(t.columnName),this.buildIsTextSearch(),this.columnName=t.columnName,this.columnLabel=t.columnLabel,await this.setOptions(t),await this.ezPopoverElement.showUnder(`filter-column-${t.columnName}-${this.dataUnit.dataUnitId}`))}buildIsTextSearch(){var t,i;const e=null!==(i=null===(t=this.fieldDescriptor)||void 0===t?void 0:t.userInterface)&&void 0!==i?i:s.SHORTTEXT;this.isTextSearch=!(e===s.DECIMALNUMBER||e===s.INTEGERNUMBER)}async clearConfigs(){var t;await(null===(t=this.ezMultiSelectionList)||void 0===t?void 0:t.clearFilteredOptions()),this.options=null,this.columnName=null}canShow(t){return!this.ezPopoverElement.opened||t.columnName!==this.columnName}submit(){this.applyFilterColumnOptions.emit({field:this.columnName,values:this.selectedItems}),n.dispatchEvent(a),this.hide()}changeSelectedItems(t){this.selectedItems=t}hasToUseOptions(){return this.fieldDescriptor.userInterface===s.OPTIONSELECTOR||this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}isCheckBoxOrSwitch(){return this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}async setOptions(t){var i,e,s,o;const n=t.filteredOptions,a=this.hasToUseOptions();if(a)return this.useOptions=a,void(this.options=a?this.buildOptions(n):null!=n?n:null);let h=this.columnName;const r={onlyLabel:!1};(null===(e=null===(i=t.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e[l])&&(h=null===(o=null===(s=t.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===o?void 0:o[l],r.onlyLabel=!0);const c=await this.dataSource.getStaticOptions(h,r);if(null!=c){const t=new Set((n||[]).filter((t=>t.check)).map((t=>t.label)));return this.useOptions=!0,void(this.options=0===t.size?c:c.map((i=>Object.assign(Object.assign({},i),{check:t.has(i.label)}))))}this.useOptions=!1,this.options=null}buildOptions(t){var i,e,s,l;if(t&&t.length>0)return t;if(this.isCheckBoxOrSwitch())return[{label:this.i18n("app.yes"),value:"true",check:!0},{label:this.i18n("app.no"),value:"false",check:!0},{label:"",value:null,check:!0}];const o=null===(e=null===(i=this.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e.options;if(Array.isArray(o))return(null===(l=null===(s=this.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===l?void 0:l.switchLabelsAndValues)?o.map((t=>({label:t.label,value:t.value,check:!0}))):o.map((t=>({label:t.value,value:t.value,check:!0})));const n=JSON.parse(o);return Object.keys(n).map((t=>({label:n[t],value:t,check:!0})))}handleEzVisibilityChange(t){!1===t.detail&&this.clearConfigs()}async componentWillLoad(){this.i18n=await o()}render(){return e("ez-popover-plus",{ref:t=>this.ezPopoverElement=t,class:"filter-column__popover","overlay-type":"none",autoClose:!0,onEzVisibilityChange:this.handleEzVisibilityChange.bind(this)},e("section",{class:"filter-column"},e("header",{class:"filter-column__header"},e("span",{class:"ez-text ez-text--medium filter-column__header-title"},this.i18n("ez-grid.filterColumnHeader",{columnLabel:this.columnLabel})),e("ez-button",{mode:"icon","icon-name":"close",class:"ez-button--tertiary",onClick:()=>this.hide()})),e("ez-multi-selection-list",{id:"filter-column-selection-list",columnName:this.columnName,dataSource:this.dataSource,options:this.options,useOptions:this.useOptions,ref:t=>this.ezMultiSelectionList=t,onChangeFilteredOptions:t=>this.changeSelectedItems(t.detail),isTextSearch:this.isTextSearch,"data-element-id":this.columnName}),e("footer",{class:"filter-column__footer"},e("ez-button",{label:this.i18n("app.apply"),class:"ez-button--primary",onClick:this.submit.bind(this)}))))}};h.style=".filter-column{padding:var(--space--2xs, 8px);position:relative;display:flex;flex-direction:column;min-height:0;height:100%}.filter-column__header{margin-bottom:var(--space--2xs, 8px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:var(--space--xl, 32px);flex:0 0 auto}.filter-column__footer{position:relative;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;bottom:0;left:0;padding-top:var(--space--2xs, 8px);border-top:var(--border--medium) var(--color--disable-secondary);flex:0 0 auto}.filter-column__popover{position:absolute}.filter-column__header-title{margin-left:8px}#filter-column-selection-list{--ez-multi-selection-default-height:unset;--ez-multi-selection-default-max-height:100%;flex:1 1 auto;min-height:0;overflow:auto}";export{h as filter_column}
Binary file
Binary file
Binary file