@sankhyalabs/ezui 7.3.5-rc.1 → 7.3.5

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 (1163) hide show
  1. package/dist/cjs/{ApplicationUtils-34e43a14.js → ApplicationUtils-35a5354c.js} +1 -1
  2. package/dist/cjs/ApplicationUtils-35a5354c.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/{DataBinder-cdc66d4e.js → DataBinder-742af3eb.js} +4 -4
  6. package/dist/cjs/DataBinder-742af3eb.js.gz +0 -0
  7. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  8. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  9. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  10. package/dist/cjs/{types-6a5df0c7.js → FormLayout-18853e70.js} +6 -0
  11. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  12. package/dist/cjs/FormMetadata-d51a7331.js +220 -0
  13. package/dist/cjs/FormMetadata-d51a7331.js.gz +0 -0
  14. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  15. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  16. package/dist/cjs/{app-globals-a03da63f.js → app-globals-aff212c0.js} +1 -1
  17. package/dist/cjs/app-globals-aff212c0.js.gz +0 -0
  18. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  19. package/dist/cjs/ez-actions-button.cjs.entry.js +3 -4
  20. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  21. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  23. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  24. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  25. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  27. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  28. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  29. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  30. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  32. package/dist/cjs/{ez-multi-selection-list_5.cjs.entry.js → ez-card-item_5.cjs.entry.js} +56 -222
  33. package/dist/cjs/ez-card-item_5.cjs.entry.js.gz +0 -0
  34. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  35. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  36. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  37. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +15 -38
  38. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  39. package/dist/cjs/ez-classic-input.cjs.entry.js +18 -144
  40. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  41. package/dist/cjs/ez-classic-text-area.cjs.entry.js +2 -13
  42. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  43. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -4
  44. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  45. package/dist/cjs/{classic-search-list_11.cjs.entry.js → ez-combo-box-list_8.cjs.entry.js} +4 -363
  46. package/dist/cjs/ez-combo-box-list_8.cjs.entry.js.gz +0 -0
  47. package/dist/cjs/ez-combo-box.cjs.entry.js +3 -4
  48. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  49. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  51. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  53. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  55. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  57. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  59. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  60. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  61. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  62. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  63. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  64. package/dist/cjs/ez-filter.cjs.entry.js +4 -4
  65. package/dist/cjs/ez-filter.cjs.entry.js.gz +0 -0
  66. package/dist/cjs/ez-form-view.cjs.entry.js +37 -130
  67. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  68. package/dist/cjs/ez-form.cjs.entry.js +9 -14
  69. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  70. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  71. package/dist/cjs/ez-grid.cjs.entry.js +160 -216
  72. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  73. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  74. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  75. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  76. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  77. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  78. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  79. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  80. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  81. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  82. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  83. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  84. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  85. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  86. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  87. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  88. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  89. package/dist/cjs/ez-popover-core.cjs.entry.js +227 -0
  90. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  91. package/dist/cjs/ez-popover.cjs.entry.js +0 -8
  92. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  93. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  94. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  95. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  96. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  97. package/dist/cjs/ez-rich-toolbar-arrows_3.cjs.entry.js +1 -1
  98. package/dist/cjs/ez-rich-toolbar-arrows_3.cjs.entry.js.gz +0 -0
  99. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  100. package/dist/cjs/ez-scroller_2.cjs.entry.js +14 -81
  101. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  102. package/dist/cjs/ez-search-plus.cjs.entry.js +8 -18
  103. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  104. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  105. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  106. package/dist/cjs/ez-search.cjs.entry.js +11 -49
  107. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  108. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  109. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  110. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  111. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  112. package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
  113. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  114. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  115. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  116. package/dist/cjs/ez-split-button.cjs.entry.js +17 -16
  117. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  118. package/dist/cjs/ez-split-item.cjs.entry.js +5 -7
  119. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  120. package/dist/cjs/ez-split-panel.cjs.entry.js +4 -6
  121. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  122. package/dist/cjs/ez-tabselector.cjs.entry.js +61 -209
  123. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  124. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  125. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  126. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  127. package/dist/cjs/ez-text-input.cjs.entry.js +0 -37
  128. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  129. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  130. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  131. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  132. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  133. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  134. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  135. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  136. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  137. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  138. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  139. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  140. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  141. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  142. package/dist/cjs/ezui.cjs.js +3 -3
  143. package/dist/cjs/ezui.cjs.js.gz +0 -0
  144. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  145. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  146. package/dist/cjs/floating-ui.dom.esm-4a0428c0.js.gz +0 -0
  147. package/dist/cjs/{index-f98939e1.js → index-24587208.js} +12 -165
  148. package/dist/cjs/index-24587208.js.gz +0 -0
  149. package/dist/cjs/index-a7b0c73d.js +26 -58
  150. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  151. package/dist/cjs/index.cjs.js.gz +0 -0
  152. package/dist/cjs/loader.cjs.js +3 -3
  153. package/dist/cjs/loader.cjs.js.gz +0 -0
  154. package/dist/cjs/purify-ef86f048.js.gz +0 -0
  155. package/dist/cjs/{search-column-f1c7a355.js → search-column-58102e1b.js} +6 -8
  156. package/dist/cjs/search-column-58102e1b.js.gz +0 -0
  157. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  158. package/dist/collection/collection-manifest.json +3 -64
  159. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  160. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  161. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  162. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  163. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  164. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  165. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  166. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  167. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  168. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  169. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  170. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  171. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  172. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  173. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  174. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  175. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  176. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  177. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  178. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  179. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  180. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  181. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  182. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  183. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  184. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  185. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  186. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  187. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  188. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  189. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  190. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  191. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  192. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  193. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  194. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  195. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  196. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  197. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  198. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  199. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  200. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  201. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  202. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  203. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  204. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  205. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +0 -5
  206. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  207. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +18 -96
  208. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  209. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  210. package/dist/collection/components/ez-classic-input/ez-classic-input.css +5 -33
  211. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  212. package/dist/collection/components/ez-classic-input/ez-classic-input.js +19 -200
  213. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  214. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  215. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  216. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +2 -3
  217. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  218. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +1 -32
  219. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  220. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  221. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  222. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  223. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  224. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  225. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  226. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  227. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  228. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  229. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  230. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  231. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  232. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  233. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  234. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  235. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  236. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  237. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  238. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  239. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  240. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  241. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  242. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  243. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  244. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  245. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  246. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  247. package/dist/collection/components/ez-filter/ez-filter.css.gz +0 -0
  248. package/dist/collection/components/ez-filter/ez-filter.js.gz +0 -0
  249. package/dist/collection/components/ez-filter/interfaces/IFilterChange.js.gz +0 -0
  250. package/dist/collection/components/ez-filter/interfaces/IFilterCustomField.js.gz +0 -0
  251. package/dist/collection/components/ez-filter/interfaces/index.js.gz +0 -0
  252. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  253. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  254. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  255. package/dist/collection/components/ez-form/ez-form.js +4 -30
  256. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  257. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  258. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  259. package/dist/collection/components/ez-form-view/ez-form-view.css +8 -27
  260. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  261. package/dist/collection/components/ez-form-view/ez-form-view.js +4 -62
  262. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  263. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +4 -9
  264. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  265. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +6 -9
  266. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  267. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -8
  268. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  269. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +6 -30
  270. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  271. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  272. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  273. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
  274. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +5 -12
  275. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  276. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
  277. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  278. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +3 -9
  279. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  280. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +1 -8
  281. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  282. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -7
  283. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  284. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -8
  285. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  286. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  287. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  288. package/dist/collection/components/ez-form-view/structure/index.js +1 -1
  289. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  290. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  291. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +13 -138
  292. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  293. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +1 -11
  294. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  295. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  296. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  297. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  298. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  299. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  300. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  301. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  302. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  303. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  304. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  305. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  306. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  307. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  308. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  309. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  310. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  311. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  312. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  313. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  314. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  315. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  316. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  317. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  318. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  319. package/dist/collection/components/ez-grid/ez-grid.css +60 -5
  320. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  321. package/dist/collection/components/ez-grid/ez-grid.js +150 -52
  322. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  323. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  324. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  325. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  326. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  327. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  328. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  329. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  330. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  331. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  332. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  333. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  334. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  335. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  336. package/dist/collection/components/ez-grid/utils/index.js +0 -1
  337. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  338. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  339. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  340. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  341. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  342. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  343. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  344. package/dist/collection/components/ez-icon/ez-icon.css +7 -8
  345. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  346. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  347. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  348. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  349. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  350. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  351. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  352. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  353. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  354. package/dist/collection/components/ez-modal/ez-modal.css +0 -3
  355. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  356. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  357. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  358. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  359. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  360. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  361. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  362. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
  363. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
  364. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  365. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  366. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  367. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  368. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  369. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  370. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  371. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  372. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  373. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  374. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  375. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  376. package/dist/collection/components/ez-popover/ez-popover.js +0 -27
  377. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  378. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  379. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  380. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  381. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  382. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  383. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  384. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  385. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  386. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  387. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  388. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  389. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  390. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  391. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  392. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  393. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  394. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  395. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  396. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  397. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  398. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  399. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  400. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  401. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  402. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  403. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  404. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  405. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  406. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  407. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  408. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  409. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  410. package/dist/collection/components/ez-scroller/ez-scroller.css +11 -117
  411. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  412. package/dist/collection/components/ez-scroller/ez-scroller.js +13 -118
  413. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  414. package/dist/collection/components/ez-search/ez-search.css +0 -4
  415. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  416. package/dist/collection/components/ez-search/ez-search.js +3 -75
  417. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  418. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  419. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  420. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  421. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  422. package/dist/collection/components/ez-search-plus/ez-search-plus.js +2 -11
  423. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  424. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  425. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  426. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  427. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  428. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  429. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  430. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  431. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  432. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  433. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  434. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  435. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  436. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  437. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  438. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  439. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  440. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  441. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  442. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  443. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  444. package/dist/collection/components/ez-split-button/ez-split-button.js +15 -20
  445. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  446. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  447. package/dist/collection/components/ez-split-panel/ez-split-panel.css +0 -29
  448. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  449. package/dist/collection/components/ez-split-panel/ez-split-panel.js +3 -23
  450. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  451. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  452. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +0 -9
  453. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  454. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +1 -20
  455. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  456. package/dist/collection/components/ez-tabselector/ez-tabselector.css +1 -33
  457. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  458. package/dist/collection/components/ez-tabselector/ez-tabselector.js +62 -254
  459. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  460. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  461. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  462. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  463. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  464. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  465. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  466. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  467. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  468. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  469. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  470. package/dist/collection/components/ez-text-input/ez-text-input.js +1 -38
  471. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  472. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  473. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  474. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  475. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  476. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  477. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  478. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  479. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  480. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  481. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  482. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  483. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  484. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  485. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  486. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  487. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  488. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  489. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  490. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  491. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  492. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  493. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  494. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  495. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  496. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  497. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  498. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  499. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  500. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  501. package/dist/collection/global/app-init.js.gz +0 -0
  502. package/dist/collection/index.js.gz +0 -0
  503. package/dist/collection/servidor.js.gz +0 -0
  504. package/dist/collection/setupTests.js.gz +0 -0
  505. package/dist/collection/sw.js.gz +0 -0
  506. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  507. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  508. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  509. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  510. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  511. package/dist/collection/utils/constants.js.gz +0 -0
  512. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  513. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  514. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  515. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  516. package/dist/collection/utils/form/DataBinder.js +2 -2
  517. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  518. package/dist/collection/utils/form/FormMetadata.js +74 -132
  519. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  520. package/dist/collection/utils/form/index.js.gz +0 -0
  521. package/dist/collection/utils/form/interfaces/FormLayout.js +1 -3
  522. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  523. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  524. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  525. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  526. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  527. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  528. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  529. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  530. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  531. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  532. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  533. package/dist/collection/utils/i18n/index.js.gz +0 -0
  534. package/dist/collection/utils/i18n/locales/en-us.js +4 -55
  535. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  536. package/dist/collection/utils/i18n/locales/es-es.js +4 -55
  537. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  538. package/dist/collection/utils/i18n/locales/pt-br.js +4 -55
  539. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  540. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  541. package/dist/collection/utils/index.js.gz +0 -0
  542. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  543. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  544. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  545. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  546. package/dist/collection/utils/search/types.js.gz +0 -0
  547. package/dist/collection/utils/searchColumn/search-column.js +6 -8
  548. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  549. package/dist/collection/utils/utils.js.gz +0 -0
  550. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  551. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  552. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  553. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  554. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  555. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  556. package/dist/custom-elements/index.d.ts +0 -66
  557. package/dist/custom-elements/index.js +465 -4031
  558. package/dist/custom-elements/index.js.gz +0 -0
  559. package/dist/esm/{ApplicationUtils-aaf24be5.js → ApplicationUtils-cb109a04.js} +1 -1
  560. package/dist/esm/ApplicationUtils-cb109a04.js.gz +0 -0
  561. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  562. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  563. package/dist/esm/{DataBinder-81d15b1b.js → DataBinder-0a4d28c2.js} +4 -4
  564. package/dist/esm/DataBinder-0a4d28c2.js.gz +0 -0
  565. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  566. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  567. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  568. package/dist/esm/{types-6f6b2650.js → FormLayout-071d324c.js} +7 -1
  569. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  570. package/dist/esm/FormMetadata-6f14e2fe.js +218 -0
  571. package/dist/esm/FormMetadata-6f14e2fe.js.gz +0 -0
  572. package/dist/esm/RichToolbarHelper-cad0978a.js.gz +0 -0
  573. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  574. package/dist/esm/{app-globals-d5fb68f0.js → app-globals-86530738.js} +1 -1
  575. package/dist/esm/app-globals-86530738.js.gz +0 -0
  576. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  577. package/dist/esm/ez-actions-button.entry.js +3 -4
  578. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  579. package/dist/esm/ez-alert-list.entry.js +1 -1
  580. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  581. package/dist/esm/ez-alert.entry.js.gz +0 -0
  582. package/dist/esm/ez-application.entry.js.gz +0 -0
  583. package/dist/esm/ez-avatar.entry.js +1 -1
  584. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  585. package/dist/esm/ez-badge.entry.js.gz +0 -0
  586. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  587. package/dist/esm/ez-button.entry.js.gz +0 -0
  588. package/dist/esm/ez-calendar.entry.js +1 -1
  589. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  590. package/dist/esm/{ez-multi-selection-list_5.entry.js → ez-card-item_5.entry.js} +58 -224
  591. package/dist/esm/ez-card-item_5.entry.js.gz +0 -0
  592. package/dist/esm/ez-chart.entry.js.gz +0 -0
  593. package/dist/esm/ez-check.entry.js.gz +0 -0
  594. package/dist/esm/ez-chip.entry.js.gz +0 -0
  595. package/dist/esm/ez-classic-combo-box.entry.js +15 -38
  596. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  597. package/dist/esm/ez-classic-input.entry.js +19 -145
  598. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  599. package/dist/esm/ez-classic-text-area.entry.js +2 -13
  600. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  601. package/dist/esm/ez-collapsible-box.entry.js +3 -4
  602. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  603. package/dist/esm/{classic-search-list_11.entry.js → ez-combo-box-list_8.entry.js} +6 -362
  604. package/dist/esm/ez-combo-box-list_8.entry.js.gz +0 -0
  605. package/dist/esm/ez-combo-box.entry.js +3 -4
  606. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  607. package/dist/esm/ez-date-input.entry.js +1 -1
  608. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  609. package/dist/esm/ez-date-time-input.entry.js +1 -1
  610. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  611. package/dist/esm/ez-dialog.entry.js +1 -1
  612. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  613. package/dist/esm/ez-double-list.entry.js +1 -1
  614. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  615. package/dist/esm/ez-dropdown.entry.js +1 -1
  616. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  617. package/dist/esm/ez-empty-card.entry.js +1 -1
  618. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  619. package/dist/esm/ez-file-item.entry.js +1 -1
  620. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  621. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  622. package/dist/esm/ez-filter.entry.js +4 -4
  623. package/dist/esm/ez-filter.entry.js.gz +0 -0
  624. package/dist/esm/ez-form-view.entry.js +37 -130
  625. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  626. package/dist/esm/ez-form.entry.js +9 -14
  627. package/dist/esm/ez-form.entry.js.gz +0 -0
  628. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  629. package/dist/esm/ez-grid.entry.js +159 -215
  630. package/dist/esm/ez-grid.entry.js.gz +0 -0
  631. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  632. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  633. package/dist/esm/ez-icon.entry.js +1 -1
  634. package/dist/esm/ez-icon.entry.js.gz +0 -0
  635. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  636. package/dist/esm/ez-list.entry.js +1 -1
  637. package/dist/esm/ez-list.entry.js.gz +0 -0
  638. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  639. package/dist/esm/ez-modal-container.entry.js +1 -1
  640. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  641. package/dist/esm/ez-modal.entry.js +2 -2
  642. package/dist/esm/ez-modal.entry.js.gz +0 -0
  643. package/dist/esm/ez-number-input.entry.js +1 -1
  644. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  645. package/dist/esm/ez-pagination.entry.js +1 -1
  646. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  647. package/dist/esm/ez-popover-core.entry.js +223 -0
  648. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  649. package/dist/esm/ez-popover.entry.js +0 -8
  650. package/dist/esm/ez-popover.entry.js.gz +0 -0
  651. package/dist/esm/ez-popup.entry.js +1 -1
  652. package/dist/esm/ez-popup.entry.js.gz +0 -0
  653. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  654. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  655. package/dist/esm/ez-rich-toolbar-arrows_3.entry.js +1 -1
  656. package/dist/esm/ez-rich-toolbar-arrows_3.entry.js.gz +0 -0
  657. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  658. package/dist/esm/ez-scroller_2.entry.js +14 -81
  659. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  660. package/dist/esm/ez-search-plus.entry.js +5 -15
  661. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  662. package/dist/esm/ez-search-result-list.entry.js +1 -1
  663. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  664. package/dist/esm/ez-search.entry.js +6 -44
  665. package/dist/esm/ez-search.entry.js.gz +0 -0
  666. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  667. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  668. package/dist/esm/ez-skeleton.entry.js +1 -1
  669. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  670. package/dist/esm/ez-sortable-list.entry.js +2 -2
  671. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  672. package/dist/esm/ez-spinner.entry.js +1 -1
  673. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  674. package/dist/esm/ez-split-button.entry.js +17 -16
  675. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  676. package/dist/esm/ez-split-item.entry.js +5 -7
  677. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  678. package/dist/esm/ez-split-panel.entry.js +4 -6
  679. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  680. package/dist/esm/ez-tabselector.entry.js +61 -209
  681. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  682. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  683. package/dist/esm/ez-tag.entry.js.gz +0 -0
  684. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  685. package/dist/esm/ez-text-input.entry.js +0 -37
  686. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  687. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  688. package/dist/esm/ez-tile.entry.js.gz +0 -0
  689. package/dist/esm/ez-time-input.entry.js +1 -1
  690. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  691. package/dist/esm/ez-toast.entry.js.gz +0 -0
  692. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  693. package/dist/esm/ez-tree.entry.js +1 -1
  694. package/dist/esm/ez-tree.entry.js.gz +0 -0
  695. package/dist/esm/ez-underface.entry.js.gz +0 -0
  696. package/dist/esm/ez-upload.entry.js +2 -2
  697. package/dist/esm/ez-upload.entry.js.gz +0 -0
  698. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  699. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  700. package/dist/esm/ezui.js +3 -3
  701. package/dist/esm/ezui.js.gz +0 -0
  702. package/dist/esm/filter-column.entry.js +1 -1
  703. package/dist/esm/filter-column.entry.js.gz +0 -0
  704. package/dist/esm/floating-ui.dom.esm-ffa73324.js.gz +0 -0
  705. package/dist/esm/{index-d37095f4.js → index-b46be1e9.js} +12 -165
  706. package/dist/esm/index-b46be1e9.js.gz +0 -0
  707. package/dist/esm/index-baa5e267.js +26 -58
  708. package/dist/esm/index-baa5e267.js.gz +0 -0
  709. package/dist/esm/index.js.gz +0 -0
  710. package/dist/esm/loader.js +3 -3
  711. package/dist/esm/loader.js.gz +0 -0
  712. package/dist/esm/polyfills/core-js.js.gz +0 -0
  713. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  714. package/dist/esm/polyfills/dom.js.gz +0 -0
  715. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  716. package/dist/esm/polyfills/index.js.gz +0 -0
  717. package/dist/esm/polyfills/system.js.gz +0 -0
  718. package/dist/esm/purify-96c0d5c2.js.gz +0 -0
  719. package/dist/esm/{search-column-8b15de9a.js → search-column-52c9c7ec.js} +6 -8
  720. package/dist/esm/search-column-52c9c7ec.js.gz +0 -0
  721. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  722. package/dist/ezui/ezui.esm.js +1 -1
  723. package/dist/ezui/ezui.esm.js.gz +0 -0
  724. package/dist/ezui/index.esm.js.gz +0 -0
  725. package/dist/ezui/p-00b4fb46.entry.js +1 -0
  726. package/dist/ezui/p-00b4fb46.entry.js.gz +0 -0
  727. package/dist/ezui/p-0491c09f.js +1 -0
  728. package/dist/ezui/p-0491c09f.js.gz +0 -0
  729. package/dist/ezui/{p-bd7c1dd6.entry.js → p-064e6bec.entry.js} +1 -1
  730. package/dist/ezui/p-064e6bec.entry.js.gz +0 -0
  731. package/dist/ezui/{p-1b3151a3.entry.js → p-09071033.entry.js} +1 -1
  732. package/dist/ezui/p-09071033.entry.js.gz +0 -0
  733. package/dist/ezui/{p-9c0fdc8e.entry.js → p-099a9c4d.entry.js} +1 -1
  734. package/dist/ezui/p-099a9c4d.entry.js.gz +0 -0
  735. package/dist/ezui/p-0cd1da46.entry.js +1 -0
  736. package/dist/ezui/p-0cd1da46.entry.js.gz +0 -0
  737. package/dist/ezui/p-0ec37151.entry.js +1 -0
  738. package/dist/ezui/p-0ec37151.entry.js.gz +0 -0
  739. package/dist/ezui/{p-e95d93ba.entry.js → p-100d5993.entry.js} +1 -1
  740. package/dist/ezui/p-100d5993.entry.js.gz +0 -0
  741. package/dist/ezui/p-112455b1.js.gz +0 -0
  742. package/dist/ezui/{p-4c61a6df.entry.js → p-11a12e01.entry.js} +46 -46
  743. package/dist/ezui/p-11a12e01.entry.js.gz +0 -0
  744. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  745. package/dist/ezui/p-1f3867a8.entry.js +1 -0
  746. package/dist/ezui/p-1f3867a8.entry.js.gz +0 -0
  747. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  748. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  749. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  750. package/dist/ezui/p-2566cfac.entry.js +1 -0
  751. package/dist/ezui/p-2566cfac.entry.js.gz +0 -0
  752. package/dist/ezui/p-288631d1.entry.js +1 -0
  753. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  754. package/dist/ezui/{p-05af2c30.entry.js → p-2990acff.entry.js} +1 -1
  755. package/dist/ezui/p-2990acff.entry.js.gz +0 -0
  756. package/dist/ezui/p-30ffb9ed.js +1 -0
  757. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  758. package/dist/ezui/{p-e2defb84.entry.js → p-31add07b.entry.js} +1 -1
  759. package/dist/ezui/p-31add07b.entry.js.gz +0 -0
  760. package/dist/ezui/p-332d7425.js +1 -0
  761. package/dist/ezui/p-332d7425.js.gz +0 -0
  762. package/dist/ezui/{p-62f331fe.entry.js → p-339bebe2.entry.js} +1 -1
  763. package/dist/ezui/p-339bebe2.entry.js.gz +0 -0
  764. package/dist/ezui/{p-2b467976.entry.js → p-34d4e4a7.entry.js} +1 -1
  765. package/dist/ezui/p-34d4e4a7.entry.js.gz +0 -0
  766. package/dist/ezui/p-359430a5.entry.js.gz +0 -0
  767. package/dist/ezui/{p-3ff798b2.entry.js → p-35af6a55.entry.js} +1 -1
  768. package/dist/ezui/p-35af6a55.entry.js.gz +0 -0
  769. package/dist/ezui/{p-d878fb19.js → p-36805134.js} +1 -1
  770. package/dist/ezui/p-36805134.js.gz +0 -0
  771. package/dist/ezui/p-3c04dc5f.entry.js +1 -0
  772. package/dist/ezui/p-3c04dc5f.entry.js.gz +0 -0
  773. package/dist/ezui/{p-7a0a96fa.entry.js → p-3eff2f33.entry.js} +1 -1
  774. package/dist/ezui/p-3eff2f33.entry.js.gz +0 -0
  775. package/dist/ezui/p-40a60148.js.gz +0 -0
  776. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  777. package/dist/ezui/p-48effc69.entry.js +1 -0
  778. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  779. package/dist/ezui/{p-b50289bb.entry.js → p-4d30b703.entry.js} +1 -1
  780. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  781. package/dist/ezui/p-58946f57.entry.js +1 -0
  782. package/dist/ezui/p-58946f57.entry.js.gz +0 -0
  783. package/dist/ezui/{p-68107165.entry.js → p-5b23a588.entry.js} +1 -1
  784. package/dist/ezui/p-5b23a588.entry.js.gz +0 -0
  785. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  786. package/dist/ezui/p-6020f3d5.entry.js +1 -0
  787. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  788. package/dist/ezui/{p-4f48f23a.entry.js → p-6bff4bc7.entry.js} +1 -1
  789. package/dist/ezui/p-6bff4bc7.entry.js.gz +0 -0
  790. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  791. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  792. package/dist/ezui/{p-8ddeb58b.entry.js → p-6f918dc7.entry.js} +1 -1
  793. package/dist/ezui/p-6f918dc7.entry.js.gz +0 -0
  794. package/dist/ezui/{p-9bff4320.entry.js → p-716b0cd4.entry.js} +1 -1
  795. package/dist/ezui/p-716b0cd4.entry.js.gz +0 -0
  796. package/dist/ezui/p-71c26308.js +1 -0
  797. package/dist/ezui/p-71c26308.js.gz +0 -0
  798. package/dist/ezui/{p-e11574fb.entry.js → p-74b2132a.entry.js} +1 -1
  799. package/dist/ezui/p-74b2132a.entry.js.gz +0 -0
  800. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  801. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  802. package/dist/ezui/p-7fe97ef5.entry.js +1 -0
  803. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  804. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  805. package/dist/ezui/{p-5a1abe6a.entry.js → p-81c2ee7a.entry.js} +1 -1
  806. package/dist/ezui/p-81c2ee7a.entry.js.gz +0 -0
  807. package/dist/ezui/p-8319329d.entry.js +1 -0
  808. package/dist/ezui/p-8319329d.entry.js.gz +0 -0
  809. package/dist/ezui/p-85859884.entry.js +1 -0
  810. package/dist/ezui/p-85859884.entry.js.gz +0 -0
  811. package/dist/ezui/p-86cadb4d.entry.js +1 -0
  812. package/dist/ezui/p-86cadb4d.entry.js.gz +0 -0
  813. package/dist/ezui/{p-c086e527.entry.js → p-86cc374a.entry.js} +1 -1
  814. package/dist/ezui/p-86cc374a.entry.js.gz +0 -0
  815. package/dist/ezui/p-8b123c6c.entry.js +1 -0
  816. package/dist/ezui/p-8b123c6c.entry.js.gz +0 -0
  817. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  818. package/dist/ezui/p-8ebe11f4.js.gz +0 -0
  819. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  820. package/dist/ezui/{p-0ec3061a.entry.js → p-935da85d.entry.js} +1 -1
  821. package/dist/ezui/p-935da85d.entry.js.gz +0 -0
  822. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  823. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  824. package/dist/ezui/{p-8d346a47.entry.js → p-99574818.entry.js} +1 -1
  825. package/dist/ezui/p-99574818.entry.js.gz +0 -0
  826. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  827. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  828. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  829. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  830. package/dist/ezui/p-a80b1287.entry.js +1 -0
  831. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  832. package/dist/ezui/p-ab574d59.js.gz +0 -0
  833. package/dist/ezui/{p-1878f204.entry.js → p-af692346.entry.js} +1 -1
  834. package/dist/ezui/p-af692346.entry.js.gz +0 -0
  835. package/dist/ezui/p-b1e45320.js.gz +0 -0
  836. package/dist/ezui/p-b50ed164.js.gz +0 -0
  837. package/dist/ezui/p-b853763b.js.gz +0 -0
  838. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  839. package/dist/ezui/p-bfbf8909.js +1 -0
  840. package/dist/ezui/p-bfbf8909.js.gz +0 -0
  841. package/dist/ezui/{p-ff79e5c2.entry.js → p-c3133b15.entry.js} +1 -1
  842. package/dist/ezui/p-c3133b15.entry.js.gz +0 -0
  843. package/dist/ezui/{p-ca707def.entry.js → p-c4234a7f.entry.js} +2 -2
  844. package/dist/ezui/p-c4234a7f.entry.js.gz +0 -0
  845. package/dist/ezui/p-c806d8d5.entry.js +1 -0
  846. package/dist/ezui/p-c806d8d5.entry.js.gz +0 -0
  847. package/dist/ezui/p-cb24cb7f.entry.js +1 -0
  848. package/dist/ezui/p-cb24cb7f.entry.js.gz +0 -0
  849. package/dist/ezui/p-ceab817e.entry.js +1 -0
  850. package/dist/ezui/p-ceab817e.entry.js.gz +0 -0
  851. package/dist/ezui/p-d2645bdf.entry.js +1 -0
  852. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  853. package/dist/ezui/{p-ce4d51eb.entry.js → p-d4d2ce43.entry.js} +1 -1
  854. package/dist/ezui/p-d4d2ce43.entry.js.gz +0 -0
  855. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  856. package/dist/ezui/{p-65215a4f.entry.js → p-d8b979af.entry.js} +1 -1
  857. package/dist/ezui/p-d8b979af.entry.js.gz +0 -0
  858. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  859. package/dist/ezui/{p-af0196b7.entry.js → p-d8f31356.entry.js} +1 -1
  860. package/dist/ezui/p-d8f31356.entry.js.gz +0 -0
  861. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  862. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  863. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  864. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  865. package/dist/ezui/p-ec7db713.js.gz +0 -0
  866. package/dist/ezui/p-f00c9dc2.entry.js +1 -0
  867. package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
  868. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  869. package/dist/ezui/{p-7f7b4b9b.js → p-f61fc4f4.js} +1 -1
  870. package/dist/ezui/p-f61fc4f4.js.gz +0 -0
  871. package/dist/ezui/p-f7b8d2b9.entry.js +1 -0
  872. package/dist/ezui/p-f7b8d2b9.entry.js.gz +0 -0
  873. package/dist/ezui/p-f90e8299.js.gz +0 -0
  874. package/dist/ezui/{p-efea2c79.entry.js → p-fa6732f2.entry.js} +1 -1
  875. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  876. package/dist/index.cjs.js.gz +0 -0
  877. package/dist/index.js.gz +0 -0
  878. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +3 -11
  879. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +1 -24
  880. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +0 -3
  881. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  882. package/dist/types/components/ez-form/ez-form.d.ts +0 -6
  883. package/dist/types/components/ez-form-view/ez-form-view.d.ts +0 -11
  884. package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +2 -3
  885. package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +1 -2
  886. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +4 -5
  887. package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +1 -2
  888. package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +2 -3
  889. package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +1 -2
  890. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +1 -2
  891. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +1 -2
  892. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +1 -2
  893. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -2
  894. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +0 -2
  895. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +0 -14
  896. package/dist/types/components/ez-grid/ez-grid.d.ts +27 -10
  897. package/dist/types/components/ez-grid/utils/index.d.ts +0 -1
  898. package/dist/types/components/ez-popover/ez-popover.d.ts +0 -9
  899. package/dist/types/components/ez-scroller/ez-scroller.d.ts +2 -16
  900. package/dist/types/components/ez-search/ez-search.d.ts +1 -12
  901. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +0 -1
  902. package/dist/types/components/ez-split-button/ez-split-button.d.ts +2 -1
  903. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +0 -4
  904. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +0 -4
  905. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +20 -42
  906. package/dist/types/components/ez-text-input/ez-text-input.d.ts +0 -4
  907. package/dist/types/components.d.ts +2139 -3602
  908. package/dist/types/utils/form/FormMetadata.d.ts +1 -2
  909. package/dist/types/utils/form/interfaces/FormLayout.d.ts +1 -3
  910. package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +0 -3
  911. package/dist/types/utils/form/interfaces/ITabConfig.d.ts +0 -3
  912. package/dist/types/utils/i18n/locales/en-us.d.ts +3 -54
  913. package/dist/types/utils/i18n/locales/es-es.d.ts +3 -54
  914. package/dist/types/utils/i18n/locales/pt-br.d.ts +3 -54
  915. package/dist/types/utils/i18n/translations.d.ts +9 -162
  916. package/package.json +4 -4
  917. package/react/components.d.ts +0 -11
  918. package/react/components.js +0 -11
  919. package/react/components.js.map +1 -1
  920. package/dist/cjs/ApplicationUtils-34e43a14.js.gz +0 -0
  921. package/dist/cjs/DataBinder-cdc66d4e.js.gz +0 -0
  922. package/dist/cjs/FormLayout-fe8da83c.js +0 -9
  923. package/dist/cjs/FormLayout-fe8da83c.js.gz +0 -0
  924. package/dist/cjs/FormMetadata-16c68f51.js +0 -278
  925. package/dist/cjs/FormMetadata-16c68f51.js.gz +0 -0
  926. package/dist/cjs/app-globals-a03da63f.js.gz +0 -0
  927. package/dist/cjs/classic-search-list_11.cjs.entry.js.gz +0 -0
  928. package/dist/cjs/ez-card-item.cjs.entry.js +0 -62
  929. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  930. package/dist/cjs/ez-classic-date-input.cjs.entry.js +0 -201
  931. package/dist/cjs/ez-classic-date-input.cjs.entry.js.gz +0 -0
  932. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +0 -246
  933. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js.gz +0 -0
  934. package/dist/cjs/ez-classic-number-input.cjs.entry.js +0 -205
  935. package/dist/cjs/ez-classic-number-input.cjs.entry.js.gz +0 -0
  936. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +0 -420
  937. package/dist/cjs/ez-classic-search-plus.cjs.entry.js.gz +0 -0
  938. package/dist/cjs/ez-classic-search.cjs.entry.js +0 -683
  939. package/dist/cjs/ez-classic-search.cjs.entry.js.gz +0 -0
  940. package/dist/cjs/ez-classic-time-input.cjs.entry.js +0 -198
  941. package/dist/cjs/ez-classic-time-input.cjs.entry.js.gz +0 -0
  942. package/dist/cjs/ez-grid-pagination.cjs.entry.js +0 -331
  943. package/dist/cjs/ez-grid-pagination.cjs.entry.js.gz +0 -0
  944. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js.gz +0 -0
  945. package/dist/cjs/ez-record-navigation.cjs.entry.js +0 -121
  946. package/dist/cjs/ez-record-navigation.cjs.entry.js.gz +0 -0
  947. package/dist/cjs/index-f98939e1.js.gz +0 -0
  948. package/dist/cjs/search-column-f1c7a355.js.gz +0 -0
  949. package/dist/cjs/searchFormatters-051f8677.js +0 -23
  950. package/dist/cjs/searchFormatters-051f8677.js.gz +0 -0
  951. package/dist/cjs/types-6a5df0c7.js.gz +0 -0
  952. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +0 -44
  953. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css.gz +0 -0
  954. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +0 -541
  955. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js.gz +0 -0
  956. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +0 -44
  957. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css.gz +0 -0
  958. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +0 -586
  959. package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js.gz +0 -0
  960. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +0 -16
  961. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css.gz +0 -0
  962. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +0 -583
  963. package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js.gz +0 -0
  964. package/dist/collection/components/ez-classic-search/ez-classic-search.css +0 -126
  965. package/dist/collection/components/ez-classic-search/ez-classic-search.css.gz +0 -0
  966. package/dist/collection/components/ez-classic-search/ez-classic-search.js +0 -1330
  967. package/dist/collection/components/ez-classic-search/ez-classic-search.js.gz +0 -0
  968. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +0 -227
  969. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css.gz +0 -0
  970. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +0 -316
  971. package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js.gz +0 -0
  972. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +0 -18
  973. package/dist/collection/components/ez-classic-search/utils/searchFormatters.js.gz +0 -0
  974. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +0 -428
  975. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css.gz +0 -0
  976. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +0 -1003
  977. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js.gz +0 -0
  978. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +0 -221
  979. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css.gz +0 -0
  980. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +0 -298
  981. package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js.gz +0 -0
  982. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +0 -14
  983. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css.gz +0 -0
  984. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +0 -512
  985. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js.gz +0 -0
  986. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js +0 -4
  987. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js.gz +0 -0
  988. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +0 -23
  989. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js.gz +0 -0
  990. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +0 -24
  991. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js.gz +0 -0
  992. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +0 -1
  993. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js.gz +0 -0
  994. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +0 -217
  995. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css.gz +0 -0
  996. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +0 -516
  997. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js.gz +0 -0
  998. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js +0 -1
  999. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js.gz +0 -0
  1000. package/dist/collection/components/ez-image-input/ez-image-input.css +0 -189
  1001. package/dist/collection/components/ez-image-input/ez-image-input.css.gz +0 -0
  1002. package/dist/collection/components/ez-image-input/ez-image-input.js +0 -329
  1003. package/dist/collection/components/ez-image-input/ez-image-input.js.gz +0 -0
  1004. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +0 -51
  1005. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css.gz +0 -0
  1006. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +0 -246
  1007. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js.gz +0 -0
  1008. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +0 -5
  1009. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js.gz +0 -0
  1010. package/dist/esm/ApplicationUtils-aaf24be5.js.gz +0 -0
  1011. package/dist/esm/DataBinder-81d15b1b.js.gz +0 -0
  1012. package/dist/esm/FormLayout-bda67973.js +0 -9
  1013. package/dist/esm/FormLayout-bda67973.js.gz +0 -0
  1014. package/dist/esm/FormMetadata-112f11d8.js +0 -276
  1015. package/dist/esm/FormMetadata-112f11d8.js.gz +0 -0
  1016. package/dist/esm/app-globals-d5fb68f0.js.gz +0 -0
  1017. package/dist/esm/classic-search-list_11.entry.js.gz +0 -0
  1018. package/dist/esm/ez-card-item.entry.js +0 -58
  1019. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  1020. package/dist/esm/ez-classic-date-input.entry.js +0 -197
  1021. package/dist/esm/ez-classic-date-input.entry.js.gz +0 -0
  1022. package/dist/esm/ez-classic-date-time-input.entry.js +0 -242
  1023. package/dist/esm/ez-classic-date-time-input.entry.js.gz +0 -0
  1024. package/dist/esm/ez-classic-number-input.entry.js +0 -201
  1025. package/dist/esm/ez-classic-number-input.entry.js.gz +0 -0
  1026. package/dist/esm/ez-classic-search-plus.entry.js +0 -416
  1027. package/dist/esm/ez-classic-search-plus.entry.js.gz +0 -0
  1028. package/dist/esm/ez-classic-search.entry.js +0 -679
  1029. package/dist/esm/ez-classic-search.entry.js.gz +0 -0
  1030. package/dist/esm/ez-classic-time-input.entry.js +0 -194
  1031. package/dist/esm/ez-classic-time-input.entry.js.gz +0 -0
  1032. package/dist/esm/ez-grid-pagination.entry.js +0 -327
  1033. package/dist/esm/ez-grid-pagination.entry.js.gz +0 -0
  1034. package/dist/esm/ez-multi-selection-list_5.entry.js.gz +0 -0
  1035. package/dist/esm/ez-record-navigation.entry.js +0 -117
  1036. package/dist/esm/ez-record-navigation.entry.js.gz +0 -0
  1037. package/dist/esm/index-d37095f4.js.gz +0 -0
  1038. package/dist/esm/search-column-8b15de9a.js.gz +0 -0
  1039. package/dist/esm/searchFormatters-6d9b06e4.js +0 -20
  1040. package/dist/esm/searchFormatters-6d9b06e4.js.gz +0 -0
  1041. package/dist/esm/types-6f6b2650.js.gz +0 -0
  1042. package/dist/ezui/p-0583e935.entry.js +0 -1
  1043. package/dist/ezui/p-0583e935.entry.js.gz +0 -0
  1044. package/dist/ezui/p-05af2c30.entry.js.gz +0 -0
  1045. package/dist/ezui/p-0d80e3ec.entry.js +0 -1
  1046. package/dist/ezui/p-0d80e3ec.entry.js.gz +0 -0
  1047. package/dist/ezui/p-0ec3061a.entry.js.gz +0 -0
  1048. package/dist/ezui/p-10da38bf.js +0 -1
  1049. package/dist/ezui/p-10da38bf.js.gz +0 -0
  1050. package/dist/ezui/p-1283b53a.entry.js +0 -1
  1051. package/dist/ezui/p-1283b53a.entry.js.gz +0 -0
  1052. package/dist/ezui/p-133c9bac.entry.js +0 -1
  1053. package/dist/ezui/p-133c9bac.entry.js.gz +0 -0
  1054. package/dist/ezui/p-178cb9df.entry.js +0 -1
  1055. package/dist/ezui/p-178cb9df.entry.js.gz +0 -0
  1056. package/dist/ezui/p-1878f204.entry.js.gz +0 -0
  1057. package/dist/ezui/p-1a017dc3.entry.js +0 -1
  1058. package/dist/ezui/p-1a017dc3.entry.js.gz +0 -0
  1059. package/dist/ezui/p-1b3151a3.entry.js.gz +0 -0
  1060. package/dist/ezui/p-1e82a5b6.entry.js +0 -1
  1061. package/dist/ezui/p-1e82a5b6.entry.js.gz +0 -0
  1062. package/dist/ezui/p-20059180.js +0 -1
  1063. package/dist/ezui/p-20059180.js.gz +0 -0
  1064. package/dist/ezui/p-2b467976.entry.js.gz +0 -0
  1065. package/dist/ezui/p-2c74a7c2.entry.js +0 -1
  1066. package/dist/ezui/p-2c74a7c2.entry.js.gz +0 -0
  1067. package/dist/ezui/p-2fe3d4c5.entry.js +0 -1
  1068. package/dist/ezui/p-2fe3d4c5.entry.js.gz +0 -0
  1069. package/dist/ezui/p-3a3926dd.entry.js +0 -1
  1070. package/dist/ezui/p-3a3926dd.entry.js.gz +0 -0
  1071. package/dist/ezui/p-3ff798b2.entry.js.gz +0 -0
  1072. package/dist/ezui/p-47e4a8ce.js +0 -1
  1073. package/dist/ezui/p-47e4a8ce.js.gz +0 -0
  1074. package/dist/ezui/p-49bc0b59.entry.js +0 -1
  1075. package/dist/ezui/p-49bc0b59.entry.js.gz +0 -0
  1076. package/dist/ezui/p-4c61a6df.entry.js.gz +0 -0
  1077. package/dist/ezui/p-4f48f23a.entry.js.gz +0 -0
  1078. package/dist/ezui/p-53ed3234.entry.js +0 -1
  1079. package/dist/ezui/p-53ed3234.entry.js.gz +0 -0
  1080. package/dist/ezui/p-5895e687.js +0 -1
  1081. package/dist/ezui/p-5895e687.js.gz +0 -0
  1082. package/dist/ezui/p-5a1abe6a.entry.js.gz +0 -0
  1083. package/dist/ezui/p-5af2fb3b.entry.js +0 -1
  1084. package/dist/ezui/p-5af2fb3b.entry.js.gz +0 -0
  1085. package/dist/ezui/p-62f331fe.entry.js.gz +0 -0
  1086. package/dist/ezui/p-63409a57.entry.js +0 -1
  1087. package/dist/ezui/p-63409a57.entry.js.gz +0 -0
  1088. package/dist/ezui/p-638a30d0.js +0 -1
  1089. package/dist/ezui/p-638a30d0.js.gz +0 -0
  1090. package/dist/ezui/p-65215a4f.entry.js.gz +0 -0
  1091. package/dist/ezui/p-65b9fe4c.entry.js +0 -1
  1092. package/dist/ezui/p-65b9fe4c.entry.js.gz +0 -0
  1093. package/dist/ezui/p-68107165.entry.js.gz +0 -0
  1094. package/dist/ezui/p-7a0a96fa.entry.js.gz +0 -0
  1095. package/dist/ezui/p-7f7b4b9b.js.gz +0 -0
  1096. package/dist/ezui/p-83781530.entry.js +0 -1
  1097. package/dist/ezui/p-83781530.entry.js.gz +0 -0
  1098. package/dist/ezui/p-88a115b3.js +0 -1
  1099. package/dist/ezui/p-88a115b3.js.gz +0 -0
  1100. package/dist/ezui/p-8c339d46.entry.js +0 -1
  1101. package/dist/ezui/p-8c339d46.entry.js.gz +0 -0
  1102. package/dist/ezui/p-8d346a47.entry.js.gz +0 -0
  1103. package/dist/ezui/p-8ddeb58b.entry.js.gz +0 -0
  1104. package/dist/ezui/p-989849b8.entry.js +0 -1
  1105. package/dist/ezui/p-989849b8.entry.js.gz +0 -0
  1106. package/dist/ezui/p-9bff4320.entry.js.gz +0 -0
  1107. package/dist/ezui/p-9c0fdc8e.entry.js.gz +0 -0
  1108. package/dist/ezui/p-abfbbe1e.entry.js +0 -1
  1109. package/dist/ezui/p-abfbbe1e.entry.js.gz +0 -0
  1110. package/dist/ezui/p-af0196b7.entry.js.gz +0 -0
  1111. package/dist/ezui/p-b29d9b0e.entry.js +0 -1
  1112. package/dist/ezui/p-b29d9b0e.entry.js.gz +0 -0
  1113. package/dist/ezui/p-b50289bb.entry.js.gz +0 -0
  1114. package/dist/ezui/p-bcf0460e.entry.js +0 -1
  1115. package/dist/ezui/p-bcf0460e.entry.js.gz +0 -0
  1116. package/dist/ezui/p-bd7c1dd6.entry.js.gz +0 -0
  1117. package/dist/ezui/p-bf3c7f5f.entry.js +0 -1
  1118. package/dist/ezui/p-bf3c7f5f.entry.js.gz +0 -0
  1119. package/dist/ezui/p-c086e527.entry.js.gz +0 -0
  1120. package/dist/ezui/p-c361846d.entry.js +0 -1
  1121. package/dist/ezui/p-c361846d.entry.js.gz +0 -0
  1122. package/dist/ezui/p-ca707def.entry.js.gz +0 -0
  1123. package/dist/ezui/p-ce4d51eb.entry.js.gz +0 -0
  1124. package/dist/ezui/p-d393677b.entry.js +0 -1
  1125. package/dist/ezui/p-d393677b.entry.js.gz +0 -0
  1126. package/dist/ezui/p-d6f50207.entry.js +0 -1
  1127. package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
  1128. package/dist/ezui/p-d878fb19.js.gz +0 -0
  1129. package/dist/ezui/p-df1cb82b.entry.js +0 -1
  1130. package/dist/ezui/p-df1cb82b.entry.js.gz +0 -0
  1131. package/dist/ezui/p-df539dd1.entry.js +0 -1
  1132. package/dist/ezui/p-df539dd1.entry.js.gz +0 -0
  1133. package/dist/ezui/p-df6173c8.entry.js +0 -1
  1134. package/dist/ezui/p-df6173c8.entry.js.gz +0 -0
  1135. package/dist/ezui/p-e11574fb.entry.js.gz +0 -0
  1136. package/dist/ezui/p-e25a7874.entry.js +0 -1
  1137. package/dist/ezui/p-e25a7874.entry.js.gz +0 -0
  1138. package/dist/ezui/p-e2defb84.entry.js.gz +0 -0
  1139. package/dist/ezui/p-e95d93ba.entry.js.gz +0 -0
  1140. package/dist/ezui/p-ea184272.entry.js +0 -1
  1141. package/dist/ezui/p-ea184272.entry.js.gz +0 -0
  1142. package/dist/ezui/p-efea2c79.entry.js.gz +0 -0
  1143. package/dist/ezui/p-f60a6b1f.js +0 -1
  1144. package/dist/ezui/p-f60a6b1f.js.gz +0 -0
  1145. package/dist/ezui/p-ff79e5c2.entry.js.gz +0 -0
  1146. package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +0 -91
  1147. package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +0 -95
  1148. package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +0 -101
  1149. package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +0 -219
  1150. package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +0 -29
  1151. package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +0 -2
  1152. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +0 -189
  1153. package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +0 -29
  1154. package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +0 -9
  1155. package/dist/types/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.d.ts +0 -2
  1156. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +0 -4
  1157. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +0 -2
  1158. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +0 -3
  1159. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +0 -91
  1160. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.model.d.ts +0 -7
  1161. package/dist/types/components/ez-image-input/ez-image-input.d.ts +0 -43
  1162. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +0 -43
  1163. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +0 -4
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,g as a}from"./p-23a36bb6.js";import{ElementIDUtils as o,StringUtils as r}from"@sankhyalabs/core";const n=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.setFocusedParam=t=>{if("Enter"===t.key){const i=this._processedTabs[this._focusedIndex];this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(i.index)}else if("ArrowLeft"===t.key||"ArrowRight"===t.key){let i;if("ArrowLeft"===t.key)i=!1;else{if("ArrowRight"!==t.key)return;i=!0}this._focusedIndex=void 0===this._focusedIndex?!1===i?void 0!==this.selectedIndex?this.selectedIndex-1:void 0:void 0!==this.selectedIndex?this.selectedIndex+1:void 0:!1===i?this._focusedIndex-1:this._focusedIndex+1,this._focusedIndex<0?this._focusedIndex=0:this._focusedIndex>this._processedTabs.length-1&&(this._focusedIndex=this._processedTabs.length-1),this.setFocusedBtn(!0,this._focusedIndex),this.setFocusedTab(this._focusedIndex)}else if("Tab"===t.key||"Escape"===t.key){const i=this._processedTabs[this.selectedIndex];this._focusedIndex=void 0,this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(this.selectedIndex)}},this._processedTabs=void 0,this.selectedIndex=void 0,this.selectedTab=void 0,this.tabs=void 0}observeTabs(t,i){t&&"string"!=typeof t?this._processedTabs=t:t!==i&&this.processesTabs()}async goToTab(t,i=!1){const s=this._processedTabs.find((i=>i.index===t));this.handleTabClick(s,!i)}handleTabClick(t,i=!0){this.selectedIndex=t.index,this._focusedIndex=void 0,this.selectedTab=t.tabKey,i&&this.ezChange.emit(t),this.setFocusedBtn(!1,t.index)}componentWillLoad(){this.processesTabs()}processesTabs(){this.tabs&&(Array.isArray(this.tabs)?this._processedTabs=[...this.tabs]:(this._processedTabs=[],this.tabs.split(",").forEach((t=>{t=t.trim(),this._processedTabs.push({label:t,tabKey:t,index:this._processedTabs.length}),this.buildElementIdTab(this._processedTabs)})))),this._hostElem.querySelectorAll("ez-tab").forEach((t=>{const i=t.getAttribute("tabKey"),s={label:t.getAttribute("label"),tabKey:i,leftIcon:t.getAttribute("leftIcon"),rightIcon:t.getAttribute("rightIcon"),index:this._processedTabs.length},e=t.firstChild;e&&(e.setAttribute("slot","tab"+s.index),this._hostElem.appendChild(e)),this._processedTabs.push(s),this.buildElementIdTab(this._processedTabs)}))}componentDidRender(){this.updateScroll()}componentDidLoad(){o.addIDInfo(this._hostElem,"itemsSelector"),this._hostElem.shadowRoot.querySelectorAll('button[name="tab-button"]').forEach((t=>{var i;const s=null===(i=t.querySelector("span.tab-label"))||void 0===i?void 0:i.innerText,e={id:`${r.toCamelCase(s)}`};o.addIDInfo(t,"itemSelector",e)}))}handleSlotChange(t){const i=t.target.assignedElements()[0];i&&(i.style.marginLeft="6px")}scrollBackward(){const t=this._scrollContainer;t&&(t.scrollLeft-=t.clientWidth)}scrollFoward(){const t=this._scrollContainer;if(t){let i=null;t.querySelectorAll(".tab").forEach((s=>{s.getBoundingClientRect().right<t.clientWidth&&(i=s)})),t.scrollLeft=i.offsetLeft+i.offsetWidth}}updateScroll(){const t=this._scrollContainer;if(t){const{scrollWidth:i,clientWidth:s,scrollLeft:e}=t,a=i-s-Math.ceil(e);this._startHidden=t.scrollLeft>0,this._endHidden=a>0,this._startHidden?this._backwardButton.classList.remove("hidden"):this._backwardButton.classList.add("hidden"),this._endHidden?this._forwardButton.classList.remove("hidden"):this._forwardButton.classList.add("hidden");const o=["","startHidden","endHidden","middle"],r=o[Number(this._startHidden)|Number(this._endHidden)<<1];o.forEach((i=>{i!==r&&t.classList.contains(i)&&t.classList.remove(i)})),r&&!t.classList.contains(r)&&t.classList.add(r)}}domScrollHandler(){window.clearTimeout(this._scrollCallBack),this._scrollCallBack=window.setTimeout((()=>{this.updateScroll()}),200)}setFocusedTab(t){window.clearTimeout(this._scrollCallBackTest),this._scrollCallBackTest=window.setTimeout((()=>{this._scrollContainer.querySelector(`#tab${t}`).scrollIntoView()}),200)}setFocusedBtn(t,i){this._scrollContainer.querySelectorAll(".tab").forEach((s=>{s.classList.remove("is-focused"),s.id==="tab"+i&&t&&s.classList.add("is-focused")}))}buildElementIdTab(t){t.forEach((t=>{if(!t.hasOwnProperty(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME)){const i=`${this._hostElem.getAttribute(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME)}_${r.toCamelCase(t.tabKey)}`;t[o.DATA_ELEMENT_ID_ATTRIBUTE_NAME]=i}}))}render(){return s(e,null,s("button",{class:"backward-button",ref:t=>this._backwardButton=t,onClick:()=>this.scrollBackward()}),s("div",{class:"scroll",ref:t=>this._scrollContainer=t,onScroll:()=>this.domScrollHandler(),onKeyDown:t=>this.setFocusedParam(t)},this._processedTabs.map(((t,i)=>{const e="tab"+i,a=i===this.selectedIndex||this.selectedTab&&t.tabKey===this.selectedTab;return a&&(this.selectedTab=t.tabKey,this.selectedIndex=i),s("button",{id:e,name:"tab-button",class:"tab"+(a?" is-active":""),onClick:()=>this.handleTabClick(t)},t.leftIcon&&s("ez-icon",{iconName:t.leftIcon,class:"left-icon"}),s("span",{class:"tab-label",title:t.label},t.label),t.rightIcon&&s("ez-icon",{iconName:t.rightIcon,class:"right-icon"}),s("slot",{name:e,onSlotchange:t=>{this.handleSlotChange(t)}}))}))),s("button",{class:"forward-button",ref:t=>this._forwardButton=t,onClick:()=>this.scrollFoward()}))}get _hostElem(){return a(this)}static get watchers(){return{tabs:["observeTabs"]}}};n.style='@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--tabselector--forward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.middle{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px, #000 calc(100% - 48px), transparent calc(100% - 20px))}.scroll.endHidden{-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 48px), transparent calc(100% - 20px))}.tab{display:flex;border:none;background-color:unset;min-width:100px;max-width:260px;cursor:pointer;padding:6px 12px;align-items:center;justify-content:center;color:var(--text--primary, #626e82);font-family:var(--font-pattern, "Roboto");font-size:var(--title--small, 14px);flex-shrink:0;margin-bottom:var(--space--extra-small, 3px)}.tab:focus,.forward-button,.backward-button{outline:none}.is-active{position:relative;color:var(--color--primary, #008561)}.is-active ez-icon{--ez-icon--color:var(--color--primary, #008561)}.is-active::after{content:"";position:absolute;width:100%;height:100%;background-color:var(--color--primary, #008561);clip-path:inset(calc(100% - 3px) 0px 0px 0px);animation:activate 0.25s ease-in-out}.is-focused{border:1px dashed var(--color--primary, #000000c5)}.tab-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:var(--text-shadow)}.forward-button,.backward-button{position:absolute;z-index:1;display:flex;box-sizing:border-box;padding:0px;top:0px;right:0px;width:16px;height:100%;border:none;background-color:unset;cursor:pointer;justify-content:center;align-items:center}.backward-button{left:0px}.forward-button::after,.backward-button::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:10px;height:16px}.forward-button::after{-webkit-mask-image:var(--tabselector--forward-icon);mask-image:var(--tabselector--forward-icon)}.backward-button::after{-webkit-mask-image:var(--tabselector--backward-icon);mask-image:var(--tabselector--backward-icon)}.forward-button:hover::after,.backward-button:hover::after{background-color:var(--color--primary, #4e4e4e)}.hidden{display:none}.scroll::-webkit-scrollbar{display:none}.left-icon{padding-right:var(--space--small)}.right-icon{padding-left:var(--space--small)}';export{n as ez_tabselector}
Binary file
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,g as n}from"./p-23a36bb6.js";import{FloatingManager as a,ElementIDUtils as o}from"@sankhyalabs/core";import{i as l}from"./p-638a30d0.js";const r=class{constructor(e){t(this,e),this._container=void 0,this.alerts=[],this.enableDragAndDrop=void 0,this.enableExpand=!0,this.itemRightSlotBuilder=void 0,this.opened=!0,this.expanded=!1}observeOpened(){this.opened&&this.manageOverlay()}alertId(t,e){return`alert-${e}-${(t=>{var e;return null!==(e=null==t?void 0:t.split(" ").join("-"))&&void 0!==e?e:""})(t)}`}getAlertTitle(t){var e;return null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t)))||void 0===e?void 0:e.title}getLinkActionClick(t){var e;return(null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t.id)))||void 0===e?void 0:e.onClickLink)||(()=>{})}getTitleText(t){var e;const i=null!==(e=this.getAlertTitle(t.id))&&void 0!==e?e:"";return`${i}${i&&t.label?":":""}`}toggleExpandContainer(){this.enableExpand&&(this.expanded=!this.expanded,this._container.classList.toggle("expanded",this.expanded),this.expanded?this.updatePosition(this.getBoundingRight(),this.getBoundingBottom()):this.updatePosition("10px","10px"))}manageOverlay(){if(this.opened&&this._container)this._overlayId=a.float(this._container,this._overlayRef,this.getFloatOptions());else{if(void 0===this._overlayId)return;a.close(this._overlayId),this._overlayId=void 0}}updatePosition(t,e){this.opened&&a.updateFloatPosition(this._container,this._overlayRef,Object.assign(Object.assign({},this.getFloatOptions()),{right:t,bottom:e}))}getFloatOptions(){return{autoClose:!1,isFixed:!0,bottom:"10px",right:"10px"}}getBoundingRight(){return(document.body.clientWidth-this._container.getBoundingClientRect().width)/2+"px"}getBoundingBottom(){return(document.body.clientHeight-this._container.getBoundingClientRect().height)/2+"px"}componentDidLoad(){this.manageOverlay(),this.opened&&this._container&&this._container.focus()}async componentWillLoad(){this.dataElementId=o.addIDInfo(this._element,"EzAlertList"),this.i18n=await l()}render(){return e(i,Object.assign({},{[o.DATA_ELEMENT_ID_ATTRIBUTE_NAME]:this.dataElementId}),this.opened?e("div",{ref:t=>this._overlayRef=t},e("div",{class:"alert-list__container "+(this.expanded?"expanded":""),ref:t=>this._container=t},e("div",{class:"alert-list__content"},e("div",{class:"alert-list__header"},e("div",{class:"alert-list__title"},`${this.i18n("app.alerts")} (${this.alerts.length})`),e("div",{class:"alert-list__header__buttons"},this.enableExpand&&e("ez-button",{mode:"icon",size:"small",iconName:"expand",onClick:()=>this.toggleExpandContainer(),"data-element-id":o.getInternalIDInfo("expandButton"),title:this.i18n(this.expanded?"app.collapse":"app.expand")}),e("ez-button",{mode:"icon",size:"small",iconName:"close","data-element-id":o.getInternalIDInfo("closeButton"),onClick:()=>{this.opened=!1},title:this.i18n("app.close")}))),e("div",{class:"alert-list__expandable-content"},e("ez-list",{itemSlotBuilder:this.itemRightSlotBuilder,hoverFeedback:!0,itemLeftSlotBuilder:t=>e("a",{onClick:this.getLinkActionClick(t),style:{fontFamily:"var(--font-pattern, 'Roboto')",fontSize:"var(--text--medium, 14px)",fontWeight:"var(--text-weight--medium, 400)",color:"var(--color--primary, #008561)",marginRight:"4px",cursor:"pointer",display:"flex",width:"max-content",textDecoration:"none"}},this.getTitleText(t)),dataSource:this.alerts.map(((t,e)=>{var i;return{id:this.alertId(t.title,e),label:null!==(i=t.detail)&&void 0!==i?i:""}}))}))))):null)}get _element(){return n(this)}static get watchers(){return{_container:["observeOpened"]}}};r.style=':host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, "Roboto");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n';export{r as ez_alert_list}
1
+ import{r as t,h as e,H as i,g as n}from"./p-23a36bb6.js";import{FloatingManager as a,ElementIDUtils as o}from"@sankhyalabs/core";import{i as l}from"./p-bfbf8909.js";const r=class{constructor(e){t(this,e),this._container=void 0,this.alerts=[],this.enableDragAndDrop=void 0,this.enableExpand=!0,this.itemRightSlotBuilder=void 0,this.opened=!0,this.expanded=!1}observeOpened(){this.opened&&this.manageOverlay()}alertId(t,e){return`alert-${e}-${(t=>{var e;return null!==(e=null==t?void 0:t.split(" ").join("-"))&&void 0!==e?e:""})(t)}`}getAlertTitle(t){var e;return null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t)))||void 0===e?void 0:e.title}getLinkActionClick(t){var e;return(null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t.id)))||void 0===e?void 0:e.onClickLink)||(()=>{})}getTitleText(t){var e;const i=null!==(e=this.getAlertTitle(t.id))&&void 0!==e?e:"";return`${i}${i&&t.label?":":""}`}toggleExpandContainer(){this.enableExpand&&(this.expanded=!this.expanded,this._container.classList.toggle("expanded",this.expanded),this.expanded?this.updatePosition(this.getBoundingRight(),this.getBoundingBottom()):this.updatePosition("10px","10px"))}manageOverlay(){if(this.opened&&this._container)this._overlayId=a.float(this._container,this._overlayRef,this.getFloatOptions());else{if(void 0===this._overlayId)return;a.close(this._overlayId),this._overlayId=void 0}}updatePosition(t,e){this.opened&&a.updateFloatPosition(this._container,this._overlayRef,Object.assign(Object.assign({},this.getFloatOptions()),{right:t,bottom:e}))}getFloatOptions(){return{autoClose:!1,isFixed:!0,bottom:"10px",right:"10px"}}getBoundingRight(){return(document.body.clientWidth-this._container.getBoundingClientRect().width)/2+"px"}getBoundingBottom(){return(document.body.clientHeight-this._container.getBoundingClientRect().height)/2+"px"}componentDidLoad(){this.manageOverlay(),this.opened&&this._container&&this._container.focus()}async componentWillLoad(){this.dataElementId=o.addIDInfo(this._element,"EzAlertList"),this.i18n=await l()}render(){return e(i,Object.assign({},{[o.DATA_ELEMENT_ID_ATTRIBUTE_NAME]:this.dataElementId}),this.opened?e("div",{ref:t=>this._overlayRef=t},e("div",{class:"alert-list__container "+(this.expanded?"expanded":""),ref:t=>this._container=t},e("div",{class:"alert-list__content"},e("div",{class:"alert-list__header"},e("div",{class:"alert-list__title"},`${this.i18n("app.alerts")} (${this.alerts.length})`),e("div",{class:"alert-list__header__buttons"},this.enableExpand&&e("ez-button",{mode:"icon",size:"small",iconName:"expand",onClick:()=>this.toggleExpandContainer(),"data-element-id":o.getInternalIDInfo("expandButton"),title:this.i18n(this.expanded?"app.collapse":"app.expand")}),e("ez-button",{mode:"icon",size:"small",iconName:"close","data-element-id":o.getInternalIDInfo("closeButton"),onClick:()=>{this.opened=!1},title:this.i18n("app.close")}))),e("div",{class:"alert-list__expandable-content"},e("ez-list",{itemSlotBuilder:this.itemRightSlotBuilder,hoverFeedback:!0,itemLeftSlotBuilder:t=>e("a",{onClick:this.getLinkActionClick(t),style:{fontFamily:"var(--font-pattern, 'Roboto')",fontSize:"var(--text--medium, 14px)",fontWeight:"var(--text-weight--medium, 400)",color:"var(--color--primary, #008561)",marginRight:"4px",cursor:"pointer",display:"flex",width:"max-content",textDecoration:"none"}},this.getTitleText(t)),dataSource:this.alerts.map(((t,e)=>{var i;return{id:this.alertId(t.title,e),label:null!==(i=t.detail)&&void 0!==i?i:""}}))}))))):null)}get _element(){return n(this)}static get watchers(){return{_container:["observeOpened"]}}};r.style=':host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, "Roboto");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n';export{r as ez_alert_list}
Binary file
Binary file
Binary file
@@ -1 +1 @@
1
- import{r as e,c as r,h as t,H as i}from"./p-23a36bb6.js";import{StringUtils as a}from"@sankhyalabs/core";import{i as s}from"./p-638a30d0.js";const l=class{constructor(t){e(this,t),this.changeValue=r(this,"changeValue",7),this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this.showLoading=void 0,this.visibleOptions=[],this.value=void 0,this.showOptionValue=!0,this._preSelection=void 0}observerVisivleOptions(e){e.length&&this.preSelectItemByIndex(0)}async nextOption(){const e=void 0===this._preSelection?0:Math.min(this._preSelection+1,this.visibleOptions.length-1);this.preSelectItemByIndex(e)}async previousOption(){const e=void 0===this._preSelection?0:Math.max(this._preSelection-1,0);this.preSelectItemByIndex(e)}preSelectItemByIndex(e){this._preSelection=e,this.scrollToOption(this.visibleOptions[e])}selectOption(e){const r=Object.assign(Object.assign({},e),{value:null==e?void 0:e.value,label:null==e?void 0:e.label}),t=Object.assign(Object.assign({},r),{value:this.removeHighLight(null==r?void 0:r.value),label:this.removeHighLight(null==r?void 0:r.label)});this.changeValue.emit(t)}removeHighLight(e){if(!e||"string"!=typeof e)return e;const r=new RegExp(this._startHighlightTag,"g"),t=new RegExp(this._endHighlightTag,"g");return e.replace(r,"").replace(t,"")}createAndSelectOption(e){let{key:r,title:t}=e;r=String(null!=r?r:""),t=a.decodeHtmlEntities(t);const i={value:this.removeHighLight(r),label:this.removeHighLight(t)};this.selectOption(i)}scrollToOption(e){(null==e?void 0:e.value)&&this._optionsList&&window.requestAnimationFrame((()=>{var r;const t=String(null!==(r=null==e?void 0:e.value)&&void 0!==r?r:""),i=t?this._optionsList.querySelector(`div#item_${t.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g,"\\$1")}`):void 0;i&&i.scrollIntoView({behavior:"smooth",block:"nearest"})}))}buildItem(e,r){var i;e.label=e.label||e.value;const a={key:String(null!==(i=e.presentationValue)&&void 0!==i?i:""),title:e.presentationLabel,details:e.details};return t("div",{style:{height:"100%"},class:r===this._preSelection?"item preselected":"item",id:`item_${e.value}`,onMouseDown:()=>this.createAndSelectOption(a),onMouseOver:()=>{this._preSelection=r}},t("ez-card-item",{item:a,compacted:!0,enableKey:this.showOptionValue}))}async selectCurrentItem(){this.selectOption(this.visibleOptions[this._preSelection])}async cancelSelection(){this.cancelPreselection()}cancelPreselection(){this._preSelection=void 0}canShowListOptions(){return!this.showLoading&&this.visibleOptions.length>0}async componentWillLoad(){this.i18n=await s()}render(){return t(i,null,t("ul",{class:"list-options",ref:e=>this._optionsList=e},!this.showLoading&&0===this.visibleOptions.length&&t("div",{class:"message"},t("span",{class:"message__no-result"},this.i18n("ez-search-plus.emptyList"))),this.showLoading&&t("div",{class:"loading__container"},t("ez-skeleton",{count:4,height:"20px"})),this.canShowListOptions()&&this.visibleOptions.map(((e,r)=>this.buildItem(e,r)))))}static get watchers(){return{visibleOptions:["observerVisivleOptions"]}}};l.style=":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.loading__container{display:flex;flex-direction:column;margin:var(--space--small)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";export{l as ez_search_result_list}
1
+ import{r as e,c as r,h as t,H as i}from"./p-23a36bb6.js";import{StringUtils as a}from"@sankhyalabs/core";import{i as s}from"./p-bfbf8909.js";const l=class{constructor(t){e(this,t),this.changeValue=r(this,"changeValue",7),this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this.showLoading=void 0,this.visibleOptions=[],this.value=void 0,this.showOptionValue=!0,this._preSelection=void 0}observerVisivleOptions(e){e.length&&this.preSelectItemByIndex(0)}async nextOption(){const e=void 0===this._preSelection?0:Math.min(this._preSelection+1,this.visibleOptions.length-1);this.preSelectItemByIndex(e)}async previousOption(){const e=void 0===this._preSelection?0:Math.max(this._preSelection-1,0);this.preSelectItemByIndex(e)}preSelectItemByIndex(e){this._preSelection=e,this.scrollToOption(this.visibleOptions[e])}selectOption(e){const r=Object.assign(Object.assign({},e),{value:null==e?void 0:e.value,label:null==e?void 0:e.label}),t=Object.assign(Object.assign({},r),{value:this.removeHighLight(null==r?void 0:r.value),label:this.removeHighLight(null==r?void 0:r.label)});this.changeValue.emit(t)}removeHighLight(e){if(!e||"string"!=typeof e)return e;const r=new RegExp(this._startHighlightTag,"g"),t=new RegExp(this._endHighlightTag,"g");return e.replace(r,"").replace(t,"")}createAndSelectOption(e){let{key:r,title:t}=e;r=String(null!=r?r:""),t=a.decodeHtmlEntities(t);const i={value:this.removeHighLight(r),label:this.removeHighLight(t)};this.selectOption(i)}scrollToOption(e){(null==e?void 0:e.value)&&this._optionsList&&window.requestAnimationFrame((()=>{var r;const t=String(null!==(r=null==e?void 0:e.value)&&void 0!==r?r:""),i=t?this._optionsList.querySelector(`div#item_${t.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g,"\\$1")}`):void 0;i&&i.scrollIntoView({behavior:"smooth",block:"nearest"})}))}buildItem(e,r){var i;e.label=e.label||e.value;const a={key:String(null!==(i=e.presentationValue)&&void 0!==i?i:""),title:e.presentationLabel,details:e.details};return t("div",{style:{height:"100%"},class:r===this._preSelection?"item preselected":"item",id:`item_${e.value}`,onMouseDown:()=>this.createAndSelectOption(a),onMouseOver:()=>{this._preSelection=r}},t("ez-card-item",{item:a,compacted:!0,enableKey:this.showOptionValue}))}async selectCurrentItem(){this.selectOption(this.visibleOptions[this._preSelection])}async cancelSelection(){this.cancelPreselection()}cancelPreselection(){this._preSelection=void 0}canShowListOptions(){return!this.showLoading&&this.visibleOptions.length>0}async componentWillLoad(){this.i18n=await s()}render(){return t(i,null,t("ul",{class:"list-options",ref:e=>this._optionsList=e},!this.showLoading&&0===this.visibleOptions.length&&t("div",{class:"message"},t("span",{class:"message__no-result"},this.i18n("ez-search-plus.emptyList"))),this.showLoading&&t("div",{class:"loading__container"},t("ez-skeleton",{count:4,height:"20px"})),this.canShowListOptions()&&this.visibleOptions.map(((e,r)=>this.buildItem(e,r)))))}static get watchers(){return{visibleOptions:["observerVisivleOptions"]}}};l.style=":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.loading__container{display:flex;flex-direction:column;margin:var(--space--small)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";export{l as ez_search_result_list}
Binary file
@@ -1 +1 @@
1
- import{r as i,c as t,f as e,h as a,g as o}from"./p-23a36bb6.js";import{ElementIDUtils as s}from"@sankhyalabs/core";import{A as d}from"./p-d878fb19.js";import{i as l}from"./p-638a30d0.js";import"./p-ab574d59.js";class r{constructor(i){this.file=i,this.size=i.size,this.name=i.name}abortUpload(){this._uploadingXhr&&(this._aborted=!0,this._uploadingXhr.abort(),this._uploadingXhr=void 0)}isUploading(){return void 0!==this._uploadingXhr}async upload(i,t,e){return new Promise(((a,o)=>{const s=new XMLHttpRequest;this._uploadingXhr=s,this._aborted=!1,this.progress=0,s.upload.onprogress=i=>{const t=i.loaded,a=i.total;this.progress=~~(t/a*100),e(this,t,a)},s.onreadystatechange=()=>{if(4==s.readyState){this._uploadingXhr=void 0;const i=s.status;this._aborted||(0===i?o("Servidor indisponível"):i>=500?o("Erro inesperado no servidor"):i>=400&&o("Operação não permitida"));const t=s.response;if(t)try{a(JSON.parse(t))}catch(i){o(`Servidor não retornou um objeto válido: ${t}.\n${i}`)}}},s.ontimeout=()=>{o("Tempo limite de transferência atingido.")};const d=new FormData;d.append("ARQUIVO",this.file,this.file.name),s.open("POST",i,!0),t&&t.forEach(((i,t)=>s.setRequestHeader(t,i))),s.send(d)}))}async delete(i,t,e){return new Promise(((a,o)=>{const s=new XMLHttpRequest;s.onreadystatechange=()=>{4==s.readyState&&(0===s.status?o("Servidor indisponível"):s.status>=500?o("Erro inesperado no servidor"):s.status>=400&&o("Operação não permitida"),a(!0))},s.ontimeout=()=>{o("Tempo limite de remoção atingido.")},s.open("DELETE",t,!0),e&&e.forEach(((i,t)=>s.setRequestHeader(t,i))),s.send(JSON.stringify(i))}))}}const n=class{constructor(e){i(this,e),this.ezChange=t(this,"ezChange",7),this.ezStartChange=t(this,"ezStartChange",7),this.ezCancelWaitingChange=t(this,"ezCancelWaitingChange",7),this._filePointers=new Map,this.label=void 0,this.subtitle=void 0,this.enabled=!0,this.maxFileSize=void 0,this.maxFiles=void 0,this.requestHeaders=void 0,this.urlUpload=void 0,this.urlDelete=void 0,this.value=void 0}observeValue(i,t){(i!==this._updatingValue||null==i&&null!=t)&&(this._filePointers.forEach((i=>{this.isRemoteFile(i)&&i.abortUpload()})),this._filePointers=new Map,this.updateFilePointers(),this._updatingValue=void 0)}updateFilePointers(){Array.isArray(this.value)&&this.value.forEach((i=>this._filePointers.set(i.name,i)))}observeRequestHeaders(){if(this._requestHeaders=new Map,"string"==typeof this.requestHeaders)try{this.requestHeaders=JSON.parse(this.requestHeaders)}catch(i){this.requestHeaders=void 0}for(var i in this.requestHeaders)this._requestHeaders.set(i,this.requestHeaders[i])}async addFiles(i){if(this.maxFiles>0){let t=this._filePointers.size;if(i.forEach((i=>{this._filePointers.has(i.name)||t++})),t>this.maxFiles)return void this.showError(this.i18n("ez-upload.maxFilesError",{maxFiles:this.maxFiles}))}Array.prototype.forEach.call(i,this.addFile.bind(this))}async setFocus(){this._fileInput.focus()}async setBlur(){this._fileInput.blur()}async addFile(i){const t=this._filePointers.get(i.name);t?d.confirm(this.i18n("ez-upload.replaceFileTitle"),this.i18n("ez-upload.replaceFileMessage",{fileName:i.name})).then((e=>{e&&(this.isRemoteFile(t)&&t.abortUpload(),this.doAddFile(i))})):this.doAddFile(i)}async doAddFile(i){try{if(this.validateFile(i)){this.ezStartChange.emit({waitmessage:this.i18n("ez-upload.uploadingMessage"),blocking:!0});const t=new r(i),a=this._filePointers.get(i.name);a&&this.isRemoteFile(a)&&a.abortUpload(),this._filePointers.set(i.name,t),t.upload(this.urlUpload,this._requestHeaders,(i=>this.updateFeedback(i))).then((i=>i.forEach((i=>this.finishUpload(t.name,i))))).catch((i=>{this.ezCancelWaitingChange.emit(),this.showError(i)})),e(this)}}catch(i){throw this.ezCancelWaitingChange.emit(),i}}finishUpload(i,t){this._filePointers.set(i,t),this.updateValue()}updateValue(){this._updatingValue=[],this._filePointers.forEach((i=>{this.isRemoteFile(i)||this._updatingValue.push(i)})),this._filePointers.size===this._updatingValue.length&&(this.value=this._updatingValue,this.ezChange.emit(this.value))}buildProgressId(i){return`PROGRESS_${i.name.replace(/[^a-z0-9_]/gi,"_")}_${i.file.lastModified}`}updateFeedback(i){window.requestAnimationFrame((()=>{if(this._host){const t=this._host.shadowRoot.querySelector("#"+this.buildProgressId(i));t&&(t.value=i.progress)}}))}validateFile(i){return!this._filePointers.has(i.name)&&this.maxFiles>0&&this._filePointers.size>=this.maxFiles?(this.showError(this.i18n("ez-upload.maxFilesError",{maxFiles:this.maxFiles})),!1):0===i.size?(this.showError(this.i18n("ez-upload.emptyFileError",{fileName:i.name})),!1):this.urlUpload?!(this.maxFileSize>=0&&i.size>this.maxFileSize&&(this.showError(this.i18n("ez-upload.maxFileSizeError",{maxSize:this.formatBytes(this.maxFileSize)})),1)):(this.showError(this.i18n("ez-upload.missingUploadUrlError")),!1)}showError(i){d.alert(this.i18n("ez-upload.uploadErrorTitle"),i)}formatBytes(i,t=1){if(0===i)return"0 Bytes";const e=t<0?0:t,a=Math.floor(Math.log(i)/Math.log(1024));return parseFloat((i/Math.pow(1024,a)).toFixed(e))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][a]}onFileInputChange(i){this.addFiles(Array.from(i.target.files)),this._fileInput.value=""}isRemoteFile(i){return"file"in i}removeFromList(i){this._filePointers.delete(i),this.updateValue()}removeFile(i){const t=this._filePointers.get(i);if(this.isRemoteFile(t))t.abortUpload(),this.removeFromList(i);else if(this.urlDelete){const e=new r(null);this._filePointers.set(t.name,e),e.delete(t,this.urlDelete,null).then((()=>this.removeFromList(i))).catch((i=>this.showError(i)))}else this.removeFromList(i)}openFilesDialog(){this.enabled&&this._fileInput.click()}componentDidLoad(){this.enabled&&this._dropZone&&window.FileList&&window.File&&(this._dropZone.addEventListener("dragover",(i=>{i.stopPropagation(),i.preventDefault(),i.dataTransfer.dropEffect="copy",this._dropZone.style.background="#c2dbff"})),this._dropZone.addEventListener("drop",(i=>{i.stopPropagation(),i.preventDefault(),this.addFiles(Array.from(i.dataTransfer.files)),this._dropZone.style.background=""})),this._dropZone.addEventListener("dragleave",(()=>{this._dropZone.style.background=""}))),this._host&&s.addIDInfo(this._host,"input"),this.observeRequestHeaders()}componentWillRender(){this.value&&this._filePointers.size<this.value.length&&this.updateFilePointers()}async componentWillLoad(){this.i18n=await l()}render(){return a("div",{ref:i=>this._dropZone=i,class:this.evalDisabledClass("iu","background--disabled")},a("div",{class:"iu__container",onClick:()=>this.openFilesDialog()},a("div",{class:"iu_header"},this.label?a("label",{class:this.evalDisabledClass("iu__label","text--disabled"),title:this.label},this.label):null,a("div",{class:"padding-large"},a("div",{class:this.evalDisabledClass("iu__icon-label","mouse-pointer--disabled")},a("button",{class:"iu__file-icon",disabled:!this.enabled}),a("div",{class:this.evalDisabledClass("text text--center text--medium text--primary","text--disabled")},this.i18n(this.enabled?"ez-upload.enable":"ez-upload.disable"))),this.subtitle&&a("div",{class:this.evalDisabledClass("padding-extra-small text text--center text--small text--secondary","text--disabled")},this.subtitle))),this.buildFooter()),a("input",{ref:i=>this._fileInput=i,onChange:i=>this.onFileInputChange(i),type:"file",multiple:!0,class:"appearanceNone"}))}buildFooter(){if(0===this._filePointers.size)return null;const i=[];return this._filePointers.forEach((t=>i.push(this.buildFileItem(t)))),a("div",{class:"iu__footer"},i)}buildFileItem(i){const t=i.name,e=Number(i.progress),o=i.downloadURL,s=i.size>0?`(${this.formatBytes(i.size)})`:"",d=`${t} ${s}`;return a("div",{class:"iu__item",key:t,onClick:i=>i.stopPropagation()},a("div",{class:"iu__item-label modificador"},a("div",{title:d,class:"col--stretch align--middle file__name text text--primary text--small text--ellipsis align--middle"},o?a("a",{href:o,download:!0},d):d)),isNaN(e)?null:a("div",{class:"col col--sd-4 col--stretch align--middle"},a("progress",{id:this.buildProgressId(i),value:e,max:"100"})),this.enabled?a("div",{class:"col col--stretch align--middle"},a("button",{class:"btn-cancel ",onClick:()=>this.removeFile(t)})):null)}evalDisabledClass(i,t){return this.enabled?i:`${i} ${t}`}get _host(){return o(this)}static get watchers(){return{value:["observeValue"],requestHeaders:["observeRequestHeaders"]}}};n.style=':host{--ez-upload--height:42px;--ez-upload--width:100%;--ez-upload__icon--width:48px;--ez-upload__container--background-color:var(--background--medium, #d2dce9);--ez-upload__color--primary:var(--color--primary, #008561);--ez-upload--padding--extra-small:var(--space--extra-small, 3px);--ez-upload--padding--small:var(--space--small, 6px);--ez-upload--padding--medium:var(--space--medium, 12px);--ez-upload--padding--large:var(--space--large, 24px);--ez-upload__border--color:var(--color-strokes, #DCE0E8);--ez-upload--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-upload--text--primary:var(--text-primary, #626e82);--ez-upload--text--secondary:var(--text-secondary, #a2abb9);--ez-upload--font-size:var(--text--medium, 14px);--ez-upload--font-family:var(--font-pattern, Arial);--ez-upload--font-weight:var(--text-weight--large, 500);--ez-upload__btn__cancel-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="8x" width="8px"><path d="M 8,0.8 7.2,0 4,3.2 0.8,0 0,0.8 3.2,4 0,7.2 0.8,8 4,4.8 7.2,8 8,7.2 4.8,4 Z"/></svg>\');--ez-upload__file-icon-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="11x" width="9px"><path d="M 1.2272719,8.4999999 V 2.75 c 0,-1.1045695 1.4652499,-2 3.2727273,-2 1.8074777,0 3.2727281,0.8954305 3.2727281,2 V 8.9999999 C 7.7727273,9.690356 6.8569456,10.25 5.7272719,10.25 4.5975985,10.25 3.6818174,9.690356 3.6818174,8.9999999 V 3.75 c 0,-0.2761425 0.3663125,-0.5 0.8181818,-0.5 0.4518694,0 0.8181818,0.2238575 0.8181818,0.5 V 8.4999999 H 6.5454537 V 3.75 C 6.5454537,3.059644 5.6296725,2.5 4.4999992,2.5 3.3703258,2.5 2.4545446,3.059644 2.4545446,3.75 V 8.9999999 C 2.4545446,10.10457 3.9197945,11 5.7272719,11 7.5347496,11 9,10.10457 9,8.9999999 V 2.75 C 9,1.231217 6.9852809,0 4.4999992,0 2.0147181,5e-7 0,1.231217 0,2.75 v 5.7499999 z"/></svg>\');display:flex;flex-wrap:wrap;position:relative;padding-bottom:16px;font-family:var(--ez-upload--font-family);font-size:var(--ez-upload--font-size);width:var(--ez-upload--width);font-weight:var(--ez-upload--font-weight)}.iu{display:flex;flex-wrap:wrap;background-color:var(--ez-upload__container--background-color);padding:var(--ez-upload--padding--small);width:100%;border-radius:12px;box-sizing:border-box}.iu__container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;border:2px dashed var(--ez-upload__border--color);border-radius:6px;box-sizing:border-box}.iu__footer{display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%;padding:0 var(--ez-upload--padding--medium) var(--ez-upload--padding--medium) var(--ez-upload--padding--medium);box-sizing:border-box}.iu__item{display:flex;width:100%;justify-content:flex-start;align-items:center;align-self:center;padding-bottom:var(--ez-upload--padding--extra-small);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iu__item-label{display:flex;max-width:80%;align-self:stretch;align-items:center}.file__name{font-weight:200}.box__content{width:100%;justify-content:center;align-items:center;height:100%;border:1px dashed var(--ez-upload__border--color);border-radius:6px;box-sizing:border-box}.box__container{display:flex;flex-wrap:wrap;background-color:var(--ez-upload__container--background-color);padding:6px;width:100%;border-radius:12px}a:-webkit-any-link{color:#008561;fill:#008561;cursor:pointer;text-decoration:none}progress[value]{display:flex;width:100%;appearance:none;border:1px solid var(--ez-upload__border--color);height:12px;justify-content:flex-start;align-items:center;border-radius:3px;position:relative}progress[value]::-webkit-progress-bar{display:flex;-webkit-appearance:none;width:100%;background-color:rgb(255, 255, 255);border-radius:2px;padding:2px}progress[value]::-webkit-progress-value{display:flex;width:100%;background-color:var(--ez-upload__color--primary)}.text--center{text-align:center}.align--middle{align-self:center;align-items:center}.padding-large{padding:var(--ez-upload--padding--large) 0px}.padding-extra-small{padding:var(--ez-upload--padding--extra-small) 0px}.text{font-family:var(--font-pattern, "Roboto");text-shadow:0 0 0 #353535, 0 0 1px transparent}.text--primary{color:var(--ez-upload--text--primary);text-shadow:var(--ez-upload--text-shadow)}.text--secondary{color:var(--ez-upload--text--secondary);text-shadow:var(--ez-upload--text-shadow)}.text--ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text--medium{font-size:14px}.text--small{font-size:12px}.btn-cancel{outline:none;border:none;background-color:unset;cursor:pointer}.btn-cancel::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:8px;height:8px;-webkit-mask-image:var(--ez-upload__btn__cancel-image);mask-image:var(--ez-upload__btn__cancel-image)}.iu_header{display:flex;flex-direction:column;width:100%}.iu__label{padding:var(--space--small);box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--ez-upload--font-family);font-size:var(--text--extra-small);font-weight:var(--ez-upload--font-weight);color:var(--ez-upload--text--primary);text-shadow:var(--ez-upload--text-shadow)}.iu__file-icon{outline:none;border:none;background-color:unset;cursor:pointer}.iu__file-icon:disabled{cursor:unset}.iu__file-icon::after{content:\'\';display:flex;background-color:var(--text--primary, #626e82);width:9px;height:11px;-webkit-mask-image:var(--ez-upload__file-icon-image);mask-image:var(--ez-upload__file-icon-image)}.iu__file-icon:disabled::after{background-color:var(--text--disable, #AFB6C0)}.iu__icon-label{justify-content:center;display:flex;cursor:pointer;box-sizing:border-box}.background--disabled{background-color:var(--color--disable-secondary, #F2F5F8)}.text--disabled{color:var(--text--disable, #AFB6C0)}.mouse-pointer--disabled{cursor:unset}.appearanceNone{width:0px;height:0px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{n as ez_upload}
1
+ import{r as i,c as t,f as e,h as a,g as o}from"./p-23a36bb6.js";import{ElementIDUtils as s}from"@sankhyalabs/core";import{A as d}from"./p-36805134.js";import{i as l}from"./p-bfbf8909.js";import"./p-ab574d59.js";class r{constructor(i){this.file=i,this.size=i.size,this.name=i.name}abortUpload(){this._uploadingXhr&&(this._aborted=!0,this._uploadingXhr.abort(),this._uploadingXhr=void 0)}isUploading(){return void 0!==this._uploadingXhr}async upload(i,t,e){return new Promise(((a,o)=>{const s=new XMLHttpRequest;this._uploadingXhr=s,this._aborted=!1,this.progress=0,s.upload.onprogress=i=>{const t=i.loaded,a=i.total;this.progress=~~(t/a*100),e(this,t,a)},s.onreadystatechange=()=>{if(4==s.readyState){this._uploadingXhr=void 0;const i=s.status;this._aborted||(0===i?o("Servidor indisponível"):i>=500?o("Erro inesperado no servidor"):i>=400&&o("Operação não permitida"));const t=s.response;if(t)try{a(JSON.parse(t))}catch(i){o(`Servidor não retornou um objeto válido: ${t}.\n${i}`)}}},s.ontimeout=()=>{o("Tempo limite de transferência atingido.")};const d=new FormData;d.append("ARQUIVO",this.file,this.file.name),s.open("POST",i,!0),t&&t.forEach(((i,t)=>s.setRequestHeader(t,i))),s.send(d)}))}async delete(i,t,e){return new Promise(((a,o)=>{const s=new XMLHttpRequest;s.onreadystatechange=()=>{4==s.readyState&&(0===s.status?o("Servidor indisponível"):s.status>=500?o("Erro inesperado no servidor"):s.status>=400&&o("Operação não permitida"),a(!0))},s.ontimeout=()=>{o("Tempo limite de remoção atingido.")},s.open("DELETE",t,!0),e&&e.forEach(((i,t)=>s.setRequestHeader(t,i))),s.send(JSON.stringify(i))}))}}const n=class{constructor(e){i(this,e),this.ezChange=t(this,"ezChange",7),this.ezStartChange=t(this,"ezStartChange",7),this.ezCancelWaitingChange=t(this,"ezCancelWaitingChange",7),this._filePointers=new Map,this.label=void 0,this.subtitle=void 0,this.enabled=!0,this.maxFileSize=void 0,this.maxFiles=void 0,this.requestHeaders=void 0,this.urlUpload=void 0,this.urlDelete=void 0,this.value=void 0}observeValue(i,t){(i!==this._updatingValue||null==i&&null!=t)&&(this._filePointers.forEach((i=>{this.isRemoteFile(i)&&i.abortUpload()})),this._filePointers=new Map,this.updateFilePointers(),this._updatingValue=void 0)}updateFilePointers(){Array.isArray(this.value)&&this.value.forEach((i=>this._filePointers.set(i.name,i)))}observeRequestHeaders(){if(this._requestHeaders=new Map,"string"==typeof this.requestHeaders)try{this.requestHeaders=JSON.parse(this.requestHeaders)}catch(i){this.requestHeaders=void 0}for(var i in this.requestHeaders)this._requestHeaders.set(i,this.requestHeaders[i])}async addFiles(i){if(this.maxFiles>0){let t=this._filePointers.size;if(i.forEach((i=>{this._filePointers.has(i.name)||t++})),t>this.maxFiles)return void this.showError(this.i18n("ez-upload.maxFilesError",{maxFiles:this.maxFiles}))}Array.prototype.forEach.call(i,this.addFile.bind(this))}async setFocus(){this._fileInput.focus()}async setBlur(){this._fileInput.blur()}async addFile(i){const t=this._filePointers.get(i.name);t?d.confirm(this.i18n("ez-upload.replaceFileTitle"),this.i18n("ez-upload.replaceFileMessage",{fileName:i.name})).then((e=>{e&&(this.isRemoteFile(t)&&t.abortUpload(),this.doAddFile(i))})):this.doAddFile(i)}async doAddFile(i){try{if(this.validateFile(i)){this.ezStartChange.emit({waitmessage:this.i18n("ez-upload.uploadingMessage"),blocking:!0});const t=new r(i),a=this._filePointers.get(i.name);a&&this.isRemoteFile(a)&&a.abortUpload(),this._filePointers.set(i.name,t),t.upload(this.urlUpload,this._requestHeaders,(i=>this.updateFeedback(i))).then((i=>i.forEach((i=>this.finishUpload(t.name,i))))).catch((i=>{this.ezCancelWaitingChange.emit(),this.showError(i)})),e(this)}}catch(i){throw this.ezCancelWaitingChange.emit(),i}}finishUpload(i,t){this._filePointers.set(i,t),this.updateValue()}updateValue(){this._updatingValue=[],this._filePointers.forEach((i=>{this.isRemoteFile(i)||this._updatingValue.push(i)})),this._filePointers.size===this._updatingValue.length&&(this.value=this._updatingValue,this.ezChange.emit(this.value))}buildProgressId(i){return`PROGRESS_${i.name.replace(/[^a-z0-9_]/gi,"_")}_${i.file.lastModified}`}updateFeedback(i){window.requestAnimationFrame((()=>{if(this._host){const t=this._host.shadowRoot.querySelector("#"+this.buildProgressId(i));t&&(t.value=i.progress)}}))}validateFile(i){return!this._filePointers.has(i.name)&&this.maxFiles>0&&this._filePointers.size>=this.maxFiles?(this.showError(this.i18n("ez-upload.maxFilesError",{maxFiles:this.maxFiles})),!1):0===i.size?(this.showError(this.i18n("ez-upload.emptyFileError",{fileName:i.name})),!1):this.urlUpload?!(this.maxFileSize>=0&&i.size>this.maxFileSize&&(this.showError(this.i18n("ez-upload.maxFileSizeError",{maxSize:this.formatBytes(this.maxFileSize)})),1)):(this.showError(this.i18n("ez-upload.missingUploadUrlError")),!1)}showError(i){d.alert(this.i18n("ez-upload.uploadErrorTitle"),i)}formatBytes(i,t=1){if(0===i)return"0 Bytes";const e=t<0?0:t,a=Math.floor(Math.log(i)/Math.log(1024));return parseFloat((i/Math.pow(1024,a)).toFixed(e))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][a]}onFileInputChange(i){this.addFiles(Array.from(i.target.files)),this._fileInput.value=""}isRemoteFile(i){return"file"in i}removeFromList(i){this._filePointers.delete(i),this.updateValue()}removeFile(i){const t=this._filePointers.get(i);if(this.isRemoteFile(t))t.abortUpload(),this.removeFromList(i);else if(this.urlDelete){const e=new r(null);this._filePointers.set(t.name,e),e.delete(t,this.urlDelete,null).then((()=>this.removeFromList(i))).catch((i=>this.showError(i)))}else this.removeFromList(i)}openFilesDialog(){this.enabled&&this._fileInput.click()}componentDidLoad(){this.enabled&&this._dropZone&&window.FileList&&window.File&&(this._dropZone.addEventListener("dragover",(i=>{i.stopPropagation(),i.preventDefault(),i.dataTransfer.dropEffect="copy",this._dropZone.style.background="#c2dbff"})),this._dropZone.addEventListener("drop",(i=>{i.stopPropagation(),i.preventDefault(),this.addFiles(Array.from(i.dataTransfer.files)),this._dropZone.style.background=""})),this._dropZone.addEventListener("dragleave",(()=>{this._dropZone.style.background=""}))),this._host&&s.addIDInfo(this._host,"input"),this.observeRequestHeaders()}componentWillRender(){this.value&&this._filePointers.size<this.value.length&&this.updateFilePointers()}async componentWillLoad(){this.i18n=await l()}render(){return a("div",{ref:i=>this._dropZone=i,class:this.evalDisabledClass("iu","background--disabled")},a("div",{class:"iu__container",onClick:()=>this.openFilesDialog()},a("div",{class:"iu_header"},this.label?a("label",{class:this.evalDisabledClass("iu__label","text--disabled"),title:this.label},this.label):null,a("div",{class:"padding-large"},a("div",{class:this.evalDisabledClass("iu__icon-label","mouse-pointer--disabled")},a("button",{class:"iu__file-icon",disabled:!this.enabled}),a("div",{class:this.evalDisabledClass("text text--center text--medium text--primary","text--disabled")},this.i18n(this.enabled?"ez-upload.enable":"ez-upload.disable"))),this.subtitle&&a("div",{class:this.evalDisabledClass("padding-extra-small text text--center text--small text--secondary","text--disabled")},this.subtitle))),this.buildFooter()),a("input",{ref:i=>this._fileInput=i,onChange:i=>this.onFileInputChange(i),type:"file",multiple:!0,class:"appearanceNone"}))}buildFooter(){if(0===this._filePointers.size)return null;const i=[];return this._filePointers.forEach((t=>i.push(this.buildFileItem(t)))),a("div",{class:"iu__footer"},i)}buildFileItem(i){const t=i.name,e=Number(i.progress),o=i.downloadURL,s=i.size>0?`(${this.formatBytes(i.size)})`:"",d=`${t} ${s}`;return a("div",{class:"iu__item",key:t,onClick:i=>i.stopPropagation()},a("div",{class:"iu__item-label modificador"},a("div",{title:d,class:"col--stretch align--middle file__name text text--primary text--small text--ellipsis align--middle"},o?a("a",{href:o,download:!0},d):d)),isNaN(e)?null:a("div",{class:"col col--sd-4 col--stretch align--middle"},a("progress",{id:this.buildProgressId(i),value:e,max:"100"})),this.enabled?a("div",{class:"col col--stretch align--middle"},a("button",{class:"btn-cancel ",onClick:()=>this.removeFile(t)})):null)}evalDisabledClass(i,t){return this.enabled?i:`${i} ${t}`}get _host(){return o(this)}static get watchers(){return{value:["observeValue"],requestHeaders:["observeRequestHeaders"]}}};n.style=':host{--ez-upload--height:42px;--ez-upload--width:100%;--ez-upload__icon--width:48px;--ez-upload__container--background-color:var(--background--medium, #d2dce9);--ez-upload__color--primary:var(--color--primary, #008561);--ez-upload--padding--extra-small:var(--space--extra-small, 3px);--ez-upload--padding--small:var(--space--small, 6px);--ez-upload--padding--medium:var(--space--medium, 12px);--ez-upload--padding--large:var(--space--large, 24px);--ez-upload__border--color:var(--color-strokes, #DCE0E8);--ez-upload--text-shadow:var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);--ez-upload--text--primary:var(--text-primary, #626e82);--ez-upload--text--secondary:var(--text-secondary, #a2abb9);--ez-upload--font-size:var(--text--medium, 14px);--ez-upload--font-family:var(--font-pattern, Arial);--ez-upload--font-weight:var(--text-weight--large, 500);--ez-upload__btn__cancel-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="8x" width="8px"><path d="M 8,0.8 7.2,0 4,3.2 0.8,0 0,0.8 3.2,4 0,7.2 0.8,8 4,4.8 7.2,8 8,7.2 4.8,4 Z"/></svg>\');--ez-upload__file-icon-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="11x" width="9px"><path d="M 1.2272719,8.4999999 V 2.75 c 0,-1.1045695 1.4652499,-2 3.2727273,-2 1.8074777,0 3.2727281,0.8954305 3.2727281,2 V 8.9999999 C 7.7727273,9.690356 6.8569456,10.25 5.7272719,10.25 4.5975985,10.25 3.6818174,9.690356 3.6818174,8.9999999 V 3.75 c 0,-0.2761425 0.3663125,-0.5 0.8181818,-0.5 0.4518694,0 0.8181818,0.2238575 0.8181818,0.5 V 8.4999999 H 6.5454537 V 3.75 C 6.5454537,3.059644 5.6296725,2.5 4.4999992,2.5 3.3703258,2.5 2.4545446,3.059644 2.4545446,3.75 V 8.9999999 C 2.4545446,10.10457 3.9197945,11 5.7272719,11 7.5347496,11 9,10.10457 9,8.9999999 V 2.75 C 9,1.231217 6.9852809,0 4.4999992,0 2.0147181,5e-7 0,1.231217 0,2.75 v 5.7499999 z"/></svg>\');display:flex;flex-wrap:wrap;position:relative;padding-bottom:16px;font-family:var(--ez-upload--font-family);font-size:var(--ez-upload--font-size);width:var(--ez-upload--width);font-weight:var(--ez-upload--font-weight)}.iu{display:flex;flex-wrap:wrap;background-color:var(--ez-upload__container--background-color);padding:var(--ez-upload--padding--small);width:100%;border-radius:12px;box-sizing:border-box}.iu__container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;border:2px dashed var(--ez-upload__border--color);border-radius:6px;box-sizing:border-box}.iu__footer{display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%;padding:0 var(--ez-upload--padding--medium) var(--ez-upload--padding--medium) var(--ez-upload--padding--medium);box-sizing:border-box}.iu__item{display:flex;width:100%;justify-content:flex-start;align-items:center;align-self:center;padding-bottom:var(--ez-upload--padding--extra-small);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iu__item-label{display:flex;max-width:80%;align-self:stretch;align-items:center}.file__name{font-weight:200}.box__content{width:100%;justify-content:center;align-items:center;height:100%;border:1px dashed var(--ez-upload__border--color);border-radius:6px;box-sizing:border-box}.box__container{display:flex;flex-wrap:wrap;background-color:var(--ez-upload__container--background-color);padding:6px;width:100%;border-radius:12px}a:-webkit-any-link{color:#008561;fill:#008561;cursor:pointer;text-decoration:none}progress[value]{display:flex;width:100%;appearance:none;border:1px solid var(--ez-upload__border--color);height:12px;justify-content:flex-start;align-items:center;border-radius:3px;position:relative}progress[value]::-webkit-progress-bar{display:flex;-webkit-appearance:none;width:100%;background-color:rgb(255, 255, 255);border-radius:2px;padding:2px}progress[value]::-webkit-progress-value{display:flex;width:100%;background-color:var(--ez-upload__color--primary)}.text--center{text-align:center}.align--middle{align-self:center;align-items:center}.padding-large{padding:var(--ez-upload--padding--large) 0px}.padding-extra-small{padding:var(--ez-upload--padding--extra-small) 0px}.text{font-family:var(--font-pattern, "Roboto");text-shadow:0 0 0 #353535, 0 0 1px transparent}.text--primary{color:var(--ez-upload--text--primary);text-shadow:var(--ez-upload--text-shadow)}.text--secondary{color:var(--ez-upload--text--secondary);text-shadow:var(--ez-upload--text-shadow)}.text--ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text--medium{font-size:14px}.text--small{font-size:12px}.btn-cancel{outline:none;border:none;background-color:unset;cursor:pointer}.btn-cancel::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:8px;height:8px;-webkit-mask-image:var(--ez-upload__btn__cancel-image);mask-image:var(--ez-upload__btn__cancel-image)}.iu_header{display:flex;flex-direction:column;width:100%}.iu__label{padding:var(--space--small);box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--ez-upload--font-family);font-size:var(--text--extra-small);font-weight:var(--ez-upload--font-weight);color:var(--ez-upload--text--primary);text-shadow:var(--ez-upload--text-shadow)}.iu__file-icon{outline:none;border:none;background-color:unset;cursor:pointer}.iu__file-icon:disabled{cursor:unset}.iu__file-icon::after{content:\'\';display:flex;background-color:var(--text--primary, #626e82);width:9px;height:11px;-webkit-mask-image:var(--ez-upload__file-icon-image);mask-image:var(--ez-upload__file-icon-image)}.iu__file-icon:disabled::after{background-color:var(--text--disable, #AFB6C0)}.iu__icon-label{justify-content:center;display:flex;cursor:pointer;box-sizing:border-box}.background--disabled{background-color:var(--color--disable-secondary, #F2F5F8)}.text--disabled{color:var(--text--disable, #AFB6C0)}.mouse-pointer--disabled{cursor:unset}.appearanceNone{width:0px;height:0px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}';export{n as ez_upload}
Binary file
@@ -0,0 +1 @@
1
+ import{i}from"./p-bfbf8909.js";const o=async function(){await i(),console.log("Global initialization ez-ui completed!")};export{o as g}
Binary file
@@ -1 +1 @@
1
- import{r as e,c as a,h as i,H as t,g as s}from"./p-23a36bb6.js";import{ElementIDUtils as r}from"@sankhyalabs/core";import{E as o}from"./p-98bb8b16.js";import{i as n}from"./p-638a30d0.js";var d,l,h;!function(e){e.FLOAT="float",e.FIXED="fixed"}(d||(d={})),function(e){e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg"}(l||(l={})),function(e){e.FLOAT="float",e.FIXED="fixed",e.DYNAMIC="dynamic"}(h||(h={}));const b=class{constructor(i){e(this,i),this.ezChangeMode=a(this,"ezChangeMode",7),this.handleToggleSidebar=()=>{this.open=!this.open},this.handleToggleMode=()=>{this.mode=this.mode===d.FIXED?d.FLOAT:d.FIXED,this.ezChangeMode.emit(this.mode)},this.type=h.DYNAMIC,this.mode=d.FLOAT,this.size=l.SMALL,this.isResponsive=!1,this.titleMenu="",this.showCollapseMenu=!0,this.showFixedButton=!0,this.open=!1}async changeModeMenu(){this.type===h.DYNAMIC&&this.handleToggleMode()}async closeSidebar(){this.open=!1}async openSidebar(){this.open=!0}async componentWillLoad(){this.i18n=await n()}componentDidLoad(){this.type===h.FIXED&&(this.mode=d.FIXED,this.open=!0)}render(){return r.addIDInfoIfNotExists(this._element),i(t,null,i("ez-sidebar-button",{class:this.open?"hidden":"",onEzClick:this.mode===d.FIXED?this.handleToggleSidebar:void 0,onMouseEnter:this.mode===d.FLOAT?this.handleToggleSidebar:void 0,"aria-controls":"navigator","aria-expanded":this.open,"data-element-id":r.getInternalIDInfo("openButton")}),this.open?i("aside",{tabIndex:-1,id:"navigator",class:`ez-col ez-col--sd-12 ez-col--tb-3 ez-sidebar-navigator ${this.mode===d.FLOAT?"dynamic":"fixed"} ${this.isResponsive?"responsive":this.size} ${this.open?"show":"hidden"}`,"data-element-id":r.getInternalIDInfo("sidebar"),onMouseLeave:this.type!==h.FIXED&&this.mode===d.FLOAT?this.handleToggleSidebar:void 0},i("header",{class:"ez-sidebar-navigator__header"},i("slot",{name:"start"}),""!==this.titleMenu&&i("div",{class:"ez-sidebar-navigator__title",title:this.titleMenu},this.titleMenu),!this.titleMenu&&i("slot",{name:"content"}),i("div",{class:"ez-sidebar-navigator__end"},i("slot",{name:"end"}),this.type===h.DYNAMIC&&this.showFixedButton&&i("ez-button",{onClick:this.handleToggleMode,mode:"icon",size:"small",iconName:this.mode===d.FIXED?"un-pin":"push-pin",title:this.i18n(this.mode===d.FIXED?"ez-sidebar.unPinMenu":"ez-sidebar.pushPinMenu"),"aria-label":this.i18n(this.mode===d.FIXED?"ez-sidebar.unPinMenu":"ez-sidebar.pushPinMenu"),"aria-controls":"navigator","data-element-id":r.getInternalIDInfo("pinButton")}),this.mode===d.FIXED&&this.showCollapseMenu&&i("ez-button",{onClick:this.handleToggleSidebar,class:"inverted",mode:"icon",size:"small",iconName:"show_menu",title:this.i18n("ez-sidebar.hideMenu"),"aria-label":this.i18n("ez-sidebar.hideMenu"),"aria-controls":"navigator","data-element-id":r.getInternalIDInfo("closeButton")}))),this.titleMenu&&i("slot",{name:"content"}),i("ez-scroller",{class:"ez-sidebar-navigator__content",direction:o.VERTICAL,activeShadow:!0},i("slot",null)),i("footer",{class:"ez-sidebar-navigator__footer"},i("slot",{name:"footer"}))):void 0)}get _element(){return s(this)}};b.style=':host{--ez-sidebar-navigator--padding-left:var(--space--xs, 12px);--ez-sidebar-navigator--padding-right:var(--space--xs, 12px);--ez-sidebar-navigator--gap:var(--space--xs, 12px);--ez-sidebar-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-sidebar-navigator--background-color:var(--color--inverted);--ez-sidebar-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-sidebar-navigator--height:calc(100vh - var(--space--lg, 24px));--ez-sidebar-navigator--z-index:var(--elevation--20, 20);--ez-sidebar-navigator--header-gap:var(--space--xs, 12px);--ez-sidebar-navigator--footer-gap:var(--space--xs, 12px);--ez-ez-sidebar-navigator__title--font-family:var(--font-pattern, "Roboto");--ez-ez-sidebar-navigator__title--font-size:var(--title--medium, 16px);--ez-ez-sidebar-navigator__title--color:var(--title--primary, #2b3a54);--ez-ez-sidebar-navigator__title--font-weight:var(--text-weight--extra-large, 700)}.inverted{transform:rotate(180deg)}.ez-sidebar-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:var(--ez-sidebar-navigator--height);padding-top:var(--space--xs, 12px);padding-bottom:var(--space--xs, 12px);outline:none;gap:var(--ez-sidebar-navigator--gap);padding-left:var(--ez-sidebar-navigator--padding-left);padding-right:var(--ez-sidebar-navigator--padding-right);background-color:var(--ez-sidebar-navigator--background-color);-webkit-box-shadow:var(--ez-sidebar-navigator--box-shadow);box-shadow:var(--ez-sidebar-navigator--box-shadow);border-radius:var(--ez-sidebar-navigator--border-radius)}.ez-sidebar-navigator__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;justify-content:space-between;gap:var(--ez-sidebar-navigator--header-gap)}.ez-sidebar-navigator__content{height:100%}.ez-sidebar-navigator__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-sidebar-navigator--footer-gap)}.ez-sidebar-navigator__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-family:var(--ez-ez-sidebar-navigator__title--font-family);font-size:var(--ez-ez-sidebar-navigator__title--font-size);font-weight:var(--ez-ez-sidebar-navigator__title--font-weight);color:var(--ez-ez-sidebar-navigator__title--color)}.ez-sidebar-navigator__end{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto;gap:var(--ez-sidebar-navigator--gap)}.dynamic{position:absolute;z-index:var(--ez-sidebar-navigator--z-index)}.fixed{position:relative}.hidden{display:none}.show{animation:fadeIn .1s ease-in-out 1}@keyframes fadeIn{from{transform:translate(-100%)}}.sm{width:240px}.md{width:280px}.lg{width:320px}@media screen and (max-width: 991px){.responsive{width:240px}}@media screen and (min-width: 992px){.responsive{width:280px}}@media screen and (min-width: 1200px){.responsive{width:320px}}';export{b as ez_sidebar_navigator}
1
+ import{r as e,c as a,h as i,H as t,g as s}from"./p-23a36bb6.js";import{ElementIDUtils as r}from"@sankhyalabs/core";import{E as o}from"./p-98bb8b16.js";import{i as n}from"./p-bfbf8909.js";var d,l,h;!function(e){e.FLOAT="float",e.FIXED="fixed"}(d||(d={})),function(e){e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg"}(l||(l={})),function(e){e.FLOAT="float",e.FIXED="fixed",e.DYNAMIC="dynamic"}(h||(h={}));const b=class{constructor(i){e(this,i),this.ezChangeMode=a(this,"ezChangeMode",7),this.handleToggleSidebar=()=>{this.open=!this.open},this.handleToggleMode=()=>{this.mode=this.mode===d.FIXED?d.FLOAT:d.FIXED,this.ezChangeMode.emit(this.mode)},this.type=h.DYNAMIC,this.mode=d.FLOAT,this.size=l.SMALL,this.isResponsive=!1,this.titleMenu="",this.showCollapseMenu=!0,this.showFixedButton=!0,this.open=!1}async changeModeMenu(){this.type===h.DYNAMIC&&this.handleToggleMode()}async closeSidebar(){this.open=!1}async openSidebar(){this.open=!0}async componentWillLoad(){this.i18n=await n()}componentDidLoad(){this.type===h.FIXED&&(this.mode=d.FIXED,this.open=!0)}render(){return r.addIDInfoIfNotExists(this._element),i(t,null,i("ez-sidebar-button",{class:this.open?"hidden":"",onEzClick:this.mode===d.FIXED?this.handleToggleSidebar:void 0,onMouseEnter:this.mode===d.FLOAT?this.handleToggleSidebar:void 0,"aria-controls":"navigator","aria-expanded":this.open,"data-element-id":r.getInternalIDInfo("openButton")}),this.open?i("aside",{tabIndex:-1,id:"navigator",class:`ez-col ez-col--sd-12 ez-col--tb-3 ez-sidebar-navigator ${this.mode===d.FLOAT?"dynamic":"fixed"} ${this.isResponsive?"responsive":this.size} ${this.open?"show":"hidden"}`,"data-element-id":r.getInternalIDInfo("sidebar"),onMouseLeave:this.type!==h.FIXED&&this.mode===d.FLOAT?this.handleToggleSidebar:void 0},i("header",{class:"ez-sidebar-navigator__header"},i("slot",{name:"start"}),""!==this.titleMenu&&i("div",{class:"ez-sidebar-navigator__title",title:this.titleMenu},this.titleMenu),!this.titleMenu&&i("slot",{name:"content"}),i("div",{class:"ez-sidebar-navigator__end"},i("slot",{name:"end"}),this.type===h.DYNAMIC&&this.showFixedButton&&i("ez-button",{onClick:this.handleToggleMode,mode:"icon",size:"small",iconName:this.mode===d.FIXED?"un-pin":"push-pin",title:this.i18n(this.mode===d.FIXED?"ez-sidebar.unPinMenu":"ez-sidebar.pushPinMenu"),"aria-label":this.i18n(this.mode===d.FIXED?"ez-sidebar.unPinMenu":"ez-sidebar.pushPinMenu"),"aria-controls":"navigator","data-element-id":r.getInternalIDInfo("pinButton")}),this.mode===d.FIXED&&this.showCollapseMenu&&i("ez-button",{onClick:this.handleToggleSidebar,class:"inverted",mode:"icon",size:"small",iconName:"show_menu",title:this.i18n("ez-sidebar.hideMenu"),"aria-label":this.i18n("ez-sidebar.hideMenu"),"aria-controls":"navigator","data-element-id":r.getInternalIDInfo("closeButton")}))),this.titleMenu&&i("slot",{name:"content"}),i("ez-scroller",{class:"ez-sidebar-navigator__content",direction:o.VERTICAL,activeShadow:!0},i("slot",null)),i("footer",{class:"ez-sidebar-navigator__footer"},i("slot",{name:"footer"}))):void 0)}get _element(){return s(this)}};b.style=':host{--ez-sidebar-navigator--padding-left:var(--space--xs, 12px);--ez-sidebar-navigator--padding-right:var(--space--xs, 12px);--ez-sidebar-navigator--gap:var(--space--xs, 12px);--ez-sidebar-navigator--box-shadow:var(--shadow, 0px 0px 24px 0px #000);--ez-sidebar-navigator--background-color:var(--color--inverted);--ez-sidebar-navigator--border-radius:0px var(--border--radius-medium) var(--border--radius-medium) 0px;--ez-sidebar-navigator--height:calc(100vh - var(--space--lg, 24px));--ez-sidebar-navigator--z-index:var(--elevation--20, 20);--ez-sidebar-navigator--header-gap:var(--space--xs, 12px);--ez-sidebar-navigator--footer-gap:var(--space--xs, 12px);--ez-ez-sidebar-navigator__title--font-family:var(--font-pattern, "Roboto");--ez-ez-sidebar-navigator__title--font-size:var(--title--medium, 16px);--ez-ez-sidebar-navigator__title--color:var(--title--primary, #2b3a54);--ez-ez-sidebar-navigator__title--font-weight:var(--text-weight--extra-large, 700)}.inverted{transform:rotate(180deg)}.ez-sidebar-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:var(--ez-sidebar-navigator--height);padding-top:var(--space--xs, 12px);padding-bottom:var(--space--xs, 12px);outline:none;gap:var(--ez-sidebar-navigator--gap);padding-left:var(--ez-sidebar-navigator--padding-left);padding-right:var(--ez-sidebar-navigator--padding-right);background-color:var(--ez-sidebar-navigator--background-color);-webkit-box-shadow:var(--ez-sidebar-navigator--box-shadow);box-shadow:var(--ez-sidebar-navigator--box-shadow);border-radius:var(--ez-sidebar-navigator--border-radius)}.ez-sidebar-navigator__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;justify-content:space-between;gap:var(--ez-sidebar-navigator--header-gap)}.ez-sidebar-navigator__content{height:100%}.ez-sidebar-navigator__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--ez-sidebar-navigator--footer-gap)}.ez-sidebar-navigator__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-family:var(--ez-ez-sidebar-navigator__title--font-family);font-size:var(--ez-ez-sidebar-navigator__title--font-size);font-weight:var(--ez-ez-sidebar-navigator__title--font-weight);color:var(--ez-ez-sidebar-navigator__title--color)}.ez-sidebar-navigator__end{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto;gap:var(--ez-sidebar-navigator--gap)}.dynamic{position:absolute;z-index:var(--ez-sidebar-navigator--z-index)}.fixed{position:relative}.hidden{display:none}.show{animation:fadeIn .1s ease-in-out 1}@keyframes fadeIn{from{transform:translate(-100%)}}.sm{width:240px}.md{width:280px}.lg{width:320px}@media screen and (max-width: 991px){.responsive{width:240px}}@media screen and (min-width: 992px){.responsive{width:280px}}@media screen and (min-width: 1200px){.responsive{width:320px}}';export{b as ez_sidebar_navigator}
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{r as i,c as t,h as s,H as o,g as e}from"./p-23a36bb6.js";import{ElementIDUtils as h,KeyboardManager as a}from"@sankhyalabs/core";const l=class{constructor(s){i(this,s),this.ezChange=t(this,"ezChange",7),this.ezBlur=t(this,"ezBlur",7),this.iconClick=t(this,"iconClick",7),this.ezVisibilityChange=t(this,"ezVisibilityChange",7),this.ezType=t(this,"ezType",7),this._keyboardManager=void 0,this._boundHandleDocumentClick=this.handleDocumentClick.bind(this),this.popoverVisible=!1,this.hasSlotContent=!1,this.highlightedIndex=0,this.filteredOptions=[],this.inputValue="",this.value=null,this.label=void 0,this.placeholder=void 0,this.enabled=!0,this.readonly=!1,this.name=void 0,this.state="default",this.helpText=void 0,this.iconName=void 0,this.titleIcon=void 0,this.iconClickable=!1,this.suppressSearch=!1,this.options=void 0,this.textEmptyOption=void 0,this.suppressEmptyOption=!1}async setFocus(i){var t;await(null===(t=this._inputElem)||void 0===t?void 0:t.setFocus(i))}async setBlur(){var i;await(null===(i=this._inputElem)||void 0===i?void 0:i.setBlur()),await this.hidePopover()}async showPopover(){var i,t,s;if(!this._popoverElem||!this._inputElem||this.popoverVisible)return;this.popoverVisible=!0;const o=null===(t=null===(i=this._inputElem)||void 0===i?void 0:i.shadowRoot)||void 0===t?void 0:t.querySelector(".input-container");await(null===(s=this._popoverElem)||void 0===s?void 0:s.showUnder(null!=o?o:this._inputElem))}async hidePopover(){var i;this.popoverVisible=!1,await(null===(i=this._popoverElem)||void 0===i?void 0:i.hide())}compareOptionValues(i,t){var s,o;return JSON.stringify(null!==(s=null==i?void 0:i.value)&&void 0!==s?s:null)===JSON.stringify(null!==(o=null==t?void 0:t.value)&&void 0!==o?o:null)}setEmptyValue(){this.value=null,this.inputValue=""}async setValue(i){if(!i||!this.options)return this.setEmptyValue(),void await this.hidePopover();this.compareOptionValues(this.value,i)||(i.value?(this.value=i,this.inputValue=i.label):this.setEmptyValue(),this.ezChange.emit(this.value)),await this.hidePopover()}async optionsChanged(){this.filterOptions("")}async valueChanged(i){i?(this.inputValue=i.label,this.setHighlightedIndexToValue()):(this.inputValue="",this.highlightedIndex=0)}async handleIconClick(i){i.stopPropagation(),i.preventDefault(),"right"===i.detail.icon?this.popoverVisible?await this.hidePopover():await this.showPopover():this.iconClick.emit()}async handleEzChange(i){i.stopPropagation(),this.inputValue=i.detail,!this.popoverVisible&&this.inputValue.length>0&&await this.showPopover(),this.ezType.emit(this.inputValue),this.highlightedIndex=0,this.filterOptions(this.inputValue)}async handleEzBlur(i){var t,s;i.stopPropagation(),(null===(t=this.value)||void 0===t?void 0:t.label)!==this.inputValue&&(this.inputValue=(null===(s=this.value)||void 0===s?void 0:s.label)||""),this.ezBlur.emit(this.value)}filterOptions(i){if(!this.options)return void(this.filteredOptions=[]);let t=[];if(i&&""!==i.trim()){const s=i.toLowerCase().trim();t=t.concat(this.options.filter((i=>i.label.toLowerCase().includes(s)||i.value.toLowerCase().includes(s))))}else t=t.concat([...this.options]);!this.suppressEmptyOption&&t.length>0&&(t=[{value:null,label:this.textEmptyOption||"Selecione um item"},...t]),this.filteredOptions=t,this.setHighlightedIndexToValue(),this.scrollToHighlightedOption()}scrollToHighlightedOption(){if(this.highlightedIndex<0||!this._listElem)return;const i=this._listElem.children[this.highlightedIndex];i&&i.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}async selectOption(i){i&&!this.readonly&&this.enabled&&await this.setValue(i)}async handleArrowUp(){var i;this.popoverVisible?((null===(i=this.filteredOptions)||void 0===i?void 0:i.length)||0)<=0||this.highlightedIndex<=0||(this.highlightedIndex=Math.max(0,this.highlightedIndex-1),this.scrollToHighlightedOption()):await this.showPopover()}handleArrowDown(){var i;if(!this.popoverVisible)return void this.showPopover();const t=(null===(i=this.filteredOptions)||void 0===i?void 0:i.length)||0;t<=0||(this.highlightedIndex=Math.min(t-1,this.highlightedIndex+1),this.scrollToHighlightedOption())}async selectCurrentItem(){!this.popoverVisible||this.highlightedIndex<0||(this.hasSlotContent||0===this.filteredOptions.length||this.readonly||!this.enabled?await this.hidePopover():this.filteredOptions&&this.filteredOptions[this.highlightedIndex]&&this.selectOption(this.filteredOptions[this.highlightedIndex]))}handleVisibilityChange(i){this.popoverVisible=i.detail,this.ezVisibilityChange.emit(this.popoverVisible)}checkSlotContent(){const i=this._element.querySelector("slot")||this._element;this.hasSlotContent=i instanceof HTMLSlotElement?i.assignedNodes().length>0:i.children.length>0}setHighlightedIndexToValue(){if(this.value&&this.filteredOptions){const i=this.filteredOptions.findIndex((i=>i.value===this.value.value));if(i>=0)return void(this.highlightedIndex=i);this.highlightedIndex=0}}async handleDocumentClick(i){const t=i.target;this._element.contains(t)||this._popoverElem.contains(t)||await this.hidePopover()}addInfoId(){const i={id:"embedded"};this._element&&h.addIDInfo(this._element),this._inputElem&&h.addIDInfo(this._inputElem,"classic-combo-box-input",i),this._popoverElem&&h.addIDInfo(this._popoverElem,"classic-combo-box-popover",i)}async initKeyboardManager(){this._keyboardManager=new a({element:this._element,propagate:!0}),this._keyboardManager.bind("ArrowUp",(()=>this.handleArrowUp()),{propagate:!1}).bind("ArrowDown",(()=>this.handleArrowDown()),{propagate:!1}).bind("Enter",(()=>this.selectCurrentItem()),{propagate:!1}).bind("Tab",(()=>this.selectCurrentItem())).bind("shift+Tab",(()=>this.selectCurrentItem())).bind("Escape",(()=>this.hidePopover()))}async connectedCallback(){await this.initKeyboardManager(),document.addEventListener("mouseup",this._boundHandleDocumentClick)}disconnectedCallback(){this._keyboardManager.unbindAllShortcutKeys(),document.removeEventListener("mouseup",this._boundHandleDocumentClick)}componentWillLoad(){this.filterOptions("")}componentDidLoad(){this.addInfoId(),this.checkSlotContent(),this.value&&(this.inputValue=this.value.label,this.setHighlightedIndexToValue())}render(){var i;return s(o,null,s("ez-classic-input",{ref:i=>this._inputElem=i,name:this.name,label:this.label,placeholder:this.placeholder,value:this.inputValue,state:this.state,enabled:this.enabled,readonly:this.readonly||this.suppressSearch,leftIconName:this.iconName,leftIconTooltip:this.titleIcon,leftIconClickable:this.iconClickable,rightIconClickable:!0,helpText:this.helpText,rightIconName:this.popoverVisible?"chevron-up":"chevron-down",onIconClick:this.handleIconClick.bind(this),onEzChange:this.handleEzChange.bind(this),onEzFocus:this.showPopover.bind(this),onEzBlur:this.handleEzBlur.bind(this)}),s("ez-popover-core",{ref:i=>this._popoverElem=i,useAnchorSize:!0,onEzVisibilityChange:this.handleVisibilityChange.bind(this),overlayType:"none",options:{verticalGap:2,horizontalGap:0},autoClose:!1},s("slot",{onSlotchange:this.checkSlotContent.bind(this)}),!this.hasSlotContent&&((null===(i=this.filteredOptions)||void 0===i?void 0:i.length)>0?s("ul",{ref:i=>this._listElem=i,tabIndex:-1},this.filteredOptions.map(((i,t)=>{var o,e;return s("li",{key:null!==(o=i.value)&&void 0!==o?o:"__empty__",value:i.value,class:{highlighted:this.highlightedIndex===t,selected:(null===(e=this.value)||void 0===e?void 0:e.value)===i.value},onMouseDown:()=>this.selectOption(i)},i.label)}))):s("span",{class:"no-results"},"Nenhum resultado encontrado"))))}get _element(){return e(this)}static get watchers(){return{options:["optionsChanged"],value:["valueChanged"]}}};l.style=":host{display:block;box-sizing:border-box;font-family:var(--font--pattern, 'Roboto', Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--gray-500, #494A4E);--ez-classic-combo-box-highlighted-bg-color:var(--color--gray-90, #EAEAEA);--ez-classic-combo-box-max-height:180px;--ez-classic-combo-box-list-bg-color:var(--color--gray-70, #FFFFFF);--ez-classic-combo-box-item-hover-bg-color:var(--color--gray-100, #DEDEDE);--ez-classic-combo-box-selected-bg-color:var(--color--ocean-green-90, #E6F3EF);--ez-classic-combo-box-selected-text-color:var(--color--ocean-green-600, #008561);--ez-classic-combo-box-selected-font-weight:var(--font-weight--medium, 500);--ez-classic-combo-box-item-padding:var(--space--8, 8px) var(--space--4, 4px);--ez-classic-combo-box-item-border-radius:var(--border--radius-8, 8px);--ez-classic-combo-box-list-margin:var(--space--6, 6px);--ez-classic-combo-box-transition-duration:150ms;--ez-classic-combo-box-scrollbar-color:var(--color--gray-300, #C4C4C4);--ez-classic-combo-box-no-results-margin:var(--space--52, 52px) 0;--ez-classic-combo-box-item-text-color:inherit;--ez-classic-combo-box-item-min-height:auto}ul{list-style:none;padding:0;margin:var(--ez-classic-combo-box-list-margin);display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--ez-classic-combo-box-scrollbar-color) transparent;max-height:var(--ez-classic-combo-box-max-height);scroll-behavior:smooth;background-color:var(--ez-classic-combo-box-list-bg-color)}li{cursor:pointer;border-radius:var(--ez-classic-combo-box-item-border-radius);padding:var(--ez-classic-combo-box-item-padding);transition:var(--ez-classic-combo-box-transition-duration) background-color linear;color:var(--ez-classic-combo-box-item-text-color);min-height:var(--ez-classic-combo-box-item-min-height)}li:hover{background-color:var(--ez-classic-combo-box-item-hover-bg-color)}li.highlighted{background-color:var(--ez-classic-combo-box-highlighted-bg-color)}li.selected{background-color:var(--ez-classic-combo-box-selected-bg-color);color:var(--ez-classic-combo-box-selected-text-color);font-weight:var(--ez-classic-combo-box-selected-font-weight)}span.no-results{margin:var(--ez-classic-combo-box-no-results-margin);cursor:default;text-align:center;display:flex;align-items:center;justify-content:center}";export{l as ez_classic_combo_box}
Binary file
Binary file
@@ -1 +1 @@
1
- import{r as e,c as t,h as i,H as a,g as o}from"./p-23a36bb6.js";import{KeyboardManager as n}from"@sankhyalabs/core";import{i as l}from"./p-638a30d0.js";var s;!function(e){e.CLOSE="CLOSE",e.OK="OK",e.CANCEL="CANCEL",e.LOAD="LOAD"}(s||(s={}));const r=s;var c;!function(e){e.ENABLED="ENABLED",e.DISABLED="DISABLED",e.HIDDEN="HIDDEN"}(c||(c={}));const d=c,h=class{constructor(i){e(this,i),this.ezModalAction=t(this,"ezModalAction",7),this.modalTitle=void 0,this.modalSubTitle=void 0,this.showTitleBar=!0,this.cancelButtonLabel=void 0,this.okButtonLabel=void 0,this.cancelButtonStatus=void 0,this.okButtonStatus=void 0,this.showCloseButton=!0,this.autoFocus=!1}async handleEzModalAction(e){var t;(null==e?void 0:e.target)&&(null==e?void 0:e.target)===(null===(t=this._element)||void 0===t?void 0:t.parentElement)&&this.closeModal()}cancelIsVisible(){return this.cancelButtonStatus!==d.HIDDEN&&null!=this.cancelButtonLabel}okIsVisible(){return this.okButtonStatus!==d.HIDDEN&&null!=this.okButtonLabel}emitOkAction(){this.ezModalAction.emit(r.OK)}async componentWillLoad(){this.i18n=await l()}connectedCallback(){this._keyboardManager=new n({propagate:!1,element:this._element}).bind("Enter",(()=>this.emitOkAction())).bind("Escape",(()=>this.closeModal())).bind("Esc",(()=>this.closeModal()))}componentDidLoad(){window.requestAnimationFrame((()=>{this.ezModalAction.emit(r.LOAD),this.autoFocus&&this._modalRef.focus()}))}disconnectedCallback(){var e;null===(e=this._keyboardManager)||void 0===e||e.unbindAllShortcutKeys()}closeModal(){this.ezModalAction.emit("CLOSE")}render(){return i(a,null,i("header",{ref:e=>this._modalRef=e,tabIndex:-1,class:"ez-modal-container__header-container"},this.showTitleBar&&i("div",{class:"ez-modal-container__header ez-margin-bottom--medium"},i("div",{class:"ez-col ez-align--middle ez-modal-container__title"},i("h2",{class:"ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small"},this.modalTitle),this.modalSubTitle&&i("div",{class:"ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small"},this.modalSubTitle)),this.showCloseButton&&i("button",{ref:e=>this._closeButton=e,class:"ez-modal-container__close-button",onClick:()=>this.ezModalAction.emit(r.CLOSE),"aria-label":this.i18n("app.close")},i("ez-icon",{class:"ez-modal-container__close-icon",size:"medium",iconName:"close"})))),i("main",{tabIndex:-1,class:"ez-modal-container__content"},i("slot",null)),i("footer",{tabIndex:-1,class:"ez-modal-container__footer"},this.cancelIsVisible()&&i("ez-button",{label:this.cancelButtonLabel||this.i18n("app.cancel"),isDisabled:this.cancelButtonStatus===d.DISABLED,onClick:()=>this.ezModalAction.emit(r.CANCEL)}),this.okIsVisible()&&i("ez-button",{ref:e=>this._okButton=e,class:"ez-button--primary",label:this.okButtonLabel||this.i18n("app.ok"),isDisabled:this.okButtonStatus===d.DISABLED,onClick:()=>this.emitOkAction()})))}get _element(){return o(this)}};h.style=".sc-ez-modal-container-h{--ez-modal-container-overflow-y:auto;--ez-modal-container-overflow-x:hidden;display:flex;flex-direction:column;width:100%;height:100%}.ez-modal-container__header-container.sc-ez-modal-container{outline:none}.ez-modal-container__header.sc-ez-modal-container{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between;align-items:start}.ez-modal-container__content.sc-ez-modal-container{overflow-y:var(--ez-modal-container-overflow-y);overflow-x:var(--ez-modal-container-overflow-x);outline:none;flex:1 1 auto}.ez-modal-container__content.sc-ez-modal-container::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}.ez-modal-container__footer.sc-ez-modal-container{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--space--8, 8px);width:100%;padding-top:var(--space--small, 6px)}.ez-modal-container__title.sc-ez-modal-container{display:grid}.ez-modal-container__close-button.sc-ez-modal-container{cursor:pointer;background-color:transparent;border:none;outline:none;padding:var(--space--6, 6px) 0px}.ez-modal-container__close-icon.sc-ez-modal-container{--icon--color:var(--title--primary, #2B3A54)}";export{h as ez_modal_container}
1
+ import{r as e,c as t,h as i,H as o,g as a}from"./p-23a36bb6.js";import{KeyboardManager as n}from"@sankhyalabs/core";import{i as l}from"./p-bfbf8909.js";var s;!function(e){e.CLOSE="CLOSE",e.OK="OK",e.CANCEL="CANCEL",e.LOAD="LOAD"}(s||(s={}));const r=s;var c;!function(e){e.ENABLED="ENABLED",e.DISABLED="DISABLED",e.HIDDEN="HIDDEN"}(c||(c={}));const d=c,h=class{constructor(i){e(this,i),this.ezModalAction=t(this,"ezModalAction",7),this.modalTitle=void 0,this.modalSubTitle=void 0,this.showTitleBar=!0,this.cancelButtonLabel=void 0,this.okButtonLabel=void 0,this.cancelButtonStatus=void 0,this.okButtonStatus=void 0,this.showCloseButton=!0,this.autoFocus=!1}async handleEzModalAction(e){var t;(null==e?void 0:e.target)&&(null==e?void 0:e.target)===(null===(t=this._element)||void 0===t?void 0:t.parentElement)&&this.closeModal()}cancelIsVisible(){return this.cancelButtonStatus!==d.HIDDEN&&null!=this.cancelButtonLabel}okIsVisible(){return this.okButtonStatus!==d.HIDDEN&&null!=this.okButtonLabel}emitOkAction(){this.ezModalAction.emit(r.OK)}async componentWillLoad(){this.i18n=await l()}connectedCallback(){this._keyboardManager=new n({propagate:!1,element:this._element}).bind("Enter",(()=>this.emitOkAction())).bind("Escape",(()=>this.closeModal())).bind("Esc",(()=>this.closeModal()))}componentDidLoad(){window.requestAnimationFrame((()=>{this.ezModalAction.emit(r.LOAD),this.autoFocus&&this._modalRef.focus()}))}disconnectedCallback(){var e;null===(e=this._keyboardManager)||void 0===e||e.unbindAllShortcutKeys()}closeModal(){this.ezModalAction.emit("CLOSE")}render(){return i(o,null,i("header",{ref:e=>this._modalRef=e,tabIndex:-1,class:"ez-modal-container__header-container"},this.showTitleBar&&i("div",{class:"ez-modal-container__header ez-margin-bottom--medium"},i("div",{class:"ez-col ez-align--middle ez-modal-container__title"},i("h2",{class:"ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small"},this.modalTitle),this.modalSubTitle&&i("div",{class:"ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small"},this.modalSubTitle)),this.showCloseButton&&i("button",{ref:e=>this._closeButton=e,class:"ez-modal-container__close-button",onClick:()=>this.ezModalAction.emit(r.CLOSE),"aria-label":this.i18n("app.close")},i("ez-icon",{class:"ez-modal-container__close-icon",size:"medium",iconName:"close"})))),i("main",{tabIndex:-1,class:"ez-modal-container__content"},i("slot",null)),i("footer",{tabIndex:-1,class:"ez-modal-container__footer"},this.cancelIsVisible()&&i("ez-button",{label:this.cancelButtonLabel||this.i18n("app.cancel"),isDisabled:this.cancelButtonStatus===d.DISABLED,onClick:()=>this.ezModalAction.emit(r.CANCEL)}),this.okIsVisible()&&i("ez-button",{ref:e=>this._okButton=e,class:"ez-button--primary",label:this.okButtonLabel||this.i18n("app.ok"),isDisabled:this.okButtonStatus===d.DISABLED,onClick:()=>this.emitOkAction()})))}get _element(){return a(this)}};h.style=".sc-ez-modal-container-h{--ez-modal-container-overflow-y:auto;--ez-modal-container-overflow-x:hidden;display:flex;flex-direction:column;width:100%;height:100%}.ez-modal-container__header-container.sc-ez-modal-container{outline:none}.ez-modal-container__header.sc-ez-modal-container{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between;align-items:start}.ez-modal-container__content.sc-ez-modal-container{overflow-y:var(--ez-modal-container-overflow-y);overflow-x:var(--ez-modal-container-overflow-x);outline:none;flex:1 1 auto}.ez-modal-container__content.sc-ez-modal-container::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}.ez-modal-container__footer.sc-ez-modal-container{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--space--8, 8px);width:100%;padding-top:var(--space--small, 6px)}.ez-modal-container__title.sc-ez-modal-container{display:grid}.ez-modal-container__close-button.sc-ez-modal-container{cursor:pointer;background-color:transparent;border:none;outline:none;padding:var(--space--6, 6px) 0px}.ez-modal-container__close-icon.sc-ez-modal-container{--icon--color:var(--title--primary, #2B3A54)}";export{h as ez_modal_container}
Binary file
@@ -0,0 +1 @@
1
+ import{r as l,c as i,h as o,g as e}from"./p-23a36bb6.js";import{ElementIDUtils as t}from"@sankhyalabs/core";import{A as s}from"./p-36805134.js";import"./p-ab574d59.js";import"./p-b853763b.js";import{i as a}from"./p-bfbf8909.js";import"./p-30ffb9ed.js";const r=class{constructor(o){l(this,o),this.ezChange=i(this,"ezChange",7),this.ezRemove=i(this,"ezRemove",7),this.ezSaveEditLabel=i(this,"ezSaveEditLabel",7),this.ezEditLabelMode=i(this,"ezEditLabelMode",7),this._activeEditText=!1,this.value=!1,this.boxBordered=!1,this.label=void 0,this.subtitle=void 0,this.headerSize="small",this.iconPlacement="left",this.headerAlign="left",this.removable=!1,this.editable=!1,this.conditionalSave=void 0}async showHide(){this.value=!this.value}async applyFocusTextEdit(){var l;null===(l=this._refTextEdit)||void 0===l||l.applyFocusSelect()}async cancelEdition(){this._activeEditText=!1,this.ezEditLabelMode.emit(this._activeEditText)}observeCollapsedValue(){this.ezChange.emit(this.value)}getHeaderSize(){const l=this.headerSize&&this.headerSize.toLowerCase(),i=["xsmall","xlarge"].includes(l)?l.replace("x","x-"):l;return["x-small","small","medium","large","x-large"].includes(i)?i:"small"}removeElement(){this._hostElement&&this._hostElement.remove(),this.ezRemove.emit(this)}editLabel(l){l.preventDefault(),l.stopPropagation(),this._activeEditText=!0,this.ezEditLabelMode.emit(this._activeEditText)}async confirmRemove(l){l.stopPropagation();const i=this.i18n("ez-collapsible-box.confirmRemove",{label:this.label});await s.confirm(this.i18n("app.warning"),i)&&this.removeElement()}saveEditionText(l){const{value:i,newValue:o}=l.detail;if(i===o)return void this.cancelEdition();let e=!0;this.conditionalSave&&(e=this.conditionalSave(o)),this.label!==o&&e&&(this.label=o,this._activeEditText=!1,this.ezSaveEditLabel.emit(l.detail),this.ezEditLabelMode.emit(this._activeEditText))}getStyledLabel(){if(null!=this._refLabel)return{fontSize:window.getComputedStyle(this._refLabel).getPropertyValue("font-size"),fontWeight:window.getComputedStyle(this._refLabel).getPropertyValue("font-weight"),fontFamily:window.getComputedStyle(this._refLabel).getPropertyValue("font-family")}}async componentWillLoad(){this.i18n=await a()}componentDidLoad(){t.addIDInfo(this._hostElement)}render(){return o("div",{class:`collapsible-box ${this.boxBordered&&"collapsable-box--bordered"}`},o("div",{class:"collapsible-box__header"},o("button",Object.assign({},this._activeEditText?null:{onClick:()=>{this.showHide()}},{class:"collapsible-box__title collapsible-box__title--"+(this.headerAlign||"left")+("right"===this.iconPlacement?" collapsible-box__title--icon-right":"")+(this.value?" collapsible-box__title--no-margin":"")}),o("ez-icon",{slot:"icon","icon-name":"chevron-right",size:this.getHeaderSize(),class:"collapsible-box__icon collapsible-box__icon--"+this.getHeaderSize()+(this.value?" collapsible-box__icon--collapsed":""),id:"toggleCollapsible"}),this._activeEditText?o("ez-text-edit",{class:"collapsible-box__text-edit",ref:l=>this._refTextEdit=l,value:this.label,styled:this.getStyledLabel(),onSaveEdition:l=>this.saveEditionText(l),onCancelEdition:()=>this.cancelEdition()}):o("label",{class:"collapsible-box__label font--"+this.getHeaderSize(),title:this.label,ref:l=>this._refLabel=l},o("span",null,this.label),this.editable&&o("ez-icon",{slot:"icon","icon-name":"edit",onClick:l=>this.editLabel(l),title:this.i18n("app.edit")}),this.removable&&o("ez-icon",{slot:"icon","icon-name":"delete",onClick:l=>this.confirmRemove(l),title:this.i18n("app.remove")}))),o("slot",{name:"rightSlot"})),o("div",{class:"collapsible-box__content"+(this.value?"":" collapsible-box__content--show")},this.subtitle&&o("div",{class:"subtitle-box__content"},o("label",{class:"subtitle-box__label",title:this.subtitle},o("span",null,this.subtitle))),o("slot",null)))}get _hostElement(){return e(this)}static get watchers(){return{value:["observeCollapsedValue"]}}};r.style=":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box--subtitle--font-size:var(--text--medium, 14px);--ez-collapsible-box--subtitle--font-family:var(--font-pattern, 'Roboto');--ez-collapsible-box--subtitle--font-weight:var(--text-weight--medium, 400);--ez-collapsible-box--subtitle--color:var(--text--primary);--ez-collapsible-box--subtitle--margin-bottom:var(--space--medium, 12px);--ez-collapsible-box--focus--color:var(--color--primary-600);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}ez-icon{--ez-icon--color:inherit}.collapsible-box{display:flex;flex-direction:column;width:100%;overflow:hidden}.collapsable-box--bordered{border:var(--border--small);border-color:var(--color--strokes);border-radius:var(--border--radius-medium);padding:var(--space--xs)}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:100%;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;color:var(--ez-collapsible-box--color);--ez-icon--color:var(--ez-collapsible-box__icon--color);margin-bottom:var(--space--medium, 12px)}.collapsible-box__title:focus{color:var(--ez-collapsible-box--focus--color);--ez-icon--color:var(--ez-collapsible-box--focus--color)}.collapsible-box__label{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;gap:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight)}.subtitle-box__label{display:flex;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;font-family:var(--ez-collapsible-box--subtitle--font-family);font-size:var(--ez-collapsible-box--subtitle--font-size);font-weight:var(--ez-collapsible-box--subtitle--font-weight);color:var(--ez-collapsible-box--subtitle--color);margin-bottom:var(--ez-collapsible-box--subtitle--margin-bottom)}.subtitle-box__content{width:100%}.collapsible-box__label ez-icon{visibility:hidden;transition:2s all ease-in-out}.collapsible-box__label:hover ez-icon{visibility:visible}.collapsible-box__text-edit{margin-left:6px}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--left{margin-right:auto}.collapsible-box__title--right{margin-left:auto}.collapsible-box__title--center{margin-left:auto;margin-right:auto}.collapsible-box__title--stretch{justify-content:space-between;width:100%}.collapsible-box__title--no-margin{margin-bottom:0}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";export{r as ez_collapsible_box}
Binary file
@@ -0,0 +1 @@
1
+ import{h as e,r as a,c as t,g as n,H as l}from"./p-23a36bb6.js";import{ObjectUtils as o,StringUtils as r,UserInterface as i,ElementIDUtils as s}from"@sankhyalabs/core";import{C as d}from"./p-b853763b.js";import{g as c}from"./p-bfbf8909.js";function m(a,t,n,l,o){return e("div",{class:"ez-col ez-col--sd-12 ez-align--middle ez-padding-top--medium ez-padding-bottom--medium"},e("ez-check",{enabled:!n,label:t,mode:o?d.SWITCH:d.REGULAR,"data-field-name":a,"data-context-name":l,key:a}))}function u(a,t,n,l,o,r,i){return e("div",{class:"ez-col ez-col--sd-12"},e("ez-number-input",{class:"ez-input__no-margin",enabled:!n,label:t,precision:l,prettyPrecision:o,"data-field-name":a,"data-context-name":r,key:a,canShowError:i}))}const h=({name:a,label:t,readOnly:n,contextName:l,canShowError:o,props:r})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-text-input",{class:"ez-input__no-margin",label:t,"data-field-name":a,"data-context-name":l,key:a,enabled:!n,canShowError:o,mask:null==r?void 0:r.mask,"clean-value-mask":null==r?void 0:r.cleanValueMask})),p=new Map;p.set(i.CHECKBOX,(e=>m(e.name,e.label,e.readOnly,e.contextName,!1))),p.set(i.SWITCH,(e=>m(e.name,e.label,e.readOnly,e.contextName,!0))),p.set(i.OPTIONSELECTOR,(({name:a,label:t,readOnly:n,required:l,props:o,contextName:r,canShowError:i})=>{const s=null==o?void 0:o.options;let d;if("string"==typeof s){const e=JSON.parse(s);d=Object.keys(e).map((a=>({value:a,label:e[a]})))}else d=s;return e("div",{class:"ez-col ez-col--sd-12"},e("ez-combo-box",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:l,label:t,"data-field-name":a,"data-context-name":r,key:a,options:d,canShowError:i}))})),p.set(i.DATE,(({name:a,label:t,readOnly:n,canShowError:l})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-date-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l})))),p.set(i.TIME,(({name:a,label:t,readOnly:n,canShowError:l,props:o})=>{var r;return e("div",{class:"ez-col ez-col--sd-12"},e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l,"show-seconds":null!==(r=null==o?void 0:o.showSeconds)&&void 0!==r&&r}))})),p.set(i.ELAPSEDTIME,(({name:a,label:t,readOnly:n,canShowError:l})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,key:a,canShowError:l,showSeconds:!0})))),p.set(i.DATETIME,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-date-time-input",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a,canShowError:o})))),p.set(i.FILE,(({name:a,label:t,readOnly:n,contextName:l,props:r})=>{const i=o.removeEmptyValues({subTitle:r.subTitle,requestHeaders:Object.assign(Object.assign({},r.STORAGESTRATEGY&&{STORAGESTRATEGY:r.STORAGESTRATEGY}),r.INTERNAL_FILENAME&&{INTERNAL_FILENAME:r.INTERNAL_FILENAME})});return e("div",{class:"ez-col ez-col--sd-12"},e("ez-upload",Object.assign({enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a},i)))})),p.set(i.DECIMALNUMBER,(({name:e,label:a,readOnly:t,props:n,contextName:l,canShowError:o})=>{var r,i;const s=Number(null!==(r=null==n?void 0:n.precision)&&void 0!==r?r:2);return u(e,a,t,s,Number(null!==(i=null==n?void 0:n.prettyPrecision)&&void 0!==i?i:s),l,o)})),p.set(i.INTEGERNUMBER,(({name:e,label:a,readOnly:t,contextName:n,canShowError:l})=>u(e,a,t,0,0,n,l))),p.set(i.SEARCH,(({name:a,label:t,readOnly:n,required:l,contextName:o,canShowError:i,optionLoader:s,props:d})=>{var c;const m=!r.isEmpty(null==d?void 0:d.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-search",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:l,label:t,"data-field-name":a,"data-context-name":o,key:a,canShowError:i,optionLoader:s,ignoreLimitCharsToSearch:null!==(c=null==d?void 0:d.ignoreLimitCharsToSearch)&&void 0!==c&&c,hideDescriptionInput:!m}))})),p.set(i.SEARCHPLUS,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o,optionLoader:i,props:s})=>{const d=!r.isEmpty(null==s?void 0:s.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-search-plus",{class:"ez-input__no-margin",enabled:!n,label:t,"data-field-name":a,"data-context-name":l,key:a,canShowError:o,optionLoader:i,hideDescriptionInput:!d}))})),p.set(i.LONGTEXT,(({name:a,label:t,readOnly:n,contextName:l,rows:o,canShowError:r})=>e("div",{class:"ez-col ez-col--sd-12",key:a},e("ez-text-area",{enabled:!n,label:t,"data-field-name":a,"data-context-name":l,rows:o,canShowError:r})))),p.set(i.HTML,(({name:a,label:t,readOnly:n,contextName:l,rows:o,canShowError:r})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-rich-text",{key:a,enabled:!n,label:t,"data-field-name":a,"data-context-name":l,rows:o,canShowError:r})))),p.set(i.MULTISELECTOR,(({name:a,label:t,readOnly:n,contextName:l,canShowError:o,props:r})=>{var i,s,d,c;const m=null==r?void 0:r.options;let u;if("string"==typeof m){const e=JSON.parse(m);u=Object.keys(e).map((a=>({value:a,label:e[a],check:!1})))}else u=m;const h=null!==(i=null==r?void 0:r.useOptions)&&void 0!==i?i:null!=u&&null==(null==r?void 0:r.dataSource);return e("div",{class:"ez-col ez-col--sd-12"},e("ez-multi-select-input",{class:"ez-input__no-margin",label:t,"data-field-name":a,"data-context-name":l,key:a,enabled:!n,canShowError:o,options:u,dataSource:null==r?void 0:r.dataSource,columnName:null!==(s=null==r?void 0:r.columnName)&&void 0!==s?s:a,useOptions:h,isTextSearch:null!==(d=null==r?void 0:r.isTextSearch)&&void 0!==d&&d,orderSelectedFirst:null!==(c=null==r?void 0:r.orderSelectedFirst)&&void 0!==c&&c}))}));const v=e=>{const a=c(),t=p.get(e.userInterface)||h,n=e.required?`${e.label}${a("app.requiredInfo")}`:e.label,l=t(Object.assign(Object.assign({},e),{label:n}));return l.t["data-form-item"]=e.name,l};class w{constructor(e){this.elem=e}addRightElement(e){this.removeRightElement(),e.classList.add("ez-padding-left--small"),e.setAttribute("data-custom-item","true"),this.elem.classList.add("ez-col--nowrap"),this.elem.appendChild(e)}removeRightElement(){Array.from(this.elem.querySelectorAll('[data-custom-item="true"]')).forEach((e=>e.remove()))}get fieldName(){return this.elem.getAttribute("data-form-item")}}class z{constructor(e,a){this.items=new Map,this.formId=a,e.forEach((e=>{const a=new w(e);this.items.set(a.fieldName,a)}))}getItem(e){return this.items.get(e)}get formName(){return this.formId}}const b=class{constructor(e){a(this,e),this.ezContentReady=t(this,"ezContentReady",7),this.formItemsReady=t(this,"formItemsReady",7),this._customEditors=new Map,this.fields=void 0,this.selectedRecord=void 0,this.singleColumn=!1}async showUp(){this.singleColumn||this._element.scrollIntoView({behavior:"smooth",block:"start"})}async addCustomEditor(e,a,t){const n=new Map(this._customEditors);n.set(e,{customEditor:a,detailContext:t}),this._customEditors=n}async setFieldProp(e,a,t){const n=this.fields.map((n=>(n.name===e&&null!=t&&(n.props=n.props||{},n.props[a]=t),n)));this.fields=[...n]}groupFields(e){const a=new Map;return e.forEach((e=>{const t=e.group;if(t){let n=a.get(t);null==n&&(n=[],a.set(t,n)),n.push(e)}else a.set(e.name,e)})),a}componentDidRender(){this._formElements=Array.from(this._element.querySelectorAll("[data-field-name]")),this.ezContentReady.emit(this._formElements);const e=new z(Array.from(this._element.querySelectorAll("[data-form-item]")));this.formItemsReady.emit(e)}isItemFullWidth(e){return[i.FILE,i.LONGTEXT,i.HTML].includes(e)}buildFormItemElement(a,t=""){var n;if(this.isItemFullWidth(a.userInterface)&&(t+=" input-full_width"),this._customEditors.has(a.name)){const l=null===(n=this._formElements.map((e=>({name:e.dataset.fieldName,value:e.value}))).find((e=>e.name===a.name)))||void 0===n?void 0:n.value,o=this._customEditors.get(a.name).customEditor;return e("div",{class:t},e("ez-custom-form-input",{"data-field-name":a.name,customEditor:o,formViewField:a,builderFallback:v,value:l,selectedRecord:this.selectedRecord}))}return e("div",{class:t},v(a))}render(){if(s.addIDInfoIfNotExists(this._element,"ezFormView"),null==this.fields)return;let a=[],t=Array.from(this.groupFields(this.fields).entries()).map((([t,n])=>{if(Array.isArray(n))return e("ez-collapsible-box",{id:`group-${t}`,label:t,"header-size":"large",key:t},e("div",{class:`form-view__content ${this.singleColumn&&"form-view__content--single-column"}`},n.map((e=>this.buildFormItemElement(e)))));a.push(n)})),n=a.map((e=>this.buildFormItemElement(e))),o=e("div",{class:`form-view__content ${this.singleColumn&&"form-view__content--single-column"}`},n);return e(l,null,o,t)}get _element(){return n(this)}};b.style=".sc-ez-form-view-h{display:flex;flex-wrap:wrap;width:100%;--ez-form-view__item--min-width:220px;--ez-form-view__item--max-width:440px;--ez-form-view__item--width:var(--space--small);--ez-form-view__item--padding:var(--space--small)}.form-view__content.sc-ez-form-view{display:grid;grid-template-columns:repeat(auto-fill, minmax(var(--ez-form-view__item--min-width), 1fr));gap:var(--ez-form-view__item--width);padding-inline:var(--ez-form-view__item--padding);width:100%}.form-view__content--single-column.sc-ez-form-view{grid-template-columns:repeat(1, minmax(var(--ez-form-view__item--min-width), var(--ez-form-view__item--max-width)))}.input-full_width.sc-ez-form-view{grid-column:1 / -1;width:100%}";export{b as ez_form_view}
Binary file
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as i,H as r,g as s}from"./p-23a36bb6.js";import{StringUtils as a,KeyboardManager as o,ElementIDUtils as l}from"@sankhyalabs/core";import{A as n}from"./p-36805134.js";import{C as h}from"./p-ec7db713.js";import"./p-ab574d59.js";import"./p-b853763b.js";import{i as c}from"./p-bfbf8909.js";import{S as d}from"./p-30ffb9ed.js";const u=class{constructor(i){e(this,i),this.ezChange=t(this,"ezChange",7),this.ezEmptySearch=t(this,"ezEmptySearch",7),this.SEARCH_DESCRIPTION_TIMEOUT=300,this.INTERVAL_TO_RETRY_ASYNC_VALUE=100,this._ignoreNextValue=!1,this.value=void 0,this.enabled=!0,this.disableCodeInput=!1,this.disableDescriptionInput=!1,this.label=void 0,this.codLabel=void 0,this.hideDescriptionInput=!1,this.canShowError=!0,this.errorMessage=void 0,this.mode="regular",this.contextProperties=void 0,this.optionLoader=void 0,this.showOptionValue=!0,this.stopPropagateEnterKeyEvent=!1,this.autoFocus=!1,this.showSelectedValue=!0,this.suppressEmptyOption=!1,this.hideErrorOnFocusOut=!0,this.listOptionsPosition=void 0,this.isTextSearch=!1,this.ignoreLimitCharsToSearch=!1,this.suppressSearch=!1,this.suppressPreLoad=!0,this.ensureClearButtonVisible=!1,this.descriptionValue="",this.codeValue="",this.isLoadingDescription=!1,this.searchDescriptionIsOpen=!1,this.visibleOptions=void 0,this.showLoading=!0}async observeValue(e,t){var i;if(this._ignoreNextValue)return void(this._ignoreNextValue=!1);const r=this.normalizeValueToCodeValue(e);if(r===this.normalizeValueToCodeValue(t))return;if(void 0===r)return this.codeValue=void 0,this.descriptionValue=void 0,void this.ezChange.emit(void 0);this.codeValue=r;let s=!0;try{this.descriptionValue=await this.normalizeCodeToDescriptionValue(e),null==this.descriptionValue&&console.error(`Valor de descrição não encontrado! ${this.label}: ${this.codeValue}`)}catch(e){await n.info(e.message);const t="string"==typeof this.value?this.value:null===(i=this.value)||void 0===i?void 0:i.value;this.ezEmptySearch.emit(t),this.errorMessage=e.message,s=!1,this._ignoreNextValue=!0,this.clearSearch(),console.warn("[EzSearchPlus] Erro ao obter descrição do registro.",e)}this.value=this.buildCurrentValue(),this.ezChange.emit(this.value),s&&(this.errorMessage=null)}canShowLoadSpinDescription(){return this.isLoadingDescription}async setFocus(e){var t;this.disableCodeInput?null===(t=this._textInputDescriptionValue)||void 0===t||t.setFocus(e):this._latestFocusedInputElement?this._latestFocusedInputElement.setFocus(e):this._textInputCodeValue.setFocus(e)}async getValueAsync(){if(!this.isLoadingDescription){const e=this.buildCurrentValue();return new Promise((t=>t(e)))}return new Promise((e=>{let t=setInterval((()=>{if(!this.isLoadingDescription){clearInterval(t);const i=this.buildCurrentValue();e(i)}}),this.INTERVAL_TO_RETRY_ASYNC_VALUE)}))}async clearValue(){this.clearSearch()}async setBlur(){var e,t;null===(e=this._textInputCodeValue)||void 0===e||e.setBlur(),null===(t=this._textInputDescriptionValue)||void 0===t||t.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async componentWillLoad(){this.i18n=await c(),this.value&&a.isEmpty(this.codeValue)&&await this.observeValue(this.value,void 0)}componentDidLoad(){h.applyVarsTextInput(this.el,this._textInputCodeValue),h.applyVarsTextInput(this.el,this._textInputDescriptionValue)}connectedCallback(){this.initKeyboardManager(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}clearSearch(){this.value=null,this.codeValue=null,this.descriptionValue=null,!this.hideDescriptionInput&&this._textInputDescriptionValue&&(this._textInputDescriptionValue.value=null)}getCodLabel(){var e;return this.hideDescriptionInput?this.label:null!==(e=this.codLabel)&&void 0!==e?e:this.i18n("ez-search-plus.defaultCodeLabel")}async normalizeCodeToDescriptionValue(e){if(!e)return"";if("string"==typeof e)try{if((null==(e=JSON.parse(e))?void 0:e.value)&&!(null==e?void 0:e.label))return await this.loadDescriptionValueByCode(null==e?void 0:e.value)}catch(t){return await this.loadDescriptionValueByCode(e)}return"object"!=typeof e?await this.loadDescriptionValueByCode(e):null==e?void 0:e.label}normalizeValueToCodeValue(e){if(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){return e}return"object"!=typeof e?"number"==typeof e?String(e):e:null==e?void 0:e.value}}async loadDescriptionValueByCode(e){if(!this.optionLoader)return console.warn(this.i18n("ez-search-plus.optionLoaderNotDefined")),"";try{this.isLoadingDescription=!0;const t={mode:d.LOAD_DESCRIPTION,argument:e},i=await this.optionLoader(t);return i?Array.isArray(i)?i[0].label:i.label:""}finally{this.isLoadingDescription=!1}}handleCodeInputFocusOut(){this.cancelSelection(),this.codeValue!=this._textInputCodeValue.value&&(this.value=this._textInputCodeValue.value)}handleSearchClick(){this.loadAdvancedSearch()}async loadAdvancedSearch(){if(!this.optionLoader)return void console.warn(this.i18n("ez-search-plus.optionLoaderNotDefined"));const e={mode:d.ADVANCED,argument:""};let t;try{t=await this.optionLoader(e,this.contextProperties)}catch(e){}t&&(this.value=t)}buildCurrentValue(){if(!a.isEmpty(this.codeValue))return{value:this.codeValue,label:this.descriptionValue}}async handleTextInputChangeHandler(e){this.searchDescriptionIsOpen||this._popover.showUnder(this.el);const t=e.target.value;await this.debounceLoaderOptions(t)}async debounceLoaderOptions(e){return this._debounceSearch&&clearTimeout(this._debounceSearch),new Promise((t=>{this._debounceSearch=setTimeout((async()=>{await this.processOptionsLoader(e),t()}),this.SEARCH_DESCRIPTION_TIMEOUT)}))}updateKeyOption(e){return Object.assign(Object.assign({},e),{presentationValue:e.value,presentationLabel:e.label})}parseSearchOptions(e=[]){if(Array.isArray(e)){const t=e[0];return t?"label"in t||"value"in t?e.map((e=>this.updateKeyOption(e))):e:[]}return("label"in e||"value"in e)&&this.updateKeyOption(e),[e]}async processOptionsLoader(e){try{this.showLoading=!0;const t={mode:d.PREDICTIVE,argument:e},i=await this.optionLoader(t);this.visibleOptions=this.parseSearchOptions(i)}finally{this.showLoading=!1}}handleSelectItem(e){this.value=e.detail,this._popover.hide(),window.requestAnimationFrame((()=>{var e;null===(e=this._textInputDescriptionValue)||void 0===e||e.setFocus({selectText:!0})}))}async handleArrowUp(){this.isOptionsVisible()&&await this._searchList.previousOption()}async handleArrowDown(){this.isOptionsVisible()&&await this._searchList.nextOption()}async selectCurrentItem(){var e;await(null===(e=this._searchList)||void 0===e?void 0:e.selectCurrentItem())}async cancelSelection(){var e,t,i;const r="object"==typeof this.value?null===(e=this.value)||void 0===e?void 0:e.label:"";this._textInputDescriptionValue&&r&&this._textInputDescriptionValue.value!=r&&(this._textInputDescriptionValue.value=r),await(null===(t=this._searchList)||void 0===t?void 0:t.cancelSelection()),null===(i=this._popover)||void 0===i||i.hide()}async handleInputTab(){await this.cancelSelection()}async handleInputEsc(){var e;await this.cancelSelection(),await(null===(e=this._latestFocusedInputElement)||void 0===e?void 0:e.setFocus({selectText:!0}))}async initKeyboardManager(){this._keyboardManager=new o;const e={element:this.el,propagate:!0};this._keyboardManager.bind("ArrowUp",(()=>this.handleArrowUp()),Object.assign(Object.assign({},e),{propagate:!1})).bind("ArrowDown",(()=>this.handleArrowDown()),Object.assign(Object.assign({},e),{propagate:!1})).bind("Enter",(()=>this.selectCurrentItem()),Object.assign(Object.assign({},e),{propagate:!this.stopPropagateEnterKeyEvent})).bind("Tab",(()=>this.handleInputTab()),e).bind("Escape",(()=>this.handleInputEsc()),e)}disconnectedCallback(){this._keyboardManager.unbind("ArrowUp").unbind("ArrowDown").unbind("Enter").unbind("Tab").unbind("Escape")}isOptionsVisible(){return this._popover.opened}setLatestFocusedInputElement(e){this._latestFocusedInputElement=e}handleCodeInputFocus(){this.setLatestFocusedInputElement(this._textInputCodeValue)}handleDescriptionInputFocus(){this.setLatestFocusedInputElement(this._textInputDescriptionValue)}getRightIconElement(){var e,t;return this.ensureClearButtonVisible||this.value||(null===(e=this._textInputCodeValue)||void 0===e?void 0:e.value)||(null===(t=this._textInputDescriptionValue)||void 0===t?void 0:t.value)?i("button",{class:"btn btn__close",slot:"rightIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.clearSearch()},i("ez-icon",{iconName:"close"})):null}getLeftIconElement(){return i("button",{class:"btn",slot:"leftIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.handleSearchClick()},this.canShowLoadSpinDescription()?i("div",{class:"message__loading"}):i("ez-icon",{iconName:"search"}))}handleOnEzVisibilityChange(e){e.stopPropagation(),this.searchDescriptionIsOpen=e.detail}render(){return l.addIDInfoIfNotExists(this.el,"input"),i(r,null,i("div",{class:"ez-search-plus__container"},i("ez-text-input",{ref:e=>this._textInputCodeValue=e,class:{"ez-search-plus__code-input":!this.hideDescriptionInput,"ez-search-plus__code-input-no-border":!this.hideDescriptionInput,"ez-search-plus__code-input-full":this.hideDescriptionInput},"data-element-id":l.getInternalIDInfo("codeInput"),"data-slave-mode":"true",enabled:!this.disableCodeInput&&this.enabled,mode:this.mode,label:this.getCodLabel(),canShowError:this.canShowError,hasInvalid:!a.isEmpty(this.errorMessage),errorMessage:this.hideDescriptionInput?this.errorMessage:"",value:this.codeValue,onFocusout:()=>this.handleCodeInputFocusOut(),onFocus:()=>this.handleCodeInputFocus()},this.getLeftIconElement()),!this.hideDescriptionInput&&i("div",{class:"description-input-container"},i("ez-text-input",{ref:e=>this._textInputDescriptionValue=e,tabIndex:-1,class:"ez-search-plus__text-input","data-element-id":l.getInternalIDInfo("textInput"),"data-slave-mode":"true",enabled:!this.disableDescriptionInput&&this.enabled,label:this.label,canShowError:this.canShowError,errorMessage:this.errorMessage,mode:this.mode,value:this.descriptionValue,onInput:e=>this.handleTextInputChangeHandler(e),onFocus:()=>this.handleDescriptionInputFocus()},this.getRightIconElement()),i("ez-popover-plus",{ref:e=>this._popover=e,anchorElement:this.el,autoClose:!0,boxWidth:"fit-content",overlayType:"none",useAnchorSize:!0,onEzVisibilityChange:e=>this.handleOnEzVisibilityChange(e),"data-element-id":this.el.getAttribute("data-element-id")},i("ez-search-result-list",{ref:e=>this._searchList=e,showLoading:this.showLoading,visibleOptions:this.visibleOptions,value:this.value,showOptionValue:this.showOptionValue,onChangeValue:e=>this.handleSelectItem(e)})))))}get el(){return s(this)}static get watchers(){return{value:["observeValue"]}}};u.style=":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--medium, 12px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.list-container{min-width:var(--ez-search__list-min-width);overflow:auto;position:relative;width:100%}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:350px;min-width:150px;background-color:var(--ez-search--background-color--xlight);border-radius:var(--ez-search--border-radius);box-shadow:var(--shadow, 0px 0px 16px 0px #000)}.list-options{margin-top:0px;box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.preselected{background-color:var(--background--medium)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}.ez-search-plus__container{display:flex;flex-grow:1;gap:3px}.ez-search-plus__text-input{--ez-text-input--border-top-left-radius:0px;--ez-text-input--border-bottom-left-radius:0px;outline:none}.ez-search-plus__code-input-no-border{--ez-text-input--border-top-right-radius:0px;--ez-text-input--border-bottom-right-radius:0px}.ez-search-plus__code-input{max-width:85px}.ez-search-plus__code-input-full{width:100%}.description-input-container{width:100%;outline:none}";export{u as ez_search_plus}
Binary file
@@ -1 +1 @@
1
- import{r as t,c as i,h as e}from"./p-23a36bb6.js";import{UserInterface as s}from"@sankhyalabs/core";import{a as l}from"./p-b1e45320.js";import{i as o}from"./p-638a30d0.js";const n=window,a=new CustomEvent("onSubmitFilter",{detail:{showToast:!0}}),h=class{constructor(e){t(this,e),this.applyFilterColumnOptions=i(this,"applyFilterColumnOptions",7),this.opened=!0,this.columnName=void 0,this.columnLabel=void 0,this.gridHeaderHidden=!1,this.noHeaderTaskBar=!1,this.dataSource=void 0,this.dataUnit=void 0,this.options=void 0,this.selectedItems=void 0,this.fieldDescriptor=void 0,this.useOptions=!1,this.isTextSearch=!1}async hide(){await this.ezPopoverElement.hide(),await this.clearConfigs()}async show(t){var i;this.canShow(t)&&(this.fieldDescriptor=null!==(i=t.fieldDescriptor)&&void 0!==i?i:this.dataUnit.getField(t.columnName),this.buildIsTextSearch(),this.columnName=t.columnName,this.columnLabel=t.columnLabel,await this.setOptions(t),await this.ezPopoverElement.showUnder(`filter-column-${t.columnName}-${this.dataUnit.dataUnitId}`))}buildIsTextSearch(){var t,i;const e=null!==(i=null===(t=this.fieldDescriptor)||void 0===t?void 0:t.userInterface)&&void 0!==i?i:s.SHORTTEXT;this.isTextSearch=!(e===s.DECIMALNUMBER||e===s.INTEGERNUMBER)}async clearConfigs(){var t;await(null===(t=this.ezMultiSelectionList)||void 0===t?void 0:t.clearFilteredOptions()),this.options=null,this.columnName=null}canShow(t){return!this.ezPopoverElement.opened||t.columnName!==this.columnName}submit(){this.applyFilterColumnOptions.emit({field:this.columnName,values:this.selectedItems}),n.dispatchEvent(a),this.hide()}changeSelectedItems(t){this.selectedItems=t}hasToUseOptions(){return this.fieldDescriptor.userInterface===s.OPTIONSELECTOR||this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}isCheckBoxOrSwitch(){return this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}async setOptions(t){var i,e,s,o;const n=t.filteredOptions,a=this.hasToUseOptions();if(a)return this.useOptions=a,void(this.options=a?this.buildOptions(n):null!=n?n:null);let h=this.columnName;const r={onlyLabel:!1};(null===(e=null===(i=t.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e[l])&&(h=null===(o=null===(s=t.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===o?void 0:o[l],r.onlyLabel=!0);const c=await this.dataSource.getStaticOptions(h,r);if(null!=c){const t=new Set((n||[]).filter((t=>t.check)).map((t=>t.label)));return this.useOptions=!0,void(this.options=0===t.size?c:c.map((i=>Object.assign(Object.assign({},i),{check:t.has(i.label)}))))}this.useOptions=!1,this.options=null}buildOptions(t){var i,e,s,l;if(t&&t.length>0)return t;if(this.isCheckBoxOrSwitch())return[{label:this.i18n("app.yes"),value:"true",check:!0},{label:this.i18n("app.no"),value:"false",check:!0},{label:"",value:null,check:!0}];const o=null===(e=null===(i=this.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e.options;if(Array.isArray(o))return(null===(l=null===(s=this.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===l?void 0:l.switchLabelsAndValues)?o.map((t=>({label:t.label,value:t.value,check:!0}))):o.map((t=>({label:t.value,value:t.value,check:!0})));const n=JSON.parse(o);return Object.keys(n).map((t=>({label:n[t],value:t,check:!0})))}handleEzVisibilityChange(t){!1===t.detail&&this.clearConfigs()}async componentWillLoad(){this.i18n=await o()}render(){return e("ez-popover-plus",{ref:t=>this.ezPopoverElement=t,class:"filter-column__popover","overlay-type":"none",autoClose:!0,onEzVisibilityChange:this.handleEzVisibilityChange.bind(this)},e("section",{class:"filter-column"},e("header",{class:"filter-column__header"},e("span",{class:"ez-text ez-text--medium filter-column__header-title"},this.i18n("ez-grid.filterColumnHeader",{columnLabel:this.columnLabel})),e("ez-button",{mode:"icon","icon-name":"close",class:"ez-button--tertiary",onClick:()=>this.hide()})),e("ez-multi-selection-list",{id:"filter-column-selection-list",columnName:this.columnName,dataSource:this.dataSource,options:this.options,useOptions:this.useOptions,ref:t=>this.ezMultiSelectionList=t,onChangeFilteredOptions:t=>this.changeSelectedItems(t.detail),isTextSearch:this.isTextSearch,"data-element-id":this.columnName}),e("footer",{class:"filter-column__footer"},e("ez-button",{label:this.i18n("app.apply"),class:"ez-button--primary",onClick:this.submit.bind(this)}))))}};h.style=".filter-column{padding:var(--space--2xs, 8px);position:relative;display:flex;flex-direction:column;min-height:0;height:100%}.filter-column__header{margin-bottom:var(--space--2xs, 8px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:var(--space--xl, 32px);flex:0 0 auto}.filter-column__footer{position:relative;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;bottom:0;left:0;padding-top:var(--space--2xs, 8px);border-top:var(--border--medium) var(--color--disable-secondary);flex:0 0 auto}.filter-column__popover{position:absolute}.filter-column__header-title{margin-left:8px}#filter-column-selection-list{--ez-multi-selection-default-height:unset;--ez-multi-selection-default-max-height:100%;flex:1 1 auto;min-height:0;overflow:auto}";export{h as filter_column}
1
+ import{r as t,c as i,h as e}from"./p-23a36bb6.js";import{UserInterface as s}from"@sankhyalabs/core";import{a as l}from"./p-b1e45320.js";import{i as o}from"./p-bfbf8909.js";const n=window,a=new CustomEvent("onSubmitFilter",{detail:{showToast:!0}}),h=class{constructor(e){t(this,e),this.applyFilterColumnOptions=i(this,"applyFilterColumnOptions",7),this.opened=!0,this.columnName=void 0,this.columnLabel=void 0,this.gridHeaderHidden=!1,this.noHeaderTaskBar=!1,this.dataSource=void 0,this.dataUnit=void 0,this.options=void 0,this.selectedItems=void 0,this.fieldDescriptor=void 0,this.useOptions=!1,this.isTextSearch=!1}async hide(){await this.ezPopoverElement.hide(),await this.clearConfigs()}async show(t){var i;this.canShow(t)&&(this.fieldDescriptor=null!==(i=t.fieldDescriptor)&&void 0!==i?i:this.dataUnit.getField(t.columnName),this.buildIsTextSearch(),this.columnName=t.columnName,this.columnLabel=t.columnLabel,await this.setOptions(t),await this.ezPopoverElement.showUnder(`filter-column-${t.columnName}-${this.dataUnit.dataUnitId}`))}buildIsTextSearch(){var t,i;const e=null!==(i=null===(t=this.fieldDescriptor)||void 0===t?void 0:t.userInterface)&&void 0!==i?i:s.SHORTTEXT;this.isTextSearch=!(e===s.DECIMALNUMBER||e===s.INTEGERNUMBER)}async clearConfigs(){var t;await(null===(t=this.ezMultiSelectionList)||void 0===t?void 0:t.clearFilteredOptions()),this.options=null,this.columnName=null}canShow(t){return!this.ezPopoverElement.opened||t.columnName!==this.columnName}submit(){this.applyFilterColumnOptions.emit({field:this.columnName,values:this.selectedItems}),n.dispatchEvent(a),this.hide()}changeSelectedItems(t){this.selectedItems=t}hasToUseOptions(){return this.fieldDescriptor.userInterface===s.OPTIONSELECTOR||this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}isCheckBoxOrSwitch(){return this.fieldDescriptor.userInterface===s.SWITCH||this.fieldDescriptor.userInterface===s.CHECKBOX}async setOptions(t){var i,e,s,o;const n=t.filteredOptions,a=this.hasToUseOptions();if(a)return this.useOptions=a,void(this.options=a?this.buildOptions(n):null!=n?n:null);let h=this.columnName;const r={onlyLabel:!1};(null===(e=null===(i=t.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e[l])&&(h=null===(o=null===(s=t.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===o?void 0:o[l],r.onlyLabel=!0);const c=await this.dataSource.getStaticOptions(h,r);if(null!=c){const t=new Set((n||[]).filter((t=>t.check)).map((t=>t.label)));return this.useOptions=!0,void(this.options=0===t.size?c:c.map((i=>Object.assign(Object.assign({},i),{check:t.has(i.label)}))))}this.useOptions=!1,this.options=null}buildOptions(t){var i,e,s,l;if(t&&t.length>0)return t;if(this.isCheckBoxOrSwitch())return[{label:this.i18n("app.yes"),value:"true",check:!0},{label:this.i18n("app.no"),value:"false",check:!0},{label:"",value:null,check:!0}];const o=null===(e=null===(i=this.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e.options;if(Array.isArray(o))return(null===(l=null===(s=this.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===l?void 0:l.switchLabelsAndValues)?o.map((t=>({label:t.label,value:t.value,check:!0}))):o.map((t=>({label:t.value,value:t.value,check:!0})));const n=JSON.parse(o);return Object.keys(n).map((t=>({label:n[t],value:t,check:!0})))}handleEzVisibilityChange(t){!1===t.detail&&this.clearConfigs()}async componentWillLoad(){this.i18n=await o()}render(){return e("ez-popover-plus",{ref:t=>this.ezPopoverElement=t,class:"filter-column__popover","overlay-type":"none",autoClose:!0,onEzVisibilityChange:this.handleEzVisibilityChange.bind(this)},e("section",{class:"filter-column"},e("header",{class:"filter-column__header"},e("span",{class:"ez-text ez-text--medium filter-column__header-title"},this.i18n("ez-grid.filterColumnHeader",{columnLabel:this.columnLabel})),e("ez-button",{mode:"icon","icon-name":"close",class:"ez-button--tertiary",onClick:()=>this.hide()})),e("ez-multi-selection-list",{id:"filter-column-selection-list",columnName:this.columnName,dataSource:this.dataSource,options:this.options,useOptions:this.useOptions,ref:t=>this.ezMultiSelectionList=t,onChangeFilteredOptions:t=>this.changeSelectedItems(t.detail),isTextSearch:this.isTextSearch,"data-element-id":this.columnName}),e("footer",{class:"filter-column__footer"},e("ez-button",{label:this.i18n("app.apply"),class:"ez-button--primary",onClick:this.submit.bind(this)}))))}};h.style=".filter-column{padding:var(--space--2xs, 8px);position:relative;display:flex;flex-direction:column;min-height:0;height:100%}.filter-column__header{margin-bottom:var(--space--2xs, 8px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:var(--space--xl, 32px);flex:0 0 auto}.filter-column__footer{position:relative;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;bottom:0;left:0;padding-top:var(--space--2xs, 8px);border-top:var(--border--medium) var(--color--disable-secondary);flex:0 0 auto}.filter-column__popover{position:absolute}.filter-column__header-title{margin-left:8px}#filter-column-selection-list{--ez-multi-selection-default-height:unset;--ez-multi-selection-default-max-height:100%;flex:1 1 auto;min-height:0;overflow:auto}";export{h as filter_column}
Binary file
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as i}from"./p-23a36bb6.js";import"./p-36805134.js";import{C as s}from"./p-ec7db713.js";import"./p-ab574d59.js";import"./p-b853763b.js";import"@sankhyalabs/core";import{i as a}from"./p-bfbf8909.js";import"./p-30ffb9ed.js";const l=class{constructor(e){t(this,e),this.label=void 0,this.enableExpand=!0,this._expanded=!1,this.size=void 0,this.structural=!1}toggleExpandItem(){var t,e;this._expanded=!this._expanded,null===(e=null===(t=this.expandButtonRef.shadowRoot)||void 0===t?void 0:t.querySelector("button"))||void 0===e||e.blur()}async componentWillLoad(){this.i18n=await a()}componentDidLoad(){s.applyVarsGrid(this._element,this._slot.children[0])}render(){return e(i,{class:`box_split-item ${this._expanded?"expanded__item":""} ${this.structural?"structural__item":"content__item"}`,ref:t=>this._element=t},e("div",{class:"ez-split-item--header"},e("slot",{name:"leftButtons"}),e("div",{class:"ez-split-item--header-title"},this.label&&e("h3",{class:"ez-text ez-text--primary ez-title ez-title--medium ez-margin--small",title:this.label},this.label)),e("div",{class:"ez-split-item--header-buttons"},e("slot",{name:"rightButtons"}),this.enableExpand&&e("ez-button",{ref:t=>this.expandButtonRef=t,size:"small",mode:"icon",iconName:"expand",class:"ez-button--tertiary",onClick:()=>this.toggleExpandItem(),title:this.i18n(this._expanded?"app.collapse":"app.expand")}))),e("div",{class:"ez-split-item--content grid_height-0",ref:t=>this._slot=t},e("slot",null)))}};l.style=".box_split-item{background-color:var(--background--xlight);width:100%;height:100%;border-radius:var(--border--radius-medium);box-shadow:var(--shadow--xsmall);flex-direction:column;overflow:hidden;display:flex;padding:var(--space--nano)}.box_split-item>.ez-split-item--content{overflow:auto}.expanded__item{position:absolute;z-index:var(--more-visible);top:0;left:0;width:100%;height:100%}.ez-split-item--header{display:flex;align-items:center;justify-content:space-between}.ez-split-item--header-title{flex:1;white-space:nowrap;overflow:hidden}.ez-split-item--header-title h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.ez-split-item--header-buttons{display:flex;align-items:center;max-height:20px}.ez-split-item--content{display:block;height:100%}h3.ez-margin--small{margin-left:var(--space--small)}.structural__item{background:none;box-shadow:none;padding:0;margin:0;border:0}.content__item{margin:var(--space--extra-small);width:calc(100% - 2*(var(--space--extra-small)));height:calc(100% - 2*(var(--space--extra-small)))}";export{l as ez_split_item}
Binary file
Binary file
Binary file
Binary file
@@ -1 +1 @@
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-638a30d0.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-bfbf8909.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
Binary file
Binary file