@sankhyalabs/ezui 7.3.2 → 7.3.3-rc.1

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 (1245) hide show
  1. package/dist/cjs/{ApplicationUtils-5cc05979.js → ApplicationUtils-9a9185fc.js} +1 -1
  2. package/dist/cjs/ApplicationUtils-9a9185fc.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/FormLayout-fe8da83c.js +9 -0
  9. package/dist/cjs/FormLayout-fe8da83c.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-2fbe4b17.js → app-globals-27a943d9.js} +1 -1
  13. package/dist/cjs/app-globals-27a943d9.js.gz +0 -0
  14. package/dist/cjs/{ez-combo-box-list_5.cjs.entry.js → classic-search-list_8.cjs.entry.js} +366 -7
  15. package/dist/cjs/classic-search-list_8.cjs.entry.js.gz +0 -0
  16. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  17. package/dist/cjs/ez-actions-button.cjs.entry.js +5 -4
  18. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  19. package/dist/cjs/ez-alert-list.cjs.entry.js +2 -2
  20. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  21. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  23. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  25. package/dist/cjs/ez-avatar.cjs.entry.js +2 -2
  26. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  27. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  29. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  31. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  33. package/dist/cjs/ez-calendar.cjs.entry.js +2 -2
  34. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  35. package/dist/cjs/ez-card-item.cjs.entry.js +62 -0
  36. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  37. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  39. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  41. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  43. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +39 -16
  44. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  45. package/dist/cjs/ez-classic-date-input.cjs.entry.js +201 -0
  46. package/dist/cjs/ez-classic-date-input.cjs.entry.js.gz +0 -0
  47. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +246 -0
  48. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js.gz +0 -0
  49. package/dist/cjs/ez-classic-input.cjs.entry.js +145 -19
  50. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  51. package/dist/cjs/ez-classic-number-input.cjs.entry.js +205 -0
  52. package/dist/cjs/ez-classic-number-input.cjs.entry.js.gz +0 -0
  53. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +420 -0
  54. package/dist/cjs/ez-classic-search-plus.cjs.entry.js.gz +0 -0
  55. package/dist/cjs/ez-classic-search.cjs.entry.js +683 -0
  56. package/dist/cjs/ez-classic-search.cjs.entry.js.gz +0 -0
  57. package/dist/cjs/ez-classic-text-area.cjs.entry.js +14 -3
  58. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  59. package/dist/cjs/ez-classic-time-input.cjs.entry.js +198 -0
  60. package/dist/cjs/ez-classic-time-input.cjs.entry.js.gz +0 -0
  61. package/dist/cjs/ez-collapsible-box.cjs.entry.js +5 -4
  62. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  63. package/dist/cjs/ez-combo-box.cjs.entry.js +5 -4
  64. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  65. package/dist/cjs/ez-date-input.cjs.entry.js +2 -2
  66. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  67. package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -2
  68. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  69. package/dist/cjs/ez-dialog.cjs.entry.js +2 -2
  70. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  71. package/dist/cjs/ez-double-list.cjs.entry.js +2 -2
  72. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  73. package/dist/cjs/ez-dropdown.cjs.entry.js +2 -2
  74. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  75. package/dist/cjs/ez-empty-card.cjs.entry.js +2 -2
  76. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  77. package/dist/cjs/ez-file-item.cjs.entry.js +2 -2
  78. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  79. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  80. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  81. package/dist/cjs/ez-form-view.cjs.entry.js +132 -39
  82. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  83. package/dist/cjs/ez-form.cjs.entry.js +145 -82
  84. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  85. package/dist/cjs/ez-grid-pagination.cjs.entry.js +331 -0
  86. package/dist/cjs/ez-grid-pagination.cjs.entry.js.gz +0 -0
  87. package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
  88. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  89. package/dist/cjs/ez-grid.cjs.entry.js +239 -161
  90. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  91. package/dist/cjs/ez-guide-navigator.cjs.entry.js +2 -2
  92. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  93. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  94. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  95. package/dist/cjs/ez-link-builder_6.cjs.entry.js +2 -2
  96. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  97. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  98. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  99. package/dist/cjs/ez-list.cjs.entry.js +2 -2
  100. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  101. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  102. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  103. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
  104. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  105. package/dist/cjs/ez-modal.cjs.entry.js +3 -3
  106. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  107. package/dist/cjs/{ez-card-item_5.cjs.entry.js → ez-multi-selection-list_5.cjs.entry.js} +223 -57
  108. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js.gz +0 -0
  109. package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
  110. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  111. package/dist/cjs/ez-pagination.cjs.entry.js +2 -2
  112. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  113. package/dist/cjs/ez-popover.cjs.entry.js +9 -1
  114. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  115. package/dist/cjs/ez-popup.cjs.entry.js +2 -2
  116. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  117. package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
  118. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  119. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  120. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  121. package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
  122. package/dist/cjs/ez-record-navigation.cjs.entry.js.gz +0 -0
  123. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  124. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  125. package/dist/cjs/ez-scroller_2.cjs.entry.js +82 -15
  126. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  127. package/dist/cjs/ez-search-plus.cjs.entry.js +19 -9
  128. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  129. package/dist/cjs/ez-search-result-list.cjs.entry.js +2 -2
  130. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  131. package/dist/cjs/ez-search.cjs.entry.js +50 -12
  132. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  133. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
  134. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  135. package/dist/cjs/ez-skeleton.cjs.entry.js +2 -2
  136. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  137. package/dist/cjs/ez-sortable-list.cjs.entry.js +3 -3
  138. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  139. package/dist/cjs/ez-spinner.cjs.entry.js +2 -2
  140. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  141. package/dist/cjs/ez-split-button.cjs.entry.js +17 -18
  142. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  143. package/dist/cjs/ez-split-item.cjs.entry.js +8 -6
  144. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  145. package/dist/cjs/ez-split-panel.cjs.entry.js +7 -5
  146. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  147. package/dist/cjs/ez-tabselector.cjs.entry.js +210 -62
  148. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  149. package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
  150. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  151. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  152. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  153. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  154. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  155. package/dist/cjs/ez-text-input.cjs.entry.js +38 -1
  156. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  157. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  158. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  159. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  160. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  161. package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
  162. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  163. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  164. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  165. package/dist/cjs/ez-tooltip.cjs.entry.js +2 -2
  166. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  167. package/dist/cjs/ez-tree.cjs.entry.js +2 -2
  168. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  169. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  170. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  171. package/dist/cjs/ez-upload.cjs.entry.js +3 -3
  172. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  173. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  174. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  175. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  176. package/dist/cjs/ezui.cjs.js +4 -4
  177. package/dist/cjs/ezui.cjs.js.gz +0 -0
  178. package/dist/cjs/filter-column.cjs.entry.js +2 -2
  179. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  180. package/dist/cjs/{floating-ui.dom.esm-f1e4e440.js → floating-ui.dom.esm-9c8bfebb.js} +166 -120
  181. package/dist/cjs/floating-ui.dom.esm-9c8bfebb.js.gz +0 -0
  182. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +58 -29
  183. package/dist/cjs/{index-9e5554cb.js.gz → index-a7b0c73d.js.gz} +0 -0
  184. package/dist/cjs/{index-1be40f19.js → index-d4a1cad8.js} +175 -30
  185. package/dist/cjs/index-d4a1cad8.js.gz +0 -0
  186. package/dist/cjs/index.cjs.js.gz +0 -0
  187. package/dist/cjs/loader.cjs.js +4 -4
  188. package/dist/cjs/loader.cjs.js.gz +0 -0
  189. package/dist/cjs/purify-8c74770b.js +1398 -0
  190. package/dist/cjs/purify-8c74770b.js.gz +0 -0
  191. package/dist/cjs/{search-column-3031a7dd.js → search-column-c04897a9.js} +13 -11
  192. package/dist/cjs/search-column-c04897a9.js.gz +0 -0
  193. package/dist/cjs/searchFormatters-051f8677.js +23 -0
  194. package/dist/cjs/searchFormatters-051f8677.js.gz +0 -0
  195. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  196. package/dist/cjs/{FormLayout-18853e70.js → types-6a5df0c7.js} +0 -6
  197. package/dist/cjs/types-6a5df0c7.js.gz +0 -0
  198. package/dist/collection/collection-manifest.json +64 -3
  199. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  200. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  201. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  202. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  203. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  204. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  205. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  206. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  207. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  208. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  209. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  210. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  211. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  212. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  213. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  214. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  215. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  216. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  217. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  218. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  219. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  220. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  221. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  222. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  223. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  224. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  225. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  226. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  227. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  228. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  229. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  230. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  231. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  232. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  233. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  234. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  235. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  236. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  237. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  238. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  239. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  240. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  241. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  242. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  243. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  244. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  245. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +5 -0
  246. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  247. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +96 -18
  248. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  249. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  250. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +44 -0
  251. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css.gz +0 -0
  252. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +541 -0
  253. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js.gz +0 -0
  254. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +44 -0
  255. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css.gz +0 -0
  256. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +586 -0
  257. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js.gz +0 -0
  258. package/dist/collection/components/ez-classic-input/ez-classic-input.css +33 -5
  259. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  260. package/dist/collection/components/ez-classic-input/ez-classic-input.js +200 -19
  261. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  262. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  263. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  264. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +16 -0
  265. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css.gz +0 -0
  266. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +583 -0
  267. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js.gz +0 -0
  268. package/dist/collection/components/ez-classic-search/ez-classic-search.css +126 -0
  269. package/dist/collection/components/ez-classic-search/ez-classic-search.css.gz +0 -0
  270. package/dist/collection/components/ez-classic-search/ez-classic-search.js +1330 -0
  271. package/dist/collection/components/ez-classic-search/ez-classic-search.js.gz +0 -0
  272. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +227 -0
  273. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css.gz +0 -0
  274. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +316 -0
  275. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js.gz +0 -0
  276. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +18 -0
  277. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js.gz +0 -0
  278. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +428 -0
  279. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css.gz +0 -0
  280. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +1003 -0
  281. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js.gz +0 -0
  282. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +221 -0
  283. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css.gz +0 -0
  284. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +298 -0
  285. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js.gz +0 -0
  286. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +3 -2
  287. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  288. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
  289. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  290. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  291. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +14 -0
  292. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css.gz +0 -0
  293. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +512 -0
  294. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js.gz +0 -0
  295. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  296. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  297. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  298. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  299. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  300. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  301. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  302. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  303. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  304. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  305. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  306. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  307. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  308. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  309. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  310. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  311. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  312. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  313. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  314. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  315. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  316. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  317. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  318. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  319. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  320. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  321. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  322. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  323. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  324. package/dist/collection/components/ez-form/ez-form.js +30 -4
  325. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  326. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  327. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  328. package/dist/collection/components/ez-form-view/ez-form-view.css +27 -8
  329. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  330. package/dist/collection/components/ez-form-view/ez-form-view.js +63 -5
  331. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  332. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +9 -4
  333. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  334. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +9 -6
  335. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  336. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +8 -1
  337. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  338. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +30 -6
  339. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  340. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  341. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  342. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js +4 -0
  343. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js.gz +0 -0
  344. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
  345. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +12 -5
  346. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  347. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
  348. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  349. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +9 -3
  350. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  351. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +8 -1
  352. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  353. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +7 -1
  354. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  355. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +8 -1
  356. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  357. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  358. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  359. package/dist/collection/components/ez-form-view/structure/index.js +1 -1
  360. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  361. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  362. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +160 -13
  363. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  364. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +11 -1
  365. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  366. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  367. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  368. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  369. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  370. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  371. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  372. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  373. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  374. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  375. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  376. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  377. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  378. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  379. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  380. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  381. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  382. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  383. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  384. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  385. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  386. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  387. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
  388. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js.gz +0 -0
  389. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  390. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  391. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
  392. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js.gz +0 -0
  393. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  394. package/dist/collection/components/ez-grid/ez-grid.css +5 -60
  395. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  396. package/dist/collection/components/ez-grid/ez-grid.js +52 -150
  397. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  398. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
  399. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js.gz +0 -0
  400. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  401. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  402. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  403. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  404. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  405. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  406. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  407. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  408. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  409. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  410. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  411. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  412. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  413. package/dist/collection/components/ez-grid/utils/index.js +1 -0
  414. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  415. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +217 -0
  416. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css.gz +0 -0
  417. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +516 -0
  418. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js.gz +0 -0
  419. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js +1 -0
  420. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js.gz +0 -0
  421. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  422. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  423. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  424. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  425. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  426. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  427. package/dist/collection/components/ez-icon/ez-icon.css +8 -7
  428. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  429. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  430. package/dist/collection/components/ez-image-input/ez-image-input.css +189 -0
  431. package/dist/collection/components/ez-image-input/ez-image-input.css.gz +0 -0
  432. package/dist/collection/components/ez-image-input/ez-image-input.js +329 -0
  433. package/dist/collection/components/ez-image-input/ez-image-input.js.gz +0 -0
  434. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  435. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  436. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  437. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  438. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  439. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  440. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  441. package/dist/collection/components/ez-modal/ez-modal.css +3 -0
  442. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  443. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  444. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  445. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  446. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  447. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  448. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  449. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
  450. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
  451. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  452. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  453. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  454. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  455. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  456. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  457. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  458. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  459. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  460. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  461. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  462. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  463. package/dist/collection/components/ez-popover/ez-popover.js +27 -0
  464. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  465. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  466. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  467. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  468. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  469. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  470. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  471. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  472. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  473. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  474. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  475. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  476. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
  477. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css.gz +0 -0
  478. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
  479. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js.gz +0 -0
  480. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  481. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  482. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  483. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  484. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  485. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  486. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  487. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  488. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  489. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  490. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  491. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  492. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  493. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  494. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  495. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  496. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  497. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  498. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  499. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  500. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  501. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
  502. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js.gz +0 -0
  503. package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
  504. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  505. package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
  506. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  507. package/dist/collection/components/ez-search/ez-search.css +4 -0
  508. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  509. package/dist/collection/components/ez-search/ez-search.js +75 -3
  510. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  511. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  512. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  513. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  514. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  515. package/dist/collection/components/ez-search-plus/ez-search-plus.js +11 -2
  516. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  517. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  518. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  519. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  520. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  521. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  522. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  523. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  524. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  525. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  526. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  527. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  528. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  529. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  530. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  531. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  532. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  533. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  534. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  535. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  536. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  537. package/dist/collection/components/ez-split-button/ez-split-button.js +20 -15
  538. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  539. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  540. package/dist/collection/components/ez-split-panel/ez-split-panel.css +29 -0
  541. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  542. package/dist/collection/components/ez-split-panel/ez-split-panel.js +23 -3
  543. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  544. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  545. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +9 -0
  546. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  547. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +20 -1
  548. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  549. package/dist/collection/components/ez-tabselector/ez-tabselector.css +33 -1
  550. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  551. package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
  552. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  553. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  554. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  555. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  556. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  557. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  558. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  559. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  560. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  561. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  562. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  563. package/dist/collection/components/ez-text-input/ez-text-input.js +38 -1
  564. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  565. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  566. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  567. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  568. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  569. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  570. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  571. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  572. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  573. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  574. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  575. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  576. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  577. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  578. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  579. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  580. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  581. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  582. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  583. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  584. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  585. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  586. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  587. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  588. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  589. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  590. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  591. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  592. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  593. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  594. package/dist/collection/global/app-init.js.gz +0 -0
  595. package/dist/collection/index.js.gz +0 -0
  596. package/dist/collection/servidor.js.gz +0 -0
  597. package/dist/collection/setupTests.js.gz +0 -0
  598. package/dist/collection/sw.js.gz +0 -0
  599. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  600. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  601. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  602. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  603. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  604. package/dist/collection/utils/constants.js.gz +0 -0
  605. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  606. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  607. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  608. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  609. package/dist/collection/utils/form/DataBinder.js +2 -2
  610. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  611. package/dist/collection/utils/form/FormMetadata.js +132 -74
  612. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  613. package/dist/collection/utils/form/index.js.gz +0 -0
  614. package/dist/collection/utils/form/interfaces/FormLayout.js +3 -1
  615. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  616. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  617. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  618. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  619. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  620. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  621. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  622. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  623. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  624. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  625. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  626. package/dist/collection/utils/i18n/index.js.gz +0 -0
  627. package/dist/collection/utils/i18n/locales/en-us.js +55 -4
  628. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  629. package/dist/collection/utils/i18n/locales/es-es.js +55 -4
  630. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  631. package/dist/collection/utils/i18n/locales/pt-br.js +55 -4
  632. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  633. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  634. package/dist/collection/utils/index.js.gz +0 -0
  635. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  636. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  637. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  638. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  639. package/dist/collection/utils/search/types.js.gz +0 -0
  640. package/dist/collection/utils/searchColumn/search-column.js +8 -6
  641. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  642. package/dist/collection/utils/utils.js.gz +0 -0
  643. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  644. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  645. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  646. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  647. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  648. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  649. package/dist/custom-elements/index.d.ts +66 -0
  650. package/dist/custom-elements/index.js +4521 -1930
  651. package/dist/custom-elements/index.js.gz +0 -0
  652. package/dist/esm/{ApplicationUtils-1569f757.js → ApplicationUtils-29d2709c.js} +1 -1
  653. package/dist/esm/ApplicationUtils-29d2709c.js.gz +0 -0
  654. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  655. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  656. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  657. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  658. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  659. package/dist/esm/FormLayout-bda67973.js +9 -0
  660. package/dist/esm/FormLayout-bda67973.js.gz +0 -0
  661. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  662. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  663. package/dist/esm/{app-globals-c0ac93c0.js → app-globals-44bdc4c4.js} +1 -1
  664. package/dist/esm/app-globals-44bdc4c4.js.gz +0 -0
  665. package/dist/esm/{ez-combo-box-list_5.entry.js → classic-search-list_8.entry.js} +364 -8
  666. package/dist/esm/classic-search-list_8.entry.js.gz +0 -0
  667. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  668. package/dist/esm/ez-actions-button.entry.js +5 -4
  669. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  670. package/dist/esm/ez-alert-list.entry.js +2 -2
  671. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  672. package/dist/esm/ez-alert.entry.js +1 -1
  673. package/dist/esm/ez-alert.entry.js.gz +0 -0
  674. package/dist/esm/ez-application.entry.js +1 -1
  675. package/dist/esm/ez-application.entry.js.gz +0 -0
  676. package/dist/esm/ez-avatar.entry.js +2 -2
  677. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  678. package/dist/esm/ez-badge.entry.js +1 -1
  679. package/dist/esm/ez-badge.entry.js.gz +0 -0
  680. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  681. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  682. package/dist/esm/ez-button.entry.js +1 -1
  683. package/dist/esm/ez-button.entry.js.gz +0 -0
  684. package/dist/esm/ez-calendar.entry.js +2 -2
  685. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  686. package/dist/esm/ez-card-item.entry.js +58 -0
  687. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  688. package/dist/esm/ez-chart.entry.js +1 -1
  689. package/dist/esm/ez-chart.entry.js.gz +0 -0
  690. package/dist/esm/ez-check.entry.js +1 -1
  691. package/dist/esm/ez-check.entry.js.gz +0 -0
  692. package/dist/esm/ez-chip.entry.js +1 -1
  693. package/dist/esm/ez-chip.entry.js.gz +0 -0
  694. package/dist/esm/ez-classic-combo-box.entry.js +39 -16
  695. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  696. package/dist/esm/ez-classic-date-input.entry.js +197 -0
  697. package/dist/esm/ez-classic-date-input.entry.js.gz +0 -0
  698. package/dist/esm/ez-classic-date-time-input.entry.js +242 -0
  699. package/dist/esm/ez-classic-date-time-input.entry.js.gz +0 -0
  700. package/dist/esm/ez-classic-input.entry.js +146 -20
  701. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  702. package/dist/esm/ez-classic-number-input.entry.js +201 -0
  703. package/dist/esm/ez-classic-number-input.entry.js.gz +0 -0
  704. package/dist/esm/ez-classic-search-plus.entry.js +416 -0
  705. package/dist/esm/ez-classic-search-plus.entry.js.gz +0 -0
  706. package/dist/esm/ez-classic-search.entry.js +679 -0
  707. package/dist/esm/ez-classic-search.entry.js.gz +0 -0
  708. package/dist/esm/ez-classic-text-area.entry.js +14 -3
  709. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  710. package/dist/esm/ez-classic-time-input.entry.js +194 -0
  711. package/dist/esm/ez-classic-time-input.entry.js.gz +0 -0
  712. package/dist/esm/ez-collapsible-box.entry.js +5 -4
  713. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  714. package/dist/esm/ez-combo-box.entry.js +5 -4
  715. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  716. package/dist/esm/ez-date-input.entry.js +2 -2
  717. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  718. package/dist/esm/ez-date-time-input.entry.js +2 -2
  719. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  720. package/dist/esm/ez-dialog.entry.js +2 -2
  721. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  722. package/dist/esm/ez-double-list.entry.js +2 -2
  723. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  724. package/dist/esm/ez-dropdown.entry.js +2 -2
  725. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  726. package/dist/esm/ez-empty-card.entry.js +2 -2
  727. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  728. package/dist/esm/ez-file-item.entry.js +2 -2
  729. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  730. package/dist/esm/ez-filter-input.entry.js +1 -1
  731. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  732. package/dist/esm/ez-form-view.entry.js +132 -39
  733. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  734. package/dist/esm/ez-form.entry.js +145 -82
  735. package/dist/esm/ez-form.entry.js.gz +0 -0
  736. package/dist/esm/ez-grid-pagination.entry.js +327 -0
  737. package/dist/esm/ez-grid-pagination.entry.js.gz +0 -0
  738. package/dist/esm/ez-grid-view.entry.js +1 -1
  739. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  740. package/dist/esm/ez-grid.entry.js +238 -160
  741. package/dist/esm/ez-grid.entry.js.gz +0 -0
  742. package/dist/esm/ez-guide-navigator.entry.js +2 -2
  743. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  744. package/dist/esm/ez-icon.entry.js +2 -2
  745. package/dist/esm/ez-icon.entry.js.gz +0 -0
  746. package/dist/esm/ez-link-builder_6.entry.js +2 -2
  747. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  748. package/dist/esm/ez-list-item.entry.js +1 -1
  749. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  750. package/dist/esm/ez-list.entry.js +2 -2
  751. package/dist/esm/ez-list.entry.js.gz +0 -0
  752. package/dist/esm/ez-loading-bar.entry.js +1 -1
  753. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  754. package/dist/esm/ez-modal-container.entry.js +2 -2
  755. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  756. package/dist/esm/ez-modal.entry.js +3 -3
  757. package/dist/esm/ez-modal.entry.js.gz +0 -0
  758. package/dist/esm/{ez-card-item_5.entry.js → ez-multi-selection-list_5.entry.js} +224 -58
  759. package/dist/esm/ez-multi-selection-list_5.entry.js.gz +0 -0
  760. package/dist/esm/ez-number-input.entry.js +2 -2
  761. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  762. package/dist/esm/ez-pagination.entry.js +2 -2
  763. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  764. package/dist/esm/ez-popover.entry.js +9 -1
  765. package/dist/esm/ez-popover.entry.js.gz +0 -0
  766. package/dist/esm/ez-popup.entry.js +2 -2
  767. package/dist/esm/ez-popup.entry.js.gz +0 -0
  768. package/dist/esm/ez-progress-bar.entry.js +1 -1
  769. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  770. package/dist/esm/ez-radio-button.entry.js +1 -1
  771. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  772. package/dist/esm/ez-record-navigation.entry.js +117 -0
  773. package/dist/esm/ez-record-navigation.entry.js.gz +0 -0
  774. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  775. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  776. package/dist/esm/ez-scroller_2.entry.js +82 -15
  777. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  778. package/dist/esm/ez-search-plus.entry.js +16 -6
  779. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  780. package/dist/esm/ez-search-result-list.entry.js +2 -2
  781. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  782. package/dist/esm/ez-search.entry.js +45 -7
  783. package/dist/esm/ez-search.entry.js.gz +0 -0
  784. package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
  785. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  786. package/dist/esm/ez-skeleton.entry.js +2 -2
  787. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  788. package/dist/esm/ez-sortable-list.entry.js +3 -3
  789. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  790. package/dist/esm/ez-spinner.entry.js +2 -2
  791. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  792. package/dist/esm/ez-split-button.entry.js +17 -18
  793. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  794. package/dist/esm/ez-split-item.entry.js +8 -6
  795. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  796. package/dist/esm/ez-split-panel.entry.js +7 -5
  797. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  798. package/dist/esm/ez-tabselector.entry.js +210 -62
  799. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  800. package/dist/esm/ez-tag-input.entry.js +1 -1
  801. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  802. package/dist/esm/ez-tag.entry.js +1 -1
  803. package/dist/esm/ez-tag.entry.js.gz +0 -0
  804. package/dist/esm/ez-text-area.entry.js +1 -1
  805. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  806. package/dist/esm/ez-text-input.entry.js +38 -1
  807. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  808. package/dist/esm/ez-tile-medium.entry.js +1 -1
  809. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  810. package/dist/esm/ez-tile.entry.js +1 -1
  811. package/dist/esm/ez-tile.entry.js.gz +0 -0
  812. package/dist/esm/ez-time-input.entry.js +2 -2
  813. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  814. package/dist/esm/ez-toast.entry.js +1 -1
  815. package/dist/esm/ez-toast.entry.js.gz +0 -0
  816. package/dist/esm/ez-tooltip.entry.js +2 -2
  817. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  818. package/dist/esm/ez-tree.entry.js +2 -2
  819. package/dist/esm/ez-tree.entry.js.gz +0 -0
  820. package/dist/esm/ez-underface.entry.js +1 -1
  821. package/dist/esm/ez-underface.entry.js.gz +0 -0
  822. package/dist/esm/ez-upload.entry.js +3 -3
  823. package/dist/esm/ez-upload.entry.js.gz +0 -0
  824. package/dist/esm/ez-view-stack.entry.js +1 -1
  825. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  826. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  827. package/dist/esm/ezui.js +5 -5
  828. package/dist/esm/ezui.js.gz +0 -0
  829. package/dist/esm/filter-column.entry.js +2 -2
  830. package/dist/esm/filter-column.entry.js.gz +0 -0
  831. package/dist/esm/{floating-ui.dom.esm-c94d4011.js → floating-ui.dom.esm-0c464cef.js} +166 -120
  832. package/dist/esm/floating-ui.dom.esm-0c464cef.js.gz +0 -0
  833. package/dist/esm/{index-41363fa6.js → index-b5a15d4b.js} +175 -30
  834. package/dist/esm/index-b5a15d4b.js.gz +0 -0
  835. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +59 -29
  836. package/dist/esm/index-baa5e267.js.gz +0 -0
  837. package/dist/esm/index.js.gz +0 -0
  838. package/dist/esm/loader.js +5 -5
  839. package/dist/esm/loader.js.gz +0 -0
  840. package/dist/esm/polyfills/core-js.js.gz +0 -0
  841. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  842. package/dist/esm/polyfills/dom.js.gz +0 -0
  843. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  844. package/dist/esm/polyfills/index.js.gz +0 -0
  845. package/dist/esm/polyfills/system.js.gz +0 -0
  846. package/dist/esm/purify-ff423562.js +1396 -0
  847. package/dist/esm/purify-ff423562.js.gz +0 -0
  848. package/dist/esm/{search-column-8b9d1486.js → search-column-9414ad22.js} +13 -11
  849. package/dist/esm/search-column-9414ad22.js.gz +0 -0
  850. package/dist/esm/searchFormatters-6d9b06e4.js +20 -0
  851. package/dist/esm/searchFormatters-6d9b06e4.js.gz +0 -0
  852. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  853. package/dist/esm/{FormLayout-071d324c.js → types-6f6b2650.js} +1 -7
  854. package/dist/esm/types-6f6b2650.js.gz +0 -0
  855. package/dist/ezui/ezui.esm.js +1 -1
  856. package/dist/ezui/ezui.esm.js.gz +0 -0
  857. package/dist/ezui/index.esm.js.gz +0 -0
  858. package/dist/ezui/p-08e3184d.entry.js +1 -0
  859. package/dist/ezui/p-08e3184d.entry.js.gz +0 -0
  860. package/dist/ezui/p-0d80e3ec.entry.js +1 -0
  861. package/dist/ezui/p-0d80e3ec.entry.js.gz +0 -0
  862. package/dist/ezui/p-0ddb9a95.entry.js +1 -0
  863. package/dist/ezui/p-0ddb9a95.entry.js.gz +0 -0
  864. package/dist/ezui/{p-ffdf68cd.entry.js → p-0fbf5842.entry.js} +1 -1
  865. package/dist/ezui/p-0fbf5842.entry.js.gz +0 -0
  866. package/dist/ezui/p-112455b1.js.gz +0 -0
  867. package/dist/ezui/{p-98dfdeb1.entry.js → p-1160c33a.entry.js} +1 -1
  868. package/dist/ezui/p-1160c33a.entry.js.gz +0 -0
  869. package/dist/ezui/{p-776a0234.entry.js → p-11fa490d.entry.js} +46 -46
  870. package/dist/ezui/p-11fa490d.entry.js.gz +0 -0
  871. package/dist/ezui/{p-1a30c7b5.entry.js → p-1222e1b6.entry.js} +1 -1
  872. package/dist/ezui/p-1222e1b6.entry.js.gz +0 -0
  873. package/dist/ezui/p-178cb9df.entry.js +1 -0
  874. package/dist/ezui/p-178cb9df.entry.js.gz +0 -0
  875. package/dist/ezui/p-1c7aa5af.entry.js +1 -0
  876. package/dist/ezui/p-1c7aa5af.entry.js.gz +0 -0
  877. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  878. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  879. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  880. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  881. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  882. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  883. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  884. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  885. package/dist/ezui/{p-6dbf8f75.entry.js → p-27236a0f.entry.js} +1 -1
  886. package/dist/ezui/p-27236a0f.entry.js.gz +0 -0
  887. package/dist/ezui/{p-9d6c5d17.entry.js → p-2c1c9ec6.entry.js} +1 -1
  888. package/dist/ezui/p-2c1c9ec6.entry.js.gz +0 -0
  889. package/dist/ezui/{p-baec56c9.js → p-320c401f.js} +1 -1
  890. package/dist/ezui/p-320c401f.js.gz +0 -0
  891. package/dist/ezui/p-34a09786.entry.js +1 -0
  892. package/dist/ezui/p-34a09786.entry.js.gz +0 -0
  893. package/dist/ezui/{p-01ca89ef.entry.js → p-381570d2.entry.js} +1 -1
  894. package/dist/ezui/p-381570d2.entry.js.gz +0 -0
  895. package/dist/ezui/p-3b7d9f30.js +1 -0
  896. package/dist/ezui/p-3b7d9f30.js.gz +0 -0
  897. package/dist/ezui/{p-b2ce629f.entry.js → p-3b9ccdb7.entry.js} +1 -1
  898. package/dist/ezui/p-3b9ccdb7.entry.js.gz +0 -0
  899. package/dist/ezui/p-3e767a74.js.gz +0 -0
  900. package/dist/ezui/p-40a0a773.entry.js +1 -0
  901. package/dist/ezui/p-40a0a773.entry.js.gz +0 -0
  902. package/dist/ezui/p-40a60148.js.gz +0 -0
  903. package/dist/ezui/{p-94d37b66.entry.js → p-40c92fc7.entry.js} +1 -1
  904. package/dist/ezui/p-40c92fc7.entry.js.gz +0 -0
  905. package/dist/ezui/{p-f7ca8634.entry.js → p-411c0222.entry.js} +1 -1
  906. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  907. package/dist/ezui/p-45d09b32.entry.js +1 -0
  908. package/dist/ezui/p-45d09b32.entry.js.gz +0 -0
  909. package/dist/ezui/p-46188bfe.entry.js +1 -0
  910. package/dist/ezui/p-46188bfe.entry.js.gz +0 -0
  911. package/dist/ezui/p-47e4a8ce.js +1 -0
  912. package/dist/ezui/p-47e4a8ce.js.gz +0 -0
  913. package/dist/ezui/p-49bc0b59.entry.js +1 -0
  914. package/dist/ezui/p-49bc0b59.entry.js.gz +0 -0
  915. package/dist/ezui/p-5124ba43.entry.js +1 -0
  916. package/dist/ezui/p-5124ba43.entry.js.gz +0 -0
  917. package/dist/ezui/{p-6b6efa30.entry.js → p-52122022.entry.js} +1 -1
  918. package/dist/ezui/p-52122022.entry.js.gz +0 -0
  919. package/dist/ezui/p-5895e687.js +1 -0
  920. package/dist/ezui/p-5895e687.js.gz +0 -0
  921. package/dist/ezui/{p-7c6ef008.js → p-58fa7883.js} +1 -1
  922. package/dist/ezui/p-58fa7883.js.gz +0 -0
  923. package/dist/ezui/{p-d1765c77.entry.js → p-5a217a52.entry.js} +1 -1
  924. package/dist/ezui/p-5a217a52.entry.js.gz +0 -0
  925. package/dist/ezui/p-5c440899.js +3 -0
  926. package/dist/ezui/p-5c440899.js.gz +0 -0
  927. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  928. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  929. package/dist/ezui/p-63409a57.entry.js +1 -0
  930. package/dist/ezui/p-63409a57.entry.js.gz +0 -0
  931. package/dist/ezui/{p-df5b5c3d.entry.js → p-664b9f4c.entry.js} +1 -1
  932. package/dist/ezui/p-664b9f4c.entry.js.gz +0 -0
  933. package/dist/ezui/{p-ad7c01c1.entry.js → p-6c24ab67.entry.js} +1 -1
  934. package/dist/ezui/p-6c24ab67.entry.js.gz +0 -0
  935. package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
  936. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  937. package/dist/ezui/{p-1723f728.entry.js → p-6f77a359.entry.js} +1 -1
  938. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  939. package/dist/ezui/{p-c9d70dab.entry.js → p-73bae77e.entry.js} +1 -1
  940. package/dist/ezui/p-73bae77e.entry.js.gz +0 -0
  941. package/dist/ezui/{p-d746f545.entry.js → p-7995dcb4.entry.js} +1 -1
  942. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  943. package/dist/ezui/{p-5cfb8cfd.entry.js → p-7ecac0c4.entry.js} +1 -1
  944. package/dist/ezui/p-7ecac0c4.entry.js.gz +0 -0
  945. package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
  946. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  947. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  948. package/dist/ezui/{p-a8eadb43.entry.js → p-83ffba67.entry.js} +1 -1
  949. package/dist/ezui/p-83ffba67.entry.js.gz +0 -0
  950. package/dist/ezui/{p-4837f475.entry.js → p-852d6133.entry.js} +1 -1
  951. package/dist/ezui/p-852d6133.entry.js.gz +0 -0
  952. package/dist/ezui/p-88a115b3.js +1 -0
  953. package/dist/ezui/p-88a115b3.js.gz +0 -0
  954. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  955. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  956. package/dist/ezui/p-90a0b52b.entry.js +1 -0
  957. package/dist/ezui/p-90a0b52b.entry.js.gz +0 -0
  958. package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
  959. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  960. package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
  961. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  962. package/dist/ezui/p-95fb50d1.entry.js +1 -0
  963. package/dist/ezui/p-95fb50d1.entry.js.gz +0 -0
  964. package/dist/ezui/{p-e6eaa5ed.entry.js → p-97545f8e.entry.js} +1 -1
  965. package/dist/ezui/p-97545f8e.entry.js.gz +0 -0
  966. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  967. package/dist/ezui/p-9d06f315.entry.js +1 -0
  968. package/dist/ezui/p-9d06f315.entry.js.gz +0 -0
  969. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  970. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  971. package/dist/ezui/{p-bc693db6.entry.js → p-a0bf1fc7.entry.js} +1 -1
  972. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  973. package/dist/ezui/{p-9bcfa689.entry.js → p-a3075f52.entry.js} +1 -1
  974. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  975. package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
  976. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  977. package/dist/ezui/{p-14a13ff0.entry.js → p-a62bbd49.entry.js} +1 -1
  978. package/dist/ezui/p-a62bbd49.entry.js.gz +0 -0
  979. package/dist/ezui/p-ab574d59.js.gz +0 -0
  980. package/dist/ezui/p-abfbbe1e.entry.js +1 -0
  981. package/dist/ezui/p-abfbbe1e.entry.js.gz +0 -0
  982. package/dist/ezui/{p-09c2e631.entry.js → p-ade1c43b.entry.js} +1 -1
  983. package/dist/ezui/{p-09c2e631.entry.js.gz → p-ade1c43b.entry.js.gz} +0 -0
  984. package/dist/ezui/{p-ef8f37b9.entry.js → p-afb2f145.entry.js} +1 -1
  985. package/dist/ezui/p-afb2f145.entry.js.gz +0 -0
  986. package/dist/ezui/p-b1e45320.js.gz +0 -0
  987. package/dist/ezui/p-b29d9b0e.entry.js +1 -0
  988. package/dist/ezui/p-b29d9b0e.entry.js.gz +0 -0
  989. package/dist/ezui/p-b43fcdb6.js +1 -0
  990. package/dist/ezui/p-b43fcdb6.js.gz +0 -0
  991. package/dist/ezui/{p-4a876b8b.entry.js → p-b50289bb.entry.js} +1 -1
  992. package/dist/ezui/p-b50289bb.entry.js.gz +0 -0
  993. package/dist/ezui/p-b853763b.js.gz +0 -0
  994. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  995. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  996. package/dist/ezui/p-bcf0460e.entry.js +1 -0
  997. package/dist/ezui/p-bcf0460e.entry.js.gz +0 -0
  998. package/dist/ezui/p-be4b042f.entry.js +1 -0
  999. package/dist/ezui/p-be4b042f.entry.js.gz +0 -0
  1000. package/dist/ezui/{p-4463db7b.entry.js → p-c547f48f.entry.js} +1 -1
  1001. package/dist/ezui/p-c547f48f.entry.js.gz +0 -0
  1002. package/dist/ezui/{p-6c99bb50.entry.js → p-c6b9a72a.entry.js} +2 -2
  1003. package/dist/ezui/p-c6b9a72a.entry.js.gz +0 -0
  1004. package/dist/ezui/p-ca4c015a.entry.js +1 -0
  1005. package/dist/ezui/p-ca4c015a.entry.js.gz +0 -0
  1006. package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
  1007. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  1008. package/dist/ezui/p-d6f50207.entry.js +1 -0
  1009. package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
  1010. package/dist/ezui/p-d892e4c5.entry.js +1 -0
  1011. package/dist/ezui/p-d892e4c5.entry.js.gz +0 -0
  1012. package/dist/ezui/p-d8cc640d.entry.js +1 -0
  1013. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  1014. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  1015. package/dist/ezui/p-dcb7275b.entry.js +1 -0
  1016. package/dist/ezui/p-dcb7275b.entry.js.gz +0 -0
  1017. package/dist/ezui/p-dcd6a163.entry.js +1 -0
  1018. package/dist/ezui/p-dcd6a163.entry.js.gz +0 -0
  1019. package/dist/ezui/p-dcde2e69.entry.js +1 -0
  1020. package/dist/ezui/p-dcde2e69.entry.js.gz +0 -0
  1021. package/dist/ezui/p-ddf856db.entry.js +1 -0
  1022. package/dist/ezui/p-ddf856db.entry.js.gz +0 -0
  1023. package/dist/ezui/p-de14fe07.js +1 -0
  1024. package/dist/ezui/p-de14fe07.js.gz +0 -0
  1025. package/dist/ezui/p-df6173c8.entry.js +1 -0
  1026. package/dist/ezui/p-df6173c8.entry.js.gz +0 -0
  1027. package/dist/ezui/{p-71c55a72.entry.js → p-e60aa084.entry.js} +1 -1
  1028. package/dist/ezui/p-e60aa084.entry.js.gz +0 -0
  1029. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  1030. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  1031. package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
  1032. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  1033. package/dist/ezui/{p-b21efe83.entry.js → p-e8c57463.entry.js} +1 -1
  1034. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  1035. package/dist/ezui/p-eb0cfd29.entry.js +1 -0
  1036. package/dist/ezui/p-eb0cfd29.entry.js.gz +0 -0
  1037. package/dist/ezui/p-ec7db713.js.gz +0 -0
  1038. package/dist/ezui/{p-62165e63.entry.js → p-ef3cd4ef.entry.js} +1 -1
  1039. package/dist/ezui/p-ef3cd4ef.entry.js.gz +0 -0
  1040. package/dist/ezui/{p-44b39e81.entry.js → p-efea2c79.entry.js} +1 -1
  1041. package/dist/ezui/p-efea2c79.entry.js.gz +0 -0
  1042. package/dist/ezui/{p-980f1f18.entry.js → p-f34ec732.entry.js} +1 -1
  1043. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  1044. package/dist/ezui/p-f7f7bb17.entry.js +1 -0
  1045. package/dist/ezui/p-f7f7bb17.entry.js.gz +0 -0
  1046. package/dist/ezui/{p-1857cfc0.entry.js → p-f7fb2587.entry.js} +1 -1
  1047. package/dist/ezui/p-f7fb2587.entry.js.gz +0 -0
  1048. package/dist/ezui/p-fed3f5fe.entry.js +1 -0
  1049. package/dist/ezui/p-fed3f5fe.entry.js.gz +0 -0
  1050. package/dist/index.cjs.js.gz +0 -0
  1051. package/dist/index.js.gz +0 -0
  1052. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +11 -3
  1053. package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +91 -0
  1054. package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +95 -0
  1055. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +24 -1
  1056. package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +101 -0
  1057. package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +219 -0
  1058. package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +29 -0
  1059. package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +2 -0
  1060. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +189 -0
  1061. package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +29 -0
  1062. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
  1063. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  1064. package/dist/types/components/ez-form/ez-form.d.ts +6 -0
  1065. package/dist/types/components/ez-form-view/ez-form-view.d.ts +11 -0
  1066. package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +9 -0
  1067. package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +3 -2
  1068. package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +2 -1
  1069. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +5 -4
  1070. package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +2 -1
  1071. package/dist/types/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.d.ts +2 -0
  1072. package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +3 -2
  1073. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -1
  1074. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +2 -1
  1075. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -1
  1076. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +2 -1
  1077. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +2 -1
  1078. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
  1079. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +15 -0
  1080. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
  1081. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
  1082. package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
  1083. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
  1084. package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
  1085. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +91 -0
  1086. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.model.d.ts +7 -0
  1087. package/dist/types/components/ez-image-input/ez-image-input.d.ts +43 -0
  1088. package/dist/types/components/ez-popover/ez-popover.d.ts +9 -0
  1089. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
  1090. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
  1091. package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
  1092. package/dist/types/components/ez-search/ez-search.d.ts +12 -1
  1093. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +1 -0
  1094. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
  1095. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +4 -0
  1096. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +4 -0
  1097. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +42 -20
  1098. package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
  1099. package/dist/types/components.d.ts +3516 -2053
  1100. package/dist/types/utils/form/FormMetadata.d.ts +2 -1
  1101. package/dist/types/utils/form/interfaces/FormLayout.d.ts +3 -1
  1102. package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +3 -0
  1103. package/dist/types/utils/form/interfaces/ITabConfig.d.ts +3 -0
  1104. package/dist/types/utils/i18n/locales/en-us.d.ts +54 -3
  1105. package/dist/types/utils/i18n/locales/es-es.d.ts +54 -3
  1106. package/dist/types/utils/i18n/locales/pt-br.d.ts +54 -3
  1107. package/dist/types/utils/i18n/translations.d.ts +162 -9
  1108. package/package.json +5 -5
  1109. package/react/components.d.ts +11 -0
  1110. package/react/components.js +11 -0
  1111. package/react/components.js.map +1 -1
  1112. package/dist/cjs/ApplicationUtils-5cc05979.js.gz +0 -0
  1113. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  1114. package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
  1115. package/dist/cjs/ez-card-item_5.cjs.entry.js.gz +0 -0
  1116. package/dist/cjs/ez-combo-box-list_5.cjs.entry.js.gz +0 -0
  1117. package/dist/cjs/ez-popover-core.cjs.entry.js +0 -227
  1118. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  1119. package/dist/cjs/floating-ui.dom.esm-f1e4e440.js.gz +0 -0
  1120. package/dist/cjs/index-1be40f19.js.gz +0 -0
  1121. package/dist/cjs/purify-417f092d.js +0 -2433
  1122. package/dist/cjs/purify-417f092d.js.gz +0 -0
  1123. package/dist/cjs/search-column-3031a7dd.js.gz +0 -0
  1124. package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
  1125. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  1126. package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
  1127. package/dist/esm/ez-card-item_5.entry.js.gz +0 -0
  1128. package/dist/esm/ez-combo-box-list_5.entry.js.gz +0 -0
  1129. package/dist/esm/ez-popover-core.entry.js +0 -223
  1130. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  1131. package/dist/esm/floating-ui.dom.esm-c94d4011.js.gz +0 -0
  1132. package/dist/esm/index-41363fa6.js.gz +0 -0
  1133. package/dist/esm/index-5a720e56.js.gz +0 -0
  1134. package/dist/esm/purify-055bfb9f.js +0 -2431
  1135. package/dist/esm/purify-055bfb9f.js.gz +0 -0
  1136. package/dist/esm/search-column-8b9d1486.js.gz +0 -0
  1137. package/dist/ezui/p-000159dc.entry.js.gz +0 -0
  1138. package/dist/ezui/p-01ca89ef.entry.js.gz +0 -0
  1139. package/dist/ezui/p-05e68ab3.entry.js.gz +0 -0
  1140. package/dist/ezui/p-06f1b8e4.entry.js +0 -1
  1141. package/dist/ezui/p-06f1b8e4.entry.js.gz +0 -0
  1142. package/dist/ezui/p-0aed37a1.entry.js +0 -1
  1143. package/dist/ezui/p-0aed37a1.entry.js.gz +0 -0
  1144. package/dist/ezui/p-0b531233.entry.js.gz +0 -0
  1145. package/dist/ezui/p-14a13ff0.entry.js.gz +0 -0
  1146. package/dist/ezui/p-14d6aeb8.entry.js +0 -1
  1147. package/dist/ezui/p-14d6aeb8.entry.js.gz +0 -0
  1148. package/dist/ezui/p-1723f728.entry.js.gz +0 -0
  1149. package/dist/ezui/p-1857cfc0.entry.js.gz +0 -0
  1150. package/dist/ezui/p-1a30c7b5.entry.js.gz +0 -0
  1151. package/dist/ezui/p-24460bb2.js +0 -1
  1152. package/dist/ezui/p-24460bb2.js.gz +0 -0
  1153. package/dist/ezui/p-2a81b6e7.entry.js +0 -1
  1154. package/dist/ezui/p-2a81b6e7.entry.js.gz +0 -0
  1155. package/dist/ezui/p-30ffb9ed.js +0 -1
  1156. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  1157. package/dist/ezui/p-4463db7b.entry.js.gz +0 -0
  1158. package/dist/ezui/p-44b39e81.entry.js.gz +0 -0
  1159. package/dist/ezui/p-4837f475.entry.js.gz +0 -0
  1160. package/dist/ezui/p-4a876b8b.entry.js.gz +0 -0
  1161. package/dist/ezui/p-4ca4d920.entry.js +0 -1
  1162. package/dist/ezui/p-4ca4d920.entry.js.gz +0 -0
  1163. package/dist/ezui/p-4f72c118.entry.js +0 -1
  1164. package/dist/ezui/p-4f72c118.entry.js.gz +0 -0
  1165. package/dist/ezui/p-5554704c.js +0 -1
  1166. package/dist/ezui/p-5554704c.js.gz +0 -0
  1167. package/dist/ezui/p-570cf58a.entry.js +0 -1
  1168. package/dist/ezui/p-570cf58a.entry.js.gz +0 -0
  1169. package/dist/ezui/p-5cfb8cfd.entry.js.gz +0 -0
  1170. package/dist/ezui/p-62165e63.entry.js.gz +0 -0
  1171. package/dist/ezui/p-6b51c9cc.entry.js.gz +0 -0
  1172. package/dist/ezui/p-6b6efa30.entry.js.gz +0 -0
  1173. package/dist/ezui/p-6c99bb50.entry.js.gz +0 -0
  1174. package/dist/ezui/p-6dbf8f75.entry.js.gz +0 -0
  1175. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  1176. package/dist/ezui/p-6ec40dec.entry.js.gz +0 -0
  1177. package/dist/ezui/p-6fc26622.entry.js.gz +0 -0
  1178. package/dist/ezui/p-71c55a72.entry.js.gz +0 -0
  1179. package/dist/ezui/p-75a9a320.entry.js +0 -1
  1180. package/dist/ezui/p-75a9a320.entry.js.gz +0 -0
  1181. package/dist/ezui/p-776a0234.entry.js.gz +0 -0
  1182. package/dist/ezui/p-78dae70a.entry.js +0 -1
  1183. package/dist/ezui/p-78dae70a.entry.js.gz +0 -0
  1184. package/dist/ezui/p-78e975b4.entry.js.gz +0 -0
  1185. package/dist/ezui/p-793b899a.entry.js +0 -1
  1186. package/dist/ezui/p-793b899a.entry.js.gz +0 -0
  1187. package/dist/ezui/p-7c6ef008.js.gz +0 -0
  1188. package/dist/ezui/p-7dbf71ae.entry.js +0 -1
  1189. package/dist/ezui/p-7dbf71ae.entry.js.gz +0 -0
  1190. package/dist/ezui/p-81461d2f.entry.js.gz +0 -0
  1191. package/dist/ezui/p-82fa4b09.entry.js.gz +0 -0
  1192. package/dist/ezui/p-8ed974f4.entry.js +0 -1
  1193. package/dist/ezui/p-8ed974f4.entry.js.gz +0 -0
  1194. package/dist/ezui/p-8f0ed69d.entry.js +0 -1
  1195. package/dist/ezui/p-8f0ed69d.entry.js.gz +0 -0
  1196. package/dist/ezui/p-94d37b66.entry.js.gz +0 -0
  1197. package/dist/ezui/p-980f1f18.entry.js.gz +0 -0
  1198. package/dist/ezui/p-98dfdeb1.entry.js.gz +0 -0
  1199. package/dist/ezui/p-9bcfa689.entry.js.gz +0 -0
  1200. package/dist/ezui/p-9d6c5d17.entry.js.gz +0 -0
  1201. package/dist/ezui/p-a61fdd20.js +0 -1
  1202. package/dist/ezui/p-a61fdd20.js.gz +0 -0
  1203. package/dist/ezui/p-a8eadb43.entry.js.gz +0 -0
  1204. package/dist/ezui/p-a9432878.entry.js.gz +0 -0
  1205. package/dist/ezui/p-ad7c01c1.entry.js.gz +0 -0
  1206. package/dist/ezui/p-b21efe83.entry.js.gz +0 -0
  1207. package/dist/ezui/p-b2ce629f.entry.js.gz +0 -0
  1208. package/dist/ezui/p-b7c6ce20.entry.js +0 -1
  1209. package/dist/ezui/p-b7c6ce20.entry.js.gz +0 -0
  1210. package/dist/ezui/p-baec56c9.js.gz +0 -0
  1211. package/dist/ezui/p-bc693db6.entry.js.gz +0 -0
  1212. package/dist/ezui/p-c26add3e.entry.js +0 -1
  1213. package/dist/ezui/p-c26add3e.entry.js.gz +0 -0
  1214. package/dist/ezui/p-c2b20f78.entry.js.gz +0 -0
  1215. package/dist/ezui/p-c754774e.entry.js +0 -1
  1216. package/dist/ezui/p-c754774e.entry.js.gz +0 -0
  1217. package/dist/ezui/p-c96e536d.entry.js +0 -1
  1218. package/dist/ezui/p-c96e536d.entry.js.gz +0 -0
  1219. package/dist/ezui/p-c9d70dab.entry.js.gz +0 -0
  1220. package/dist/ezui/p-cf33bc48.entry.js.gz +0 -0
  1221. package/dist/ezui/p-d1765c77.entry.js.gz +0 -0
  1222. package/dist/ezui/p-d746f545.entry.js.gz +0 -0
  1223. package/dist/ezui/p-d7ae1e19.entry.js +0 -1
  1224. package/dist/ezui/p-d7ae1e19.entry.js.gz +0 -0
  1225. package/dist/ezui/p-df5b5c3d.entry.js.gz +0 -0
  1226. package/dist/ezui/p-dfca5946.entry.js +0 -1
  1227. package/dist/ezui/p-dfca5946.entry.js.gz +0 -0
  1228. package/dist/ezui/p-e195eaad.entry.js.gz +0 -0
  1229. package/dist/ezui/p-e4c7eb39.js.gz +0 -0
  1230. package/dist/ezui/p-e6eaa5ed.entry.js.gz +0 -0
  1231. package/dist/ezui/p-e9b409c1.entry.js.gz +0 -0
  1232. package/dist/ezui/p-ec5a5d85.js +0 -3
  1233. package/dist/ezui/p-ec5a5d85.js.gz +0 -0
  1234. package/dist/ezui/p-ee796c8f.entry.js +0 -1
  1235. package/dist/ezui/p-ee796c8f.entry.js.gz +0 -0
  1236. package/dist/ezui/p-ef7e805b.entry.js +0 -1
  1237. package/dist/ezui/p-ef7e805b.entry.js.gz +0 -0
  1238. package/dist/ezui/p-ef8f37b9.entry.js.gz +0 -0
  1239. package/dist/ezui/p-f02c917a.entry.js +0 -1
  1240. package/dist/ezui/p-f02c917a.entry.js.gz +0 -0
  1241. package/dist/ezui/p-f26b97e9.entry.js.gz +0 -0
  1242. package/dist/ezui/p-f7ca8634.entry.js.gz +0 -0
  1243. package/dist/ezui/p-fce79a40.entry.js +0 -1
  1244. package/dist/ezui/p-fce79a40.entry.js.gz +0 -0
  1245. package/dist/ezui/p-ffdf68cd.entry.js.gz +0 -0
@@ -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},a=e=>null==e?"":""+e,r=/###/g,s=e=>e&&e.indexOf("###")>-1?e.replace(r,"."):e,n=e=>!e||i(e),l=(e,t,o)=>{const a=i(t)?t.split("."):t;let r=0;for(;r<a.length-1;){if(n(e))return{};const t=s(a[r]);!e[t]&&o&&(e[t]=new o),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++r}return n(e)?{}:{obj:e,k:s(a[r])}},u=(e,t,i)=>{const{obj:o,k:a}=l(e,t,Object);if(void 0!==o||1===t.length)return void(o[a]=i);let r=t[t.length-1],s=t.slice(0,t.length-1),n=l(e,s,Object);for(;void 0===n.obj&&s.length;)r=`${s[s.length-1]}.${r}`,s=s.slice(0,s.length-1),n=l(e,s,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 a in t)"__proto__"!==a&&"constructor"!==a&&(a in e?i(e[a])||e[a]instanceof String||i(t[a])||t[a]instanceof String?o&&(e[a]=t[a]):h(e[a],t[a],o):e[a]=t[a]);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 a=e;for(let e=0;e<o.length;){if(!a||"object"!=typeof a)return;let t,r="";for(let s=e;s<o.length;++s)if(s!==e&&(r+=i),r+=o[s],t=a[r],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&s<o.length-1)continue;e+=s-e+1;break}a=t}return a},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,a){return a&&!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,a]=t;for(let t=0;t<a;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 a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const r=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,s=void 0!==a.ignoreJSONStructure?a.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&&s&&i(o)?b(this.data&&this.data[e]&&this.data[e][t],o,r):l}addResource(e,t,i,o){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const r=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator;let s=[e,t];i&&(s=s.concat(r?i.split(r):i)),e.indexOf(".")>-1&&(s=e.split("."),o=t,t=s[1]),this.addNamespaces(t),u(this.data,s,o),a.silent||this.emit("added",e,t,i,o)}addResources(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const a in o)(i(o[a])||Array.isArray(o[a]))&&this.addResource(e,t,a,o[a],{silent:!0});a.silent||this.emit("added",e,t,o)}addResourceBundle(e,t,i,o,a){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),o=i,i=t,t=s[1]),this.addNamespaces(t);let n=c(this.data,s)||{};r.skipCopy||(i=JSON.parse(JSON.stringify(i))),o?h(n,i,a):n={...n,...i},u(this.data,s,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,a){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,i,o,a))})),t}};const L={};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 a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let r=t.ns||this.options.defaultNS||[];const s=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 a=v.getRegExp(`(${o.map((e=>"?"===e?"\\?":e)).join("|")})`);let r=!a.test(e);if(!r){const t=e.indexOf(i);t>0&&!a.test(e.substring(0,t))&&(r=!0)}return r})(e,o,a));if(s&&!n){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(r)?[r]:r};const s=e.split(o);(o!==a||o===a&&this.options.ns.indexOf(s[0])>-1)&&(r=s.shift()),e=s.join(a)}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 a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:s,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 a?{res:`${l}${e}${s}`,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${s}`}return a?{res:s,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:s}const d=this.resolve(e,t);let h=d&&d.res;const p=d&&d.usedKey||s,m=d&&d.exactUsedKey||s,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 a=!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&&(a=!0,h=v),this.isValidLookup(h)||(n=!0,h=s);const b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:h,y=p&&v!==h&&this.options.updateMissing;if(n||a||y){if(this.logger.log(y?"updateKey":"missingKey",u,l,s,y?v:h),r){const e=this.resolve(s,{...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 a=p&&o!==h?o:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,i,a,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,i,a,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],s+i,t[`defaultValue${i}`]||v)}))})):o(e,s,v))}h=this.extendTranslation(h,e,t,d,o),n&&h===s&&this.options.appendNamespaceToMissingKey&&(h=`${l}:${s}`),(n||a)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${s}`:s,a?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 '${s} (${this.language})' returned an object instead of string.`;return a?(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 a=`${o}${r}${e}`;i[e]=this.translate(a,{...t,joinArrays:!1,ns:n}),i[e]===a&&(i[e]=h[e])}h=i}}return a?(d.res=h,d.usedParams=this.getUsedParamsDetails(t),d):h}extendTranslation(e,t,o,a,r){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...o},o.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});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||a.usedLng,o),n){const t=e.match(this.interpolator.nestingRegexp);l<(t&&t.length)&&(o.nest=!1)}!o.lng&&"v1"!==this.options.compatibilityAPI&&a&&a.res&&(o.lng=this.language||a.usedLng),!1!==o.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];return r&&r[0]===i[0]&&!o.context?(s.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${t[0]}`),null):s.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:{...a,usedParams:this.getUsedParamsDetails(o)},...o}:o,this)),e}resolve(e){let t,o,a,r,s,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)||(s=e,!L[`${m[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(L[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${s}" 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`,a=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(o.push(u+e),n.ordinal&&0===e.indexOf(a)&&o.push(u+e.replace(a,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(a)&&o.push(i+e.replace(a,this.options.pluralSeparator)),h&&o.push(i+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(a=s,t=this.getResource(i,e,s,n))})))}))})),{res:t,usedKey:o,exactUsedKey:a,usedLng:r,usedNS:s}}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 a=o?e.replace:e;if(o&&void 0!==e.count&&(a.count=e.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!o){a={...a};for(const e of t)delete a[e]}return a}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 A=e=>e.charAt(0).toUpperCase()+e.slice(1);class R{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]=A(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]=A(i[1].toLowerCase())),t.indexOf(i[2].toLowerCase())>-1&&(i[2]=A(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),a=[],r=e=>{e&&(this.isSupportedCode(e)?a.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=>{a.indexOf(e)<0&&r(this.formatLanguageCode(e))})),a}}let k=[{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}],T={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 E=["v1","v2","v3"],M=["v4"],$={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&&!M.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 k.forEach((t=>{t.lngs.forEach((i=>{e[i]={numbers:t.nr,plurals:T[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",a=JSON.stringify({cleanedCode:i,type:o});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];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[a]=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)=>$[e]-$[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 a=()=>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()}`:a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!E.includes(this.options.compatibilityJSON)}}const I=function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=d(e,t,o);return!s&&r&&i(o)&&(s=b(e,o,a),void 0===s&&(s=b(t,o,a))),s},F=e=>e.replace(/\$/g,"$$$$");class D{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:a,prefixEscaped:r,suffix:s,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=a?p(a):r||"{{",this.suffix=s?p(s):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 s,n,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=I(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),a=i.shift().trim(),s=i.join(this.formatSeparator).trim();return this.format(I(t,u,a,this.options.keySeparator,this.options.ignoreJSONStructure),s,o,{...r,...t,interpolationkey:a})};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=>F(e)},{regex:this.regexp,safeValue:e=>F(this.escapeValue?this.escape(e):e)}].forEach((t=>{for(l=0;s=t.regex.exec(e);){const o=s[1].trim();if(n=c(o),void 0===n)if("function"==typeof d){const t=d(e,s,r);n=i(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,o))n="";else{if(h){n=s[0];continue}this.logger.warn(`missed to pass in variable ${o} for interpolating ${e}`),n=""}else i(n)||this.useRawValueToEscape||(n=a(n));const u=t.safeValue(n);if(e=e.replace(s[0],u),h?(t.regex.lastIndex+=n.length,t.regex.lastIndex-=s[0].length):t.regex.lastIndex=0,l++,l>=this.maxReplaces)break}})),e}nest(e,t){let o,r,s,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 a=`{${o[1]}`;e=o[0],a=this.interpolate(a,s);const r=a.match(/'/g),n=a.match(/"/g);(r&&r.length%2==0&&!n||n.length%2!=0)&&(a=a.replace(/'/g,'"'));try{s=JSON.parse(a),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${i}${a}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;o=this.nestingRegexp.exec(e);){let u=[];s={...n},s=s.replace&&!i(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.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(),s),s),r&&o[0]===e&&!i(r))return r;i(r)||(r=a(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 j=e=>{const t={};return(i,o,a)=>{let r=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(r={...r,[a.interpolationkey]:void 0});const s=o+JSON.stringify(r);let n=t[s];return n||(n=e(y(o),a),t[s]=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:j(((e,t)=>{const i=new Intl.NumberFormat(e,{...t});return e=>i.format(e)})),currency:j(((e,t)=>{const i=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>i.format(e)})),datetime:j(((e,t)=>{const i=new Intl.DateTimeFormat(e,{...t});return e=>i.format(e)})),relativetime:j(((e,t)=>{const i=new Intl.RelativeTimeFormat(e,{...t});return e=>i.format(e,t.range||"day")})),list:j(((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()]=j(t)}format(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find((e=>e.indexOf(")")>-1))){const e=a.findIndex((e=>e.indexOf(")")>-1));a[0]=[a[0],...a.splice(1,e)].join(this.formatSeparator)}return a.reduce(((e,t)=>{const{formatName:a,formatOptions:r}=(e=>{let t=e.toLowerCase().trim();const i={};if(e.indexOf("(")>-1){const o=e.split("(");t=o[0].toLowerCase().trim();const a=o[1].substring(0,o[1].length-1);"currency"===t&&a.indexOf(":")<0?i.currency||(i.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?i.range||(i.range=a.trim()):a.split(";").forEach((e=>{if(e){const[t,...o]=e.split(":"),a=o.join(":").trim().replace(/^'+|'+$/g,""),r=t.trim();i[r]||(i[r]=a),"false"===a&&(i[r]=!1),"true"===a&&(i[r]=!0),isNaN(a)||(i[r]=parseInt(a,10))}}))}return{formatName:t,formatOptions:i}})(t);if(this.formats[a]){let t=e;try{const s=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{};t=this.formats[a](e,s.locale||s.lng||o.locale||o.lng||i,{...r,...o,...s})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e}),e)}}class q 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 a={},r={},s={},n={};return e.forEach((e=>{let o=!0;t.forEach((t=>{const s=`${e}|${t}`;!i.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===r[s]&&(r[s]=!0):(this.state[s]=1,o=!1,void 0===r[s]&&(r[s]=!0),void 0===a[s]&&(a[s]=!0),void 0===n[t]&&(n[t]=!0)))})),o||(s[e]=!0)})),(Object.keys(a).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(a),pending:Object.keys(r),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(n)}}loaded(e,t,i){const o=e.split("|"),a=o[0],r=o[1];t&&this.emit("failedLoading",a,r,t),!t&&i&&this.store.addResourceBundle(a,r,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);const s={};this.queue.forEach((i=>{((e,t,i)=>{const{obj:o,k:a}=l(e,t,Object);o[a]=o[a]||[],o[a].push(i)})(i.loaded,[a],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=>{s[e]||(s[e]={});const t=i.loaded[e];t.length&&t.forEach((t=>{void 0===s[e][t]&&(s[e][t]=!0)}))})),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())})),this.emit("loaded",s),this.queue=this.queue.filter((e=>!e.done))}read(e,t,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=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:a,callback:r});this.readingCalls++;const s=(s,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)}s&&n&&o<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,i,o+1,2*a,r)}),a):r(s,n)},n=this.backend[i].bind(this.backend);if(2!==n.length)return n(e,t,s);try{const i=n(e,t);i&&"function"==typeof i.then?i.then((e=>s(null,e))).catch(s):s(null,i)}catch(e){s(e)}}prepareLoading(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=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."),a&&a();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);const r=this.queueLoad(e,t,o,a);if(!r.toLoad.length)return r.pending.length||a(),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],a=i[1];this.read(o,a,"read",void 0,void 0,((i,r)=>{i&&this.logger.warn(`${t}loading namespace ${a} for language ${o} failed`,i),!i&&r&&this.logger.log(`${t}loaded namespace ${a} for language ${o}`,r),this.loaded(e,i,r)}))}saveMissing(e,t,i,o,a){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=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:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;a=5===l.length?l(e,t,i,o,n):l(e,t,i,o),a&&"function"==typeof a.then?a.then((e=>s(null,e))).catch(s):s(null,a)}catch(e){s(e)}else l(e,t,i,o,s,n)}e&&e[0]&&this.store.addResource(e[0],t,i,o)}}}const U=()=>({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),W=()=>{};class G 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]:{},a=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(a=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=U();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 s=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;w.init(this.modules.logger?s(this.modules.logger):null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=B);const i=new R(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=s(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new D(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new q(s(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),a=1;a<i;a++)o[a-1]=arguments[a];e.emit(t,...o)})),this.modules.languageDetector&&(o.languageDetector=s(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=s(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),a=1;a<i;a++)o[a-1]=arguments[a];e.emit(t,...o)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,a||(a=W),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),a(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]:W;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 a=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=W),this.services.backendConnector.reload(e,t,(e=>{a.resolve(),i(e)})),a}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 a=this;this.isLanguageChangingTo=e;const r=o();this.emit("languageChanging",e);const s=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},n=(e,i)=>{i?(s(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 a.t(...arguments)})),t&&t(e,(function(){return a.t(...arguments)}))},l=t=>{e||t||!this.services.languageDetector||(t=[]);const o=i(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);o&&(this.language||s(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 a=this;const r=function(e,t){let i;if("object"!=typeof t){for(var s=arguments.length,n=new Array(s>2?s-2:0),l=2;l<s;l++)n[l-2]=arguments[l];i=a.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=a.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,a.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,a=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(a,e)))}loadNamespaces(e,t){const a=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=>{a.resolve(),t&&t(e)})),a):(t&&t(),Promise.resolve())}loadLanguages(e,t){const a=o();i(e)&&(e=[e]);const r=this.options.preload||[],s=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return s.length?(this.options.preload=r.concat(s),this.loadResources((e=>{a.resolve(),t&&t(e)})),a):(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 R(U());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 G(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]:W;const i=e.forkResourceStore;i&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},a=new G(o);return void 0===e.debug&&void 0===e.prefix||(a.logger=a.logger.clone(e)),["store","services","language"].forEach((e=>{a[e]=this[e]})),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new P(this.store.data,o),a.services.resourceStore=a.store),a.translator=new N(a.services,o),a.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];a.emit(e,...i)})),a.init(o,t),a.translator.options=o,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const H=G.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)}}H.createInstance=G.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 a=encodeURIComponent(t),r="".concat(e,"=").concat(a);if(o.maxAge>0){var s=o.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(s))}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 a=i[o];" "===a.charAt(0);)a=a.substring(1,a.length);if(0===a.indexOf(t))return a.substring(t.length,a.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 a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};i&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+60*i*1e3)),o&&(a.domain=o),document.cookie=ie(e,encodeURIComponent(t),a)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},ae={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("&"),a=0;a<o.length;a++){var r=o[a].indexOf("=");r>0&&o[a].substring(0,r)===e.lookupQuerystring&&(t=o[a].substring(r+1))}}return t}},re=null,se=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&&se()){var i=window.localStorage.getItem(e.lookupLocalStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&se()&&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(ae),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-image-input":{defaultLabel:"Enviar Imagem",imageAlt:"Imagem carregada",removeImage:"Remover imagem",editImage:"Editar imagem",invalidFileType:"O arquivo selecionado não é uma imagem válida.",fileTooLarge:"A imagem deve ter menos de {{maxSize}}.",imagePreview:"Visualizar Imagem"},"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-classic-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-record-navigation":{previousRecord:"Registro anterior",nextRecord:"Próximo registro"},"ez-grid-pagination":{cancelPagination:"Cancelar paginação",paginationLabel:"Paginação",firstPage:"Primeira página",lastPage:"Última página",previousPage:"Página anterior",nextPage:"Próxima página",remainingPageLabel:" de {{count}} ou mais",remainingTotalLabel:" de {{total}}",pageCounter:"Página {{currentPage}} de {{totalPages}}",largeLoad:{line1:"Carregando uma grande quantidade de registros",line2:"Recomendamos cancelar a paginação e aplicar filtros para melhorar o desempenho.",line3:"O que deseja fazer com a paginação?",loadAll:"Carregar tudo",continue:"Continuar",cancel:"Cancelar"}},"ez-grid":{filterAppliedSuccess:"Filtro de coluna aplicado com sucesso!",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.",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:"",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",showMore:"Mostrar mais"},"ez-search-plus":{emptyList:"Nenhum resultado encontrado",optionLoaderNotDefined:"optionLoader não definido",defaultCodeLabel:"Cód."},"ez-classic-search":{emptyList:"Nenhum resultado encontrado",emptySearch:"Nenhum resultado de {{field}} encontrado",showMore:"Mostrar mais"},"ez-classic-search-plus":{emptyList:"Nenhum resultado encontrado",optionLoaderNotDefined:"optionLoader não definido",defaultCodeLabel:"Cód.",clearValue:"Limpar valor"},"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-classic-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..."},"ez-scroller":{previousButton:"Anterior",nextButton:"Próximo"}}},[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-image-input":{defaultLabel:"Upload Image",imageAlt:"Uploaded image",removeImage:"Remove image",editImage:"Edit image",invalidFileType:"The selected file is not a valid image.",fileTooLarge:"The image must be less than {{maxSize}}.",imagePreview:"Image Preview"},"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-classic-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-record-navigation":{previousRecord:"Previous record",nextRecord:"Next record"},"ez-grid-pagination":{cancelPagination:"Cancel pagination",paginationLabel:"Pagination",firstPage:"First page",lastPage:"Last page",previousPage:"Previous page",nextPage:"Next page",remainingPageLabel:" from {{count}} or more",remainingTotalLabel:" from {{total}}",pageCounter:"Page {{currentPage}} from {{totalPages}}",largeLoad:{line1:"Loading a large number of records",line2:"We recommend canceling pagination and applying filters to improve performance.",line3:"What do you want to do with pagination?",loadAll:"Load all",continue:"Continue",cancel:"Cancel"}},"ez-grid":{filterAppliedSuccess:"Column filter applied successfully!",pageLabel:"Page {{currentPage}}",previousPage:"Previous page",nextPage:"Next page",returnToPreviousPage:"Return to the previous page.",goToNextPage:"Move to the next page.",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:"",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",showMore:"Show more"},"ez-search-plus":{emptyList:"No results found",optionLoaderNotDefined:"optionLoader not defined",defaultCodeLabel:"Code"},"ez-classic-search":{emptyList:"No results found",emptySearch:"No results for {{field}} found",showMore:"Show more"},"ez-classic-search-plus":{emptyList:"No results found",optionLoaderNotDefined:"optionLoader not defined",defaultCodeLabel:"Code",clearValue:"Clear value"},"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-classic-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..."},"ez-scroller":{previousButton:"Previous",nextButton:"Next"}}},[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-image-input":{defaultLabel:"Subir Imagen",imageAlt:"Imagen cargada",removeImage:"Eliminar imagen",editImage:"Editar imagen",invalidFileType:"El archivo seleccionado no es una imagen válida.",fileTooLarge:"La imagen debe tener menos de {{maxSize}}.",imagePreview:"Vista Previa de Imagen"},"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-classic-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-record-navigation":{previousRecord:"Registro anterior",nextRecord:"Siguiente registro"},"ez-grid-pagination":{cancelPagination:"Cancelar paginación",paginationLabel:"Paginación",firstPage:"Primeira página",lastPage:"Última página",previousPage:"Página anterior",nextPage:"Página siguiente",remainingPageLabel:" de {{count}} o más",remainingTotalLabel:" de {{total}}",pageCounter:"Página {{currentPage}} de {{totalPages}}",largeLoad:{line1:"Cargando una gran cantidad de registros",line2:"Recomendamos cancelar la paginación y aplicar filtros para mejorar el rendimiento.",line3:"¿Qué desea hacer con la paginación?",loadAll:"Cargar todo",continue:"Continuar",cancel:"Cancelar"}},"ez-grid":{filterAppliedSuccess:"¡Filtro de columna aplicado con éxito!",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.",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:"",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}}",showMore:"Mostrar más"},"ez-search-plus":{emptyList:"No se encontraron resultados",optionLoaderNotDefined:"optionLoader no definido",defaultCodeLabel:"Cód."},"ez-classic-search":{emptyList:"No se encontraron resultados",emptySearch:"No se encontraron resultados de {{field}}",showMore:"Mostrar más"},"ez-classic-search-plus":{emptyList:"No se encontraron resultados",optionLoaderNotDefined:"optionLoader no definido",defaultCodeLabel:"Cód.",clearValue:"Limpiar valor"},"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-classic-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..."},"ez-scroller":{previousButton:"Anterior",nextButton:"Siguiente"}}}},Se="__EZ_UI_I18N_INSTANCE__";function we(){return e.getContextValue(Se)}const Ce=async i=>{let o=we();if(!o){const a=H.createInstance(),r={resources:xe,fallbackLng:be.PT_BR};await a.use(ye).init(r);const s=t.getLanguage(),n=null!=i?i:s;await a.changeLanguage(n),e.setContextValue(Se,a.t),o=a.t}return o};export{we as g,Ce as i}
Binary file
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,g as h}from"./p-e4c7eb39.js";import{TimeFormatter as r,MaskFormatter as a,NumberUtils as n,ElementIDUtils as o}from"@sankhyalabs/core";import{C as l}from"./p-ec7db713.js";import{i as u}from"./p-a61fdd20.js";const c=class{constructor(i){t(this,i),this.ezChange=s(this,"ezChange",7),this.ezStartChange=s(this,"ezStartChange",7),this.ezCancelWaitingChange=s(this,"ezCancelWaitingChange",7),this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.showSeconds=!1,this.mode="regular",this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||(this.prepareValue(this._viewValue),(this._textInput.value||"")!==this._viewValue&&(this._textInput.value=this._viewValue)))}observeShowSeconds(){this.prepareMask(this.showSeconds?"##:##:##":"##:##")}observeValue(t,s){if(this._textInput&&t!=s){let i=this.validateValue(t);i!=this.validateValue(s)&&(this._viewValue=null==i?"":i.toString(),this.prepareValue(this._viewValue),this._viewValue&&!r.validateTime(this._viewValue,this.showSeconds)?(this.setError(this.i18n("ez-time-input.invalidTime")),i=void 0):this.setError(""),this.ezChange.emit(null===i?void 0:i))}}prepareMask(t){null==this._maskFormatter?this._maskFormatter=new a(t):this._maskFormatter.mask=t}validateValue(t){return isNaN(t)||void 0===t?null:t}setError(t){this.errorMessage=t,this._textInput&&(null==t?void 0:t.trim())&&this.ezCancelWaitingChange.emit()}getViewValue(){return this._viewValue}prepareValue(t){try{this._viewValue=r.prepareValue(t,this.showSeconds),this._textInput&&this._textInput.value!==this._viewValue&&(this._textInput.value=this._viewValue)}catch(t){this.setError(t.message)}}async setFocus({selectText:t}){this._textInput.setFocus({selectText:t})}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}handleBlur(){if(this._textInput){this._viewValue=this._textInput.value,this.prepareValue(this._viewValue);const t=n.stringToNumber(this._viewValue.replace(/\D/g,""));this.value=["string","number"].includes(typeof t)?t:null}}handleInput(){const t=this._textInput.value;["string","number"].includes(typeof t)&&n.stringToNumber(t.replace(/\D/g,""))!==this.value&&this.ezStartChange.emit({waitmessage:"",blocking:!1})}async componentWillLoad(){this.i18n=await u(),this.observeShowSeconds(),this.value?this.prepareValue(this.value.toString()):this._viewValue&&this.prepareValue(this._viewValue)}componentDidLoad(){l.applyVarsTextInput(this._elem,this._textInput),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return o.addIDInfoIfNotExists(this._elem,"input"),i(e,null,i("ez-text-input",{class:"time__input","data-element-id":o.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",value:this._viewValue,enabled:this.enabled,label:this.label,restrict:"0123456789:",onBlur:()=>this.handleBlur(),onInput:()=>this.handleInput(),errorMessage:this.errorMessage,mode:this.mode,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder},i("ez-icon",{slot:"leftIcon",iconName:"timer-outline"})))}static get assetsDirs(){return["../assets"]}get _elem(){return h(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],showSeconds:["observeShowSeconds"],value:["observeValue"]}}};c.style=":host{display:flex;flex-wrap:wrap;position:relative;width:100%}.time__input{height:100%}";export{c as ez_time_input}
1
+ import{r as t,c as s,h as i,H as e,g as h}from"./p-23a36bb6.js";import{TimeFormatter as r,MaskFormatter as a,NumberUtils as n,ElementIDUtils as o}from"@sankhyalabs/core";import{C as l}from"./p-ec7db713.js";import{i as u}from"./p-3b7d9f30.js";const c=class{constructor(i){t(this,i),this.ezChange=s(this,"ezChange",7),this.ezStartChange=s(this,"ezStartChange",7),this.ezCancelWaitingChange=s(this,"ezCancelWaitingChange",7),this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.showSeconds=!1,this.mode="regular",this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||(this.prepareValue(this._viewValue),(this._textInput.value||"")!==this._viewValue&&(this._textInput.value=this._viewValue)))}observeShowSeconds(){this.prepareMask(this.showSeconds?"##:##:##":"##:##")}observeValue(t,s){if(this._textInput&&t!=s){let i=this.validateValue(t);i!=this.validateValue(s)&&(this._viewValue=null==i?"":i.toString(),this.prepareValue(this._viewValue),this._viewValue&&!r.validateTime(this._viewValue,this.showSeconds)?(this.setError(this.i18n("ez-time-input.invalidTime")),i=void 0):this.setError(""),this.ezChange.emit(null===i?void 0:i))}}prepareMask(t){null==this._maskFormatter?this._maskFormatter=new a(t):this._maskFormatter.mask=t}validateValue(t){return isNaN(t)||void 0===t?null:t}setError(t){this.errorMessage=t,this._textInput&&(null==t?void 0:t.trim())&&this.ezCancelWaitingChange.emit()}getViewValue(){return this._viewValue}prepareValue(t){try{this._viewValue=r.prepareValue(t,this.showSeconds),this._textInput&&this._textInput.value!==this._viewValue&&(this._textInput.value=this._viewValue)}catch(t){this.setError(t.message)}}async setFocus({selectText:t}){this._textInput.setFocus({selectText:t})}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}handleBlur(){if(this._textInput){this._viewValue=this._textInput.value,this.prepareValue(this._viewValue);const t=n.stringToNumber(this._viewValue.replace(/\D/g,""));this.value=["string","number"].includes(typeof t)?t:null}}handleInput(){const t=this._textInput.value;["string","number"].includes(typeof t)&&n.stringToNumber(t.replace(/\D/g,""))!==this.value&&this.ezStartChange.emit({waitmessage:"",blocking:!1})}async componentWillLoad(){this.i18n=await u(),this.observeShowSeconds(),this.value?this.prepareValue(this.value.toString()):this._viewValue&&this.prepareValue(this._viewValue)}componentDidLoad(){l.applyVarsTextInput(this._elem,this._textInput),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return o.addIDInfoIfNotExists(this._elem,"input"),i(e,null,i("ez-text-input",{class:"time__input","data-element-id":o.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",value:this._viewValue,enabled:this.enabled,label:this.label,restrict:"0123456789:",onBlur:()=>this.handleBlur(),onInput:()=>this.handleInput(),errorMessage:this.errorMessage,mode:this.mode,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder},i("ez-icon",{slot:"leftIcon",iconName:"timer-outline"})))}static get assetsDirs(){return["../assets"]}get _elem(){return h(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],showSeconds:["observeShowSeconds"],value:["observeValue"]}}};c.style=":host{display:flex;flex-wrap:wrap;position:relative;width:100%}.time__input{height:100%}";export{c as ez_time_input}
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,c as o,h as i,H as e,g as r}from"./p-23a36bb6.js";import{ElementIDUtils as n}from"@sankhyalabs/core";import{i as s}from"./p-3b7d9f30.js";const l=class{constructor(i){t(this,i),this.buttonClick=o(this,"buttonClick",7),this.dropdownItemClick=o(this,"dropdownItemClick",7),this.dropdownSubActionClick=o(this,"dropdownSubActionClick",7),this.rippleCounter=0,this.eventListeners=new WeakMap,this.createRipple=(t,o)=>{const i=o?this.leftButton:this.rightButton;if(!i||this.isButtonDisabled||this.suppressAnimation)return;const e=this.getEventCoordinates(t),r=i.getBoundingClientRect(),n=Object.assign(Object.assign({},{x:e.x-r.left,y:e.y-r.top}),{id:++this.rippleCounter});this.addRippleToButton(n,o)},this.positionDropdown=()=>{this.rightButton&&this.dropdownParent&&requestAnimationFrame((()=>{const{rightButton:t,dropdownParent:o}=this,i=t.getBoundingClientRect(),e=o.getBoundingClientRect(),r=window.innerHeight,n=window.innerWidth;Object.assign(o.style,{position:"fixed",top:r-i.bottom<e.height&&i.top>e.height?i.top-e.height+"px":`${i.bottom}px`,left:n-i.left<e.width&&i.left>e.width?i.right-e.width+"px":`${i.left}px`})}))},this.removeForcedFocusVisibleLeft=()=>{var t;null===(t=this.leftButton)||void 0===t||t.classList.remove("force-focus-visible")},this.removeForcedFocusVisibleRight=()=>{var t;null===(t=this.rightButton)||void 0===t||t.classList.remove("force-focus-visible")},this.leftRipples=[],this.rightRipples=[],this.isLeftPressed=!1,this.isRightPressed=!1,this.show=!1,this.enabled=!0,this.isDisabled=!1,this.iconName=void 0,this.leftIconName=void 0,this.rightIconName=void 0,this.image=void 0,this.items=void 0,this.label=void 0,this.leftTitle=void 0,this.rightTitle=void 0,this.mode="default",this.size="medium",this.variant=void 0,this.suppressAnimation=!1,this.itemBuilder=void 0}async setBlur(){this.leftButton.blur(),this.rightButton.blur()}async setLeftButtonFocus(){this.leftButton.focus(),this.leftButton.classList.add("force-focus-visible")}async setRightButtonFocus(){this.rightButton.focus(),this.rightButton.classList.add("force-focus-visible")}async toggleDropdown(){this.show=!this.show}async isOpenedDropdown(){return this.show}getEventCoordinates(t){return t instanceof MouseEvent?{x:t.clientX,y:t.clientY}:{x:t.touches[0].clientX,y:t.touches[0].clientY}}addRippleToButton(t,o){o?(this.leftRipples=[...this.leftRipples,t],this.setButtonPressed(!0,!0),this.scheduleRippleCleanup(t,!0)):(this.rightRipples=[...this.rightRipples,t],this.setButtonPressed(!1,!0),this.scheduleRippleCleanup(t,!1))}setButtonPressed(t,o){t?this.isLeftPressed=o:this.isRightPressed=o}scheduleRippleCleanup(t,o){setTimeout((()=>{this.setButtonPressed(o,!1)}),150),setTimeout((()=>{this.removeRipple(t.id,o)}),600)}removeRipple(t,o){o?this.leftRipples=this.leftRipples.filter((o=>o.id!==t)):this.rightRipples=this.rightRipples.filter((o=>o.id!==t))}onMouseDown(t){const o=t.composedPath(),i=o.includes(this.leftButton),e=o.includes(this.rightButton);i?this.createRipple(t,!0):e&&this.createRipple(t,!1)}onTouchStart(t){const o=t.composedPath(),i=o.includes(this.leftButton),e=o.includes(this.rightButton);i?this.createRipple(t,!0):e&&this.createRipple(t,!1)}onItemActionExecuted(){this.closeDropdown()}clickListener(t){(!this.enabled||!0===this.isDisabled||""===this.isDisabled||"full"===this.isDisabled)&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}shouldShowLabelOnLeftButton(){return"icon-only"!==this.mode}shouldShowIconOnLeftButton(){return"default"!==this.mode}getIconSize(t="medium"){var o;const i=null===(o=this.size)||void 0===o?void 0:o.toLowerCase();return["small","medium","large"].includes(i)?i:t}closeDropdown(){this.show=!1}handleButtonClick(){this.buttonClick.emit()}handleDropdownItemClick(t){var o;this.dropdownItemClick.emit(t.detail),t.stopPropagation(),(null===(o=t.detail)||void 0===o?void 0:o.disableCloseOnSelect)||this.closeDropdown()}handleDropdownSubActionClick(t){this.dropdownSubActionClick.emit(t.detail),t.stopPropagation(),this.closeDropdown()}setupEventListeners(){const t=new AbortController,{signal:o}=t;window.addEventListener("scroll",this.positionDropdown,{signal:o,passive:!0}),window.addEventListener("resize",this.positionDropdown,{signal:o,passive:!0}),this.eventListeners.set(this._element,t)}cleanupEventListeners(){const t=this.eventListeners.get(this._element);t&&(t.abort(),this.eventListeners.delete(this._element))}async componentWillLoad(){this.i18n=await s()}componentDidLoad(){this.addElementIDs(),this.setupEventListeners(),this.addBlurListeners(),setTimeout((()=>this.positionDropdown()),0)}disconnectedCallback(){this.cleanupEventListeners(),this.removeBlurListeners()}componentDidUpdate(){this.show&&this.positionDropdown()}addElementIDs(){this._element&&n.addIDInfo(this._element),this.leftButton&&n.addIDInfo(this.leftButton,"leftButton",{id:"embedded"}),this.rightButton&&n.addIDInfo(this.rightButton,"rightButton",{id:"embedded"})}renderRipples(t){return t.map((t=>i("span",{key:t.id,class:"ripple",style:{left:t.x-10+"px",top:t.y-10+"px"}})))}render(){const t=this.shouldShowIconOnLeftButton(),o=this.shouldShowLabelOnLeftButton(),r=this.getIconSize();return i(e,{class:this.variant?`ez-split-button--${this.variant}`:""},i("div",{class:`ez-split-button ${this.size} ${this.mode}`},this.renderLeftButton(t,o,r),this.renderDivider(),this.renderDropdownSection(r)))}renderLeftButton(t,o,e){return i("ez-tooltip",{message:this.leftTitle||this.label},i("button",{class:`ez-split-button__left-button ${e} ${this.mode} ${this.isLeftPressed?"pressed":""}`,type:"button",disabled:this.isButtonDisabled,"aria-disabled":this.isButtonAriaDisabled,onClick:()=>this.handleButtonClick(),ref:t=>this.leftButton=t},t&&this.renderLeftIcon(e),o&&this.renderLabel(),!this.suppressAnimation&&this.renderRipples(this.leftRipples)))}renderDivider(){return i("div",{class:`ez-split-button__divider ${this.mode} ez-split-button__divider--${this.size} ${this.isButtonDisabled?"disabled":""}`,"aria-disabled":this.isButtonAriaDisabled})}renderDropdownSection(t){return i("div",{class:"dropdown"},this.renderRightButton(t),this.renderDropdownContent())}renderRightButton(t){return i("ez-tooltip",{message:this.rightTitle||this.i18n("ez-split-button.moreOptions")},i("button",{class:`ez-split-button__right-button ${t} ez-split-button__right-button--${t} ${this.isRightPressed?"pressed":""}`,type:"button",disabled:this.isButtonDisabled,"aria-disabled":this.isButtonAriaDisabled,onClick:()=>this.toggleDropdown(),ref:t=>this.rightButton=t},this.renderRightIcon(t),!this.suppressAnimation&&this.renderRipples(this.rightRipples)))}renderDropdownContent(){return i("div",{class:`dropdown-content dropdown-content--${this.size}`,ref:t=>this.dropdownParent=t},this.show&&this.renderDropdown())}renderLeftIcon(t){return i("ez-icon",{href:this.image,iconName:this.leftIconName||this.iconName,size:t})}renderLabel(){return i("label",{title:this.leftTitle||this.label},this.label)}renderRightIcon(t){return i("ez-icon",{class:"ez-split-button__right-button-container "+(t?`btn-icon--${t}`:""),iconName:this.rightIconName||"chevron-down",size:t})}renderDropdown(){return i("ez-dropdown",{items:this.items,onClick:t=>t.stopPropagation(),onEzOutsideClick:()=>this.closeDropdown(),onEzClick:t=>this.handleDropdownItemClick(t),onEzSubActionClick:t=>this.handleDropdownSubActionClick(t),itemBuilder:this.itemBuilder})}addBlurListeners(){var t,o;this.removeBlurListeners(),null===(t=this.leftButton)||void 0===t||t.addEventListener("blur",this.removeForcedFocusVisibleLeft),null===(o=this.rightButton)||void 0===o||o.addEventListener("blur",this.removeForcedFocusVisibleRight)}removeBlurListeners(){var t,o;null===(t=this.leftButton)||void 0===t||t.removeEventListener("blur",this.removeForcedFocusVisibleLeft),null===(o=this.rightButton)||void 0===o||o.removeEventListener("blur",this.removeForcedFocusVisibleRight)}connectedCallback(){this.addBlurListeners()}get isButtonDisabled(){return"full"===this.isDisabled||!this.enabled}get isButtonAriaDisabled(){return!0===this.isDisabled||""===this.isDisabled}get _element(){return r(this)}};l.style=':host{--ez-split-button--min-width:var(--space--40, 40px);--ez-split-button--width:auto;--ez-split-button--height:var(--space--32, 32px);--ez-split-button__medium-icon--width:var(--space--40, 40px);--ez-split-button__large-icon--width:var(--space--44, 44px);--ez-split-button__label--padding-top:var(--space--0, 0px);--ez-split-button__label--padding-bottom:var(--space--0, 0px);--ez-split-button__right-button--padding-left:var(--space--8, 8px);--ez-split-button__right-button--padding-right:var(--space--12, 12px);--ez-split-button--color:var(--color--ocean-green-600, #008561);--ez-split-button__left-icon--color:var(--color--ocean-green-600, #008561);--ez-split-button__right-icon--color:var(--color--ocean-green-600, #008561);--ez-split-button--background-color:var(--color--gray-70, #FFFFFF);--ez-split-button--border:1px solid var(--color--gray-90, #EAEAEA);--ez-split-button--font-size:var(--font-size--default, 14px);--ez-split-button--line-height:var(--line-height--28, 28px);--ez-split-button--font-family:var(--font-pattern, Arial);--ez-split-button--font-weight:var(--font-weight--medium, 500);--ez-split-button--border-radius:var(--border--radius-24, 24px);--ez-split-button--hover-color:var(--color--primary-600, #007a5a);--ez-split-button--hover--background-color:var(--color--gray-80, #F9F9F9);--ez-split-button--disabled-color:var(--color--gray-400, #77777A);--ez-split-button--disabled--background-color:var(--color--gray-80, #F9F9F9);--ez-split-button--focus--border:var(--border--medium, 2px) var(--color--primary-300);--ez-split-button--focus--box-shadow:none;display:flex;width:fit-content}:host(.ez-split-button--primary){--ez-split-button--color:var(--color--gray-70);--ez-split-button--background-color:var(--color--ocean-green-500);--ez-split-button--font-weight:var(--font-weight--regular);--ez-split-button--border:none;--ez-split-button__left-icon--color:var(--color--gray-70);--ez-split-button__right-icon--color:var(--color--gray-70);--ez-split-button--hover-color:var(--color--gray-70);--ez-split-button--hover--background-color:var(--color--ocean-green-700);--ez-split-button--hover--border:none;--ez-split-button--left-icon--hover-color:var(--color--gray-70);--ez-split-button--right-icon--hover-color:var(--color--gray-70);--ez-split-button--disabled-color:var(--color--gray-70);--ez-split-button--disabled--background-color:var(--color--gray-400);--ez-split-button--disabled--border:none;--ez-split-button--disabled-icon-color:var(--color--gray-200);--ez-split-button__left-icon--disabled-color:var(--color--gray-200);--ez-split-button__right-icon--disabled-color:var(--color--gray-200)}:host(.ez-split-button--secondary){--ez-split-button--color:var(--color--ocean-green-600);--ez-split-button--background-color:var(--color--gray-70);--ez-split-button--border:1px solid var(--color--gray-90);--ez-split-button--left-icon--color:var(--color--ocean-green-600);--ez-split-button--right-icon--color:var(--color--ocean-green-600);--ez-split-button--hover-color:var(--color--ocean-green-600);--ez-split-button--hover--background-color:var(--color--gray-80);--ez-split-button--hover--border:1px solid var(--color--gray-90);--ez-split-button--left-icon--hover-color:var(--color--ocean-green-600);--ez-split-button--right-icon--hover-color:var(--color--ocean-green-600);--ez-split-button--disabled-color:var(--color--gray-400);--ez-split-button--disabled--background-color:var(--color--gray-80);--ez-split-button--disabled--border:1px solid var(--color--gray-200);--ez-split-button--disabled-icon-color:var(--color--gray-400);--ez-split-button__left-icon--disabled-color:var(--color--gray-300);--ez-split-button__right-icon--disabled-color:var(--color--gray-300)}:host(.ez-split-button--tertiary){--ez-split-button--color:var(--color--ocean-green-600);--ez-split-button--background-color:transparent;--ez-split-button--font-weight:var(--font-weight--regular);--ez-split-button--border:none;--ez-split-button--left-icon--color:var(--color--ocean-green-600);--ez-split-button--right-icon--color:var(--color--ocean-green-600);--ez-split-button--hover-color:var(--color--ocean-green-800);--ez-split-button--hover--background-color:transparent;--ez-split-button--hover--border:none;--ez-split-button--left-icon--hover-color:var(--color--ocean-green-800);--ez-split-button--right-icon--hover-color:var(--color--ocean-green-800);--ez-split-button--disabled-color:var(--color--gray-400);--ez-split-button--disabled--background-color:transparent;--ez-split-button--disabled--border:transparent;--ez-split-button--disabled-icon-color:var(--color--gray-200);--ez-split-button__left-icon--disabled-color:var(--color--gray-200);--ez-split-button__right-icon--disabled-color:var(--color--gray-200)}.ez-split-button.large{--ez-split-button--height:var(--space--42, 42px)}.ez-split-button.medium{--ez-split-button--height:var(--space--32, 32px)}.ez-split-button.small{--ez-split-button--height:var(--space--32, 32px);--ez-split-button--font-size:var(--text--small, 12px)}ez-icon{--ez-icon--color:inherit}button{position:relative;display:flex;align-items:center;margin:0;cursor:pointer;transition:background-color 0.2s linear, transform 0.15s ease;white-space:nowrap;overflow:hidden;transform:scale(1);min-width:var(--ez-split-button--min-width);width:var(--ez-split-button--width);height:var(--ez-split-button--height);font-family:var(--ez-split-button--font-family);font-size:var(--ez-split-button--font-size);font-weight:var(--ez-split-button--font-weight);padding:var(--ez-split-button__label--padding-top) 0 var(--ez-split-button__label--padding-bottom) 0;border-top-left-radius:var(--ez-split-button--border-radius);border-bottom-left-radius:var(--ez-split-button--border-radius);background-color:var(--ez-split-button--background-color);color:var(--ez-split-button--color);fill:var(--ez-split-button--color);border:none}label{cursor:pointer;line-height:var(--ez-split-button--line-height)}.ez-split-button__left-button{border:var(--ez-split-button--border);border-right:none;outline:none;gap:var(--space--8, 8px);padding-left:var(--space--12, 12px);padding-right:var(--space--8, 8px)}.ez-split-button__right-button{border:var(--ez-split-button--border);border-left:none;outline:none}.ez-split-button__left-button.force-focus-visible,.ez-split-button__left-button:focus-visible{box-shadow:-1px 1px 0px 1px var(--color--gray-70), \n -1px -1px 0px 1px var(--color--gray-70), \n -2px -2px 0px 2px var(--color--ocean-green-200), \n -2px 2px 0px 2px var(--color--ocean-green-200), \n 0px -2px 0px 2px var(--color--ocean-green-200), \n 0px 2px 0px 2px var(--color--ocean-green-200)}.ez-split-button__right-button.force-focus-visible,.ez-split-button__right-button:focus-visible{box-shadow:1px 1px 0px 1px var(--color--gray-70), \n 1px -1px 0px 1px var(--color--gray-70), \n 2px -2px 0px 2px var(--color--ocean-green-200), \n 2px 2px 0px 2px var(--color--ocean-green-200), \n 0px -2px 0px 2px var(--color--ocean-green-200), \n 0px 2px 0px 2px var(--color--ocean-green-200)}.ez-split-button__left-button[aria-disabled].force-focus-visible,.ez-split-button__left-button[aria-disabled]:focus-visible{box-shadow:-1px 1px 0px 1px var(--color--gray-70), \n -1px -1px 0px 1px var(--color--gray-70), \n -2px -2px 0px 2px var(--color--petroleum-100), \n -2px 2px 0px 2px var(--color--petroleum-100), \n 0px -2px 0px 2px var(--color--petroleum-100), \n 0px 2px 0px 2px var(--color--petroleum-100)}.ez-split-button__right-button[aria-disabled].force-focus-visible,.ez-split-button__right-button[aria-disabled]:focus-visible{box-shadow:1px 1px 0px 1px var(--color--gray-70), \n 1px -1px 0px 1px var(--color--gray-70), \n 2px -2px 0px 2px var(--color--petroleum-100), \n 2px 2px 0px 2px var(--color--petroleum-100), \n 0px -2px 0px 2px var(--color--petroleum-100), \n 0px 2px 0px 2px var(--color--petroleum-100)}.ez-split-button__left-button:hover,.ez-split-button__right-button:hover{outline:none;background-color:var(--ez-split-button--hover--background-color);color:var(--ez-split-button--hover-color);fill:var(--ez-split-button--hover-color);--ez-icon--color:var(--ez-split-button--hover-color)}.ez-split-button__left-button:disabled,.ez-split-button__left-button[aria-disabled],.ez-split-button__left-button:disabled label,.ez-split-button__left-button[aria-disabled] label,.ez-split-button__right-button:disabled,.ez-split-button__right-button[aria-disabled]{background-color:var(--ez-split-button--disabled--background-color);color:var(--ez-split-button--disabled-color);fill:var(--ez-split-button--disabled-color);border:none;--ez-icon--color:var(--ez-split-button__left-icon--disabled-color);cursor:not-allowed}.ez-split-button__left-button:disabled,.ez-split-button__left-button[aria-disabled]{--ez-icon--color:var(--ez-split-button__left-icon--disabled-color);border:var(--ez-split-button--disabled-border);border-right:none}.ez-split-button__right-button:disabled,.ez-split-button__right-button[aria-disabled]{--ez-icon--color:var(--ez-split-button__right-icon--disabled-color);border:var(--ez-split-button--disabled-border);border-left:none}.ez-split-button__right-button{border-top-right-radius:var(--ez-split-button--border-radius);border-bottom-right-radius:var(--ez-split-button--border-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-right:var(--ez-split-button--border)}.ez-split-button__divider{width:1px;box-sizing:border-box;position:relative;background-color:var(--ez-split-button--background-color);height:var(--ez-split-button--height);border-top:var(--ez-split-button--border);border-bottom:var(--ez-split-button--border)}.ez-split-button__divider[aria-disabled],.ez-split-button__divider.disabled{cursor:not-allowed;background-color:var(--ez-split-button--disabled--background-color);border-top:var(--ez-split-button--disabled--border);border-bottom:var(--ez-split-button--disabled--border)}.ez-split-button__divider:before{content:"";position:absolute;left:0;border-left:1px solid rgba(0, 0, 0, 10%);border-radius:2px;height:75%;top:10%;bottom:10%}.btn-icon--medium{min-width:--ez-split-button__medium-icon--width}.btn-icon--large{min-width:--ez-split-button__large-icon--width}.ez-split-button__right-button-container{position:absolute;left:0;padding-left:var(--ez-split-button__right-button--padding-left);padding-right:var(--ez-split-button__right-button--padding-right)}.ez-split-button{display:flex;flex-direction:row;align-items:center;color:var(--ez-split-button--color)}.dropdown{display:flex}.dropdown-content{display:block;position:absolute;background-color:#f1f1f1;min-width:160px;z-index:var(--elevation--8);border-radius:var(--ez-split-button--border-radius)}.dropdown-content>ez-dropdown{position:relative}.ripple{position:absolute;width:20px;height:20px;border-radius:50%;background:rgba(255, 255, 255, 0.3);pointer-events:none;transform:scale(0);animation:ripple-animation 0.6s linear;z-index:0}@keyframes ripple-animation{to{transform:scale(4);opacity:0}}:host .ripple,:host(.ez-split-button--secondary) .ripple{background:rgba(0, 133, 97, 0.2)}:host(.ez-split-button--primary) .ripple{background:rgba(255, 255, 255, 0.3)}:host(.ez-split-button--tertiary) .ripple{background:rgba(0, 133, 97, 0.15)}.ez-split-button__left-button.pressed,.ez-split-button__right-button.pressed{transform:scale(0.98)}.ez-split-button__left-button>*:not(.ripple),.ez-split-button__right-button>*:not(.ripple){position:relative;z-index:1}.ez-split-button__left-button:disabled .ripple,.ez-split-button__left-button[aria-disabled] .ripple,.ez-split-button__right-button:disabled .ripple,.ez-split-button__right-button[aria-disabled] .ripple{display:none}.ez-split-button__left-button:disabled,.ez-split-button__left-button[aria-disabled],.ez-split-button__right-button:disabled,.ez-split-button__right-button[aria-disabled]{transform:scale(1) !important}';export{l as ez_split_button}
Binary file
Binary file
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s,g as a}from"./p-e4c7eb39.js";import{DateUtils as n,ElementIDUtils as o}from"@sankhyalabs/core";import{C as h}from"./p-ec7db713.js";import{i as r}from"./p-a61fdd20.js";const l=class{constructor(e){t(this,e),this.ezChange=i(this,"ezChange",7),this.ezStartChange=i(this,"ezStartChange",7),this.ezCancelWaitingChange=i(this,"ezCancelWaitingChange",7),this.ezInput=i(this,"ezInput",7),this._changePending=!1,this._focused=!1,this._valuePromiseCallbacks=[],this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.mode="regular",this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,i){if(this._textInput&&t!=i){const e=n.validateDate(t),s=n.validateDate(i);if((null==e?void 0:e.getTime())!==(null==s?void 0:s.getTime())){const t=this.getTextValue(e)||"";!n.strToDate(t)&&this._focused||(this._textInput.value||"")===t||(this._textInput.value=t,this._focused=!1,this.errorMessage=""),this.ezChange.emit(null===e?void 0:e)}}this._changePending=!1}async setFocus(t){this._textInput.setFocus(t)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async getValueAsync(){return this._changePending?new Promise((t=>{this._valuePromiseCallbacks.push(t)})):Promise.resolve(this.value)}changeValue(t){const i=n.validateDate(this.value),e=n.validateDate(t);(null==i?void 0:i.getTime())!==(null==e?void 0:e.getTime())?this.value=e:this._changePending=!1}async handleChangeCalendar(t){this.changeValue(this._calendar.value),this.ezInput.emit(this._calendar.value),this._popover.hide(),await this.setFocus(),t.stopPropagation()}handleBlur(){if(this._changePending)try{const t=this._textInput.value,i=n.strToDate(t);if(i||!t){this.errorMessage="";const t=n.validateDate(this.value),e=n.validateDate(i);(null==t?void 0:t.getTime())===(null==e?void 0:e.getTime())?(e&&(this._textInput.value=this.getTextValue(e)||"",this._focused=!1),this.ezCancelWaitingChange.emit()):(this._focused=!1,this.changeValue(e))}else this.changeValue(void 0),this.ezCancelWaitingChange.emit(),this.errorMessage=this.i18n("ez-date-input.invalidDate")}finally{for(const t of this._valuePromiseCallbacks)t(this.value);this._valuePromiseCallbacks=[]}}getTextValue(t){return t?n.formatDate(t):void 0}handleInput(t){const i=n.strToDate(this._textInput.value),e=n.validateDate(this.value),s=n.validateDate(i);if((null==e?void 0:e.getTime())!==(null==s?void 0:s.getTime())&&(this._changePending=!0,this._focused=!0,this.ezInput.emit(s),this.ezStartChange.emit({waitmessage:"",blocking:!1})),"H"===t.data||"h"===t.data){const t=new Date;this.ezInput.emit(t),this.changeValue(t)}}setInputValue(){const t=this.getTextValue(this.value)||"";(this._textInput.value||"")!==t&&(this._textInput.value=t)}disconnectedCallback(){this._popover.hide()}async componentWillLoad(){this.i18n=await r()}componentDidLoad(){h.applyVarsTextInput(this._elem,this._textInput),this.setInputValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return o.addIDInfoIfNotExists(this._elem,"input"),e(s,null,e("ez-text-input",{"data-element-id":o.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",label:this.label,onBlur:()=>this.handleBlur(),onInput:t=>this.handleInput(t),restrict:"0123456789/",enabled:this.enabled,errorMessage:this.errorMessage,mode:this.mode,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder},e("button",{disabled:!this.enabled,tabindex:-1,class:"btn-open-cal",onClick:()=>{var t;return null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput)},slot:"leftIcon"})),e("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none","data-element-id":this._elem.getAttribute("data-element-id"),onEzVisibilityChange:t=>t.stopPropagation()},e("ez-calendar",{ref:t=>this._calendar=t,"data-element-id":o.getInternalIDInfo("calendar"),onEzChange:t=>this.handleChangeCalendar(t),value:this.value})))}get _elem(){return a(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};l.style=':host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>\')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}';export{l as ez_date_input}
1
+ import{r as t,c as i,h as e,H as s,g as a}from"./p-23a36bb6.js";import{DateUtils as n,ElementIDUtils as o}from"@sankhyalabs/core";import{C as h}from"./p-ec7db713.js";import{i as r}from"./p-3b7d9f30.js";const l=class{constructor(e){t(this,e),this.ezChange=i(this,"ezChange",7),this.ezStartChange=i(this,"ezStartChange",7),this.ezCancelWaitingChange=i(this,"ezCancelWaitingChange",7),this.ezInput=i(this,"ezInput",7),this._changePending=!1,this._focused=!1,this._valuePromiseCallbacks=[],this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.mode="regular",this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,i){if(this._textInput&&t!=i){const e=n.validateDate(t),s=n.validateDate(i);if((null==e?void 0:e.getTime())!==(null==s?void 0:s.getTime())){const t=this.getTextValue(e)||"";!n.strToDate(t)&&this._focused||(this._textInput.value||"")===t||(this._textInput.value=t,this._focused=!1,this.errorMessage=""),this.ezChange.emit(null===e?void 0:e)}}this._changePending=!1}async setFocus(t){this._textInput.setFocus(t)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async getValueAsync(){return this._changePending?new Promise((t=>{this._valuePromiseCallbacks.push(t)})):Promise.resolve(this.value)}changeValue(t){const i=n.validateDate(this.value),e=n.validateDate(t);(null==i?void 0:i.getTime())!==(null==e?void 0:e.getTime())?this.value=e:this._changePending=!1}async handleChangeCalendar(t){this.changeValue(this._calendar.value),this.ezInput.emit(this._calendar.value),this._popover.hide(),await this.setFocus(),t.stopPropagation()}handleBlur(){if(this._changePending)try{const t=this._textInput.value,i=n.strToDate(t);if(i||!t){this.errorMessage="";const t=n.validateDate(this.value),e=n.validateDate(i);(null==t?void 0:t.getTime())===(null==e?void 0:e.getTime())?(e&&(this._textInput.value=this.getTextValue(e)||"",this._focused=!1),this.ezCancelWaitingChange.emit()):(this._focused=!1,this.changeValue(e))}else this.changeValue(void 0),this.ezCancelWaitingChange.emit(),this.errorMessage=this.i18n("ez-date-input.invalidDate")}finally{for(const t of this._valuePromiseCallbacks)t(this.value);this._valuePromiseCallbacks=[]}}getTextValue(t){return t?n.formatDate(t):void 0}handleInput(t){const i=n.strToDate(this._textInput.value),e=n.validateDate(this.value),s=n.validateDate(i);if((null==e?void 0:e.getTime())!==(null==s?void 0:s.getTime())&&(this._changePending=!0,this._focused=!0,this.ezInput.emit(s),this.ezStartChange.emit({waitmessage:"",blocking:!1})),"H"===t.data||"h"===t.data){const t=new Date;this.ezInput.emit(t),this.changeValue(t)}}setInputValue(){const t=this.getTextValue(this.value)||"";(this._textInput.value||"")!==t&&(this._textInput.value=t)}disconnectedCallback(){this._popover.hide()}async componentWillLoad(){this.i18n=await r()}componentDidLoad(){h.applyVarsTextInput(this._elem,this._textInput),this.setInputValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return o.addIDInfoIfNotExists(this._elem,"input"),e(s,null,e("ez-text-input",{"data-element-id":o.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",label:this.label,onBlur:()=>this.handleBlur(),onInput:t=>this.handleInput(t),restrict:"0123456789/",enabled:this.enabled,errorMessage:this.errorMessage,mode:this.mode,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder},e("button",{disabled:!this.enabled,tabindex:-1,class:"btn-open-cal",onClick:()=>{var t;return null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput)},slot:"leftIcon"})),e("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none","data-element-id":this._elem.getAttribute("data-element-id"),onEzVisibilityChange:t=>t.stopPropagation()},e("ez-calendar",{ref:t=>this._calendar=t,"data-element-id":o.getInternalIDInfo("calendar"),onEzChange:t=>this.handleChangeCalendar(t),value:this.value})))}get _elem(){return a(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};l.style=':host{display:block;width:100%;--ez-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-date-input__input--border-color:var(--ez-date-input__input--background-color);--ez-date-input__calendar-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>\')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-date-input__calendar-image);mask-image:var(--ez-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-text-input{--text-input__input--background-color:var(--ez-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-date-input__input--border-color, #DCE0E8)}';export{l as ez_date_input}
Binary file
@@ -1 +1 @@
1
- import{r as t,h as i}from"./p-e4c7eb39.js";import{RECORD_DATE_FORMAT as a,DataUnitInMemoryLoader as e}from"@sankhyalabs/core";const s=class{constructor(i){t(this,i),this.inMemoryLoader=void 0,this.metadata=void 0,this.records=void 0,this.columnsConfig=void 0,this.pageSize=150,this.recordDateFormat=a.DD_MM_YYYY,this.multipleSelection=!1,this.autoFocus=!0,this.paginationCounterMode="auto",this.suppressCheckboxColumn=!1,this.suppressFilterColumn=!1,this.outlineMode=!1,this.enableRowTableStriped=!0,this.compact=!1,this.useSearchColumn=!0,this.suppressHorizontalScroll=!1}async getDataUnit(){if(this.hasValidDependencies())return this.ensureInMemoryLoaderExists(),this.inMemoryLoader.dataUnit}async refresh(){await this.inMemoryLoader.dataUnit.loadData()}async getSelection(){var t;return null===(t=this._gridRef)||void 0===t?void 0:t.getSelection()}async quickFilter(t){var i;await(null===(i=this._gridRef)||void 0===i?void 0:i.quickFilter(t))}async locateColumn(t){var i;await(null===(i=this._gridRef)||void 0===i?void 0:i.locateColumn(t))}async filterColumns(t){var i;return null===(i=this._gridRef)||void 0===i?void 0:i.filterColumns(t)}async addColumnMenuItem(t,i,a,e){await this._gridRef.addColumnMenuItem(t,i,a,e)}async addCustomValueFormatter(t,i){var a;await(null===(a=this._gridRef)||void 0===a?void 0:a.addCustomValueFormatter(t,i))}async removeCustomValueFormatter(t){var i;await(null===(i=this._gridRef)||void 0===i?void 0:i.removeCustomValueFormatter(t))}async addGridCustomRender(t,i,a){var e;await(null===(e=this._gridRef)||void 0===e?void 0:e.addGridCustomRender(t,i,a))}async setFocus(){var t;await(null===(t=this._gridRef)||void 0===t?void 0:t.setFocus())}async handleMetadataChanged(){await this.configGrid()}async handleRecordsChanged(){await this.configGrid()}async handlePageSizeChanged(){await this.configGrid(!0)}async handleRecordDateFormatChanged(){await this.configGrid(!0)}async configGrid(t=!1){this.hasValidDependencies()&&(this.ensureInMemoryLoaderExists(t),this.updateDURecords(),this.refreshFilterColumnDataSource())}updateDURecords(){requestAnimationFrame((()=>{this.inMemoryLoader.records=this.records}))}refreshFilterColumnDataSource(){requestAnimationFrame((async()=>{var t;await(null===(t=this._gridRef)||void 0===t?void 0:t.refreshColumnFilterDataSource())}))}hasValidDependencies(){return this.metadata&&this.records}buildGridConfig(){if(this.columnsConfig)return{columns:this.columnsConfig.map(this.parseColumnConfig.bind(this))}}parseColumnConfig(t,i){return Object.assign(Object.assign({},t),{orderIndex:i})}ensureInMemoryLoaderExists(t=!1){t&&this.clearInMemoryLoader(),this.buildInMemoryLoader()}buildInMemoryLoader(){requestAnimationFrame((()=>{this.inMemoryLoader||(this.inMemoryLoader=new e(this.metadata,this.records,this.buildInMemoryLoaderConfig()))}))}clearInMemoryLoader(){this.inMemoryLoader=void 0}buildInMemoryLoaderConfig(){return{pageSize:this.pageSize,recordDateFormat:this.recordDateFormat}}async componentDidLoad(){await this.configGrid()}render(){var t;if((null===(t=this.inMemoryLoader)||void 0===t?void 0:t.dataUnit)&&this.records)return i("ez-grid",{ref:t=>this._gridRef=t,canEdit:!1,dataUnit:this.inMemoryLoader.dataUnit,config:this.buildGridConfig(),multipleSelection:this.multipleSelection,autoFocus:this.autoFocus,paginationCounterMode:this.paginationCounterMode,suppressCheckboxColumn:this.suppressCheckboxColumn,suppressFilterColumn:this.suppressFilterColumn,suppressHorizontalScroll:this.suppressHorizontalScroll,outlineMode:this.outlineMode,enableRowTableStriped:this.enableRowTableStriped,useSearchColumn:this.useSearchColumn,compact:this.compact,onEzPageChangedChanged:()=>this.refreshFilterColumnDataSource()},i("slot",{name:"leftButtons"}),i("slot",{name:"footer"}))}static get watchers(){return{metadata:["handleMetadataChanged"],records:["handleRecordsChanged"],pageSize:["handlePageSizeChanged"],recordDateFormat:["handleRecordDateFormatChanged"]}}};s.style="";export{s as ez_grid_view}
1
+ import{r as t,h as i}from"./p-23a36bb6.js";import{RECORD_DATE_FORMAT as a,DataUnitInMemoryLoader as e}from"@sankhyalabs/core";const s=class{constructor(i){t(this,i),this.inMemoryLoader=void 0,this.metadata=void 0,this.records=void 0,this.columnsConfig=void 0,this.pageSize=150,this.recordDateFormat=a.DD_MM_YYYY,this.multipleSelection=!1,this.autoFocus=!0,this.paginationCounterMode="auto",this.suppressCheckboxColumn=!1,this.suppressFilterColumn=!1,this.outlineMode=!1,this.enableRowTableStriped=!0,this.compact=!1,this.useSearchColumn=!0,this.suppressHorizontalScroll=!1}async getDataUnit(){if(this.hasValidDependencies())return this.ensureInMemoryLoaderExists(),this.inMemoryLoader.dataUnit}async refresh(){await this.inMemoryLoader.dataUnit.loadData()}async getSelection(){var t;return null===(t=this._gridRef)||void 0===t?void 0:t.getSelection()}async quickFilter(t){var i;await(null===(i=this._gridRef)||void 0===i?void 0:i.quickFilter(t))}async locateColumn(t){var i;await(null===(i=this._gridRef)||void 0===i?void 0:i.locateColumn(t))}async filterColumns(t){var i;return null===(i=this._gridRef)||void 0===i?void 0:i.filterColumns(t)}async addColumnMenuItem(t,i,a,e){await this._gridRef.addColumnMenuItem(t,i,a,e)}async addCustomValueFormatter(t,i){var a;await(null===(a=this._gridRef)||void 0===a?void 0:a.addCustomValueFormatter(t,i))}async removeCustomValueFormatter(t){var i;await(null===(i=this._gridRef)||void 0===i?void 0:i.removeCustomValueFormatter(t))}async addGridCustomRender(t,i,a){var e;await(null===(e=this._gridRef)||void 0===e?void 0:e.addGridCustomRender(t,i,a))}async setFocus(){var t;await(null===(t=this._gridRef)||void 0===t?void 0:t.setFocus())}async handleMetadataChanged(){await this.configGrid()}async handleRecordsChanged(){await this.configGrid()}async handlePageSizeChanged(){await this.configGrid(!0)}async handleRecordDateFormatChanged(){await this.configGrid(!0)}async configGrid(t=!1){this.hasValidDependencies()&&(this.ensureInMemoryLoaderExists(t),this.updateDURecords(),this.refreshFilterColumnDataSource())}updateDURecords(){requestAnimationFrame((()=>{this.inMemoryLoader.records=this.records}))}refreshFilterColumnDataSource(){requestAnimationFrame((async()=>{var t;await(null===(t=this._gridRef)||void 0===t?void 0:t.refreshColumnFilterDataSource())}))}hasValidDependencies(){return this.metadata&&this.records}buildGridConfig(){if(this.columnsConfig)return{columns:this.columnsConfig.map(this.parseColumnConfig.bind(this))}}parseColumnConfig(t,i){return Object.assign(Object.assign({},t),{orderIndex:i})}ensureInMemoryLoaderExists(t=!1){t&&this.clearInMemoryLoader(),this.buildInMemoryLoader()}buildInMemoryLoader(){requestAnimationFrame((()=>{this.inMemoryLoader||(this.inMemoryLoader=new e(this.metadata,this.records,this.buildInMemoryLoaderConfig()))}))}clearInMemoryLoader(){this.inMemoryLoader=void 0}buildInMemoryLoaderConfig(){return{pageSize:this.pageSize,recordDateFormat:this.recordDateFormat}}async componentDidLoad(){await this.configGrid()}render(){var t;if((null===(t=this.inMemoryLoader)||void 0===t?void 0:t.dataUnit)&&this.records)return i("ez-grid",{ref:t=>this._gridRef=t,canEdit:!1,dataUnit:this.inMemoryLoader.dataUnit,config:this.buildGridConfig(),multipleSelection:this.multipleSelection,autoFocus:this.autoFocus,paginationCounterMode:this.paginationCounterMode,suppressCheckboxColumn:this.suppressCheckboxColumn,suppressFilterColumn:this.suppressFilterColumn,suppressHorizontalScroll:this.suppressHorizontalScroll,outlineMode:this.outlineMode,enableRowTableStriped:this.enableRowTableStriped,useSearchColumn:this.useSearchColumn,compact:this.compact,onEzPageChangedChanged:()=>this.refreshFilterColumnDataSource()},i("slot",{name:"leftButtons"}),i("slot",{name:"footer"}))}static get watchers(){return{metadata:["handleMetadataChanged"],records:["handleRecordsChanged"],pageSize:["handlePageSizeChanged"],recordDateFormat:["handleRecordDateFormatChanged"]}}};s.style="";export{s as ez_grid_view}
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,H as s,g as a}from"./p-23a36bb6.js";import{DateUtils as n,TimeFormatter as o,ElementIDUtils as h}from"@sankhyalabs/core";import{C as l}from"./p-ec7db713.js";import{i as r}from"./p-3b7d9f30.js";const c=class{constructor(e){t(this,e),this.ezChange=i(this,"ezChange",7),this.ezStartChange=i(this,"ezStartChange",7),this.ezCancelWaitingChange=i(this,"ezCancelWaitingChange",7),this._changePending=!1,this._focused=!1,this._valuePromiseCallbacks=[],this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.showSeconds=!1,this.mode="regular",this.size="default",this.required=!1,this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,i){if(this._textInput&&t!=i){const e=n.validateDate(t,!0),s=n.validateDate(i,!0);if((null==e?void 0:e.getTime())!==(null==s?void 0:s.getTime())){const t=this.getTextValue(e)||"";!this.getParsedDateTime(t)&&this._focused||(this._textInput.value||"")===t||(this._textInput.value=t,this._focused=!1,this.errorMessage=""),this.ezChange.emit(null===e?void 0:e)}}this._changePending=!1}async setFocus(t){this._textInput.setFocus(t)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async getValueAsync(){return this._changePending?new Promise((t=>{this._valuePromiseCallbacks.push(t)})):Promise.resolve(this.value)}handleKeyDown(t){const i=this._textInput.shadowRoot.querySelector("input");if(t.shiftKey&&"Tab"===t.key){if(i.selectionStart>0){let e=i.value.lastIndexOf(" ",i.selectionStart);-1!==e&&(i.setSelectionRange(0,e),t.preventDefault())}}else if("Tab"===t.key&&i.value.length!==i.selectionEnd){let e=i.value.indexOf(" ",i.selectionEnd);e=-1===e?i.selectionEnd:e+1,i.setSelectionRange(e,i.value.length),t.preventDefault()}}handleFocus(){const t=this._textInput.shadowRoot.querySelector("input");if(t.selectionStart!==t.selectionEnd){let i=t.value.indexOf(" ",t.selectionStart);i=-1===i?t.value.length:i,t.setSelectionRange(0,i)}}handleClick(){const t=this._textInput.shadowRoot.querySelector("input");let i=t.value.lastIndexOf(" ",t.selectionEnd);i=-1===i?0:i+1,i=i>t.selectionEnd?0:i;let e=0===i?t.value.indexOf(" "):t.value.length;t.setSelectionRange(i,e)}changeValue(t){const i=n.validateDate(this.value,!0),e=n.validateDate(t,!0);(null==i?void 0:i.getTime())!==(null==e?void 0:e.getTime())&&(this.value=e)}hideCalendar(){this.changeValue(this._calendar.value),this._popover.hide()}getParsedDateTime(t){var i,e;if(void 0===t&&(t=(null===(e=null===(i=this._textInput)||void 0===i?void 0:i.value)||void 0===e?void 0:e.trim())||""),!t)return;const s=t.split(" "),a=s.length>0?s[0]:t,h=o.prepareValue(s[1]?s[1]:"",this.showSeconds);return n.strToDate(a+(h&&" "+h))}handleBlur(){var t,i;if(this._changePending)try{const e=(null===(i=null===(t=this._textInput)||void 0===t?void 0:t.value)||void 0===i?void 0:i.trim())||"",s=this.getParsedDateTime();if(s||!e){this.errorMessage="";const t=n.validateDate(this.value,!0),i=n.validateDate(s,!0);(null==t?void 0:t.getTime())===(null==i?void 0:i.getTime())?(i&&(this._textInput.value=this.getTextValue(i)||"",this._focused=!1),this.ezCancelWaitingChange.emit()):this.changeValue(i)}else this.changeValue(void 0),this.ezCancelWaitingChange.emit(),this.errorMessage=this.i18n("ez-classic-date-time-input.invalidDate")}finally{for(const t of this._valuePromiseCallbacks)t(this.value);this._valuePromiseCallbacks=[]}}getTextValue(t){if(t)return n.formatDateTime(t,this.showSeconds)}handleInput(t){const i=this.getParsedDateTime(),e=n.validateDate(this.value,!0),s=n.validateDate(i,!0);(null==e?void 0:e.getTime())!==(null==s?void 0:s.getTime())&&(this._changePending=!0,this._focused=!0,this.ezStartChange.emit({waitmessage:"",blocking:!1})),"H"!==t.data&&"h"!==t.data||this.changeValue(new Date)}setInputValue(){const t=this.getTextValue(this.value)||"";(this._textInput.value||"")!==t&&(this._textInput.value=t)}disconnectedCallback(){this._popover.hide()}async componentWillLoad(){this.i18n=await r()}componentDidLoad(){l.applyVarsTextInput(this._elem,this._textInput),this.setInputValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return h.addIDInfoIfNotExists(this._elem,"input"),e(s,null,e("ez-classic-input",{ref:t=>this._textInput=t,"data-element-id":h.getInternalIDInfo("textInput"),"data-slave-mode":"true",label:this.label,enabled:this.enabled,errorMessage:this.errorMessage,size:this.size,onKeyDown:t=>{this.handleKeyDown(t)},onBlur:()=>this.handleBlur(),onInput:t=>this.handleInput(t),onFocus:()=>this.handleFocus(),onClick:()=>this.handleClick(),required:this.required,leftIconName:"calendar",leftIconClickable:this.enabled,onIconClick:()=>{var t;return null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput)},onEzChange:t=>t.stopPropagation()}),e("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none","data-element-id":this._elem.getAttribute("data-element-id")},e("ez-calendar",{ref:t=>this._calendar=t,"data-element-id":h.getInternalIDInfo("calendar"),onEzChange:t=>{this.hideCalendar(),t.stopPropagation()},time:!0,showSeconds:this.showSeconds})))}get _elem(){return a(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};c.style=':host{display:block;width:100%;--ez-classic-date-input__input--background-color:var(--background--medium, #e0e0e0);--ez-classic-date-input__input--border-color:var(--ez-classic-date-input__input--background-color);--ez-classic-date-input__calendar-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>\')}.btn-open-cal{outline:none;border:none;background-color:unset;cursor:pointer}.btn-open-cal:disabled{cursor:not-allowed}.btn-open-cal::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:15px;height:16px;-webkit-mask-image:var(--ez-classic-date-input__calendar-image);mask-image:var(--ez-classic-date-input__calendar-image)}.btn-open-cal:disabled:after{background-color:var(--text--disable, #AFB6C0)}.btn-open-cal:enabled:hover::after{background-color:var(--color--primary, #4e4e4e)}ez-classic-input{--text-input__input--background-color:var(--ez-classic-date-input__input--background-color, #FFFFFF);--text-input__input--border-color:var(--ez-classic-date-input__input--border-color, #DCE0E8)}';export{c as ez_classic_date_time_input}
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e,g as h}from"./p-23a36bb6.js";import{TimeFormatter as r,MaskFormatter as a,NumberUtils as n,ElementIDUtils as o}from"@sankhyalabs/core";import{C as l}from"./p-ec7db713.js";import{i as u}from"./p-3b7d9f30.js";const c=class{constructor(i){t(this,i),this.ezChange=s(this,"ezChange",7),this.ezStartChange=s(this,"ezStartChange",7),this.ezCancelWaitingChange=s(this,"ezCancelWaitingChange",7),this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.showSeconds=!1,this.mode="regular",this.size="default",this.required=!1,this.canShowError=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||(this.prepareValue(this._viewValue),(this._textInput.value||"")!==this._viewValue&&(this._textInput.value=this._viewValue)))}observeShowSeconds(){this.prepareMask(this.showSeconds?"##:##:##":"##:##")}observeValue(t,s){if(this._textInput&&t!=s){let i=this.validateValue(t);i!=this.validateValue(s)&&(this._viewValue=null==i?"":i.toString(),this.prepareValue(this._viewValue),this._viewValue&&!r.validateTime(this._viewValue,this.showSeconds)?(this.setError(this.i18n("ez-classic-time-input.invalidTime")),i=void 0):this.setError(""),this.ezChange.emit(null===i?void 0:i))}}prepareMask(t){null==this._maskFormatter?this._maskFormatter=new a(t):this._maskFormatter.mask=t}validateValue(t){return isNaN(t)||void 0===t?null:t}setError(t){this.errorMessage=t,this._textInput&&(null==t?void 0:t.trim())&&this.ezCancelWaitingChange.emit()}getViewValue(){return this._viewValue}prepareValue(t){try{this._viewValue=r.prepareValue(t,this.showSeconds),this._textInput&&this._textInput.value!==this._viewValue&&(this._textInput.value=this._viewValue)}catch(t){this.setError(t.message)}}async setFocus({selectText:t}){this._textInput.setFocus({selectText:t})}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}handleBlur(){if(this._textInput){this._viewValue=this._textInput.value,this.prepareValue(this._viewValue);const t=n.stringToNumber(this._viewValue.replace(/\D/g,""));this.value=["string","number"].includes(typeof t)?t:null}}handleInput(){const t=this._textInput.value;["string","number"].includes(typeof t)&&n.stringToNumber(t.replace(/\D/g,""))!==this.value&&this.ezStartChange.emit({waitmessage:"",blocking:!1})}async componentWillLoad(){this.i18n=await u(),this.observeShowSeconds(),this.value?this.prepareValue(this.value.toString()):this._viewValue&&this.prepareValue(this._viewValue)}componentDidLoad(){l.applyVarsTextInput(this._elem,this._textInput),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){o.addIDInfoIfNotExists(this._elem,"input");const t={class:"time__input","data-element-id":o.getInternalIDInfo("textInput"),ref:t=>this._textInput=t,"data-slave-mode":"true",value:this._viewValue,enabled:this.enabled,label:this.label,mask:this.showSeconds?"##:##:##":"##:##",onBlur:()=>this.handleBlur(),onInput:()=>this.handleInput(),errorMessage:this.errorMessage,mode:this.mode,size:this.size,canShowError:this.canShowError,alternativePlaceholder:this.alternativePlaceholder,required:this.required,onEzChange:t=>t.stopPropagation()};return i(e,null,i("ez-classic-input",Object.assign({},t,{leftIconName:"timer-outline"})))}static get assetsDirs(){return["../assets"]}get _elem(){return h(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],showSeconds:["observeShowSeconds"],value:["observeValue"]}}};c.style=":host{display:flex;flex-wrap:wrap;position:relative;width:100%}.time__input{height:100%}";export{c as ez_classic_time_input}
Binary file
@@ -0,0 +1 @@
1
+ var S;!function(S){S[S.CASCADE=0]="CASCADE",S[S.CLASSIC_CASCADE=1]="CLASSIC_CASCADE",S[S.SIDE_BY_SIDE=2]="SIDE_BY_SIDE",S[S.CLASSIC_SIDE_BY_SIDE=3]="CLASSIC_SIDE_BY_SIDE"}(S||(S={}));export{S as F}
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 h=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 showAbove(t){this.float(Object.assign({},t||{}))}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="",this._box.style.bottom="";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"]}}};h.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{h as ez_popover}
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as o,H as n,g as s}from"./p-23a36bb6.js";import{FloatingManager as e,ElementIDUtils as a}from"@sankhyalabs/core";import"./p-320c401f.js";import{C as c}from"./p-ec7db713.js";import"./p-ab574d59.js";import"./p-b853763b.js";import"./p-3b7d9f30.js";import"./p-5895e687.js";import"./p-47e4a8ce.js";const r=class{constructor(o){t(this,o),this.ezAction=i(this,"ezAction",7),this.ezPopoverOpen=i(this,"ezPopoverOpen",7),this.ezDisconnectedActionButtons=i(this,"ezDisconnectedActionButtons",7),this._arrowOffset=5,this.innerClickCheck=(t,i)=>{var o;if(i&&t){if(i===t)return!0;const n=t.children;for(let t=0;t<n.length;t++)if(null===(o=n[t].shadowRoot)||void 0===o?void 0:o.contains(i))return!0;do{if(t.contains(i))return!0;i=i.offsetParent}while(null!=i&&i!=document.getRootNode())}return!1},this._selectedAction=void 0,this.enabled=!0,this.actions=void 0,this.size="medium",this.showLabel=!1,this.displayIcon=void 0,this.checkOption=!1,this.value=void 0,this.isTransparent=!1,this.arrowActive=!1}async hideActions(){null!=this._floatingID&&e.close(this._floatingID),this._floatingID=void 0}async showActions(){if(!this.enabled)return;const t=this.getFloatOptions();this._floatingID=e.float(this._actionsList,this._listContainer,t);const i=this.getSideLimit();null!=i&&(t.left=i,e.updateFloatPosition(this._actionsList,this._listContainer,t)),window.requestAnimationFrame((()=>{this._actionsList.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})})),this.ezPopoverOpen.emit(this._actionsList)}async isOpened(){return null!=this._floatingID}getFloatOptions(){return{autoClose:!0,innerClickTest:this.innerClickCheck,isFixed:!0,top:this.getPositionTop(),left:this.getPositionLeft(),backClickListener:()=>this._floatingID=void 0}}getSideLimit(){var t;const i=document.body.clientWidth,o=null===(t=this._actionsList)||void 0===t?void 0:t.getBoundingClientRect(),n=i-this._button.getBoundingClientRect().right;if((null==o?void 0:o.right)>=i||(null==o?void 0:o.right)===i-n)return i-o.width-n+"px"}updatePosition(){if(!this.enabled||null==this._floatingID)return;const t=this.getFloatOptions(),i=this.getSideLimit();null!=i&&(t.left=i),e.updateFloatPosition(this._actionsList,this._listContainer,t)}getPositionTop(){var t;const i=null===(t=this._element)||void 0===t?void 0:t.getBoundingClientRect();return null==i?null:i.y+i.height+"px"}getBoundingLeft(){var t;const i=null===(t=this._element)||void 0===t?void 0:t.getBoundingClientRect();return null==i?null:i.x-(this.arrowActive?this._arrowOffset:0)+"px"}getPositionLeft(){return this.getBoundingLeft()||(this.arrowActive?`-${this._arrowOffset}px`:null)}hasLabelOrCheckOption(){var t;return(this.showLabel||this.checkOption)&&(null===(t=this.actions)||void 0===t?void 0:t.length)>0}hasIconName(){var t;return null===(t=this.actions)||void 0===t?void 0:t.some((t=>null!=t.iconName))}controlScrollPage(){window.removeEventListener("scroll",this.updatePosition.bind(this)),window.addEventListener("scroll",this.updatePosition.bind(this))}handlerButtonClick(){this.showActions()}actionClick(t){this._selectedAction=t,this.hideActions(),this.ezAction.emit(t)}componentWillLoad(){if(null==this.actions){this.actions=[];const t=this._element.querySelectorAll("action");t&&t.forEach((t=>{let i=t.innerText,o=t.getAttribute("value"),n=!("false"===t.getAttribute("enabled"));o||(o=i),this.actions.push({label:i,value:o,enabled:n}),t.hidden=!0}))}}disconnectedCallback(){this.ezDisconnectedActionButtons.emit()}componentDidLoad(){c.applyVarsButton(this._element,this._button),a.addIDInfo(this._element),this.controlScrollPage()}componentDidRender(){var t;null==this._floatingID&&(null===(t=this._actionsList)||void 0===t||t.remove()),this.hasLabelOrCheckOption()&&(this.value?this._selectedAction=this.actions.find((t=>t.value===this.value)):this._selectedAction||(this._selectedAction=this.actions[0]))}buildActionElement(t){var i;if(t){if(null!=t.itemBuilder){const i=t.itemBuilder(this._element,t);return"string"==typeof i?o("div",{class:"ez-actions-button__btn-action",innerHTML:i}):i}return o("ez-button",{size:"small",label:t.label,onClick:()=>this.actionClick(t),enabled:t.enabled,class:"ez-actions-button__btn-action"+(this.checkOption||this.hasIconName()?" ez-actions-button__btn-action--spaced":"")},this.checkOption&&(null===(i=this._selectedAction)||void 0===i?void 0:i.value)===t.value&&o("ez-icon",{class:"ez-actions-button__icon-check",slot:"leftIcon",size:"small",iconName:"check"}),!this.checkOption&&t.iconName&&o("ez-icon",{class:"ez-actions-button__icon-item",slot:"leftIcon",size:"small",iconName:t.iconName}))}}render(){var t;return o(n,null,o("ez-button",{ref:t=>this._button=t,class:(this.isTransparent?"ez-actions-button__btn-transparent":"")+(this.showLabel?" ez-actions-button__btn-label":""),label:this.showLabel&&(null===(t=this._selectedAction)||void 0===t?void 0:t.label),enabled:this.enabled,mode:this.showLabel?void 0:"icon",iconName:this.showLabel?"":this.displayIcon||"dots-vertical",size:this.size,onClick:()=>this.handlerButtonClick()},this.showLabel&&o("ez-icon",{class:"ez-actions-button__icon-right",slot:"rightIcon",iconName:this.displayIcon||"dots-vertical"})),o("section",{class:"ez-actions-button__list-container",ref:t=>this._listContainer=t},this.arrowActive&&o("div",{class:"ez-actions-button__arrow ez-actions-button__arrow--"+(this.size||"small")+(this.isTransparent?" ez-actions-button__arrow--upped":"")}),o("div",{ref:t=>this._actionsList=t,class:"ez-actions-button__actions-list ez-actions-button__actions-list--max-height"+(this.arrowActive&&!this.isTransparent?" ez-actions-button__actions-list--lowered":"")},this.actions.map((t=>this.buildActionElement(t))))))}get _element(){return s(this)}};r.style=":host{--ez-actions-button__actions-list--border-radius:var(--border--radius-medium, 12px);--ez-actions-button__actions-list--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-actions-button__actions-list--background-color:var(--background--xlight, #fff);--ez-actions-button__actions-list--padding:var(--space--small, 6px);--ez-actions-button__actions-list--top-margin:var(--space-small, 6px);--ez-actions-button__actions-list--z-index:var(--ez-elevation--8, 8);--ez-actions-button__actions-max-height:415px;--ez-actions-button__btn-action--min-width:'auto';--ez-actions-button__btn-action--background-color:var(--background--xlight, #fff);display:flex;flex-direction:column;height:fit-content;user-select:none}.ez-actions-button__actions-list{display:flex;flex-direction:column;position:fixed;width:fit-content;height:fit-content;overflow-y:auto;scrollbar-width:thin;z-index:var(--ez-actions-button__actions-list--z-index);padding:var(--ez-actions-button__actions-list--padding);margin-top:var(--ez-actions-button__actions-list--top-margin);background-color:var(--ez-actions-button__actions-list--background-color);border-radius:var(--ez-actions-button__actions-list--border-radius);box-shadow:var(--ez-actions-button__actions-list--box-shadow)}.ez-actions-button__actions-list--max-height{max-height:var(--ez-actions-button__actions-max-height)}.ez-actions-button__actions-list--lowered{margin-top:calc(var(--ez-actions-button__actions-list--top-margin) + 6px)}.ez-actions-button__btn-action{--ez-button--justify-content:flex-start;--ez-button--width:100%;--ez-button--min-width:var(--ez-actions-button__btn-action--min-width);--ez-button--background-color:var(--ez-actions-button__btn-action--background-color);--ez-button--font-weight:var(--text-weight--medium, 400);--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px);--ez-button--border:none}.ez-actions-button__btn-action--spaced{--ez-button--padding-left:calc(var(--space--medium, 12px) + 24px)}.ez-actions-button__icon-right{margin-left:var(--space--small, 6px)}.ez-actions-button__icon-check,.ez-actions-button__icon-item{position:absolute;left:var(--space--medium, 12px)}.ez-actions-button__icon-check{color:var(--ez-button--hover-color)}.ez-actions-button__arrow{position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;width:0;height:0;z-index:calc(var(--ez-actions-button__actions-list--z-index) + 1);border-bottom:15px solid var(--ez-actions-button__btn-action--background-color)}.ez-actions-button__arrow--upped{margin-top:calc((var(--ez-actions-button__actions-list--top-margin) + 2px) * -1)}.ez-actions-button__arrow--small{margin-left:6px}.ez-actions-button__arrow--medium{margin-left:11px}.ez-actions-button__arrow--large{margin-left:13px}.ez-actions-button__arrow:only-child{display:none}.ez-actions-button__btn-transparent{--ez-button--background-color:transparent;--ez-button--hover--background-color:transparent;--ez-button--active--background-color:transparent;--ez-button--focus--border:none;--ez-button--border:none}.ez-actions-button__btn-label{--ez-button--padding-left:var(--space--medium, 12px);--ez-button--padding-right:var(--space--medium, 12px)}.ez-actions-button__list-container{position:relative}.ez-actions-button--bottom-padding{padding-bottom:var(--space--small, 6px)}";export{r as ez_actions_button}
Binary file
@@ -1 +1 @@
1
- import{r as a,c as e,f as r,h as t,g as l}from"./p-e4c7eb39.js";import{FloatingManager as i}from"@sankhyalabs/core";import{i as s}from"./p-a61fdd20.js";const n=class{constructor(r){a(this,r),this.ezChange=e(this,"ezChange",7),this._firstRender=!0,this._hoursLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],this._minutosLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],this.value=new Date,this.floating=!1,this.time=!1,this.showSeconds=!1}async show(a,e,r,t){this.floating&&(this._floatingID=i.float(this._box,this._container,{isFixed:this.isFixed(),autoClose:!0,top:a,left:e,bottom:r,right:t}),this.isFixed()||(window.requestAnimationFrame((()=>{this._box.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})})),this.scroll()))}async fitVertical(a,e){const r=this._container.getBoundingClientRect().bottom+this._calendarHeight;(window.innerHeight||document.documentElement.clientHeight)>r?this.show(a+"px",void 0,"unset"):this.show("unset",void 0,e+"px")}async fitHorizontal(a){const e=this._container.getBoundingClientRect().right+this._calendarWidth;(window.innerWidth||document.documentElement.clientWidth)>e||this.show(void 0,"unset",void 0,a+"px")}async hide(){void 0!==this._floatingID&&(i.close(this._floatingID),this._floatingID=void 0)}observeValue(){this.value&&(this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1))}scrollListener(){this.floating&&this.isFixed()&&this.hide()}isFixed(){return"true"===this._hostElem.dataset.isFixed}getMonthLabel(){return this.i18n(`ez-calendar.month.${this._currentPosition.getMonth()}`)+" "+this._currentPosition.getFullYear()}isSelectedDate(a){return!!this.value&&this.value.getDate()==a.getDate()&&this.value.getMonth()==a.getMonth()&&this.value.getFullYear()==a.getFullYear()}changeMonth(a){this._currentPosition.setMonth(this._currentPosition.getMonth()+a),r(this)}selectDate(a){let e=a;this.value&&(this.time||this.showSeconds)&&(e.setHours(this.value.getHours()),e.setMinutes(this.value.getMinutes()),e.setSeconds(this.showSeconds?this.value.getSeconds():0)),this.value=e,this.ezChange.emit(this.value)}selectHours(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),a,this.value.getMinutes(),this.value.getSeconds()),this.ezChange.emit(this.value)}selectMinutes(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),a,this.value.getSeconds()),this.ezChange.emit(this.value)}selectSeconds(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),this.value.getMinutes(),a),this.ezChange.emit(this.value)}updateScroll(a){if(a){const{scrollHeight:e,clientHeight:r,scrollTop:t}=a;e-r-Math.ceil(t)>0?a.classList.add("endHidden"):a.classList.remove("endHidden")}}async componentWillLoad(){this.i18n=await s()}componentDidRender(){this.floating&&this._firstRender&&(this._calendarHeight=this._box.clientHeight,this._calendarWidth=this._box.clientWidth,this._box.remove(),this._firstRender=!1),this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.updateScroll(this._secondsScroll)}componentDidLoad(){this.scroll()}scroll(){(this.time||this.showSeconds)&&(this._hoursScroll.scrollTop=this._hoursSelect.offsetTop-64,this._minutesScroll.scrollTop=this._minutesSelect.offsetTop-64,this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.showSeconds&&(this._secondsScroll.scrollTop=this._secondsSelect.offsetTop-64,this.updateScroll(this._secondsScroll)))}render(){null==this._currentPosition&&(this._currentPosition=new Date,this.value&&this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1));const a=new Date;return a.setTime(this._currentPosition.getTime()),a.setDate(1-a.getDay()),t("section",{ref:a=>this._container=a},t("div",{ref:a=>this._box=a,class:"calendar__container"},t("div",{class:"calendar"},t("div",{class:"calendar__header"},t("button",{class:"calendar__btn-previous",onClick:()=>this.changeMonth(-1)}),t("label",{class:"calendar__lbl-month"},this.getMonthLabel()),t("button",{class:"calendar__btn-next",onClick:()=>this.changeMonth(1)})),t("div",{class:"calendar__body"},t("div",{class:"calendar__line"},[...Array(7).keys()].map((a=>t("div",{"data-day":this.i18n(`ez-calendar.weekDay.${a}`),class:"calendar__cell calendar__cell--unselectable"},this.i18n(`ez-calendar.weekDay.${a}`))))),[0,7,14,21,28,35].map((e=>t("div",{class:"calendar__line"},[0,1,2,3,4,5,6].map((r=>{const l=new Date;l.setTime(a.getTime()),l.setDate(l.getDate()+e+r);let i=`${l.getMonth()+1}-${l.getDate()}-${l.getFullYear()}`,s="calendar__cell";return this._currentPosition.getMonth()!=l.getMonth()?s+=" calendar__cell--secondary":this.isSelectedDate(l)&&(s+=" calendar__cell--selected"),t("div",{"data-day-month":i,class:s,onClick:()=>this.selectDate(l)},l.getDate())})))))),t("div",{class:"calendar__footer"},t("button",{class:"calendar__btn-today",onClick:()=>this.selectDate(new Date)},this.i18n("ez-calendar.today")))),(this.time||this.showSeconds)&&t("div",{class:"calendar-time"},t("div",{class:"calendar-time__header"},t("div",null,"H"),t("div",{class:"separatorTime"},":"),t("div",null,"M"),this.showSeconds&&t("div",{class:"separatorTime"},":"),this.showSeconds&&t("div",null,"S")),t("div",{class:"calendar__body ",style:{display:"flex",paddingLeft:"12px",paddingRight:"12px"}},t("div",{class:"calendar__column",ref:a=>this._hoursScroll=a,onScroll:()=>this.updateScroll(this._hoursScroll)},this._hoursLabel.map(((a,e)=>e===this.value.getHours()?t("div",{style:{display:"flex"},ref:a=>this._hoursSelect=a},t("div",{"data-hour":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-hour":a,class:"calendar__cell",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":"))))),t("div",{class:"calendar__column",ref:a=>this._minutesScroll=a,onScroll:()=>this.updateScroll(this._minutesScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getMinutes()?t("div",{style:{display:"flex"},ref:a=>this._minutesSelect=a},t("div",{"data-minute":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-minute":a,class:"calendar__cell",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":"))))),this.showSeconds&&t("div",{class:"calendar__column",ref:a=>this._secondsScroll=a,onScroll:()=>this.updateScroll(this._secondsScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getSeconds()?t("div",{"data-second":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectSeconds(e),ref:a=>this._secondsSelect=a},a):t("div",{"data-second":a,class:"calendar__cell",onClick:()=>this.selectSeconds(e)},a))))))))}get _hostElem(){return l(this)}static get watchers(){return{value:["observeValue"]}}};n.style=':host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-container--z-index:var(--more-visible, 2);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--ez-calendar__nav-btn--next-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar__container{display:flex;z-index:var(--more-visible, 2)}.calendar{display:flex;flex-direction:column;z-index:var(--more-visible, 2);background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:\'\';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset;color:var(--ez-calendar--color)}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;padding:0px;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendar-time{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto;scrollbar-width:none}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendar-time__header{display:flex;justify-content:space-between;padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}';export{n as ez_calendar}
1
+ import{r as a,c as e,f as r,h as t,g as l}from"./p-23a36bb6.js";import{FloatingManager as i}from"@sankhyalabs/core";import{i as s}from"./p-3b7d9f30.js";const n=class{constructor(r){a(this,r),this.ezChange=e(this,"ezChange",7),this._firstRender=!0,this._hoursLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],this._minutosLabel=["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],this.value=new Date,this.floating=!1,this.time=!1,this.showSeconds=!1}async show(a,e,r,t){this.floating&&(this._floatingID=i.float(this._box,this._container,{isFixed:this.isFixed(),autoClose:!0,top:a,left:e,bottom:r,right:t}),this.isFixed()||(window.requestAnimationFrame((()=>{this._box.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})})),this.scroll()))}async fitVertical(a,e){const r=this._container.getBoundingClientRect().bottom+this._calendarHeight;(window.innerHeight||document.documentElement.clientHeight)>r?this.show(a+"px",void 0,"unset"):this.show("unset",void 0,e+"px")}async fitHorizontal(a){const e=this._container.getBoundingClientRect().right+this._calendarWidth;(window.innerWidth||document.documentElement.clientWidth)>e||this.show(void 0,"unset",void 0,a+"px")}async hide(){void 0!==this._floatingID&&(i.close(this._floatingID),this._floatingID=void 0)}observeValue(){this.value&&(this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1))}scrollListener(){this.floating&&this.isFixed()&&this.hide()}isFixed(){return"true"===this._hostElem.dataset.isFixed}getMonthLabel(){return this.i18n(`ez-calendar.month.${this._currentPosition.getMonth()}`)+" "+this._currentPosition.getFullYear()}isSelectedDate(a){return!!this.value&&this.value.getDate()==a.getDate()&&this.value.getMonth()==a.getMonth()&&this.value.getFullYear()==a.getFullYear()}changeMonth(a){this._currentPosition.setMonth(this._currentPosition.getMonth()+a),r(this)}selectDate(a){let e=a;this.value&&(this.time||this.showSeconds)&&(e.setHours(this.value.getHours()),e.setMinutes(this.value.getMinutes()),e.setSeconds(this.showSeconds?this.value.getSeconds():0)),this.value=e,this.ezChange.emit(this.value)}selectHours(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),a,this.value.getMinutes(),this.value.getSeconds()),this.ezChange.emit(this.value)}selectMinutes(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),a,this.value.getSeconds()),this.ezChange.emit(this.value)}selectSeconds(a){this.value||(this.value=new Date),this.value=new Date(this.value.getFullYear(),this.value.getMonth(),this.value.getDate(),this.value.getHours(),this.value.getMinutes(),a),this.ezChange.emit(this.value)}updateScroll(a){if(a){const{scrollHeight:e,clientHeight:r,scrollTop:t}=a;e-r-Math.ceil(t)>0?a.classList.add("endHidden"):a.classList.remove("endHidden")}}async componentWillLoad(){this.i18n=await s()}componentDidRender(){this.floating&&this._firstRender&&(this._calendarHeight=this._box.clientHeight,this._calendarWidth=this._box.clientWidth,this._box.remove(),this._firstRender=!1),this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.updateScroll(this._secondsScroll)}componentDidLoad(){this.scroll()}scroll(){(this.time||this.showSeconds)&&(this._hoursScroll.scrollTop=this._hoursSelect.offsetTop-64,this._minutesScroll.scrollTop=this._minutesSelect.offsetTop-64,this.updateScroll(this._hoursScroll),this.updateScroll(this._minutesScroll),this.showSeconds&&(this._secondsScroll.scrollTop=this._secondsSelect.offsetTop-64,this.updateScroll(this._secondsScroll)))}render(){null==this._currentPosition&&(this._currentPosition=new Date,this.value&&this._currentPosition.setTime(this.value.getTime()),this._currentPosition.setDate(1));const a=new Date;return a.setTime(this._currentPosition.getTime()),a.setDate(1-a.getDay()),t("section",{ref:a=>this._container=a},t("div",{ref:a=>this._box=a,class:"calendar__container"},t("div",{class:"calendar"},t("div",{class:"calendar__header"},t("button",{class:"calendar__btn-previous",onClick:()=>this.changeMonth(-1)}),t("label",{class:"calendar__lbl-month"},this.getMonthLabel()),t("button",{class:"calendar__btn-next",onClick:()=>this.changeMonth(1)})),t("div",{class:"calendar__body"},t("div",{class:"calendar__line"},[...Array(7).keys()].map((a=>t("div",{"data-day":this.i18n(`ez-calendar.weekDay.${a}`),class:"calendar__cell calendar__cell--unselectable"},this.i18n(`ez-calendar.weekDay.${a}`))))),[0,7,14,21,28,35].map((e=>t("div",{class:"calendar__line"},[0,1,2,3,4,5,6].map((r=>{const l=new Date;l.setTime(a.getTime()),l.setDate(l.getDate()+e+r);let i=`${l.getMonth()+1}-${l.getDate()}-${l.getFullYear()}`,s="calendar__cell";return this._currentPosition.getMonth()!=l.getMonth()?s+=" calendar__cell--secondary":this.isSelectedDate(l)&&(s+=" calendar__cell--selected"),t("div",{"data-day-month":i,class:s,onClick:()=>this.selectDate(l)},l.getDate())})))))),t("div",{class:"calendar__footer"},t("button",{class:"calendar__btn-today",onClick:()=>this.selectDate(new Date)},this.i18n("ez-calendar.today")))),(this.time||this.showSeconds)&&t("div",{class:"calendar-time"},t("div",{class:"calendar-time__header"},t("div",null,"H"),t("div",{class:"separatorTime"},":"),t("div",null,"M"),this.showSeconds&&t("div",{class:"separatorTime"},":"),this.showSeconds&&t("div",null,"S")),t("div",{class:"calendar__body ",style:{display:"flex",paddingLeft:"12px",paddingRight:"12px"}},t("div",{class:"calendar__column",ref:a=>this._hoursScroll=a,onScroll:()=>this.updateScroll(this._hoursScroll)},this._hoursLabel.map(((a,e)=>e===this.value.getHours()?t("div",{style:{display:"flex"},ref:a=>this._hoursSelect=a},t("div",{"data-hour":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-hour":a,class:"calendar__cell",onClick:()=>this.selectHours(e)},a),t("div",{class:"separatorTime"},":"))))),t("div",{class:"calendar__column",ref:a=>this._minutesScroll=a,onScroll:()=>this.updateScroll(this._minutesScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getMinutes()?t("div",{style:{display:"flex"},ref:a=>this._minutesSelect=a},t("div",{"data-minute":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":")):t("div",{style:{display:"flex"}},t("div",{"data-minute":a,class:"calendar__cell",onClick:()=>this.selectMinutes(e)},a),this.showSeconds&&t("div",{class:"separatorTime"},":"))))),this.showSeconds&&t("div",{class:"calendar__column",ref:a=>this._secondsScroll=a,onScroll:()=>this.updateScroll(this._secondsScroll)},this._minutosLabel.map(((a,e)=>e===this.value.getSeconds()?t("div",{"data-second":a,class:"calendar__cell calendar__cell--selected",onClick:()=>this.selectSeconds(e),ref:a=>this._secondsSelect=a},a):t("div",{"data-second":a,class:"calendar__cell",onClick:()=>this.selectSeconds(e)},a))))))))}get _hostElem(){return l(this)}static get watchers(){return{value:["observeValue"]}}};n.style=':host{--ez-calendar--font-family:var(--font-pattern, Arial);--ez-calendar--color:var(--title--primary, #626e82);--ez-calendar--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-calendar__body--background-color:var(--background--xlight, #FFF);--ez-calendar__time--background-color:var(--background--xlight, #FAFAFA);--ez-calendar__body--padding:var(--space--medium, 12px) var(--space--small, 6px);--ez-calendar__body--border-radius:var(--border--radius-medium, 12px);--ez-calendar__body--shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-container--z-index:var(--more-visible, 2);--ez-calendar__header-line--stroke:1px;--ez-calendar__header-line--color:var(--color--strokes, #C0C0C0);--ez-calendar__nav-btn--fill:var(--text--primary, #008561);--ez-calendar__nav-btn--hover--fill:var(--color--primary, #350404);--ez-calendar__nav-btn--width:10px;--ez-calendar__nav-btn--height:16px;--ez-calendar__nav-btn--previous-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--ez-calendar__nav-btn--next-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\');--ez-calendar__cell--margin:0px 1.5px;--ez-calendar__cell--width:var(--space--large, 24px);--ez-calendar__cell--padding:1.5px 0px;--ez-calendar__cell--border-radius:var(--border--radius-small, 6px);--ez-calendar__cell--over--background-color:var(--color--primary, #E2F4EF);--ez-calendar__cell--over--color:var(--color--primary-300, #008561);--ez-calendar__cell--outset--color:var(--color--disable-primary, #E5EAF0);--ez-calendar__cell--selected--background-color:var(--color--primary, #008561);--ez-calendar__cell--selected--color:var(--color--inverted, #FFF);--ez-calendar__btn-today--color:var(--color--primary);--ez-calendar__btn-today--hover--background-color:var(--color--primary-300, #E2F4EF);--ez-calendar__btn-today--border-radius:var(--border--radius-small, 6px);position:relative;display:flex;user-select:none}.calendar__container{display:flex;z-index:var(--more-visible, 2)}.calendar{display:flex;flex-direction:column;z-index:var(--more-visible, 2);background-color:var(--ez-calendar__body--background-color);padding:var(--ez-calendar__body--padding);border-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__header{display:flex;justify-content:space-between;padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color)}.calendar__btn-next,.calendar__btn-previous{outline:none;border:none;background-color:unset;cursor:pointer;padding:0px}.calendar__btn-next::after,.calendar__btn-previous::after{content:\'\';display:flex;background-color:var(--ez-calendar__nav-btn--fill);width:var(--ez-calendar__nav-btn--width);height:var(--ez-calendar__nav-btn--height)}.calendar__btn-previous::after{-webkit-mask-image:var(--ez-calendar__nav-btn--previous-image);mask-image:var(--ez-calendar__nav-btn--previous-image)}.calendar__btn-next::after{-webkit-mask-image:var(--ez-calendar__nav-btn--next-image);mask-image:var(--ez-calendar__nav-btn--next-image)}.calendar__btn-next:hover::after,.calendar__btn-previous:hover::after{background-color:var(--ez-calendar__nav-btn--hover--fill)}.calendar__lbl-month{font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__line{display:flex;padding:0px;margin:0px}.calendar__cell{display:flex;justify-content:center;align-content:center;cursor:pointer;font-size:var(--text--extra-small, 10px);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow);padding:var(--ez-calendar__cell--padding);margin:var(--ez-calendar__cell--margin);min-width:var(--ez-calendar__cell--width);border-radius:var(--ez-calendar__cell--border-radius)}.calendar__cell:hover{background-color:var(--ez-calendar__cell--over--background-color);color:var(--ez-calendar__cell--over--color)}.calendar__cell--secondary{color:var(--ez-calendar__cell--outset--color)}.calendar__cell--unselectable:hover{background-color:unset;border-radius:unset;cursor:unset;color:var(--ez-calendar--color)}.calendar__cell--unselectable{font-weight:var(--text-weight--large, 600);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.calendar__cell--selected,.calendar__cell--selected:hover{background-color:var(--ez-calendar__cell--selected--background-color);color:var(--ez-calendar__cell--selected--color)}.calendar__footer{display:flex;flex-direction:column}.calendar__btn-today{border:none;background-color:unset;cursor:pointer;padding:0px;font-weight:var(--text-weight--large, 600);font-size:var(--title--extra-small, 12px);font-family:var(--ez-calendar--font-family);text-shadow:var(--ez-calendar--text-shadow);color:var(--ez-calendar__btn-today--color);border-radius:var(--ez-calendar__btn-today--border-radius)}.calendar__btn-today:hover{background-color:var(--ez-calendar__btn-today--hover--background-color)}section{display:flex}.calendar-time{margin-left:-10px;display:flex;flex-direction:column;padding:12px 0px 0px 10px;background-color:var(--ez-calendar__time--background-color);border-top-right-radius:var(--ez-calendar__body--border-radius);border-bottom-right-radius:var(--ez-calendar__body--border-radius);box-shadow:var(--ez-calendar__body--shadow)}.calendar__column{height:136px;padding:0px;margin:0px;overflow:auto;scrollbar-width:none}.calendar__column::-webkit-scrollbar{width:0px;max-width:0px;min-width:0px}.calendar-time__header{display:flex;justify-content:space-between;padding-left:var(--space--small, 6px);padding-right:var(--space--small, 6px);padding-bottom:var(--space--small, 6px);margin:0px var(--space--, 12px) var(--space--small, 6px) var(--space--, 12px);font-weight:var(--text-weight--extra-large, 700);font-size:var(--title--small, 14px);text-shadow:var(--ez-calendar--text-shadow);border-bottom:solid var(--ez-calendar__header-line--stroke) var(--ez-calendar__header-line--color);font-family:var(--ez-calendar--font-family);color:var(--ez-calendar--color);text-shadow:var(--ez-calendar--text-shadow)}.separatorTime{color:#A2ABB9;padding:0px 1px;line-height:16px;font-size:17px;font-weight:normal}.endHidden{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 48px), transparent 100%)}.calendar__column .calendar__cell{margin:0px;padding:1.5px 1.5px}';export{n as ez_calendar}
Binary file
@@ -0,0 +1 @@
1
+ var D,R,n;!function(D){D.GRID="GRID",D.FORM="FORM"}(D||(D={})),function(D){D.GRID="GRID",D.FORM="FORM"}(R||(R={})),function(D){D.ADVANCED="ADVANCED",D.PREDICTIVE="PREDICTIVE",D.LOAD_DESCRIPTION="LOAD_DESCRIPTION",D.PRELOAD="PRELOAD"}(n||(n={}));export{D as C,n as S,R as a}
Binary file