@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-132280.3 → 0.0.0-bugfix-dev-KB-157120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/dist/cjs/{ApplicationUtils-006ca96f.js → ApplicationUtils-88dfe345.js} +1 -1
  2. package/dist/cjs/{app-globals-5cb12916.js → app-globals-c1d07d68.js} +1 -1
  3. package/dist/cjs/{classic-search-list_7.cjs.entry.js → classic-search-list_8.cjs.entry.js} +204 -6
  4. package/dist/cjs/ez-actions-button.cjs.entry.js +3 -3
  5. package/dist/cjs/ez-alert-list.cjs.entry.js +2 -2
  6. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-avatar.cjs.entry.js +2 -2
  9. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-calendar.cjs.entry.js +2 -2
  13. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +5 -3
  18. package/dist/cjs/ez-classic-date-input.cjs.entry.js +3 -3
  19. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +2 -2
  20. package/dist/cjs/ez-classic-input.cjs.entry.js +50 -4
  21. package/dist/cjs/ez-classic-number-input.cjs.entry.js +2 -2
  22. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +27 -14
  23. package/dist/cjs/ez-classic-search.cjs.entry.js +3 -3
  24. package/dist/cjs/ez-classic-text-area.cjs.entry.js +13 -2
  25. package/dist/cjs/ez-classic-time-input.cjs.entry.js +5 -4
  26. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -3
  27. package/dist/cjs/ez-combo-box.cjs.entry.js +8 -3
  28. package/dist/cjs/ez-date-input.cjs.entry.js +2 -2
  29. package/dist/cjs/ez-date-time-input.cjs.entry.js +2 -2
  30. package/dist/cjs/ez-dialog.cjs.entry.js +2 -2
  31. package/dist/cjs/ez-double-list.cjs.entry.js +2 -2
  32. package/dist/cjs/ez-dropdown.cjs.entry.js +2 -2
  33. package/dist/cjs/ez-empty-card.cjs.entry.js +2 -2
  34. package/dist/cjs/ez-file-item.cjs.entry.js +2 -2
  35. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  36. package/dist/cjs/ez-form-view.cjs.entry.js +23 -4
  37. package/dist/cjs/ez-form.cjs.entry.js +66 -44
  38. package/dist/cjs/ez-grid-pagination.cjs.entry.js +227 -0
  39. package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-grid.cjs.entry.js +236 -173
  41. package/dist/cjs/ez-guide-navigator.cjs.entry.js +2 -2
  42. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  43. package/dist/cjs/ez-link-builder_6.cjs.entry.js +2 -2
  44. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-list.cjs.entry.js +2 -2
  46. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
  48. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  49. package/dist/cjs/ez-multi-selection-list_5.cjs.entry.js +675 -0
  50. package/dist/cjs/ez-number-input.cjs.entry.js +2 -2
  51. package/dist/cjs/ez-pagination.cjs.entry.js +2 -2
  52. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-popup.cjs.entry.js +5 -6
  54. package/dist/cjs/ez-progress-bar.cjs.entry.js +1 -1
  55. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  56. package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
  57. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-scroller_2.cjs.entry.js +82 -15
  59. package/dist/cjs/ez-search-plus.cjs.entry.js +26 -12
  60. package/dist/cjs/ez-search-result-list.cjs.entry.js +2 -2
  61. package/dist/cjs/ez-search.cjs.entry.js +12 -5
  62. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +2 -2
  63. package/dist/cjs/ez-skeleton.cjs.entry.js +2 -2
  64. package/dist/cjs/ez-sortable-list.cjs.entry.js +100 -115
  65. package/dist/cjs/ez-spinner.cjs.entry.js +2 -2
  66. package/dist/cjs/ez-split-button.cjs.entry.js +5 -5
  67. package/dist/cjs/ez-split-item.cjs.entry.js +3 -3
  68. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  69. package/dist/cjs/ez-tabselector.cjs.entry.js +210 -62
  70. package/dist/cjs/ez-tag-input.cjs.entry.js +1 -1
  71. package/dist/cjs/ez-tag.cjs.entry.js +1 -1
  72. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  73. package/dist/cjs/ez-text-input.cjs.entry.js +22 -16
  74. package/dist/cjs/ez-tile-medium.cjs.entry.js +1 -1
  75. package/dist/cjs/ez-tile.cjs.entry.js +1 -1
  76. package/dist/cjs/ez-time-input.cjs.entry.js +2 -2
  77. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  78. package/dist/cjs/ez-tooltip.cjs.entry.js +47 -9
  79. package/dist/cjs/ez-tree.cjs.entry.js +2 -2
  80. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  81. package/dist/cjs/ez-upload.cjs.entry.js +3 -3
  82. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  83. package/dist/cjs/ezui.cjs.js +4 -4
  84. package/dist/cjs/filter-column.cjs.entry.js +10 -4
  85. package/dist/cjs/{floating-ui.dom.esm-f4d87617.js → floating-ui.dom.esm-9c8bfebb.js} +258 -119
  86. package/dist/cjs/{index-350d0fa0.js → index-9739c242.js} +91 -30
  87. package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +16 -19
  88. package/dist/cjs/loader.cjs.js +4 -4
  89. package/dist/cjs/{search-column-46d02656.js → search-column-6e90fb19.js} +19 -10
  90. package/dist/collection/collection-manifest.json +8 -0
  91. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +21 -2
  92. package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +1 -1
  93. package/dist/collection/components/ez-classic-input/ez-classic-input.js +47 -2
  94. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js +2 -1
  95. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +22 -0
  96. package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +26 -11
  97. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
  98. package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +3 -2
  99. package/dist/collection/components/ez-combo-box/ez-combo-box.js +5 -0
  100. package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
  101. package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
  102. package/dist/collection/components/ez-form-view/ez-form-view.css +19 -5
  103. package/dist/collection/components/ez-form-view/ez-form-view.js +1 -1
  104. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -0
  105. package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js +17 -0
  106. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +163 -27
  107. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +8 -1
  108. package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
  109. package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
  110. package/dist/collection/components/ez-grid/ez-grid.css +5 -60
  111. package/dist/collection/components/ez-grid/ez-grid.js +52 -150
  112. package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
  113. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +10 -0
  114. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +7 -1
  115. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +1 -1
  116. package/dist/collection/components/ez-grid/utils/index.js +1 -0
  117. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +111 -0
  118. package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +410 -0
  119. package/dist/collection/components/ez-icon/ez-icon.css +1153 -1146
  120. package/dist/collection/components/ez-image-input/ez-image-input.css +24 -8
  121. package/dist/collection/components/ez-image-input/ez-image-input.js +6 -1
  122. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css +221 -0
  123. package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js +555 -0
  124. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +27 -6
  125. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +66 -10
  126. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +20 -0
  127. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +36 -2
  128. package/dist/collection/components/ez-popup/ez-popup.js +3 -4
  129. package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
  130. package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
  131. package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
  132. package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
  133. package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
  134. package/dist/collection/components/ez-search/ez-search.css +4 -0
  135. package/dist/collection/components/ez-search/ez-search.js +22 -1
  136. package/dist/collection/components/ez-search-plus/ez-search-plus.js +38 -10
  137. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
  138. package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
  139. package/dist/collection/components/ez-split-button/ez-split-button.js +2 -2
  140. package/dist/collection/components/ez-tabselector/ez-tabselector.css +29 -1
  141. package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
  142. package/dist/collection/components/ez-text-input/ez-text-input.js +21 -15
  143. package/dist/collection/components/ez-tooltip/ez-tooltip.js +45 -7
  144. package/dist/collection/utils/form/FormMetadata.js +62 -40
  145. package/dist/collection/utils/i18n/locales/en-us.js +27 -4
  146. package/dist/collection/utils/i18n/locales/es-es.js +27 -4
  147. package/dist/collection/utils/i18n/locales/pt-br.js +27 -4
  148. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +14 -2
  149. package/dist/collection/utils/searchColumn/search-column.js +2 -5
  150. package/dist/custom-elements/index.d.ts +18 -0
  151. package/dist/custom-elements/index.js +1872 -634
  152. package/dist/esm/{ApplicationUtils-0c5cb207.js → ApplicationUtils-f7721533.js} +1 -1
  153. package/dist/esm/{app-globals-1db10325.js → app-globals-6e258867.js} +1 -1
  154. package/dist/esm/{classic-search-list_7.entry.js → classic-search-list_8.entry.js} +204 -7
  155. package/dist/esm/ez-actions-button.entry.js +3 -3
  156. package/dist/esm/ez-alert-list.entry.js +2 -2
  157. package/dist/esm/ez-alert.entry.js +1 -1
  158. package/dist/esm/ez-application.entry.js +1 -1
  159. package/dist/esm/ez-avatar.entry.js +2 -2
  160. package/dist/esm/ez-badge.entry.js +1 -1
  161. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  162. package/dist/esm/ez-button.entry.js +1 -1
  163. package/dist/esm/ez-calendar.entry.js +2 -2
  164. package/dist/esm/ez-card-item.entry.js +1 -1
  165. package/dist/esm/ez-chart.entry.js +1 -1
  166. package/dist/esm/ez-check.entry.js +1 -1
  167. package/dist/esm/ez-chip.entry.js +1 -1
  168. package/dist/esm/ez-classic-combo-box.entry.js +5 -3
  169. package/dist/esm/ez-classic-date-input.entry.js +3 -3
  170. package/dist/esm/ez-classic-date-time-input.entry.js +2 -2
  171. package/dist/esm/ez-classic-input.entry.js +50 -4
  172. package/dist/esm/ez-classic-number-input.entry.js +2 -2
  173. package/dist/esm/ez-classic-search-plus.entry.js +27 -14
  174. package/dist/esm/ez-classic-search.entry.js +3 -3
  175. package/dist/esm/ez-classic-text-area.entry.js +13 -2
  176. package/dist/esm/ez-classic-time-input.entry.js +5 -4
  177. package/dist/esm/ez-collapsible-box.entry.js +3 -3
  178. package/dist/esm/ez-combo-box.entry.js +8 -3
  179. package/dist/esm/ez-date-input.entry.js +2 -2
  180. package/dist/esm/ez-date-time-input.entry.js +2 -2
  181. package/dist/esm/ez-dialog.entry.js +2 -2
  182. package/dist/esm/ez-double-list.entry.js +2 -2
  183. package/dist/esm/ez-dropdown.entry.js +2 -2
  184. package/dist/esm/ez-empty-card.entry.js +2 -2
  185. package/dist/esm/ez-file-item.entry.js +2 -2
  186. package/dist/esm/ez-filter-input.entry.js +1 -1
  187. package/dist/esm/ez-form-view.entry.js +23 -4
  188. package/dist/esm/ez-form.entry.js +66 -44
  189. package/dist/esm/ez-grid-pagination.entry.js +223 -0
  190. package/dist/esm/ez-grid-view.entry.js +1 -1
  191. package/dist/esm/ez-grid.entry.js +237 -174
  192. package/dist/esm/ez-guide-navigator.entry.js +2 -2
  193. package/dist/esm/ez-icon.entry.js +2 -2
  194. package/dist/esm/ez-link-builder_6.entry.js +2 -2
  195. package/dist/esm/ez-list-item.entry.js +1 -1
  196. package/dist/esm/ez-list.entry.js +2 -2
  197. package/dist/esm/ez-loading-bar.entry.js +1 -1
  198. package/dist/esm/ez-modal-container.entry.js +2 -2
  199. package/dist/esm/ez-modal.entry.js +2 -2
  200. package/dist/esm/ez-multi-selection-list_5.entry.js +667 -0
  201. package/dist/esm/ez-number-input.entry.js +2 -2
  202. package/dist/esm/ez-pagination.entry.js +2 -2
  203. package/dist/esm/ez-popover.entry.js +1 -1
  204. package/dist/esm/ez-popup.entry.js +5 -6
  205. package/dist/esm/ez-progress-bar.entry.js +1 -1
  206. package/dist/esm/ez-radio-button.entry.js +1 -1
  207. package/dist/esm/ez-record-navigation.entry.js +117 -0
  208. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  209. package/dist/esm/ez-scroller_2.entry.js +82 -15
  210. package/dist/esm/ez-search-plus.entry.js +26 -12
  211. package/dist/esm/ez-search-result-list.entry.js +2 -2
  212. package/dist/esm/ez-search.entry.js +12 -5
  213. package/dist/esm/ez-sidebar-navigator.entry.js +2 -2
  214. package/dist/esm/ez-skeleton.entry.js +2 -2
  215. package/dist/esm/ez-sortable-list.entry.js +100 -115
  216. package/dist/esm/ez-spinner.entry.js +2 -2
  217. package/dist/esm/ez-split-button.entry.js +5 -5
  218. package/dist/esm/ez-split-item.entry.js +3 -3
  219. package/dist/esm/ez-split-panel.entry.js +1 -1
  220. package/dist/esm/ez-tabselector.entry.js +210 -62
  221. package/dist/esm/ez-tag-input.entry.js +1 -1
  222. package/dist/esm/ez-tag.entry.js +1 -1
  223. package/dist/esm/ez-text-area.entry.js +1 -1
  224. package/dist/esm/ez-text-input.entry.js +22 -16
  225. package/dist/esm/ez-tile-medium.entry.js +1 -1
  226. package/dist/esm/ez-tile.entry.js +1 -1
  227. package/dist/esm/ez-time-input.entry.js +2 -2
  228. package/dist/esm/ez-toast.entry.js +1 -1
  229. package/dist/esm/ez-tooltip.entry.js +47 -9
  230. package/dist/esm/ez-tree.entry.js +2 -2
  231. package/dist/esm/ez-underface.entry.js +1 -1
  232. package/dist/esm/ez-upload.entry.js +3 -3
  233. package/dist/esm/ez-view-stack.entry.js +1 -1
  234. package/dist/esm/ezui.js +5 -5
  235. package/dist/esm/filter-column.entry.js +10 -4
  236. package/dist/esm/{floating-ui.dom.esm-ad30f2f0.js → floating-ui.dom.esm-0c464cef.js} +258 -120
  237. package/dist/esm/{index-225aa0c3.js → index-9e6dab5b.js} +91 -30
  238. package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +17 -19
  239. package/dist/esm/loader.js +5 -5
  240. package/dist/esm/{search-column-2da15ef5.js → search-column-7d7f0331.js} +19 -10
  241. package/dist/ezui/ezui.esm.js +1 -1
  242. package/dist/ezui/p-01e652c6.entry.js +1 -0
  243. package/dist/ezui/p-0592535f.entry.js +1 -0
  244. package/dist/ezui/{p-3453dad5.entry.js → p-063bb342.entry.js} +1 -1
  245. package/dist/ezui/{p-75e650ff.entry.js → p-0ac8bd66.entry.js} +1 -1
  246. package/dist/ezui/p-0d80e3ec.entry.js +1 -0
  247. package/dist/ezui/{p-e039e049.entry.js → p-108503ed.entry.js} +1 -1
  248. package/dist/ezui/{p-29f0de90.entry.js → p-1166b2d5.entry.js} +1 -1
  249. package/dist/ezui/p-1222e1b6.entry.js +1 -0
  250. package/dist/ezui/p-15873627.js +1 -0
  251. package/dist/ezui/p-178cb9df.entry.js +1 -0
  252. package/dist/ezui/p-1b1b0af3.entry.js +1 -0
  253. package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
  254. package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
  255. package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
  256. package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
  257. package/dist/ezui/p-2856c545.entry.js +1 -0
  258. package/dist/ezui/{p-9d515e5b.entry.js → p-2ae127bc.entry.js} +1 -1
  259. package/dist/ezui/{p-05bcbe61.entry.js → p-2ebd7383.entry.js} +1 -1
  260. package/dist/ezui/p-3e84df1c.entry.js +1 -0
  261. package/dist/ezui/p-3fae7072.entry.js +1 -0
  262. package/dist/ezui/{p-f7ca8634.entry.js → p-411c0222.entry.js} +1 -1
  263. package/dist/ezui/p-42e1e733.js +1 -0
  264. package/dist/ezui/{p-2fa490f1.entry.js → p-45245c32.entry.js} +1 -1
  265. package/dist/ezui/{p-534209bf.entry.js → p-46b1b2ac.entry.js} +1 -1
  266. package/dist/ezui/{p-12cc95dc.entry.js → p-54af1af0.entry.js} +1 -1
  267. package/dist/ezui/p-55434123.entry.js +1 -0
  268. package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
  269. package/dist/ezui/{p-51e34317.entry.js → p-6369a0cd.entry.js} +1 -1
  270. package/dist/ezui/p-6791d05f.entry.js +1 -0
  271. package/dist/ezui/{p-7fe5a9eb.entry.js → p-6d46f862.entry.js} +46 -46
  272. package/dist/ezui/{p-0b531233.entry.js → p-6d596a5a.entry.js} +1 -1
  273. package/dist/ezui/p-6da0dc70.entry.js +1 -0
  274. package/dist/ezui/{p-1723f728.entry.js → p-6f77a359.entry.js} +1 -1
  275. package/dist/ezui/p-72e77b45.entry.js +1 -0
  276. package/dist/ezui/{p-636ea910.entry.js → p-73461028.entry.js} +1 -1
  277. package/dist/ezui/{p-a6ea8da3.entry.js → p-7424d520.entry.js} +1 -1
  278. package/dist/ezui/{p-9fb7131e.entry.js → p-7a07c50f.entry.js} +1 -1
  279. package/dist/ezui/p-7b078125.entry.js +1 -0
  280. package/dist/ezui/p-7df45688.entry.js +1 -0
  281. package/dist/ezui/{p-e195eaad.entry.js → p-7f792043.entry.js} +1 -1
  282. package/dist/ezui/{p-e963cb3f.entry.js → p-881abc22.entry.js} +1 -1
  283. package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
  284. package/dist/ezui/{p-78e975b4.entry.js → p-91c9d50e.entry.js} +1 -1
  285. package/dist/ezui/{p-05e68ab3.entry.js → p-93e1c917.entry.js} +1 -1
  286. package/dist/ezui/{p-82e1d7fc.entry.js → p-99556756.entry.js} +1 -1
  287. package/dist/ezui/{p-0ba284cd.entry.js → p-9bd78d39.entry.js} +1 -1
  288. package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
  289. package/dist/ezui/{p-bc693db6.entry.js → p-a0bf1fc7.entry.js} +1 -1
  290. package/dist/ezui/p-a11e4e8e.entry.js +1 -0
  291. package/dist/ezui/{p-9bcfa689.entry.js → p-a3075f52.entry.js} +1 -1
  292. package/dist/ezui/{p-f26b97e9.entry.js → p-a3ada561.entry.js} +1 -1
  293. package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
  294. package/dist/ezui/p-a9ab6cb9.entry.js +1 -0
  295. package/dist/ezui/{p-9825c1d2.js → p-ad5e263d.js} +1 -1
  296. package/dist/ezui/{p-d57ea090.entry.js → p-b06294c9.entry.js} +1 -1
  297. package/dist/ezui/{p-4a876b8b.entry.js → p-b50289bb.entry.js} +1 -1
  298. package/dist/ezui/p-b66ae5c5.entry.js +1 -0
  299. package/dist/ezui/{p-e0380234.entry.js → p-b8cd501a.entry.js} +1 -1
  300. package/dist/ezui/p-b986da95.entry.js +7 -0
  301. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  302. package/dist/ezui/{p-0820f8c3.entry.js → p-c25a4d30.entry.js} +1 -1
  303. package/dist/ezui/{p-55a9e4ba.entry.js → p-c37fb359.entry.js} +1 -1
  304. package/dist/ezui/{p-e0fd2ce5.entry.js → p-cb00863d.entry.js} +1 -1
  305. package/dist/ezui/{p-181cb82f.entry.js → p-d5684cdc.entry.js} +1 -1
  306. package/dist/ezui/{p-a9432878.entry.js → p-d6742c1e.entry.js} +1 -1
  307. package/dist/ezui/{p-770cf2b8.entry.js → p-d6f50207.entry.js} +1 -1
  308. package/dist/ezui/{p-458027b5.entry.js → p-d70805e4.entry.js} +1 -1
  309. package/dist/ezui/p-d81a15fc.entry.js +1 -0
  310. package/dist/ezui/p-d8b69419.entry.js +1 -0
  311. package/dist/ezui/p-d8cc640d.entry.js +1 -0
  312. package/dist/ezui/p-de14fe07.js +1 -0
  313. package/dist/ezui/p-df6173c8.entry.js +1 -0
  314. package/dist/ezui/{p-be2e39c5.entry.js → p-dfced8c7.entry.js} +1 -1
  315. package/dist/ezui/{p-e275353b.entry.js → p-e3d6b544.entry.js} +1 -1
  316. package/dist/ezui/p-e63a0479.js +1 -0
  317. package/dist/ezui/{p-fe0bca65.entry.js → p-e692c2a7.entry.js} +1 -1
  318. package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
  319. package/dist/ezui/{p-e9b409c1.entry.js → p-e7a7c594.entry.js} +1 -1
  320. package/dist/ezui/{p-b21efe83.entry.js → p-e8c57463.entry.js} +1 -1
  321. package/dist/ezui/{p-75443a91.entry.js → p-e8cd003b.entry.js} +1 -1
  322. package/dist/ezui/p-ed790867.entry.js +1 -0
  323. package/dist/ezui/p-f2e0acf5.entry.js +1 -0
  324. package/dist/ezui/{p-980f1f18.entry.js → p-f34ec732.entry.js} +1 -1
  325. package/dist/ezui/{p-f32d5a82.entry.js → p-f498f6b5.entry.js} +1 -1
  326. package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
  327. package/dist/ezui/{p-2c123fdf.entry.js → p-fb27b98d.entry.js} +1 -1
  328. package/dist/ezui/{p-d3aca6aa.entry.js → p-fc11f5b9.entry.js} +1 -1
  329. package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +2 -0
  330. package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +6 -0
  331. package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +3 -0
  332. package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
  333. package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
  334. package/dist/types/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.d.ts +2 -0
  335. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
  336. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +16 -0
  337. package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
  338. package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
  339. package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
  340. package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
  341. package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
  342. package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +75 -0
  343. package/dist/types/components/ez-image-input/ez-image-input.d.ts +1 -0
  344. package/dist/types/components/ez-multi-select-input/ez-multi-select-input.d.ts +119 -0
  345. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +8 -0
  346. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +7 -0
  347. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +9 -0
  348. package/dist/types/components/ez-popup/ez-popup.d.ts +1 -0
  349. package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
  350. package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
  351. package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
  352. package/dist/types/components/ez-search/ez-search.d.ts +4 -0
  353. package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +6 -1
  354. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +41 -20
  355. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -0
  356. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +2 -0
  357. package/dist/types/components.d.ts +407 -9
  358. package/dist/types/utils/i18n/locales/en-us.d.ts +26 -3
  359. package/dist/types/utils/i18n/locales/es-es.d.ts +26 -3
  360. package/dist/types/utils/i18n/locales/pt-br.d.ts +26 -3
  361. package/dist/types/utils/i18n/translations.d.ts +78 -9
  362. package/package.json +5 -6
  363. package/react/components.d.ts +3 -0
  364. package/react/components.js +3 -0
  365. package/react/components.js.map +1 -1
  366. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +0 -194
  367. package/dist/cjs/ez-popover-core.cjs.entry.js +0 -211
  368. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +0 -243
  369. package/dist/esm/ez-multi-selection-list.entry.js +0 -190
  370. package/dist/esm/ez-popover-core.entry.js +0 -207
  371. package/dist/esm/ez-popover-plus_3.entry.js +0 -237
  372. package/dist/ezui/p-06f1b8e4.entry.js +0 -1
  373. package/dist/ezui/p-0d393a5d.entry.js +0 -1
  374. package/dist/ezui/p-14d6aeb8.entry.js +0 -1
  375. package/dist/ezui/p-169d460d.entry.js +0 -1
  376. package/dist/ezui/p-24993171.entry.js +0 -7
  377. package/dist/ezui/p-27421015.entry.js +0 -1
  378. package/dist/ezui/p-27c8a9b7.entry.js +0 -1
  379. package/dist/ezui/p-2a806303.js +0 -1
  380. package/dist/ezui/p-34d596a3.entry.js +0 -1
  381. package/dist/ezui/p-35e3715c.entry.js +0 -1
  382. package/dist/ezui/p-4d909730.entry.js +0 -1
  383. package/dist/ezui/p-4df2edb5.entry.js +0 -1
  384. package/dist/ezui/p-61c10e02.js +0 -1
  385. package/dist/ezui/p-6ec40dec.entry.js +0 -1
  386. package/dist/ezui/p-71b341cc.entry.js +0 -1
  387. package/dist/ezui/p-75e8862c.entry.js +0 -1
  388. package/dist/ezui/p-81a98a7c.entry.js +0 -1
  389. package/dist/ezui/p-87739608.entry.js +0 -1
  390. package/dist/ezui/p-892e7326.entry.js +0 -1
  391. package/dist/ezui/p-8f7373ab.entry.js +0 -1
  392. package/dist/ezui/p-986044d1.entry.js +0 -1
  393. package/dist/ezui/p-c178730b.js +0 -1
  394. package/dist/ezui/p-c754774e.entry.js +0 -1
  395. package/dist/ezui/p-c96e536d.entry.js +0 -1
  396. package/dist/ezui/p-ce2614fc.entry.js +0 -1
  397. package/dist/ezui/p-dc9781b3.entry.js +0 -1
  398. package/dist/ezui/p-e94d3af5.entry.js +0 -1
  399. package/dist/ezui/p-f0425f87.entry.js +0 -1
  400. package/dist/ezui/p-f1b54699.entry.js +0 -1
  401. package/dist/ezui/p-ff4312d5.js +0 -1
@@ -1 +0,0 @@
1
- import{r as e,c as a,h as t,H as r,g as o}from"./p-e4c7eb39.js";import{StringUtils as i,ElementIDUtils as s}from"@sankhyalabs/core";const c=class{constructor(t){e(this,t),this.ezChange=a(this,"ezChange",7),this.ezBlur=a(this,"ezBlur",7),this.iconClick=a(this,"iconClick",7),this.name=i.generateUUID(),this.label="",this.placeholder="",this.value="",this.helpText=void 0,this.state="default",this.enabled=!0,this.readonly=!1,this.maxlength=void 0,this.resize="vertical",this.leftIconName=void 0,this.rightIconName=void 0,this.rightIconTooltip=void 0,this.leftIconTooltip=void 0,this.leftIconClickable=!1,this.rightIconClickable=!1,this.rows=5}async setFocus(e){(null==e?void 0:e.selectText)&&this._textAreaElem.select(),(null==e?void 0:e.preventScroll)||this._textAreaElem.scrollIntoView({behavior:"smooth",block:"center"}),this._textAreaElem.focus({preventScroll:!0})}async setBlur(){this._textAreaElem.blur()}onBlur(){this.ezBlur.emit(this.value)}handleInput(e){this.ezChange.emit(e.target.value)}handleIconClick(e,a){this.enabled&&("left"===a&&!this.leftIconClickable||"right"===a&&!this.rightIconClickable?this.setFocus({preventScroll:!0}):(e.stopPropagation(),this.iconClick.emit({icon:a})))}addInfoId(){this._element&&s.addIDInfo(this._element),this._textAreaElem&&s.addIDInfo(this._textAreaElem,"classic-text-area",{id:"embedded"})}componentDidLoad(){this.addInfoId()}render(){return t(r,null,this.label&&t("label",{title:this.label,htmlFor:this.name},this.label),t("div",{class:"text-area-container","data-state":this.state,"data-disabled":(!this.enabled).toString(),"data-resize":this.resize,onClick:()=>this.setFocus({preventScroll:!0})},this.leftIconName&&t("ez-icon",{iconName:this.leftIconName,title:this.leftIconTooltip,onClick:e=>this.handleIconClick(e,"left"),class:{"icon-clickable":this.leftIconClickable}}),t("textarea",{ref:e=>this._textAreaElem=e,id:this.name,name:this.name,placeholder:this.placeholder,value:this.value,disabled:!this.enabled,readOnly:this.readonly,maxLength:this.maxlength,rows:this.rows,onInput:this.handleInput.bind(this),onBlur:this.onBlur.bind(this)}),this.rightIconName&&t("ez-icon",{iconName:this.rightIconName,title:this.rightIconTooltip,onClick:e=>this.handleIconClick(e,"right"),class:{"icon-clickable":this.rightIconClickable}})),this.helpText&&t("span",{title:this.helpText},this.helpText))}get _element(){return o(this)}};c.style=':host{display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);border:none;padding:0;width:100%;--ez-classic-text-area--label-color:var(--color--ocean-green-1000, #00281D);--ez-classic-text-area--border-color-default:var(--color--gray-200, #D2D2D3);--ez-classic-text-area--border-color-focus:var(--color--gray-300, #A4A5A7);--ez-classic-text-area--border-color-success:var(--color--green-600, #157A00);--ez-classic-text-area--border-color-error:var(--color--red-600, #BD0025);--ez-classic-text-area--border-color-warning:var(--color--yellow-600, #EFB103);--ez-classic-text-area--background-color:var(--color--gray-70, #FFFFFF);--ez-classic-text-area--background-color-disabled:var(--color--gray-90, #EAEAEA);--ez-classic-text-area--text-color:var(--color--ocean-green-1000, #00281D);--ez-classic-text-area--placeholder-color:#bdbdbd;--ez-classic-text-area--icon-color:var(--color--gray-400, #77777A);--ez-classic-text-area--helptext-color:var(--color--ocean-green-1000, #00281D)}.text-area-container{display:flex;flex-direction:row;align-items:start;width:100%;border:none;border-radius:var(--border--radius-8, 8px);padding:var(--space--16, 16px);box-sizing:border-box;gap:var(--space--10, 10px);margin:var(--space--4, 4px) var(--space--2, 2px);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);resize:vertical;overflow:auto;background-color:var(--ez-classic-text-area--background-color)}.text-area-container,.text-area-container[data-state="default"]{box-shadow:0 0 0 1px var(--ez-classic-text-area--border-color-default)}.text-area-container[data-state="success"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-success)}.text-area-container[data-state="error"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-error)}.text-area-container[data-state="warning"]{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-warning)}.text-area-container:focus-within{box-shadow:0 0 0 var(--space--2, 2px) var(--ez-classic-text-area--border-color-focus)}ez-icon{min-width:var(--space--24, 24px);color:var(--ez-classic-text-area--icon-color)}textarea{flex:1;border:none;outline:none;background:transparent;height:100%;width:100%;padding:0;font-family:var(--font--pattern, Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--ocean-green-1000, #00281D);text-overflow:ellipsis;min-height:calc(var(--ez-classic-text-area--min-height) - var(--space--32, 32px));resize:none;scrollbar-width:thin;color:var(--ez-classic-text-area--text-color)}.text-area-container[data-disabled="true"]{cursor:not-allowed;background:var(--ez-classic-text-area--background-color-disabled);border-color:var(--ez-classic-text-area--border-color-default)}.text-area-container[data-disabled="true"]>*{cursor:not-allowed}@keyframes ez-helptext-fadein{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}span{font-size:var(--font-size--xsmall, 10px);line-height:var(--line-height--16, 16px);overflow:hidden;text-overflow:ellipsis;animation:ez-helptext-fadein 0.3s ease;color:var(--ez-classic-text-area--helptext-color)}label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:var(--line-height--20, 20px);color:var(--ez-classic-text-area--label-color)}.icon-clickable{cursor:pointer}.text-area-container[data-resize="none"]{resize:none}.text-area-container[data-resize="both"]{resize:both}.text-area-container[data-resize="horizontal"]{resize:horizontal}.text-area-container[data-resize="vertical"]{resize:vertical}.text-area-container::-webkit-resizer{display:none}.text-area-container::-moz-resizer{display:none}.text-area-container:not([data-resize="none"]){position:relative}.text-area-container:not([data-resize="none"])::after{content:\'\';position:absolute;bottom:var(--space--2, 2px);right:var(--space--2, 2px);width:var(--space--10, 10px);height:var(--space--10, 10px);background:linear-gradient(135deg, transparent 0% 50%, var(--ez-classic-text-area--border-color-default) 50% 58%, transparent 58% 70%, var(--ez-classic-text-area--border-color-default) 70% 78%, transparent 78% 100%);pointer-events:none}';export{c as ez_classic_text_area}
@@ -1 +0,0 @@
1
- import{r as e,h as r,H as o,g as a}from"./p-e4c7eb39.js";import{ElementIDUtils as c}from"@sankhyalabs/core";const n=class{constructor(r){e(this,r),this.color="default",this.customColor=void 0,this.height=void 0,this.width=void 0}componentDidRender(){this._element&&c.addIDInfo(this._element),this._container&&c.addIDInfo(this._container,"underface",{id:"container"})}render(){const e=Object.assign({},this.customColor&&{"--ez-underface--custom-background-color":`var(${this.customColor})`},this.height&&{"--ez-underface--custom-height":`${this.height}px`},this.width&&{"--ez-underface--custom-width":`${this.width}px`});return r(o,{style:e},r("div",{ref:e=>this._container=e,class:`underface_container ${this.color}`},r("slot",null)))}get _element(){return a(this)}};n.style=":host{--ez-underface--width:693px;--ez-underface--height:247px;--ez-underface--padding:var(--space--24, 24px);--ez-underface--border-radius:var(--border--radius-26, 26px)}div{width:var(--ez-underface--custom-width, var(--ez-underface--width));height:var(--ez-underface--custom-height, var(--ez-underface--height));border-radius:var(--ez-underface--border-radius);padding:var(--ez-underface--padding);display:block;overflow:hidden;outline:none;box-shadow:none;border:none;box-sizing:border-box;background-color:var(--ez-underface--custom-background-color, var(--color--petroleum-700, #222D42))}.light-green{background-color:var(--ez-underface--custom-background-color, var(--color--ocean-green-90))}.green{background-color:var(--ez-underface--custom-background-color, var(--color--green-600))}.light-gray{background-color:var(--ez-underface--custom-background-color, var(--color--gray-80))}.dark-petroleum{background-color:var(--ez-underface--custom-background-color, var(--color--petroleum-900))}.ocean-green{background-color:var(--ez-underface--custom-background-color, var(--color--ocean-green-600))}";export{n as ez_underface}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as i,H as s,g as r}from"./p-e4c7eb39.js";import{ElementIDUtils as a,StringUtils as o}from"@sankhyalabs/core";import{a as l,r as h}from"./p-40a60148.js";const n=class{constructor(i){e(this,i),this.ezVisibilityChange=t(this,"ezVisibilityChange",7),this.autoClose=!0,this.boxWidth="fit-content",this.opened=!1,this.overlayType="light",this.anchorElement=void 0,this.options={horizontalGap:0,verticalGap:0,fromRight:!1},this.useAnchorSize=!1,this.minWidth=150}async observeOpened(e){e&&!this._popOverCore&&this.renderPopoverCore(),this._popOverCore.opened=e}async updatePosition(e,t){var i;await(null===(i=this._popOverCore)||void 0===i?void 0:i.updatePosition(e,t))}async show(e,t){this._popOverCore||this.renderPopoverCore(),await this._popOverCore.show(e,t)}async showUnder(e,t){this._popOverCore||this.renderPopoverCore(),await this._popOverCore.showUnder(e,t)}async hide(){var e;await(null===(e=this._popOverCore)||void 0===e?void 0:e.hide())}async setOptions(e){var t;await(null===(t=this._popOverCore)||void 0===t?void 0:t.setOptions(e))}async setAnchorElement(e){var t;await(null===(t=this._popOverCore)||void 0===t?void 0:t.setAnchorElement(e)),this.anchorElement=e}getFirstElement(e){return Array.isArray(e)&&e.length?e[0]:!Array.isArray(e)&&e.item?e.item(0):null}buildElementId(e){const t=e.filter((e=>!!e));return a.getInternalIDInfo(t.join("_"))}renderPopoverCore(){var e;this._popOverCore=document.createElement("ez-popover-core"),this._popOverCore.opened=this.opened,this._popOverCore.anchorElement=this.anchorElement,this._popOverCore.autoClose=this.autoClose,this._popOverCore.boxWidth=this.boxWidth,this._popOverCore.overlayType=this.overlayType,this._popOverCore.options=this.options,this._popOverCore.useAnchorSize=this.useAnchorSize,this._popOverCore.minWidth=this.minWidth,this._popOverCore.setAttribute("data-element-id",this.buildElementId(["ez-popover-core",this._host.getAttribute("data-element-id")])),this._popOverCore.addEventListener("ezVisibilityChange",(({detail:e})=>{this.ezVisibilityChange.emit(e),this.opened=e}));const t=this.getFirstElement(this._host.children);t?this._popOverCore.appendChild(t):console.warn("O slot do popover está vazio. Adicione conteúdo ao slot para exibição correta.");const i=document.body.querySelector("#root"),s=this.getFirstElement(document.body.getElementsByTagName("div"));(null!==(e=null!=i?i:s)&&void 0!==e?e:document.body).appendChild(this._popOverCore)}render(){return i(s,null,i("slot",null))}get _host(){return r(this)}static get watchers(){return{opened:["observeOpened"]}}};n.style=":host{display:none}";const c=class{constructor(t){e(this,t),this.message=void 0}render(){return i("div",{class:"multi-selection__message"},i("span",{class:"multi-selection__text-message"},this.message))}};c.style=".multi-selection__message{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;min-height:320px;text-align:center}.multi-selection__text-message{margin-top:-30px;font-family:var(--font-pattern);font-size:var(--text--meduim);padding:var(--space-xs);color:var(--text--primary)}";const d=class{constructor(i){e(this,i),this.changeValue=t(this,"changeValue",7),this.changePreSelection=t(this,"changePreSelection",7),this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this.MAX_HEIGHT=350,this.HEADER_MENU_HEIGHT=60,this.showLoading=void 0,this.visibleOptions=[],this.textEmptyList=void 0,this.canShowListOptions=void 0,this.value=void 0,this.showOptionValue=!0,this.preSelection=void 0}async nextOption(){const e=void 0===this.preSelection?0:Math.min(this.preSelection+1,this.visibleOptions.length-1);this.changePreSelection.emit(e),this.scrollToOption(this.visibleOptions[e])}async previousOption(){const e=void 0===this.preSelection?0:Math.max(this.preSelection-1,0);this.changePreSelection.emit(e),this.scrollToOption(this.visibleOptions[e])}selectOption(e){const t=Object.assign(Object.assign({},e),{value:l(null==e?void 0:e.value),label:l(null==e?void 0:e.label)}),i=Object.assign(Object.assign({},t),{value:h(null==t?void 0:t.value),label:h(null==t?void 0:t.label)});this.changeValue.emit(i)}createOption(e){let{key:t,title:i}=e;const s=new RegExp(this._startHighlightTag,"g"),r=new RegExp(this._endHighlightTag,"g");i=o.decodeHtmlEntities(i);const a={value:null==t?void 0:t.replace(s,"").replace(r,""),label:null==i?void 0:i.replace(s,"").replace(r,"")};this.selectOption(a)}scrollToOption(e){window.requestAnimationFrame((()=>{const t=(null==e?void 0:e.value)?this._optionsList.querySelector(`div#item_${e.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g,"\\$1")}`):void 0;t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})}))}buildItem(e,t){e.label=e.label||e.value;const s={key:e.value,title:e.label,details:e.details};return i("div",{style:{height:"100%"},class:t===this.preSelection?"item preselected":"item",id:`item_${e.value}`,onMouseDown:()=>this.createOption(s),onMouseOver:()=>this.changePreSelection.emit(t)},i("ez-card-item",{item:s,compacted:!0,enableKey:this.showOptionValue}))}componentDidLoad(){this._optionsList&&(this._optionsList.style.maxHeight=`${this.MAX_HEIGHT}px`)}componentDidUpdate(){if(this._optionsList){const e=this._optionsList.getBoundingClientRect();window.innerHeight-e.bottom<0&&this.adjustMaxHeight(e)}}adjustMaxHeight(e){if(this._optionsList){const t=Math.min(e.top-this.HEADER_MENU_HEIGHT,this.MAX_HEIGHT);this._optionsList.style.maxHeight=`${t}px`}}cleanEmptyObjectArray(e){return e.filter((e=>Object.values(e).some((e=>void 0!==e))))}render(){return i(s,null,i("ul",{class:"list-options",ref:e=>this._optionsList=e},!this.showLoading&&0===this.cleanEmptyObjectArray(this.visibleOptions).length&&i("div",{class:"message"},i("span",{class:"message__no-result"},this.textEmptyList)),this.showLoading&&i("div",{class:"message"},i("div",{class:"message__loading"})),this.canShowListOptions&&this.visibleOptions.map(((e,t)=>this.buildItem(e,t)))))}};d.style=":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-search__list-title--primary);border-top:3px solid transparent}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";export{n as ez_popover_plus,c as multi_selection_box_message,d as search_list}
@@ -1,7 +0,0 @@
1
- import{r as t,c as e,h as i,g as n}from"./p-e4c7eb39.js";import{ArrayUtils as r}from"@sankhyalabs/core";import{i as o}from"./p-c178730b.js";
2
- /**!
3
- * Sortable 1.15.6
4
- * @author RubaXa <trash@rubaxa.org>
5
- * @author owenm <owen23355@gmail.com>
6
- * @license MIT
7
- */function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function s(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){u(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function u(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},c.apply(this,arguments)}function h(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(i=o[n])>=0||(r[i]=t[i]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)e.indexOf(i=o[n])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function f(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var v=f(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=f(/Edge/i),b=f(/firefox/i),p=f(/safari/i)&&!f(/chrome/i)&&!f(/android/i),g=f(/iP(ad|od|hone)/i),w=f(/chrome/i)&&f(/android/i),y={capture:!1,passive:!1};function x(t,e,i){t.addEventListener(e,i,!v&&y)}function _(t,e,i){t.removeEventListener(e,i,!v&&y)}function E(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function z(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function k(t,e,i,n){if(t){i=i||document;do{if(null!=e&&(">"===e[0]?t.parentNode===i&&E(t,e):E(t,e))||n&&t===i)return t;if(t===i)break}while(t=z(t))}return null}var S,I=/\s+/g;function D(t,e,i){if(t&&e)if(t.classList)t.classList[i?"add":"remove"](e);else{var n=(" "+t.className+" ").replace(I," ").replace(" "+e+" "," ");t.className=(n+(i?" "+e:"")).replace(I," ")}}function T(t,e,i){var n=t&&t.style;if(n){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===e?i:i[e];e in n||-1!==e.indexOf("webkit")||(e="-webkit-"+e),n[e]=i+("string"==typeof i?"":"px")}}function C(t,e){var i="";if("string"==typeof t)i=t;else do{var n=T(t,"transform");n&&"none"!==n&&(i=n+" "+i)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(i)}function O(t,e,i){if(t){var n=t.getElementsByTagName(e),r=0,o=n.length;if(i)for(;r<o;r++)i(n[r],r);return n}return[]}function M(){return document.scrollingElement||document.documentElement}function A(t,e,i,n,r){if(t.getBoundingClientRect||t===window){var o,a,s,l,u,c,h;if(t!==window&&t.parentNode&&t!==M()?(a=(o=t.getBoundingClientRect()).top,s=o.left,l=o.bottom,u=o.right,c=o.height,h=o.width):(a=0,s=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(e||i)&&t!==window&&(r=r||t.parentNode,!v))do{if(r&&r.getBoundingClientRect&&("none"!==T(r,"transform")||i&&"static"!==T(r,"position"))){var d=r.getBoundingClientRect();a-=d.top+parseInt(T(r,"border-top-width")),s-=d.left+parseInt(T(r,"border-left-width")),l=a+o.height,u=s+o.width;break}}while(r=r.parentNode);if(n&&t!==window){var f=C(r||t),m=f&&f.a,b=f&&f.d;f&&(l=(a/=b)+(c/=b),u=(s/=m)+(h/=m))}return{top:a,left:s,bottom:l,right:u,width:h,height:c}}}function j(t,e,i){for(var n=L(t,!0),r=A(t)[e];n;){var o=A(n)[i];if(!("top"===i||"left"===i?r>=o:r<=o))return n;if(n===M())break;n=L(n,!1)}return!1}function F(t,e,i,n){for(var r=0,o=0,a=t.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==Ut.ghost&&(n||a[o]!==Ut.dragged)&&k(a[o],i.draggable,t,!1)){if(r===e)return a[o];r++}o++}return null}function $(t,e){for(var i=t.lastElementChild;i&&(i===Ut.ghost||"none"===T(i,"display")||e&&!E(i,e));)i=i.previousElementSibling;return i||null}function B(t,e){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Ut.clone||e&&!E(t,e)||i++;return i}function N(t){var e=0,i=0,n=M();if(t)do{var r=C(t);e+=t.scrollLeft*r.a,i+=t.scrollTop*r.d}while(t!==n&&(t=t.parentNode));return[e,i]}function L(t,e){if(!t||!t.getBoundingClientRect)return M();var i=t,n=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var r=T(i);if(i.clientWidth<i.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!i.getBoundingClientRect||i===document.body)return M();if(n||e)return i;n=!0}}}while(i=i.parentNode);return M()}function P(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function G(t,e){return function(){if(!S){var i=arguments,n=this;1===i.length?t.call(n,i[0]):t.apply(n,i),S=setTimeout((function(){S=void 0}),e)}}}function H(t,e,i){t.scrollLeft+=e,t.scrollTop+=i}function K(t){var e=window.Polymer,i=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}function R(t,e){T(t,"position","absolute"),T(t,"top",e.top),T(t,"left",e.left),T(t,"width",e.width),T(t,"height",e.height)}function U(t){T(t,"position",""),T(t,"top",""),T(t,"left",""),T(t,"width",""),T(t,"height","")}function W(t,e,i){var n={};return Array.from(t.children).forEach((function(r){var o,a,s,l;if(k(r,e.draggable,t,!1)&&!r.animated&&r!==i){var u=A(r);n.left=Math.min(null!==(o=n.left)&&void 0!==o?o:1/0,u.left),n.top=Math.min(null!==(a=n.top)&&void 0!==a?a:1/0,u.top),n.right=Math.max(null!==(s=n.right)&&void 0!==s?s:-1/0,u.right),n.bottom=Math.max(null!==(l=n.bottom)&&void 0!==l?l:-1/0,u.bottom)}})),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var Y="Sortable"+(new Date).getTime();var X=[],V={initializeByDefault:!0},Z={mount:function(t){for(var e in V)V.hasOwnProperty(e)&&!(e in t)&&(t[e]=V[e]);X.forEach((function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),X.push(t)},pluginEvent:function(t,e,i){var n=this;this.eventCanceled=!1,i.cancel=function(){n.eventCanceled=!0};var r=t+"Global";X.forEach((function(n){e[n.pluginName]&&(e[n.pluginName][r]&&e[n.pluginName][r](s({sortable:e},i)),e.options[n.pluginName]&&e[n.pluginName][t]&&e[n.pluginName][t](s({sortable:e},i)))}))},initializePlugins:function(t,e,i){for(var n in X.forEach((function(n){var r=n.pluginName;if(t.options[r]||n.initializeByDefault){var o=new n(t,e,t.options);o.sortable=t,o.options=t.options,t[r]=o,c(i,o.defaults)}})),t.options)if(t.options.hasOwnProperty(n)){var r=this.modifyOption(t,n,t.options[n]);void 0!==r&&(t.options[n]=r)}},getEventProperties:function(t,e){var i={};return X.forEach((function(n){"function"==typeof n.eventProperties&&c(i,n.eventProperties.call(e[n.pluginName],t))})),i},modifyOption:function(t,e,i){var n;return X.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[e]&&(n=r.optionListeners[e].call(t[r.pluginName],i))})),n}};function q(t){var e=t.sortable,i=t.rootEl,n=t.name,r=t.targetEl,o=t.cloneEl,a=t.toEl,l=t.fromEl,u=t.oldIndex,c=t.newIndex,h=t.oldDraggableIndex,d=t.newDraggableIndex,f=t.originalEvent,b=t.putSortable,p=t.extraEventProperties;if(e=e||i&&i[Y]){var g,w=e.options,y="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||v||m?(g=document.createEvent("Event")).initEvent(n,!0,!0):g=new CustomEvent(n,{bubbles:!0,cancelable:!0}),g.to=a||i,g.from=l||i,g.item=r||i,g.clone=o,g.oldIndex=u,g.newIndex=c,g.oldDraggableIndex=h,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=b?b.lastPutMode:void 0;var x=s(s({},p),Z.getEventProperties(n,e));for(var _ in x)g[_]=x[_];i&&i.dispatchEvent(g),w[y]&&w[y].call(e,g)}}var J=["evt"],Q=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=i.evt,r=h(i,J);Z.pluginEvent.bind(Ut)(t,e,s({dragEl:et,parentEl:it,ghostEl:nt,rootEl:rt,nextEl:ot,lastDownEl:at,cloneEl:st,cloneHidden:lt,dragStarted:xt,putSortable:vt,activeSortable:Ut.active,originalEvent:n,oldIndex:ut,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Gt,unhideGhostForTarget:Ht,cloneNowHidden:function(){lt=!0},cloneNowShown:function(){lt=!1},dispatchSortableEvent:function(t){tt({sortable:e,name:t,originalEvent:n})}},r))};function tt(t){q(s({putSortable:vt,cloneEl:st,targetEl:et,rootEl:rt,oldIndex:ut,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var et,it,nt,rt,ot,at,st,lt,ut,ct,ht,dt,ft,vt,mt,bt,pt,gt,wt,yt,xt,_t,Et,zt,kt,St=!1,It=!1,Dt=[],Tt=!1,Ct=!1,Ot=[],Mt=!1,At=[],jt="undefined"!=typeof document,Ft=g,$t=m||v?"cssFloat":"float",Bt=jt&&!w&&!g&&"draggable"in document.createElement("div"),Nt=function(){if(jt){if(v)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Lt=function(t,e){var i=T(t),n=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),r=F(t,0,e),o=F(t,1,e),a=r&&T(r),s=o&&T(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+A(r).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+A(o).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":r&&a.float&&"none"!==a.float?!o||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":r&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=n&&"none"===i[$t]||o&&"none"===i[$t]&&l+u>n)?"vertical":"horizontal"},Pt=function(t){function e(t,i){return function(n,r,o,a){if(null==t&&(i||n.options.group.name&&r.options.group.name&&n.options.group.name===r.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return e(t(n,r,o,a),i)(n,r,o,a);var s=(i?n:r).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var i={},n=t.group;n&&"object"==l(n)||(n={name:n}),i.name=n.name,i.checkPull=e(n.pull,!0),i.checkPut=e(n.put),i.revertClone=n.revertClone,t.group=i},Gt=function(){!Nt&&nt&&T(nt,"display","none")},Ht=function(){!Nt&&nt&&T(nt,"display","")};jt&&!w&&document.addEventListener("click",(function(t){if(It)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),It=!1,!1}),!0);var Kt=function(t){if(et){var e=(r=(t=t.touches?t.touches[0]:t).clientX,o=t.clientY,Dt.some((function(t){var e=t[Y].options.emptyInsertThreshold;if(e&&!$(t)){var i=A(t);return r>=i.left-e&&r<=i.right+e&&o>=i.top-e&&o<=i.bottom+e?a=t:void 0}})),a);if(e){var i={};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);i.target=i.rootEl=e,i.preventDefault=void 0,i.stopPropagation=void 0,e[Y]._onDragOver(i)}}var r,o,a},Rt=function(t){et&&et.parentNode[Y]._isOutsideThisEl(t.target)};function Ut(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=c({},e),t[Y]=this;var i,n,r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Lt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ut.supportPointer&&"PointerEvent"in window&&(!p||g),emptyInsertThreshold:5};for(var o in Z.initializePlugins(this,t,r),r)!(o in e)&&(e[o]=r[o]);for(var a in Pt(e),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!e.forceFallback&&Bt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?x(t,"pointerdown",this._onTapStart):(x(t,"mousedown",this._onTapStart),x(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(x(t,"dragover",this),x(t,"dragenter",this)),Dt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),c(this,(n=[],{captureAnimationState:function(){n=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==T(t,"display")&&t!==Ut.ghost){n.push({target:t,rect:A(t)});var e=s({},n[n.length-1].rect);if(t.thisAnimationDuration){var i=C(t,!0);i&&(e.top-=i.f,e.left-=i.e)}t.fromRect=e}}))},addAnimationState:function(t){n.push(t)},removeAnimationState:function(t){n.splice(function(t,e){for(var i in t)if(t.hasOwnProperty(i))for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t[i][n])return Number(i);return-1}(n,{target:t}),1)},animateAll:function(t){var e=this;if(!this.options.animation)return clearTimeout(i),void("function"==typeof t&&t());var r=!1,o=0;n.forEach((function(t){var i=0,n=t.target,a=n.fromRect,s=A(n),l=n.prevFromRect,u=n.prevToRect,c=t.rect,h=C(n,!0);h&&(s.top-=h.f,s.left-=h.e),n.toRect=s,n.thisAnimationDuration&&P(l,s)&&!P(a,s)&&(c.top-s.top)/(c.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(i=function(t,e,i,n){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-i.top,2)+Math.pow(e.left-i.left,2))*n.animation}(c,l,u,e.options)),P(s,a)||(n.prevFromRect=a,n.prevToRect=s,i||(i=e.options.animation),e.animate(n,c,s,i)),i&&(r=!0,o=Math.max(o,i),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),i),n.thisAnimationDuration=i)})),clearTimeout(i),r?i=setTimeout((function(){"function"==typeof t&&t()}),o):"function"==typeof t&&t(),n=[]},animate:function(t,e,i,n){if(n){T(t,"transition",""),T(t,"transform","");var r=C(this.el),o=(e.left-i.left)/(r&&r.a||1),a=(e.top-i.top)/(r&&r.d||1);t.animatingX=!!o,t.animatingY=!!a,T(t,"transform","translate3d("+o+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),T(t,"transition","transform "+n+"ms"+(this.options.easing?" "+this.options.easing:"")),T(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){T(t,"transition",""),T(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),n)}}}))}function Wt(t,e,i,n,r,o,a,s){var l,u,c=t[Y],h=c.options.onMove;return!window.CustomEvent||v||m?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=i,l.draggedRect=n,l.related=r||e,l.relatedRect=o||A(e),l.willInsertAfter=s,l.originalEvent=a,t.dispatchEvent(l),h&&(u=h.call(c,l,a)),u}function Yt(t){t.draggable=!1}function Xt(){Mt=!1}function Vt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,i=e.length,n=0;i--;)n+=e.charCodeAt(i);return n.toString(36)}function Zt(t){return setTimeout(t,0)}function qt(t){return clearTimeout(t)}Ut.prototype={constructor:Ut,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(_t=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,et):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,i=this.el,n=this.options,r=n.preventOnFilter,o=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,u=n.filter;if(function(t){At.length=0;for(var e=t.getElementsByTagName("input"),i=e.length;i--;){var n=e[i];n.checked&&At.push(n)}}(i),!et&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||n.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!p||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=k(s,n.draggable,i,!1))&&s.animated||at===s)){if(ut=B(s),ht=B(s,n.draggable),"function"==typeof u){if(u.call(this,t,s,this))return tt({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:i,fromEl:i}),Q("filter",e,{evt:t}),void(r&&t.preventDefault())}else if(u&&(u=u.split(",").some((function(n){if(n=k(l,n.trim(),i,!1))return tt({sortable:e,rootEl:n,name:"filter",targetEl:s,fromEl:i,toEl:i}),Q("filter",e,{evt:t}),!0}))))return void(r&&t.preventDefault());n.handle&&!k(l,n.handle,i,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,i){var n,r=this,o=r.el,a=r.options,s=o.ownerDocument;if(i&&!et&&i.parentNode===o){var l=A(i);if(rt=o,it=(et=i).parentNode,ot=et.nextSibling,at=i,ft=a.group,Ut.dragged=et,wt=(mt={target:et,clientX:(e||t).clientX,clientY:(e||t).clientY}).clientX-l.left,yt=mt.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,et.style["will-change"]="all",n=function(){Q("delayEnded",r,{evt:t}),Ut.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!b&&r.nativeDraggable&&(et.draggable=!0),r._triggerDragStart(t,e),tt({sortable:r,name:"choose",originalEvent:t}),D(et,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){O(et,t.trim(),Yt)})),x(s,"dragover",Kt),x(s,"mousemove",Kt),x(s,"touchmove",Kt),a.supportPointer?(x(s,"pointerup",r._onDrop),!this.nativeDraggable&&x(s,"pointercancel",r._onDrop)):(x(s,"mouseup",r._onDrop),x(s,"touchend",r._onDrop),x(s,"touchcancel",r._onDrop)),b&&this.nativeDraggable&&(this.options.touchStartThreshold=4,et.draggable=!0),Q("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(m||v))n();else{if(Ut.eventCanceled)return void this._onDrop();a.supportPointer?(x(s,"pointerup",r._disableDelayedDrag),x(s,"pointercancel",r._disableDelayedDrag)):(x(s,"mouseup",r._disableDelayedDrag),x(s,"touchend",r._disableDelayedDrag),x(s,"touchcancel",r._disableDelayedDrag)),x(s,"mousemove",r._delayedDragTouchMoveHandler),x(s,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&x(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(n,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){et&&Yt(et),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;_(t,"mouseup",this._disableDelayedDrag),_(t,"touchend",this._disableDelayedDrag),_(t,"touchcancel",this._disableDelayedDrag),_(t,"pointerup",this._disableDelayedDrag),_(t,"pointercancel",this._disableDelayedDrag),_(t,"mousemove",this._delayedDragTouchMoveHandler),_(t,"touchmove",this._delayedDragTouchMoveHandler),_(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?x(document,this.options.supportPointer?"pointermove":e?"touchmove":"mousemove",this._onTouchMove):(x(et,"dragend",this),x(rt,"dragstart",this._onDragStart));try{document.selection?Zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(St=!1,rt&&et){Q("dragStarted",this,{evt:e}),this.nativeDraggable&&x(document,"dragover",Rt);var i=this.options;!t&&D(et,i.dragClass,!1),D(et,i.ghostClass,!0),Ut.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(bt){this._lastX=bt.clientX,this._lastY=bt.clientY,Gt();for(var t=document.elementFromPoint(bt.clientX,bt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(bt.clientX,bt.clientY))!==e;)e=t;if(et.parentNode[Y]._isOutsideThisEl(t),e)do{if(e[Y]&&e[Y]._onDragOver({clientX:bt.clientX,clientY:bt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=z(e));Ht()}},_onTouchMove:function(t){if(mt){var e=this.options,i=e.fallbackTolerance,n=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=nt&&C(nt,!0),a=nt&&o&&o.a,s=nt&&o&&o.d,l=Ft&&kt&&N(kt),u=(r.clientX-mt.clientX+n.x)/(a||1)+(l?l[0]-Ot[0]:0)/(a||1),c=(r.clientY-mt.clientY+n.y)/(s||1)+(l?l[1]-Ot[1]:0)/(s||1);if(!Ut.active&&!St){if(i&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(nt){o?(o.e+=u-(pt||0),o.f+=c-(gt||0)):o={a:1,b:0,c:0,d:1,e:u,f:c};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");T(nt,"webkitTransform",h),T(nt,"mozTransform",h),T(nt,"msTransform",h),T(nt,"transform",h),pt=u,gt=c,bt=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!nt){var t=this.options.fallbackOnBody?document.body:rt,e=A(et,!0,Ft,!0,t),i=this.options;if(Ft){for(kt=t;"static"===T(kt,"position")&&"none"===T(kt,"transform")&&kt!==document;)kt=kt.parentNode;kt!==document.body&&kt!==document.documentElement?(kt===document&&(kt=M()),e.top+=kt.scrollTop,e.left+=kt.scrollLeft):kt=M(),Ot=N(kt)}D(nt=et.cloneNode(!0),i.ghostClass,!1),D(nt,i.fallbackClass,!0),D(nt,i.dragClass,!0),T(nt,"transition",""),T(nt,"transform",""),T(nt,"box-sizing","border-box"),T(nt,"margin",0),T(nt,"top",e.top),T(nt,"left",e.left),T(nt,"width",e.width),T(nt,"height",e.height),T(nt,"opacity","0.8"),T(nt,"position",Ft?"absolute":"fixed"),T(nt,"zIndex","100000"),T(nt,"pointerEvents","none"),Ut.ghost=nt,t.appendChild(nt),T(nt,"transform-origin",wt/parseInt(nt.style.width)*100+"% "+yt/parseInt(nt.style.height)*100+"%")}},_onDragStart:function(t,e){var i=this,n=t.dataTransfer,r=i.options;Q("dragStart",this,{evt:t}),Ut.eventCanceled?this._onDrop():(Q("setupClone",this),Ut.eventCanceled||((st=K(et)).removeAttribute("id"),st.draggable=!1,st.style["will-change"]="",this._hideClone(),D(st,this.options.chosenClass,!1),Ut.clone=st),i.cloneId=Zt((function(){Q("clone",i),Ut.eventCanceled||(i.options.removeCloneOnHide||rt.insertBefore(st,et),i._hideClone(),tt({sortable:i,name:"clone"}))})),!e&&D(et,r.dragClass,!0),e?(It=!0,i._loopId=setInterval(i._emulateDragOver,50)):(_(document,"mouseup",i._onDrop),_(document,"touchend",i._onDrop),_(document,"touchcancel",i._onDrop),n&&(n.effectAllowed="move",r.setData&&r.setData.call(i,n,et)),x(document,"drop",i),T(et,"transform","translateZ(0)")),St=!0,i._dragStartId=Zt(i._dragStarted.bind(i,e,t)),x(document,"selectstart",i),xt=!0,window.getSelection().removeAllRanges(),p&&T(document.body,"user-select","none"))},_onDragOver:function(t){var e,i,n,r,o=this.el,a=t.target,l=this.options,u=l.group,c=Ut.active,h=ft===u,d=l.sort,f=vt||c,v=this,m=!1;if(!Mt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=k(a,l.draggable,o,!0),N("dragOver"),Ut.eventCanceled)return m;if(et.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||v._ignoreWhileAnimating===a)return P(!1);if(It=!1,c&&!l.disabled&&(h?d||(n=it!==rt):vt===this||(this.lastPutMode=ft.checkPull(this,c,et,t))&&u.checkPut(this,c,et,t))){if(r="vertical"===this._getDirection(t,a),e=A(et),N("dragOverValid"),Ut.eventCanceled)return m;if(n)return it=rt,L(),this._hideClone(),N("revert"),Ut.eventCanceled||(ot?rt.insertBefore(et,ot):rt.appendChild(et)),P(!0);var b=$(o,l.draggable);if(!b||function(t,e,i){var n=A($(i.el,i.options.draggable)),r=W(i.el,i.options,nt);return e?t.clientX>r.right+10||t.clientY>n.bottom&&t.clientX>n.left:t.clientY>r.bottom+10||t.clientX>n.right&&t.clientY>n.top}(t,r,this)&&!b.animated){if(b===et)return P(!1);if(b&&o===t.target&&(a=b),a&&(i=A(a)),!1!==Wt(rt,o,et,e,a,i,t,!!a))return L(),b&&b.nextSibling?o.insertBefore(et,b.nextSibling):o.appendChild(et),it=o,G(),P(!0)}else if(b&&function(t,e,i){var n=A(F(i.el,0,i.options,!0)),r=W(i.el,i.options,nt);return e?t.clientX<r.left-10||t.clientY<n.top&&t.clientX<n.right:t.clientY<r.top-10||t.clientY<n.bottom&&t.clientX<n.left}(t,r,this)){var p=F(o,0,l,!0);if(p===et)return P(!1);if(i=A(a=p),!1!==Wt(rt,o,et,e,a,i,t,!1))return L(),o.insertBefore(et,p),it=o,G(),P(!0)}else if(a.parentNode===o){i=A(a);var g,w,y,x=et.parentNode!==o,_=!function(t,e,i){var n=i?t.left:t.top,r=i?e.left:e.top;return n===r||(i?t.right:t.bottom)===(i?e.right:e.bottom)||n+(i?t.width:t.height)/2===r+(i?e.width:e.height)/2}(et.animated&&et.toRect||e,a.animated&&a.toRect||i,r),E=r?"top":"left",z=j(a,"top","top")||j(et,"top","top"),S=z?z.scrollTop:void 0;if(_t!==a&&(w=i[E],Tt=!1,Ct=!_&&l.invertSwap||x),g=function(t,e,i,n,r,o,a,s){var l=n?t.clientY:t.clientX,u=n?i.height:i.width,c=n?i.top:i.left,h=n?i.bottom:i.right,d=!1;if(!a)if(s&&zt<u*r){if(!Tt&&(1===Et?l>c+u*o/2:l<h-u*o/2)&&(Tt=!0),Tt)d=!0;else if(1===Et?l<c+zt:l>h-zt)return-Et}else if(l>c+u*(1-r)/2&&l<h-u*(1-r)/2)return function(t){return B(et)<B(t)?1:-1}(e);return(d=d||a)&&(l<c+u*o/2||l>h-u*o/2)?l>c+u/2?1:-1:0}(t,a,i,r,_?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Ct,_t===a),0!==g){var I=B(et);do{y=it.children[I-=g]}while(y&&("none"===T(y,"display")||y===nt))}if(0===g||y===a)return P(!1);_t=a,Et=g;var C=a.nextElementSibling,O=!1,M=Wt(rt,o,et,e,a,i,t,O=1===g);if(!1!==M)return 1!==M&&-1!==M||(O=1===M),Mt=!0,setTimeout(Xt,30),L(),O&&!C?o.appendChild(et):a.parentNode.insertBefore(et,O?C:a),z&&H(z,0,S-z.scrollTop),it=et.parentNode,void 0===w||Ct||(zt=Math.abs(w-A(a)[E])),G(),P(!0)}if(o.contains(et))return P(!1)}return!1}function N(l,u){Q(l,v,s({evt:t,isOwner:h,axis:r?"vertical":"horizontal",revert:n,dragRect:e,targetRect:i,canSort:d,fromSortable:f,target:a,completed:P,onMove:function(i,n){return Wt(rt,o,et,e,i,A(i),t,n)},changed:G},u))}function L(){N("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function P(e){return N("dragOverCompleted",{insertion:e}),e&&(h?c._hideClone():c._showClone(v),v!==f&&(D(et,vt?vt.options.ghostClass:c.options.ghostClass,!1),D(et,l.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=a),v.animateAll((function(){N("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===et&&!et.animated||a===o&&!a.animated)&&(_t=null),l.dragoverBubble||t.rootEl||a===document||(et.parentNode[Y]._isOutsideThisEl(t.target),!e&&Kt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function G(){ct=B(et),dt=B(et,l.draggable),tt({sortable:v,name:"change",toEl:o,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){_(document,"mousemove",this._onTouchMove),_(document,"touchmove",this._onTouchMove),_(document,"pointermove",this._onTouchMove),_(document,"dragover",Kt),_(document,"mousemove",Kt),_(document,"touchmove",Kt)},_offUpEvents:function(){var t=this.el.ownerDocument;_(t,"mouseup",this._onDrop),_(t,"touchend",this._onDrop),_(t,"pointerup",this._onDrop),_(t,"pointercancel",this._onDrop),_(t,"touchcancel",this._onDrop),_(document,"selectstart",this)},_onDrop:function(t){var e=this.el,i=this.options;ct=B(et),dt=B(et,i.draggable),Q("drop",this,{evt:t}),it=et&&et.parentNode,ct=B(et),dt=B(et,i.draggable),Ut.eventCanceled||(St=!1,Ct=!1,Tt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(this._dragStartId),this.nativeDraggable&&(_(document,"drop",this),_(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),p&&T(document.body,"user-select",""),T(et,"transform",""),t&&(xt&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),nt&&nt.parentNode&&nt.parentNode.removeChild(nt),(rt===it||vt&&"clone"!==vt.lastPutMode)&&st&&st.parentNode&&st.parentNode.removeChild(st),et&&(this.nativeDraggable&&_(et,"dragend",this),Yt(et),et.style["will-change"]="",xt&&!St&&D(et,vt?vt.options.ghostClass:this.options.ghostClass,!1),D(et,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:it,newIndex:null,newDraggableIndex:null,originalEvent:t}),rt!==it?(ct>=0&&(tt({rootEl:it,name:"add",toEl:it,fromEl:rt,originalEvent:t}),tt({sortable:this,name:"remove",toEl:it,originalEvent:t}),tt({rootEl:it,name:"sort",toEl:it,fromEl:rt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:it,originalEvent:t})),vt&&vt.save()):ct!==ut&&ct>=0&&(tt({sortable:this,name:"update",toEl:it,originalEvent:t}),tt({sortable:this,name:"sort",toEl:it,originalEvent:t})),Ut.active&&(null!=ct&&-1!==ct||(ct=ut,dt=ht),tt({sortable:this,name:"end",toEl:it,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),rt=et=it=nt=ot=st=at=lt=mt=bt=xt=ct=dt=ut=ht=_t=Et=vt=ft=Ut.dragged=Ut.ghost=Ut.clone=Ut.active=null,At.forEach((function(t){t.checked=!0})),At.length=pt=gt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":et&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],i=this.el.children,n=0,r=i.length,o=this.options;n<r;n++)k(t=i[n],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||Vt(t));return e},sort:function(t,e){var i={},n=this.el;this.toArray().forEach((function(t,e){var r=n.children[e];k(r,this.options.draggable,n,!1)&&(i[t]=r)}),this),e&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(n.removeChild(i[t]),n.appendChild(i[t]))})),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return k(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var i=this.options;if(void 0===e)return i[t];var n=Z.modifyOption(this,t,e);i[t]=void 0!==n?n:e,"group"===t&&Pt(i)},destroy:function(){Q("destroy",this);var t=this.el;t[Y]=null,_(t,"mousedown",this._onTapStart),_(t,"touchstart",this._onTapStart),_(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(_(t,"dragover",this),_(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Dt.splice(Dt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!lt){if(Q("hideClone",this),Ut.eventCanceled)return;T(st,"display","none"),this.options.removeCloneOnHide&&st.parentNode&&st.parentNode.removeChild(st),lt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(lt){if(Q("showClone",this),Ut.eventCanceled)return;et.parentNode!=rt||this.options.group.revertClone?ot?rt.insertBefore(st,ot):rt.appendChild(st):rt.insertBefore(st,et),this.options.group.revertClone&&this.animate(et,st),T(st,"display",""),lt=!1}}else this._hideClone()}},jt&&x(document,"touchmove",(function(t){(Ut.active||St)&&t.cancelable&&t.preventDefault()})),Ut.utils={on:x,off:_,css:T,find:O,is:function(t,e){return!!k(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},throttle:G,closest:k,toggleClass:D,clone:K,index:B,nextTick:Zt,cancelNextTick:qt,detectDirection:Lt,getChild:F,expando:Y},Ut.get=function(t){return t[Y]},Ut.mount=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Ut.utils=s(s({},Ut.utils),t.utils)),Z.mount(t)}))},Ut.create=function(t,e){return new Ut(t,e)},Ut.version="1.15.6";var Jt,Qt,te,ee,ie,ne,re=[],oe=!1;function ae(){re.forEach((function(t){clearInterval(t.pid)})),re=[]}function se(){clearInterval(ne)}var le=G((function(t,e,i,n){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,l=e.scrollSpeed,u=M(),c=!1;Qt!==i&&(Qt=i,ae(),r=e.scrollFn,!0===(Jt=e.scroll)&&(Jt=L(i,!0)));var h=0,d=Jt;do{var f=d,v=A(f),m=v.top,b=v.bottom,p=v.left,g=v.right,w=v.width,y=v.height,x=void 0,_=void 0,E=f.scrollWidth,z=f.scrollHeight,k=T(f),S=f.scrollLeft,I=f.scrollTop;f===u?(x=w<E&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),_=y<z&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(x=w<E&&("auto"===k.overflowX||"scroll"===k.overflowX),_=y<z&&("auto"===k.overflowY||"scroll"===k.overflowY));var D=x&&(Math.abs(g-o)<=s&&S+w<E)-(Math.abs(p-o)<=s&&!!S),C=_&&(Math.abs(b-a)<=s&&I+y<z)-(Math.abs(m-a)<=s&&!!I);if(!re[h])for(var O=0;O<=h;O++)re[O]||(re[O]={});re[h].vx==D&&re[h].vy==C&&re[h].el===f||(re[h].el=f,re[h].vx=D,re[h].vy=C,clearInterval(re[h].pid),0==D&&0==C||(c=!0,re[h].pid=setInterval(function(){n&&0===this.layer&&Ut.active._onTouchMove(ie);var e=re[this.layer].vy?re[this.layer].vy*l:0,i=re[this.layer].vx?re[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(Ut.dragged.parentNode[Y],i,e,t,ie,re[this.layer].el)||H(re[this.layer].el,i,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==u&&(d=L(d,!1)));oe=c}}),30),ue=function(t){var e=t.originalEvent,i=t.putSortable,n=t.dragEl,r=t.dispatchSortableEvent,o=t.unhideGhostForTarget;if(e){var a=i||t.activeSortable;(0,t.hideGhostForTarget)();var s=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,l=document.elementFromPoint(s.clientX,s.clientY);o(),a&&!a.el.contains(l)&&(r("spill"),this.onSpill({dragEl:n,putSortable:i}))}};function ce(){}function he(){}ce.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var e=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var n=F(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(e,n):this.sortable.el.appendChild(e),this.sortable.animateAll(),i&&i.animateAll()},drop:ue},c(ce,{pluginName:"revertOnSpill"}),he.prototype={onSpill:function(t){var e=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:ue},c(he,{pluginName:"removeOnSpill"});var de,fe,ve,me,be,pe=[],ge=[],we=!1,ye=!1,xe=!1;function _e(t,e){ge.forEach((function(i,n){var r=e.children[i.sortableIndex+(t?Number(n):0)];r?e.insertBefore(i,r):e.appendChild(i)}))}function Ee(){pe.forEach((function(t){t!==ve&&t.parentNode&&t.parentNode.removeChild(t)}))}Ut.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?x(document,"dragover",this._handleAutoScroll):x(document,this.options.supportPointer?"pointermove":e.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?_(document,"dragover",this._handleAutoScroll):(_(document,"pointermove",this._handleFallbackAutoScroll),_(document,"touchmove",this._handleFallbackAutoScroll),_(document,"mousemove",this._handleFallbackAutoScroll)),se(),ae(),clearTimeout(S),S=void 0},nulling:function(){ie=Qt=Jt=oe=ne=te=ee=null,re.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var i=this,n=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(n,r);if(ie=t,e||this.options.forceAutoScrollFallback||m||v||p){le(t,this.options,o,e);var a=L(o,!0);!oe||ne&&n===te&&r===ee||(ne&&se(),ne=setInterval((function(){var o=L(document.elementFromPoint(n,r),!0);o!==a&&(a=o,ae()),le(t,i.options,o,e)}),10),te=n,ee=r)}else{if(!this.options.bubbleScroll||L(o,!0)===M())return void ae();le(t,this.options,L(o,!1),!1)}}},c(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(he,ce),Ut.mount(new function(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?x(document,"pointerup",this._deselectMultiDrag):(x(document,"mouseup",this._deselectMultiDrag),x(document,"touchend",this._deselectMultiDrag))),x(document,"keydown",this._checkKeyDown),x(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(e,i){var n="";pe.length&&fe===t?pe.forEach((function(t,e){n+=(e?", ":"")+t.textContent})):n=i.textContent,e.setData("Text",n)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){ve=t.dragEl},delayEnded:function(){this.isMultiDrag=~pe.indexOf(ve)},setupClone:function(t){var e=t.sortable,i=t.cancel;if(this.isMultiDrag){for(var n=0;n<pe.length;n++)ge.push(K(pe[n])),ge[n].sortableIndex=pe[n].sortableIndex,ge[n].draggable=!1,ge[n].style["will-change"]="",D(ge[n],this.options.selectedClass,!1),pe[n]===ve&&D(ge[n],this.options.chosenClass,!1);e._hideClone(),i()}},clone:function(t){var e=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||pe.length&&fe===t.sortable&&(_e(!0,t.rootEl),e("clone"),i()))},showClone:function(t){var e=t.cloneNowShown,i=t.cancel;this.isMultiDrag&&(_e(!1,t.rootEl),ge.forEach((function(t){T(t,"display","")})),e(),be=!1,i())},hideClone:function(t){var e=this,i=t.cloneNowHidden,n=t.cancel;this.isMultiDrag&&(ge.forEach((function(t){T(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),i(),be=!0,n())},dragStartGlobal:function(){!this.isMultiDrag&&fe&&fe.multiDrag._deselectMultiDrag(),pe.forEach((function(t){t.sortableIndex=B(t)})),pe=pe.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),xe=!0},dragStarted:function(t){var e=this,i=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){pe.forEach((function(t){t!==ve&&T(t,"position","absolute")}));var n=A(ve,!1,!0,!0);pe.forEach((function(t){t!==ve&&R(t,n)})),ye=!0,we=!0}i.animateAll((function(){ye=!1,we=!1,e.options.animation&&pe.forEach((function(t){U(t)})),e.options.sort&&Ee()}))}},dragOver:function(t){var e=t.completed,i=t.cancel;ye&&~pe.indexOf(t.target)&&(e(!1),i())},revert:function(t){var e=t.fromSortable,i=t.rootEl,n=t.sortable,r=t.dragRect;pe.length>1&&(pe.forEach((function(t){n.addAnimationState({target:t,rect:ye?A(t):r}),U(t),t.fromRect=r,e.removeAnimationState(t)})),ye=!1,function(t,e){pe.forEach((function(i,n){var r=e.children[i.sortableIndex+(t?Number(n):0)];r?e.insertBefore(i,r):e.appendChild(i)}))}(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(t){var e=t.sortable,i=t.isOwner,n=t.activeSortable,r=t.parentEl,o=t.putSortable,a=this.options;if(t.insertion){if(i&&n._hideClone(),we=!1,a.animation&&pe.length>1&&(ye||!i&&!n.options.sort&&!o)){var s=A(ve,!1,!0,!0);pe.forEach((function(t){t!==ve&&(R(t,s),r.appendChild(t))})),ye=!0}if(!i)if(ye||Ee(),pe.length>1){var l=be;n._showClone(e),n.options.animation&&!be&&l&&ge.forEach((function(t){n.addAnimationState({target:t,rect:me}),t.fromRect=me,t.thisAnimationDuration=null}))}else n._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,i=t.isOwner,n=t.activeSortable;if(pe.forEach((function(t){t.thisAnimationDuration=null})),n.options.animation&&!i&&n.multiDrag.isMultiDrag){me=c({},e);var r=C(ve,!0);me.top-=r.f,me.left-=r.e}},dragOverAnimationComplete:function(){ye&&(ye=!1,Ee())},drop:function(t){var e=t.originalEvent,i=t.rootEl,n=t.parentEl,r=t.sortable,o=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,l=s||this.sortable;if(e){var u=this.options,c=n.children;if(!xe)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),D(ve,u.selectedClass,!~pe.indexOf(ve)),~pe.indexOf(ve))pe.splice(pe.indexOf(ve),1),de=null,q({sortable:r,rootEl:i,name:"deselect",targetEl:ve,originalEvent:e});else{if(pe.push(ve),q({sortable:r,rootEl:i,name:"select",targetEl:ve,originalEvent:e}),e.shiftKey&&de&&r.el.contains(de)){var h=B(de),d=B(ve);~h&&~d&&h!==d&&function(){var t,o;d>h?(o=h,t=d):(o=d,t=h+1);for(var a=u.filter;o<t;o++)~pe.indexOf(c[o])||k(c[o],u.draggable,n,!1)&&(a&&("function"==typeof a?a.call(r,e,c[o],r):a.split(",").some((function(t){return k(c[o],t.trim(),n,!1)})))||(D(c[o],u.selectedClass,!0),pe.push(c[o]),q({sortable:r,rootEl:i,name:"select",targetEl:c[o],originalEvent:e})))}()}else de=ve;fe=l}if(xe&&this.isMultiDrag){if(ye=!1,(n[Y].options.sort||n!==i)&&pe.length>1){var f=A(ve),v=B(ve,":not(."+this.options.selectedClass+")");if(!we&&u.animation&&(ve.thisAnimationDuration=null),l.captureAnimationState(),!we&&(u.animation&&(ve.fromRect=f,pe.forEach((function(t){if(t.thisAnimationDuration=null,t!==ve){var e=ye?A(t):f;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),Ee(),pe.forEach((function(t){c[v]?n.insertBefore(t,c[v]):n.appendChild(t),v++})),a===B(ve))){var m=!1;pe.forEach((function(t){t.sortableIndex===B(t)||(m=!0)})),m&&(o("update"),o("sort"))}pe.forEach((function(t){U(t)})),l.animateAll()}fe=l}(i===n||s&&"clone"!==s.lastPutMode)&&ge.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=xe=!1,ge.length=0},destroyGlobal:function(){this._deselectMultiDrag(),_(document,"pointerup",this._deselectMultiDrag),_(document,"mouseup",this._deselectMultiDrag),_(document,"touchend",this._deselectMultiDrag),_(document,"keydown",this._checkKeyDown),_(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==xe&&xe||fe!==this.sortable||t&&k(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;pe.length;){var e=pe[0];D(e,this.options.selectedClass,!1),pe.shift(),q({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvent:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},c(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[Y];e&&e.options.multiDrag&&!~pe.indexOf(t)&&(fe&&fe!==e&&(fe.multiDrag._deselectMultiDrag(),fe=e),D(t,e.options.selectedClass,!0),pe.push(t))},deselect:function(t){var e=t.parentNode[Y],i=pe.indexOf(t);e&&e.options.multiDrag&&~i&&(D(t,e.options.selectedClass,!1),pe.splice(i,1))}},eventProperties:function(){var t,e=this,i=[],n=[];return pe.forEach((function(t){var r;i.push({multiDragElement:t,index:t.sortableIndex}),r=ye&&t!==ve?-1:ye?B(t,":not(."+e.options.selectedClass+")"):B(t),n.push({multiDragElement:t,index:r})})),{items:(t=pe,function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),clones:[].concat(ge),oldIndicies:i,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})});const ze=class{constructor(i){t(this,i),this.itemsReordered=e(this,"itemsReordered",7),this.ezSelectItens=e(this,"ezSelectItens",7),this.ezDoubleClick=e(this,"ezDoubleClick",7),this.ezChoose=e(this,"ezChoose",7),this.filterTerm="",this.title=void 0,this.hideHeader=!1,this.hideTotalizer=!1,this.group="default",this.dataSource=[],this.idSortableList="DEFAULT_LIST",this.entityLabel=void 0,this.entityLabelPlural=void 0,this.emptyMessage=void 0,this.hoverFeedback=!0,this.enableMultipleSelection=!1,this.removeItensMoved=!1,this.itemRightSlotBuilder=void 0,this.itemLeftSlotBuilder=void 0,this.selectedItems=new Set}async clearSelection(){this.selectedItems.clear(),this.dataSource.forEach((t=>{var e;const i=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(`[data-key="${t.id}"]`);i&&(Ut.utils.deselect(i),t.selected=!1)})),this.ezSelectItens.emit([])}async componentWillLoad(){this.i18n=await o(),this.emptyMessage=this.i18n("ez-sortable-list.emptyMessage"),this.entityLabel=this.i18n("ez-sortable-list.entityLabel"),this.entityLabelPlural=this.i18n("ez-sortable-list.entityLabelPlural")}componentDidLoad(){this.initSortable()}componentDidRender(){this.selectPredefinedItens()}initSortable(){this._sortableInstance&&this._sortableInstance.destroy(),this._sortableInstance=new Ut(this.el.shadowRoot.querySelector(`#${this.idSortableList}`),{group:{name:this.group,pull:!0,put:!0},ghostClass:"ghost",dragClass:"dragging",animation:15,multiDrag:this.enableMultipleSelection,avoidImplicitDeselect:this.enableMultipleSelection,selectedClass:"selected",filter:".filtered",swapThreshold:.5,multiDragKey:"Control",removeCloneOnHide:!0,onEnd:t=>this.handleReorderEvent(t),onSelect:t=>this.handleSelect(t),onDeselect:t=>this.handleDeselect(t),onSort:t=>this.handleSortItem(t),onChoose:t=>this.ezChoose.emit(t)})}selectPredefinedItens(){this.dataSource.forEach((t=>{var e;const i=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(`[data-key="${t.id}"]`);i&&(this.selectedItems.has(t.id)||!0===t.selected?Ut.utils.select(i):Ut.utils.deselect(i))}))}handleSortItem(t){var e;if(!this.removeItensMoved)return;const i=t.from.getAttribute("id");t.to.getAttribute("id")!==i?((null===(e=t.items)||void 0===e?void 0:e.length)>0?t.items:[t.item]).forEach((t=>t.remove())):t.items=this.removeDuplicateElements(t.items)}removeDuplicateElements(t){const e=new Set;return t.filter((t=>{const i=t.getAttribute("data-key");if(i){if(e.has(i))return t.remove(),!1;e.add(i)}return!0}))}handleSelect(t){this.updateSelection(t.item,!0)}handleDeselect(t){this.updateSelection(t.item,!1)}updateSelection(t,e){const i=t.getAttribute("data-key");if(!i)return;const n=this.dataSource.find((t=>t.id===i));n&&(n.selected=e,e?this.selectedItems.add(i):this.selectedItems.delete(i),this.emitSelectedItems())}emitSelectedItems(){this.ezSelectItens.emit(Array.from(this.selectedItems).map((t=>this.dataSource.find((e=>e.id===t)))).filter(Boolean))}handleReorderEvent(t){var e;const i=((null===(e=t.items)||void 0===e?void 0:e.length)>0?t.items:[t.item]).map((t=>t.getAttribute("data-key"))).filter(Boolean);this.itemsReordered.emit({dataSource:this.dataSource,selectItens:i,from:t.from,to:t.to,newIndex:t.newIndex,newIndicies:t.newIndicies})}handleDoubleClick(t){var e;const i=this.dataSource.find((e=>e.id===t));i&&(null===(e=this.ezDoubleClick)||void 0===e||e.emit(i))}getContainerItemBuilder(t,e,n){var r,o;const a="left"===t?null===(r=this.itemLeftSlotBuilder)||void 0===r?void 0:r.call(this,e):null===(o=this.itemRightSlotBuilder)||void 0===o?void 0:o.call(this,e);if(null!=a)return"string"!=typeof a?i("div",{class:n},a):i("div",{class:n,innerHTML:a})}disconnectedCallback(){this._sortableInstance&&(this._sortableInstance.destroy(),this._sortableInstance=null)}buildTotalizer(){return`${this.i18n("ez-sortable-list.total")} ${this.dataSource.length} ${1===this.dataSource.length?this.entityLabel:this.entityLabelPlural}`}renderItems(){return r.applyStringFilter(this.filterTerm,this.dataSource).map((t=>i("div",{id:`ID_${t.id}`,key:`KEY_${t.id}`,class:{"sortable-item":!0,"hover-feedback":this.hoverFeedback},"data-key":t.id,onDblClick:()=>this.handleDoubleClick(t.id)},!!this.itemLeftSlotBuilder&&this.getContainerItemBuilder("left",t),i("div",{class:"item-content"},i("span",{class:"draggable-icon"}),t.label),!!this.itemRightSlotBuilder&&this.getContainerItemBuilder("right",t))))}handleFilterChanged(t){t.stopPropagation(),t.preventDefault(),this.filterTerm=t.detail}renderTotalizer(){if(!this.hideTotalizer)return i("div",{class:"sortable-totalizer"},this.buildTotalizer())}renderHeader(){if(!this.hideHeader)return i("div",{class:"sortable-header"},i("span",{class:"sortable-label"},this.title),i("ez-filter-input",{label:`${this.i18n("ez-sortable-list.search")} ${this.entityLabel}`,mode:"slim",onEzChange:t=>this.handleFilterChanged(t)}))}render(){return i("div",{class:"sortable-content"},this.renderHeader(),i("div",{class:`sortable-list ${this.dataSource.length<1?"empty-content":""} list-scroller--fix`,"data-content":this.emptyMessage,style:{"--empty-content":`"${this.emptyMessage}"`},id:this.idSortableList,key:this.idSortableList},this.renderItems()),this.renderTotalizer())}get el(){return n(this)}};ze.style=':host{--ez-sortable-list__host--z-index:var(--visible, 1);--ez-sortable-list__host--border-radius:var(--border--radius-medium, 12px);--ez-sortable-list__host--padding:var(--space--medium, 12px);--ez-sortable-list__item--margin:0 var(--space--small, 6px);--ez-sortable-list__item--padding:var(--space--3xs, 6px);--ez-sortable-list__item--color:var(--title--primary, #2b3a54);--ez-sortable-list__item--font-family:var(--font-pattern, "Roboto");--ez-sortable-list__item--font-size:var(--text--medium, 14px);--ez-sortable-list__selected-item--border-radius:var(--border--radius-small, 6px);--ez-sortable-list__selected-item--background-color:var(--color--primary-300, #E2F4EF);--ez-sortable-list__selectable--padding-right:var(--space--small, 6px);--ez-sortable-list__selectable--padding-left:var(--space--small, 6px);--ez-sortable-list__icon--color:#AFB6C0;--ez-sortable-list__draggable-icon--image:url(\'data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m 6.75,2.25 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z m -3,3 h 1.5 v 1.5 h -1.5 z m 3,0 h 1.5 v 1.5 h -1.5 z"/></svg>\');--ez-sortable-list__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-sortable-list--color-background:var(--scrollbar--background, #E5EAF0);--ez-sortable-list__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-sortable-list__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-sortable-list--border-radius:var(--border--radius-small, 6px);--ez-sortable-list__scrollbar--width:var(--space--small, 6px);max-height:100%;width:100%;background-color:#fff;display:flex;z-index:var(--ez-sortable-list__host--z-index)}.sortable-item{display:flex;justify-content:space-between;font-family:var(--ez-sortable-list__item--font-family);font-size:var(--ez-sortable-list__item--font-size);padding:var(--ez-sortable-list__item--padding) 0px;margin:var(--ez-sortable-list__item--margin)}.hover-feedback:hover{background-color:var(--background--medium);border-radius:var(--border--radius-regular)}.sortable-item.dragging{background:#FFFFFF;border:1px solid #008561;box-shadow:0px 0px 16px rgba(0, 38, 111, 0.122);border-radius:6px}.sortable-list{padding:0;margin:0;width:100%;height:100%;max-height:100%;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;color:var(--text-color);scrollbar-color:var(--ez-sortable-list__scrollbar--color-clicked) var(--ez-sortable-list--color-background)}.sortable-list.empty-content::after{content:attr(data-content);display:block;font-size:16px;font-weight:400;color:#AFB6C0;margin:auto;padding:8px}.list-scroller--fix{scrollbar-width:thin}.list-scroller--hover{scrollbar-width:none}.item-content{display:flex;flex-grow:1;flex-direction:row}.empty-message{font-weight:var(--text-weight--medium);font-size:var(--text--medium);color:var(--text--secondary);margin:auto}.draggable-icon{align-items:flex-start;display:flex;outline:none;border:none;background-color:unset}.draggable-icon::after{content:\'\';display:flex;width:18px;height:18px;background-color:var(--ez-sortable-list__icon--color);-webkit-mask-image:var(--ez-sortable-list__draggable-icon--image);mask-image:var(--ez-sortable-list__draggable-icon--image)}.selectable{cursor:pointer;padding-right:var(--ez-sortable-list__selectable--padding-right);padding-left:var(--ez-sortable-list__selectable--padding-left)}.selected{background:var(--ez-sortable-list__selected-item--background-color);border-radius:var(--ez-sortable-list__selected-item--border-radius)}.list-fix::-webkit-scrollbar-thumb{background-color:var(--ez-sortable-list__scrollbar--color-default);border-radius:var(--ez-sortable-list--border-radius)}.list-fix::-webkit-scrollbar-thumb:active{background-color:var(--ez-sortable-list__scrollbar--color-clicked)}.list-fix::-webkit-scrollbar{width:var(--ez-sortable-list__scrollbar--width);display:none}.list-hover::-webkit-scrollbar-thumb:hover{background-color:var(--ez-sortable-list__scrollbar--color-hover)}.list-hover:hover{scrollbar-width:thin}.list-hover:hover::-webkit-scrollbar{display:block}.ghost{opacity:.5;background:#589f7b}.sortable-content{display:flex;justify-content:space-between;gap:10px;flex-direction:column;border:var(--border--small) var(--color--strokes);border-radius:var(--border--radius-medium);width:100%;height:400px;min-width:40%}@media (max-height: 630px){.sortable-content{height:290px}}.sortable-header{background:var(--background--body);padding:10px;border-radius:var(--border--radius-medium) var(--border--radius-medium) 0 0}.sortable-label{font-weight:var(--text-weight--large);font-size:var(--text--medium);color:var(--title--primary);margin-bottom:10px;display:block}.sortable-totalizer{padding:5px 10px;background:var(--background--body);font-weight:var(--text-weight--medium);font-size:var(--text--medium);color:var(--text--primary);border-radius:0 0 var(--border--radius-medium) var(--border--radius-medium)}';export{ze as ez_sortable_list}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as r,g as o}from"./p-e4c7eb39.js";import{MaskFormatter as n,ElementIDUtils as s}from"@sankhyalabs/core";const a=class{constructor(e){t(this,e),this.ezChange=i(this,"ezChange",7),this._isOverflowing=!1,this.label=void 0,this.alternativePlaceholder=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.hasInvalid=!1,this.mask=void 0,this.cleanValueMask=!1,this.canShowError=!0,this.restrict=void 0,this.mode="regular",this.noBorder=!1,this.password=!1,this.autoFocus=!1,this.hasRightSlotContent=!1,this.forceLabelFloat=!1}observeHasInvalid(t,i){t!==i&&this.validateErrors()}observeMask(){this.mask&&(null==this._maskFormatter?this._maskFormatter=new n(this.mask):this._maskFormatter.mask=this.mask)}observeValue(t,i){this._inputElem&&t!=i&&(this._inputElem.value=this.value||"",this.handleChange(),this.adjustFloatingLabel(),this.checkIsOverflowing(),this.isSlaveMode()||(this.errorMessage="",this.ezChange.emit(this.value)))}observeAlternativePlaceholder(t){this.forceLabelFloat=!!t}validateErrors(){const t=this.handleValidateErrorMessage(this.errorMessage);this.updateClassError(this.canShowError&&(t||this.hasInvalid))}handleValidateErrorMessage(t=this.errorMessage){return"string"==typeof t&&""!==t.trim()}updateClassError(t){this._inputElem&&(t?this._inputElem.classList.add("hasError"):this._inputElem.classList.remove("hasError"))}adjustFloatingLabel(){if(this.label&&this._labelElem){if(this._inputElem&&!this._inputElem.classList.contains("input--with--label")&&this._inputElem.classList.add("input--with--label"),this.forceLabelFloat)return;const t=this.value&&this.value.toString().length>0,i=this._labelElem.classList.contains("input__label--floated");t||this.isFocused()?i||this._labelElem.classList.add("input__label--floated"):i&&this._labelElem.classList.remove("input__label--floated")}}isFocused(){return null!==this._hostElement.shadowRoot.activeElement}isSlaveMode(){var t,i;return"true"===(null===(i=null===(t=this._hostElement)||void 0===t?void 0:t.dataset)||void 0===i?void 0:i.slaveMode)}adjustColorContentSlot(t=""){this._contentLeftSlot&&(this._contentLeftSlot.style.color=t)}adjustBorderInput(){this.noBorder&&this._inputElem.classList.add("input__slim--noborder")}buildMaskFormatter(){if(this.mask){const t=this.getMaskToBuilder();this._maskFormatter=t?new n(t):void 0}}getMaskToBuilder(){return"cgc_cpf"===this.mask?this.getCGCCpfMask():"phone"===this.mask?this.getPhoneMask():this.mask in n.DEFAULT_MASKS?n.DEFAULT_MASKS[this.mask]:this.mask}getPhoneMask(){return this.value&&10===this.value.length?n.DEFAULT_MASKS?n.DEFAULT_MASKS.phone:void 0:this.value&&11===this.value.length&&n.DEFAULT_MASKS?n.DEFAULT_MASKS.phone_mobile:void 0}getCGCCpfMask(){return this.value&&11===this.value.length?n.DEFAULT_MASKS?n.DEFAULT_MASKS.cpf:void 0:this.value&&14===this.value.length&&n.DEFAULT_MASKS?n.DEFAULT_MASKS.cnpj:void 0}async setFocus(t){const{selectText:i}=t||{};if(i&&this._inputElem.select(),this._inputElem.disabled)return this._inputElem.classList.add("focused"),void this._inputElem.scrollIntoView({behavior:"smooth",block:"start"});requestAnimationFrame((()=>this._inputElem.focus()))}async setBlur(){this._inputElem.blur()}async isInvalid(){return this.handleValidateErrorMessage()}handleFocusout(){const t=this._inputElem.value;if(t&&this._maskFormatter)try{this.cleanValueMask?this.applyMask(t):this._inputElem.value=this._maskFormatter.format(t)}catch(t){this.errorMessage=t.message}this.controlChangeValue(),this.adjustFloatingLabel(),this.adjustColorContentSlot()}isValidValue(t){return!this.restrict||Array.from(t).reduce(((t,i)=>t&&this.restrict.indexOf(i)>-1),!0)}controlChangeValue(){this._inputElem&&(this.value||"")!==this._inputElem.value&&(this.value=this.cleanValueMask&&this._maskFormatter?this._maskFormatter.removeMask(this._inputElem.value):this._inputElem.value)}applyMask(t){if(!t||""===t)return t;if(this._maskFormatter)try{const i=this._maskFormatter.applyMask(this._maskFormatter.removeMask(t));return this._inputElem?(this._inputElem.value=i,this._inputElem.value):(this.value=i,this.value)}catch(t){this.errorMessage=t.message}return t}handleChange(){if(!this._inputElem)return;const t=this._inputElem.value;this.isValidValue(t)?this._lastValidValue=t:this._inputElem.value=null==this._lastValidValue?"":this._lastValidValue,this.controlChangeValue()}handleSlotChange(t){var i;const e=t.target,r=e.assignedElements()[0];this.hasRightSlotContent=!1,r&&(r.style.position="absolute",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.overflow="hidden",r.style.top="0px",r.style.width="var(--ez-text-input__icon--width)",r.style.height="slim"!=this.mode?"var(--ez-text-input--height)":"var(--ez-text-input--height--slim)","leftIcon"==e.name?(r.style.left="0px",r.style.borderRadius="var(--ez-text-input--border-radius) 0 0 var(--ez-text-input--border-radius)",this._inputElem.classList.add("icon--left"),this._labelElem&&this._labelElem.classList.add("input__label--left"),this._contentLeftSlot=r):"rightIcon"==e.name&&(r.style.right="0px",r.style.borderRadius="0 var(--ez-text-input--border-radius) var(--ez-text-input--border-radius) 0",this._inputElem.classList.add("icon--right"),this._labelElem&&this._labelElem.classList.add("input__label--right"),this._tooltipIconElem&&this._tooltipIconElem.classList.add("rightIconSlot"),this.hasRightSlotContent=(null===(i=r.children)||void 0===i?void 0:i.length)>0),e.name&&s.addIDInfo(r,e.name)),this.validateErrors()}doFocus(){this.label&&this._labelElem&&!this._labelElem.classList.contains("input__label--floated")&&this._labelElem.classList.add("input__label--floated"),this.adjustColorContentSlot("var(--ez-text-input__input--focus--icon-color)")}getValue(){return this.mask&&this.cleanValueMask?this.applyMask(this.value):this.value}buildLabelClass(){let t=this.enabled?"input__label":"input__label input__label--disabled";return this.errorMessage&&(t+=" hasError"),this.forceLabelFloat&&(t+=" input__label--floated"),t}buildPlaceholder(){return this.alternativePlaceholder?this.alternativePlaceholder:"slim"===this.mode&&this.label?this.label:""}checkIsOverflowing(){this._isOverflowing=!!this._inputElem&&this._inputElem.offsetWidth<this._inputElem.scrollWidth}componentWillLoad(){if(this.observeMask(),this.forceLabelFloat=!!this.alternativePlaceholder,this.value){if(this._maskFormatter)try{this.cleanValueMask?this.applyMask(this.value):this.value=this._maskFormatter.format(this.value)}catch(t){this.errorMessage=t.message}this.isValidValue(this.value)||(this._lastValidValue="",this.value="")}}componentDidLoad(){var t;this.validateErrors(),this.observeMask(),this.adjustFloatingLabel(),this.adjustBorderInput(),this.checkIsOverflowing(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})})),null===(t=this._inputElem)||void 0===t||t.addEventListener("focus",(()=>{var t;this._inputElem.setSelectionRange(0,null===(t=this._inputElem)||void 0===t?void 0:t.value.length)})),this.onClickOutside=t=>{this._inputElem.contains(t.target)||this._inputElem.classList.remove("focused")},document.addEventListener("click",this.onClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.onClickOutside)}componentDidRender(){this.adjustFloatingLabel(),this.buildMaskFormatter()}render(){return s.addIDInfoIfNotExists(this._hostElement,"input"),e(r,{style:this._hostElement.classList.contains("grid_editor")?{height:"100%"}:null},e("slot",{name:"leftIcon",onSlotchange:t=>{this.handleSlotChange(t)}}),this.label&&"slim"!=this.mode?e("label",{ref:t=>this._labelElem=t,class:this.buildLabelClass(),onClick:()=>this._inputElem.focus(),title:this.label},this.label):null,e("input",{"data-element-id":s.getInternalIDInfo("input"),onFocus:()=>this.doFocus(),ref:t=>this._inputElem=t,type:this.password?"password":"text",class:"slim"===this.mode?"input--slim":"",placeholder:this.buildPlaceholder(),value:this.getValue(),disabled:!this.enabled,onInput:()=>{this.handleChange()},onFocusout:()=>{this.handleFocusout()}}),e("ez-tooltip",{anchoringElement:this._hostElement,message:this.getValue(),active:this._isOverflowing,useAnchorSize:!0}),this.canShowError&&"slim"!=this.mode&&this.errorMessage&&e("ez-tooltip",{type:"error",message:this.errorMessage},e("ez-icon",{class:`tooltip-icon ${this.errorMessage?"hasError":""} ${this.hasRightSlotContent?"rightIconSlot":""}`,"data-element-id":s.getInternalIDInfo("tooltip-icon"),ref:t=>this._tooltipIconElem=t,iconName:"alert-circle"})),e("slot",{name:"rightIcon",onSlotchange:t=>{this.handleSlotChange(t)}}," "))}get _hostElement(){return o(this)}static get watchers(){return{hasInvalid:["observeHasInvalid"],errorMessage:["observeHasInvalid"],canShowError:["observeHasInvalid"],mask:["observeMask"],value:["observeValue"],alternativePlaceholder:["observeAlternativePlaceholder"]}}};a.style=":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:30px;--ez-text-input--height--slim:32px;--ez-text-input__min-width:0px;--ez-text-input__max-width:100%;--ez-text-input--border-radius:var(--border--radius-medium, 12px);--ez-text-input--border-top-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-top-right-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-right-radius:var(--ez-text-input--border-radius);--ez-text-input--font-size:var(--text--medium, 14px);--ez-text-input--font-family:var(--font-pattern, Arial);--ez-text-input--font-weight:var(--text-weight--medium, 400);--ez-text-input--color:var(--title--primary, #2B3A54);--ez-text-input__margin-bottom:var(--space--small);--ez-text-input__input--background-color:var(--background--light, #ffffff);--ez-text-input__input--border:var(--border--small, 1px solid);--ez-text-input__input--border-color:var(--color--strokes,#DCE0E8);--ez-text-input__input--focus--border-color:var(--color--primary, #008561);--ez-text-input__input--disabled--background-color:var(--background--medium, #F0F3F7);--ez-text-input__input--disabled--color:var(--text--primary, #626E82);--ez-text-input__input--error--border-color:var(--color-alert--error-800,#BD0025);--ez-text-input__input--noborder-color:white;--ez-text-input__input--padding:var(--space--medium, 6px);--ez-text-input__placeholder--color:var(--text--secondary, #a2abb9);--ez-text-input__tooltip_icon--error--color:var(--color-alert--error-800,#BD0025);--ez-text-input__label--floating--top:6px;--ez-text-input__label--padding-top:12px;--ez-text-input__label--padding-left:14px;--ez-text-input__label--padding-right:12px;--ez-text-input__input--focus--icon-color:var(--title--primary, #2B3A54);--ez-text-input__input--disabled--focus--icon-color:var(--text--primary, #626E82);--ez-text-input__tooltip-icon--spacing:var(--space--large);--ez-text-input__tooltip-icon---width:var(--space--large);--ez-text-input__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-input__tooltip-icon---vertical-margin:10px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-text-input--width);min-width:var(--ez-text-input__min-width);max-width:var(--ez-text-input__max-width)}:host(.grid_editor){--ez-text-input--height--slim:25px}input{width:100%;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:var(--ez-text-input--height);border-top-left-radius:var(--ez-text-input--border-top-left-radius);border-bottom-left-radius:var(--ez-text-input--border-bottom-left-radius);border-top-right-radius:var(--ez-text-input--border-top-right-radius);border-bottom-right-radius:var(--ez-text-input--border-bottom-right-radius);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);border:var(--ez-text-input__input--border);border-color:var(--ez-text-input__input--border-color);background-color:var(--ez-text-input__input--background-color);color:var(--ez-text-input--color);font-weight:var(--ez-text-input--font-weight);padding:var(--ez-text-input__input--padding);margin-bottom:var(--ez-text-input__margin-bottom)}input.no--margin{--ez-text-input__margin-bottom:0}input:disabled{background-color:var(--ez-text-input__input--disabled--background-color);color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}input:focus{outline:none;border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.focused{border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.icon--left{padding-left:var(--ez-text-input__icon--width)}input.icon--left.hasError{padding-right:var(--ez-text-input__icon--width)}input.icon--right{padding-right:var(--ez-text-input__icon--width)}input.icon--right.hasError{padding-right:calc(var(--ez-text-input__icon--width) + var(--ez-text-input__tooltip-icon--spacing))}input.hasError{color:var(--ez-text-input--color);border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--error--border-color);padding-right:calc(var(--ez-text-input__tooltip-icon---width) + (2*var(--ez-text-input__tooltip-icon---horizontal-margin)))}input:disabled.hasError{color:var(--ez-text-input__input--disabled--color)}input.text--right{text-align:right}input:disabled,input:read-only{cursor:not-allowed}.hasError{color:var(--ez-text-input__tooltip_icon--error--color)}.input__label{box-sizing:border-box;position:absolute;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - (var(--ez-text-input__label--padding-right) + var(--ez-text-input__label--padding-left)));left:var(--ez-text-input--space--medium);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input--color);top:var(--ez-text-input__label--padding-top);left:var(--ez-text-input__label--padding-left);padding-right:var(--ez-text-input__label--padding-right)}.input__label.hasError{width:calc(100% - 2*(var(--ez-text-input__tooltip-icon--spacing)))}.input__label--floated{font-family:var(--ez-text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-text-input__label--floating--top)}.input__label--disabled{color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}.input__label--left{text-align:left;left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - (var(--ez-text-input__icon--width) + var(--ez-text-input__label--padding-right)))}.input__label--left.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--right{right:var(--ez-text-input__icon--width);width:calc(100% - (var(--ez-text-input__icon--width) + var(--ez-text-input__label--padding-left)))}.input__label--right.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--left.input__label--right{left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}.input--slim{padding-top:var(--space--small, 3px);padding-bottom:var(--space--small, 3px);height:var(--ez-text-input--height--slim)}.input__slim--title{font-size:16px;font-weight:bold}.input--slim::-webkit-input-placeholder,.input--slim:-moz-placeholder,.input--slim::-moz-placeholder,.input--slim:-ms-input-placeholder,.input--slim::placeholder{font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input__placeholder--color)}.input--slim:disabled::-webkit-input-placeholder,.input--slim:disabled:-moz-placeholder,.input--slim:disabled::-moz-placeholder,.input--slim:disabled:-ms-input-placeholder,.input--slim:disabled::placeholder{color:var(--ez-text-input__input--disabled--color)}input.input__slim--noborder{box-shadow:0 0 0 0;border:0 none;outline:0;background:var(--ez-text-input__input--noborder-color)}ez-icon.tooltip-icon{position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden;width:var(--ez-text-input__tooltip-icon---width);height:22px;margin:var(--ez-text-input__tooltip-icon---vertical-margin) var(--ez-text-input__tooltip-icon---horizontal-margin);top:0;right:0;border-radius:var(--ez-text-input--border-radius)}ez-icon.tooltip-icon.rightIconSlot{right:var(--ez-text-input__tooltip-icon--spacing)}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-input__tooltip_icon--error--color)}";export{a as ez_text_input}
@@ -1 +0,0 @@
1
- import{h as e,r as a,c as l,g as n,H as i}from"./p-e4c7eb39.js";import{ObjectUtils as t,StringUtils as o,UserInterface as r,ElementIDUtils as s}from"@sankhyalabs/core";import{F as d}from"./p-47e4a8ce.js";import{C as c}from"./p-b853763b.js";import{g as m}from"./p-c178730b.js";function u(a,l,n,i,t,o){return e("div",{class:"ez-col ez-col--sd-12 ez-align--middle ez-padding-top--medium ez-padding-bottom--medium ez-size-height--full "+((null==o?void 0:o.formLayout)===d.CLASSIC_CASCADE||(null==o?void 0:o.formLayout)===d.CLASSIC_SIDE_BY_SIDE?"ez-margin-top--small":"")},e("ez-check",{enabled:!n,label:l,mode:t?c.SWITCH:c.REGULAR,"data-field-name":a,"data-context-name":i,key:a}))}function p(a,l,n,i,t,o,r,s,c,m){var u;return e("div",{class:"ez-col ez-col--sd-12"},(null==m?void 0:m.formLayout)===d.CLASSIC_CASCADE||(null==m?void 0:m.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-number-input",{class:"ez-input__no-margin",enabled:!n,label:l,precision:i,prettyPrecision:t,"data-field-name":a,"data-context-name":o,key:a,canShowError:r,size:null!==(u=null==m?void 0:m.size)&&void 0!==u?u:"small",required:c}):e("ez-number-input",{class:"ez-input__no-margin",enabled:!n,label:l,precision:i,prettyPrecision:t,"data-field-name":a,"data-context-name":o,key:a,canShowError:r}))}const v=({name:a,label:l,readOnly:n,contextName:i,canShowError:t,props:o,required:r},s)=>{var c;return e("div",{class:"ez-col ez-col--sd-12"},(null==s?void 0:s.formLayout)===d.CLASSIC_CASCADE||(null==s?void 0:s.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-input",{class:"ez-input__no-margin",label:l,"data-field-name":a,"data-context-name":i,key:a,enabled:!n,mask:null==o?void 0:o.mask,"clean-value-mask":null==o?void 0:o.cleanValueMask,size:null!==(c=null==s?void 0:s.size)&&void 0!==c?c:"small",required:r}):e("ez-text-input",{class:"ez-input__no-margin",label:l,"data-field-name":a,"data-context-name":i,key:a,enabled:!n,canShowError:t,mask:null==o?void 0:o.mask,"clean-value-mask":null==o?void 0:o.cleanValueMask}))},h=new Map;h.set(r.CHECKBOX,((e,a)=>u(e.name,e.label,e.readOnly,e.contextName,!1,a))),h.set(r.SWITCH,((e,a)=>u(e.name,e.label,e.readOnly,e.contextName,!0,a))),h.set(r.OPTIONSELECTOR,(({name:a,label:l,readOnly:n,required:i,props:t,contextName:o,canShowError:r},s)=>{var c;const m=(null==s?void 0:s.formLayout)===d.CLASSIC_CASCADE||(null==s?void 0:s.formLayout)===d.CLASSIC_SIDE_BY_SIDE,u=null==t?void 0:t.options;let p;if("string"==typeof u){const e=JSON.parse(u);p=Object.keys(e).map((a=>({value:a,label:e[a]})))}else p=u;return e("div",{class:"ez-col ez-col--sd-12"},m?e("ez-classic-combo-box",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:i,label:l,"data-field-name":a,"data-context-name":o,key:a,options:p,size:null!==(c=null==s?void 0:s.size)&&void 0!==c?c:"small",required:i}):e("ez-combo-box",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:i,label:l,"data-field-name":a,"data-context-name":o,key:a,options:p,canShowError:r}))})),h.set(r.DATE,(({name:a,label:l,readOnly:n,canShowError:i,required:t},o)=>{var r;return e("div",{class:"ez-col ez-col--sd-12"},(null==o?void 0:o.formLayout)===d.CLASSIC_CASCADE||(null==o?void 0:o.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-date-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,key:a,canShowError:i,size:null!==(r=null==o?void 0:o.size)&&void 0!==r?r:"small",required:t}):e("ez-date-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,key:a,canShowError:i}))})),h.set(r.TIME,(({name:a,label:l,readOnly:n,canShowError:i,props:t,required:o},r)=>{var s,c,m;return e("div",{class:"ez-col ez-col--sd-12"},(null==r?void 0:r.formLayout)===d.CLASSIC_CASCADE||(null==r?void 0:r.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-time-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,key:a,canShowError:i,"show-seconds":null!==(s=null==t?void 0:t.showSeconds)&&void 0!==s&&s,size:null!==(c=null==r?void 0:r.size)&&void 0!==c?c:"small",required:o}):e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,key:a,canShowError:i,"show-seconds":null!==(m=null==t?void 0:t.showSeconds)&&void 0!==m&&m}))})),h.set(r.ELAPSEDTIME,(({name:a,label:l,readOnly:n,canShowError:i,required:t},o)=>{var r;return e("div",{class:"ez-col ez-col--sd-12"},(null==o?void 0:o.formLayout)===d.CLASSIC_CASCADE||(null==o?void 0:o.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-time-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,key:a,canShowError:i,showSeconds:!0,size:null!==(r=null==o?void 0:o.size)&&void 0!==r?r:"small",required:t}):e("ez-time-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,key:a,canShowError:i,showSeconds:!0}))})),h.set(r.DATETIME,(({name:a,label:l,readOnly:n,contextName:i,canShowError:t,required:o},r)=>{var s;return e("div",{class:"ez-col ez-col--sd-12"},(null==r?void 0:r.formLayout)===d.CLASSIC_CASCADE||(null==r?void 0:r.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-date-time-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,"data-context-name":i,key:a,canShowError:t,size:null!==(s=null==r?void 0:r.size)&&void 0!==s?s:"small",required:o}):e("ez-date-time-input",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,"data-context-name":i,key:a,canShowError:t}))})),h.set(r.FILE,(({name:a,label:l,readOnly:n,contextName:i,props:o})=>{const r=t.removeEmptyValues({subTitle:o.subTitle,requestHeaders:Object.assign(Object.assign({},o.STORAGESTRATEGY&&{STORAGESTRATEGY:o.STORAGESTRATEGY}),o.INTERNAL_FILENAME&&{INTERNAL_FILENAME:o.INTERNAL_FILENAME})});return e("div",{class:"ez-col ez-col--sd-12"},e("ez-upload",Object.assign({enabled:!n,label:l,"data-field-name":a,"data-context-name":i,key:a},r)))})),h.set(r.DECIMALNUMBER,(({name:e,label:a,readOnly:l,props:n,contextName:i,canShowError:t,required:o},r)=>{var s,d;const c=Number(null!==(s=null==n?void 0:n.precision)&&void 0!==s?s:2);return p(e,a,l,c,Number(null!==(d=null==n?void 0:n.prettyPrecision)&&void 0!==d?d:c),i,t,0,o,r)})),h.set(r.INTEGERNUMBER,(({name:e,label:a,readOnly:l,contextName:n,canShowError:i,props:t,required:o},r)=>p(e,a,l,0,0,n,i,0,o,r))),h.set(r.SEARCH,(({name:a,label:l,readOnly:n,required:i,contextName:t,canShowError:r,optionLoader:s,props:c},m)=>{var u,p,v;const h=!o.isEmpty(null==c?void 0:c.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},(null==m?void 0:m.formLayout)===d.CLASSIC_CASCADE||(null==m?void 0:m.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-search",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:i,label:l,"data-field-name":a,"data-context-name":t,key:a,canShowError:r,optionLoader:s,ignoreLimitCharsToSearch:null!==(u=null==c?void 0:c.ignoreLimitCharsToSearch)&&void 0!==u&&u,hideDescriptionInput:!h,size:null!==(p=null==m?void 0:m.size)&&void 0!==p?p:"small",required:i}):e("ez-search",{class:"ez-input__no-margin",enabled:!n,suppressEmptyOption:i,label:l,"data-field-name":a,"data-context-name":t,key:a,canShowError:r,optionLoader:s,ignoreLimitCharsToSearch:null!==(v=null==c?void 0:c.ignoreLimitCharsToSearch)&&void 0!==v&&v,hideDescriptionInput:!h}))})),h.set(r.SEARCHPLUS,(({name:a,label:l,readOnly:n,contextName:i,canShowError:t,optionLoader:r,props:s,required:c},m)=>{var u;const p=(null==m?void 0:m.formLayout)===d.CLASSIC_CASCADE||(null==m?void 0:m.formLayout)===d.CLASSIC_SIDE_BY_SIDE,v=!o.isEmpty(null==s?void 0:s.DESCRIPTIONFIELD);return e("div",{class:"ez-col ez-col--sd-12"},p?e("ez-classic-search-plus",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,"data-context-name":i,key:a,canShowError:t,optionLoader:r,hideDescriptionInput:!v,size:null!==(u=null==m?void 0:m.size)&&void 0!==u?u:"small",required:c}):e("ez-search-plus",{class:"ez-input__no-margin",enabled:!n,label:l,"data-field-name":a,"data-context-name":i,key:a,canShowError:t,optionLoader:r,hideDescriptionInput:!v}))})),h.set(r.LONGTEXT,(({name:a,label:l,readOnly:n,rows:i,contextName:t,canShowError:o},r)=>e("div",{class:"ez-col ez-col--sd-12",key:a},(null==r?void 0:r.formLayout)===d.CLASSIC_CASCADE||(null==r?void 0:r.formLayout)===d.CLASSIC_SIDE_BY_SIDE?e("ez-classic-text-area",{enabled:!n,label:l,"data-field-name":a,"data-context-name":t,rows:i}):e("ez-text-area",{enabled:!n,label:l,"data-field-name":a,"data-context-name":t,rows:i,canShowError:o})))),h.set(r.HTML,(({name:a,label:l,readOnly:n,contextName:i,rows:t,canShowError:o})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-rich-text",{key:a,enabled:!n,label:l,"data-field-name":a,"data-context-name":i,rows:t,canShowError:o})))),h.set(r.IMAGE,(({name:a,label:l,readOnly:n,contextName:i,props:t})=>e("div",{class:"ez-col ez-col--sd-12"},e("ez-image-input",Object.assign({enabled:!n,label:l,"data-field-name":a,"data-context-name":i,key:a,maxFileSize:1/0},t)))));const z=(e,a=new Map,l)=>{const n=m(),i=(null==l?void 0:l.formLayout)===d.CLASSIC_CASCADE||(null==l?void 0:l.formLayout)===d.CLASSIC_SIDE_BY_SIDE,t=a.get(e.userInterface)||h.get(e.userInterface)||v,o=!i&&e.required?`${e.label}${n("app.requiredInfo")}`:e.label,r=t(Object.assign(Object.assign({},e),{label:o}),l);return r.l["data-form-item"]=e.name,r};class b{constructor(e){this.elem=e}addRightElement(e){this.removeRightElement(),e.classList.add("ez-padding-left--small","ez-margin-top--auto","ez-margin-bottom--extra-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 w{constructor(e,a){this.items=new Map,this.formId=a,e.forEach((e=>{const a=new b(e);this.items.set(a.fieldName,a)}))}getItem(e){return this.items.get(e)}get formName(){return this.formId}}const f=class{constructor(e){a(this,e),this.ezContentReady=l(this,"ezContentReady",7),this.formItemsReady=l(this,"formItemsReady",7),this.MAIN_GROUP_NAME="__main",this._customEditors=new Map,this.fields=void 0,this.selectedRecord=void 0,this.singleColumn=!1,this.formLayout=void 0,this.customUiBuilders=new Map}async showUp(){this.singleColumn||this._element.scrollIntoView({behavior:"smooth",block:"start"})}async addCustomEditor(e,a,l){const n=new Map(this._customEditors);n.set(e,{customEditor:a,detailContext:l}),this._customEditors=n}async setFieldProp(e,a,l){const n=this.fields.map((n=>(n.name!==e||!l&&0!==l||(n.props=n.props||{},n.props[a]=l),n)));this.fields=[...n]}getGroupByField(e){var a,l;const n=null!==(a=e.group)&&void 0!==a?a:null===(l=e.props)||void 0===l?void 0:l.UITabName;if(n&&n!==this.MAIN_GROUP_NAME)return n}groupFields(e){const a=new Map;return e.forEach((e=>{const l=this.getGroupByField(e);if(l){let n=a.get(l);null==n&&(n=[],a.set(l,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 w(Array.from(this._element.querySelectorAll("[data-form-item]")));this.formItemsReady.emit(e)}isItemFullWidth(e){return[r.FILE,r.LONGTEXT,r.HTML].includes(e)}buildFormItemElement(a,l=""){var n;this.isItemFullWidth(a.userInterface)&&(l+=" input-full_width");const i={formLayout:this.formLayout,size:"xsmall"};if(this._customEditors.has(a.name)){const t=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:l},e("ez-custom-form-input",{"data-field-name":a.name,customEditor:o,formViewField:a,builderFallback:e=>z(e,this.customUiBuilders,i),value:t,selectedRecord:this.selectedRecord}))}return e("div",{class:l},z(a,this.customUiBuilders,i))}render(){if(s.addIDInfoIfNotExists(this._element,"ezFormView"),null==this.fields)return;let a=[],l=Array.from(this.groupFields(this.fields).entries()).map((([l,n])=>{if(Array.isArray(n))return e("ez-collapsible-box",{id:`group-${l}`,label:l,"header-size":"large",key:l},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))),t=e("div",{class:`form-view__content ${this.singleColumn&&"form-view__content--single-column"}`},n);return e(i,null,t,l)}get _element(){return n(this)}};f.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--gap:var(--space--14, 14px);--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--gap);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%}*.sc-ez-form-view:has(*)+ez-collapsible-box.sc-ez-form-view{margin-top:var(--space--16, 16px)}";export{f as ez_form_view}
@@ -1 +0,0 @@
1
- const t=Math.min,n=Math.max,e=Math.round,o=Math.floor,r=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function c(e,o,r){return n(e,t(o,r))}function a(t,n){return"function"==typeof t?t(n):t}function s(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function f(t){return"x"===t?"y":"x"}function d(t){return"y"===t?"height":"width"}function m(t){return["top","bottom"].includes(s(t))?"y":"x"}function y(t){return f(m(t))}function h(t){return t.replace(/start|end/g,(t=>l[t]))}function p(t){return t.replace(/left|right|bottom|top/g,(t=>i[t]))}function x(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function g(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function w(t,n,e){let{reference:o,floating:r}=t;const i=m(n),l=y(n),c=d(l),a=s(n),f="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,x=o[c]/2-r[c]/2;let g;switch(a){case"top":g={x:h,y:o.y-r.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-r.width,y:p};break;default:g={x:o.x,y:o.y}}switch(u(n)){case"start":g[l]-=x*(e&&f?-1:1);break;case"end":g[l]+=x*(e&&f?-1:1)}return g}async function v(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:c,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=a(n,t),h=x(y),p=c[m?"floating"===d?"reference":"floating":d],w=g(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:s})),v="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},R=g(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:s}):v);return{top:(w.top-R.top+h.top)/A.y,bottom:(R.bottom-w.bottom+h.bottom)/A.y,left:(w.left-R.left+h.left)/A.x,right:(R.right-w.right+h.right)/A.x}}function b(){return"undefined"!=typeof window}function A(t){return k(t)?(t.nodeName||"").toLowerCase():"#document"}function R(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function S(t){var n;return null==(n=(k(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function k(t){return!!b()&&(t instanceof Node||t instanceof R(t).Node)}function F(t){return!!b()&&(t instanceof Element||t instanceof R(t).Element)}function O(t){return!!b()&&(t instanceof HTMLElement||t instanceof R(t).HTMLElement)}function T(t){return!(!b()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof R(t).ShadowRoot)}function D(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=B(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function P(t){return["table","td","th"].includes(A(t))}function M(t){return[":popover-open",":modal"].some((n=>{try{return t.matches(n)}catch(t){return!1}}))}function z(t){const n=C(),e=F(t)?B(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function C(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function L(t){return["html","body","#document"].includes(A(t))}function B(t){return R(t).getComputedStyle(t)}function E(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function I(t){if("html"===A(t))return t;const n=t.assignedSlot||t.parentNode||T(t)&&t.host||S(t);return T(n)?n.host:n}function N(t){const n=I(t);return L(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&D(n)?n:N(n)}function j(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=N(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=R(r);if(i){const t=q(l);return n.concat(l,l.visualViewport||[],D(r)?r:[],t&&e?j(t):[])}return n.concat(r,j(r,[],e))}function q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function H(t){const n=B(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=O(t),l=i?t.offsetWidth:o,c=i?t.offsetHeight:r,a=e(o)!==l||e(r)!==c;return a&&(o=l,r=c),{width:o,height:r,$:a}}function $(t){return F(t)?t:t.contextElement}function V(t){const n=$(t);if(!O(n))return r(1);const o=n.getBoundingClientRect(),{width:i,height:l,$:c}=H(n);let a=(c?e(o.width):o.width)/i,s=(c?e(o.height):o.height)/l;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const W=r(0);function X(t){const n=R(t);return C()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:W}function Y(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),l=$(t);let c=r(1);n&&(o?F(o)&&(c=V(o)):c=V(t));const a=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==R(t))&&n}(l,e,o)?X(l):r(0);let s=(i.left+a.x)/c.x,u=(i.top+a.y)/c.y,f=i.width/c.x,d=i.height/c.y;if(l){const t=R(l),n=o&&F(o)?R(o):o;let e=t,r=q(e);for(;r&&o&&n!==e;){const t=V(r),n=r.getBoundingClientRect(),o=B(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=l,e=R(r),r=q(e)}}return g({width:f,height:d,x:s,y:u})}function _(t,n){const e=E(t).scrollLeft;return n?n.left+e:Y(S(t)).left+e}function G(t,n,e){void 0===e&&(e=!1);const o=t.getBoundingClientRect();return{x:o.left+n.scrollLeft-(e?0:_(t,o)),y:o.top+n.scrollTop}}function J(t,e,o){let i;if("viewport"===e)i=function(t,n){const e=R(t),o=S(t),r=e.visualViewport;let i=o.clientWidth,l=o.clientHeight,c=0,a=0;if(r){i=r.width,l=r.height;const t=C();(!t||t&&"fixed"===n)&&(c=r.offsetLeft,a=r.offsetTop)}return{width:i,height:l,x:c,y:a}}(t,o);else if("document"===e)i=function(t){const e=S(t),o=E(t),r=t.ownerDocument.body,i=n(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),l=n(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let c=-o.scrollLeft+_(t);const a=-o.scrollTop;return"rtl"===B(r).direction&&(c+=n(e.clientWidth,r.clientWidth)-i),{width:i,height:l,x:c,y:a}}(S(t));else if(F(e))i=function(t,n){const e=Y(t,!0,"fixed"===n),o=e.top+t.clientTop,i=e.left+t.clientLeft,l=O(t)?V(t):r(1);return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:i*l.x,y:o*l.y}}(e,o);else{const n=X(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return g(i)}function K(t,n){const e=I(t);return!(e===n||!F(e)||L(e))&&("fixed"===B(e).position||K(e,n))}function Q(t,n,e){const o=O(n),i=S(n),l="fixed"===e,c=Y(t,!0,l,n);let a={scrollLeft:0,scrollTop:0};const s=r(0);if(o||!o&&!l)if(("body"!==A(n)||D(i))&&(a=E(n)),o){const t=Y(n,!0,l,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else i&&(s.x=_(i));const u=!i||o||l?r(0):G(i,a);return{x:c.left+a.scrollLeft-s.x-u.x,y:c.top+a.scrollTop-s.y-u.y,width:c.width,height:c.height}}function U(t){return"static"===B(t).position}function Z(t,n){if(!O(t)||"fixed"===B(t).position)return null;if(n)return n(t);let e=t.offsetParent;return S(t)===e&&(e=e.ownerDocument.body),e}function tt(t,n){const e=R(t);if(M(t))return e;if(!O(t)){let n=I(t);for(;n&&!L(n);){if(F(n)&&!U(n))return n;n=I(n)}return e}let o=Z(t,n);for(;o&&P(o)&&U(o);)o=Z(o,n);return o&&L(o)&&U(o)&&!z(o)?e:o||function(t){let n=I(t);for(;O(n)&&!L(n);){if(z(n))return n;if(M(n))return null;n=I(n)}return null}(t)||e}const nt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const l="fixed"===i,c=S(o),a=!!n&&M(n.floating);if(o===c||a&&l)return e;let s={scrollLeft:0,scrollTop:0},u=r(1);const f=r(0),d=O(o);if((d||!d&&!l)&&(("body"!==A(o)||D(c))&&(s=E(o)),O(o))){const t=Y(o);u=V(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||l?r(0):G(c,s,!0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:S,getClippingRect:function(e){let{element:o,boundary:r,rootBoundary:i,strategy:l}=e;const c=[..."clippingAncestors"===r?M(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=j(t,[],!1).filter((t=>F(t)&&"body"!==A(t))),r=null;const i="fixed"===B(t).position;let l=i?I(t):t;for(;F(l)&&!L(l);){const n=B(l),e=z(l);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||D(l)&&!e&&K(t,l))?o=o.filter((t=>t!==l)):r=n,l=I(l)}return n.set(t,o),o}(o,this._c):[].concat(r),i],a=c.reduce(((e,r)=>{const i=J(o,r,l);return e.top=n(i.top,e.top),e.right=t(i.right,e.right),e.bottom=t(i.bottom,e.bottom),e.left=n(i.left,e.left),e}),J(o,c[0],l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:tt,getElementRects:async function(t){const n=this.getOffsetParent||tt,e=this.getDimensions,o=await e(t.floating);return{reference:Q(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=H(t);return{width:n,height:e}},getScale:V,isElement:F,isRTL:function(t){return"rtl"===B(t).direction}};function et(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function ot(e,r,i,l){void 0===l&&(l={});const{ancestorScroll:c=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=l,d=$(e),m=c||a?[...d?j(d):[],...j(r)]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i,{passive:!0}),a&&t.addEventListener("resize",i)}));const y=d&&u?function(e,r){let i,l=null;const c=S(e);function a(){var t;clearTimeout(i),null==(t=l)||t.disconnect(),l=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),a();const d=e.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(u||r(),!h||!p)return;const x={rootMargin:-o(y)+"px "+-o(c.clientWidth-(m+h))+"px "+-o(c.clientHeight-(y+p))+"px "+-o(m)+"px",threshold:n(0,t(1,f))||1};let g=!0;function w(t){const n=t[0].intersectionRatio;if(n!==f){if(!g)return s();n?s(!1,n):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==n||et(d,e.getBoundingClientRect())||s(),g=!1}try{l=new IntersectionObserver(w,{...x,root:c.ownerDocument})}catch(t){l=new IntersectionObserver(w,x)}l.observe(e)}(!0),a}(d,i):null;let h,p=-1,x=null;s&&(x=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&x&&(x.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=x)||t.observe(r)}))),i()})),d&&!f&&x.observe(d),x.observe(r));let g=f?Y(e):null;return f&&function t(){const n=Y(e);g&&!et(g,n)&&i(),g=n,h=requestAnimationFrame(t)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),a&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=x)||t.disconnect(),x=null,f&&cancelAnimationFrame(h)}}const rt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:c}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=s(e),c=u(e),f="y"===m(e),d=["left","top"].includes(l)?-1:1,y=i&&f?-1:1,h=a(n,t);let{mainAxis:p,crossAxis:x,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&"number"==typeof g&&(x="end"===c?-1*g:g),f?{x:x*y,y:p*d}:{x:p*d,y:x*y}}(n,t);return l===(null==(e=c.offset)?void 0:e.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:l}}}}},it=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r}=n,{mainAxis:i=!0,crossAxis:l=!1,limiter:u={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...d}=a(t,n),y={x:e,y:o},h=await v(n,d),p=m(s(r)),x=f(p);let g=y[x],w=y[p];i&&(g=c(g+h["y"===x?"top":"left"],g,g-h["y"===x?"bottom":"right"])),l&&(w=c(w+h["y"===p?"top":"left"],w,w-h["y"===p?"bottom":"right"]));const b=u.fn({...n,[x]:g,[p]:w});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[x]:i,[p]:l}}}}}},lt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:c,platform:f,elements:x}=n,{mainAxis:g=!0,crossAxis:w=!0,fallbackPlacements:b,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:S=!0,...k}=a(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const F=s(r),O=m(c),T=s(c)===c,D=await(null==f.isRTL?void 0:f.isRTL(x.floating)),P=b||(T||!S?[p(c)]:function(t){const n=p(t);return[h(t),n,h(n)]}(c)),M="none"!==R;!b&&M&&P.push(...function(t,n,e,o){const r=u(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:l;default:return[]}}(s(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(h)))),i}(c,S,R,D));const z=[c,...P],C=await v(n,k),L=[];let B=(null==(o=i.flip)?void 0:o.overflows)||[];if(g&&L.push(C[F]),w){const t=function(t,n,e){void 0===e&&(e=!1);const o=u(t),r=y(t),i=d(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=p(l)),[l,p(l)]}(r,l,D);L.push(C[t[0]],C[t[1]])}if(B=[...B,{placement:r,overflows:L}],!L.every((t=>t<=0))){var E,I;const t=((null==(E=i.flip)?void 0:E.index)||0)+1,n=z[t];if(n)return{data:{index:t,overflows:B},reset:{placement:n}};let e=null==(I=B.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:I.placement;if(!e)switch(A){case"bestFit":{var N;const t=null==(N=B.filter((t=>{if(M){const n=m(t.placement);return n===O||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:N[0];t&&(e=t);break}case"initialPlacement":e=c}if(r!==e)return{reset:{placement:e}}}return{}}}},ct=n=>({name:"arrow",options:n,async fn(e){const{x:o,y:r,placement:i,rects:l,platform:s,elements:f,middlewareData:m}=e,{element:h,padding:p=0}=a(n,e)||{};if(null==h)return{};const g=x(p),w={x:o,y:r},v=y(i),b=d(v),A=await s.getDimensions(h),R="y"===v,S=R?"top":"left",k=R?"bottom":"right",F=R?"clientHeight":"clientWidth",O=l.reference[b]+l.reference[v]-w[v]-l.floating[b],T=w[v]-l.reference[v],D=await(null==s.getOffsetParent?void 0:s.getOffsetParent(h));let P=D?D[F]:0;P&&await(null==s.isElement?void 0:s.isElement(D))||(P=f.floating[F]||l.floating[b]);const M=O/2-T/2,z=P/2-A[b]/2-1,C=t(g[S],z),L=t(g[k],z),B=C,E=P-A[b]-L,I=P/2-A[b]/2+M,N=c(B,I,E),j=!m.arrow&&null!=u(i)&&I!==N&&l.reference[b]/2-(I<B?C:L)-A[b]/2<0,q=j?I<B?I-B:I-E:0;return{[v]:w[v]+q,data:{[v]:N,centerOffset:I-N-q,...j&&{alignmentOffset:q}},reset:j}}}),at=(t,n,e)=>{const o=new Map,r={platform:nt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=i.filter(Boolean),a=await(null==l.isRTL?void 0:l.isRTL(n));let s=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=w(s,o,a),d=o,m={},y=0;for(let e=0;e<c.length;e++){const{name:i,fn:h}=c[e],{x:p,y:x,data:g,reset:v}=await h({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:l,elements:{reference:t,floating:n}});u=null!=p?p:u,f=null!=x?x:f,m={...m,[i]:{...m[i],...g}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:f}=w(s,d,a))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})};export{ot as a,ct as b,at as c,lt as f,rt as o,it as s}
@@ -1 +0,0 @@
1
- import{r as e,h as o,H as n,g as t}from"./p-e4c7eb39.js";import{StringUtils as c,ElementIDUtils as r}from"@sankhyalabs/core";const i=class{constructor(o){e(this,o),this.size="medium",this.fontSize=void 0,this.href=void 0,this.iconName=void 0}isSprite(){return this.href&&this.href.indexOf("#")>-1}getIconClassName(){return`ez-icon-${this.iconName}`}getIconContent(){return this.isSprite()?o("svg",{class:this.size,role:"img"},o("use",{xlinkHref:this.href})):c.isEmpty(this.iconName)?o("img",{class:this.size,src:this.href}):o("span",{style:this.getStyle(),class:`icon-content ${this.getIconClassName()} ${this.size}--font`})}getStyle(){if(this.fontSize)return{fontSize:`${this.fontSize}px`}}componentDidLoad(){r.addIDInfo(this._hostElement,"icon")}render(){return o(n,null,this.getIconContent())}get _hostElement(){return t(this)}};i.style=':host{display:flex;overflow:hidden;position:relative;justify-content:center;--ez-icon--color:var(--icon--color, var(--color--gray-70, #ffffff))}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:var(--space--12, 12px);height:var(--space--12, 12px)}.small{width:var(--space--16, 16px);height:var(--space--16, 16px)}.medium{width:var(--space--20, 20px);height:var(--space--20, 20px)}.large{width:var(--space--24, 24px);height:var(--space--24, 24px)}.x-large{width:var(--space--30, 30px);height:var(--space--30, 30px)}[class^="ez-icon-"],[class*=" ez-icon-"]{color:var(--ez-icon--color)}[class^="ez-icon-"],[class*=" ez-icon-"]{font-family:\'ez-icons\' !important;font-size:var(--font-size--medium, 16px);font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-0-plus:before{content:"\\ea01"}.ez-icon-10-plus:before{content:"\\ea02"}.ez-icon-12-plus:before{content:"\\ea03"}.ez-icon-13-plus:before{content:"\\ea04"}.ez-icon-16-plus:before{content:"\\ea05"}.ez-icon-17-plus:before{content:"\\ea06"}.ez-icon-18-plus:before{content:"\\ea07"}.ez-icon-21-plus:before{content:"\\ea08"}.ez-icon-2chevron-down:before{content:"\\ea09"}.ez-icon-2chevron-up:before{content:"\\ea0a"}.ez-icon-3-plus:before{content:"\\ea0b"}.ez-icon-500px:before{content:"\\ea0c"}.ez-icon-6-plus:before{content:"\\ea0d"}.ez-icon-abacus:before{content:"\\ea0e"}.ez-icon-acao:before{content:"\\ea0f"}.ez-icon-account-outline:before{content:"\\ea10"}.ez-icon-account:before{content:"\\ea11"}.ez-icon-add-to-cart:before{content:"\\ea12"}.ez-icon-adjust-alt:before{content:"\\ea13"}.ez-icon-adjust-circle:before{content:"\\ea14"}.ez-icon-adjust-half:before{content:"\\ea15"}.ez-icon-adjust:before{content:"\\ea16"}.ez-icon-adobe-alt:before{content:"\\ea17"}.ez-icon-adobe:before{content:"\\ea18"}.ez-icon-airplay:before{content:"\\ea19"}.ez-icon-alert-circle-inverted:before{content:"\\ea1a"}.ez-icon-alert-circle:before{content:"\\ea1b"}.ez-icon-alert-mail:before{content:"\\ea1c"}.ez-icon-alert-popup:before{content:"\\ea1d"}.ez-icon-align-alt:before{content:"\\ea1e"}.ez-icon-align-center-alt:before{content:"\\ea1f"}.ez-icon-align-center-h:before{content:"\\ea20"}.ez-icon-align-center-justify:before{content:"\\ea21"}.ez-icon-align-center-v:before{content:"\\ea22"}.ez-icon-align-center:before{content:"\\ea23"}.ez-icon-align-justify:before{content:"\\ea24"}.ez-icon-align-left-justify:before{content:"\\ea25"}.ez-icon-align-left:before{content:"\\ea26"}.ez-icon-align-letter-right:before{content:"\\ea27"}.ez-icon-align-right-justify:before{content:"\\ea28"}.ez-icon-align-right:before{content:"\\ea29"}.ez-icon-align:before{content:"\\ea2a"}.ez-icon-amazon:before{content:"\\ea2b"}.ez-icon-ambulance:before{content:"\\ea2c"}.ez-icon-analysis:before{content:"\\ea2d"}.ez-icon-analytics:before{content:"\\ea2e"}.ez-icon-anchor:before{content:"\\ea2f"}.ez-icon-android-alt:before{content:"\\ea30"}.ez-icon-android-phone-slash:before{content:"\\ea31"}.ez-icon-android:before{content:"\\ea32"}.ez-icon-anexo:before{content:"\\ea33"}.ez-icon-angle-double-down:before{content:"\\ea34"}.ez-icon-angle-double-left:before{content:"\\ea35"}.ez-icon-angle-double-right:before{content:"\\ea36"}.ez-icon-angle-double-up:before{content:"\\ea37"}.ez-icon-angle-down:before{content:"\\ea38"}.ez-icon-angle-left-b:before{content:"\\ea39"}.ez-icon-angle-left:before{content:"\\ea3a"}.ez-icon-angle-right-b:before{content:"\\ea3b"}.ez-icon-angle-right:before{content:"\\ea3c"}.ez-icon-angle-up:before{content:"\\ea3d"}.ez-icon-angry:before{content:"\\ea3e"}.ez-icon-ankh:before{content:"\\ea3f"}.ez-icon-annoyed-alt:before{content:"\\ea40"}.ez-icon-annoyed:before{content:"\\ea41"}.ez-icon-antecipação:before{content:"\\ea42"}.ez-icon-apple-alt:before{content:"\\ea43"}.ez-icon-apple:before{content:"\\ea44"}.ez-icon-apps-2:before{content:"\\ea45"}.ez-icon-apps:before{content:"\\ea46"}.ez-icon-archive-alt:before{content:"\\ea47"}.ez-icon-archive:before{content:"\\ea48"}.ez-icon-archway:before{content:"\\ea49"}.ez-icon-arrow-break:before{content:"\\ea4a"}.ez-icon-arrow-circle-down:before{content:"\\ea4b"}.ez-icon-arrow-circle-left:before{content:"\\ea4c"}.ez-icon-arrow-circle-right:before{content:"\\ea4d"}.ez-icon-arrow-circle-up:before{content:"\\ea4e"}.ez-icon-arrow-compress-h:before{content:"\\ea4f"}.ez-icon-arrow-down-left:before{content:"\\ea50"}.ez-icon-arrow-down-right:before{content:"\\ea51"}.ez-icon-arrow-down:before{content:"\\ea52"}.ez-icon-arrow-forward:before{content:"\\ea53"}.ez-icon-arrow-from-right:before{content:"\\ea54"}.ez-icon-arrow-from-top:before{content:"\\ea55"}.ez-icon-arrow-growth:before{content:"\\ea56"}.ez-icon-arrow-left:before{content:"\\ea57"}.ez-icon-arrow-random:before{content:"\\ea58"}.ez-icon-arrow-resize-diagonal:before{content:"\\ea59"}.ez-icon-arrow-right:before{content:"\\ea5a"}.ez-icon-arrow-to-bottom:before{content:"\\ea5b"}.ez-icon-arrow-to-right:before{content:"\\ea5c"}.ez-icon-arrow-up-left:before{content:"\\ea5d"}.ez-icon-arrow-up-right:before{content:"\\ea5e"}.ez-icon-arrow-up:before{content:"\\ea5f"}.ez-icon-arrow-upward:before{content:"\\ea60"}.ez-icon-arrow:before{content:"\\ea61"}.ez-icon-arrow_back:before{content:"\\ea62"}.ez-icon-arrow_downward:before{content:"\\ea63"}.ez-icon-arrows-h-alt:before{content:"\\ea64"}.ez-icon-arrows-h:before{content:"\\ea65"}.ez-icon-arrows-left-down:before{content:"\\ea66"}.ez-icon-arrows-maximize:before{content:"\\ea67"}.ez-icon-arrows-merge:before{content:"\\ea68"}.ez-icon-arrows-resize-h:before{content:"\\ea69"}.ez-icon-arrows-resize-v:before{content:"\\ea6a"}.ez-icon-arrows-resize:before{content:"\\ea6b"}.ez-icon-arrows-right-down:before{content:"\\ea6c"}.ez-icon-arrows-shrink-h:before{content:"\\ea6d"}.ez-icon-arrows-shrink-v:before{content:"\\ea6e"}.ez-icon-arrows-up-right:before{content:"\\ea6f"}.ez-icon-arrows-v-alt:before{content:"\\ea70"}.ez-icon-arrows-v:before{content:"\\ea71"}.ez-icon-assistive-listening-systems:before{content:"\\ea72"}.ez-icon-asterisk:before{content:"\\ea73"}.ez-icon-at:before{content:"\\ea74"}.ez-icon-atom:before{content:"\\ea75"}.ez-icon-auto-flash:before{content:"\\ea76"}.ez-icon-award-alt:before{content:"\\ea77"}.ez-icon-award:before{content:"\\ea78"}.ez-icon-baby-carriage:before{content:"\\ea79"}.ez-icon-backpack:before{content:"\\ea7a"}.ez-icon-backspace:before{content:"\\ea7b"}.ez-icon-backward:before{content:"\\ea7c"}.ez-icon-bag-alt:before{content:"\\ea7d"}.ez-icon-bag-slash:before{content:"\\ea7e"}.ez-icon-bag:before{content:"\\ea7f"}.ez-icon-baixa:before{content:"\\ea80"}.ez-icon-balance-scale:before{content:"\\ea81"}.ez-icon-balance:before{content:"\\ea82"}.ez-icon-ban:before{content:"\\ea83"}.ez-icon-band-aid:before{content:"\\ea84"}.ez-icon-bars:before{content:"\\ea85"}.ez-icon-baseball-ball:before{content:"\\ea86"}.ez-icon-basketball-hoop:before{content:"\\ea87"}.ez-icon-basketball:before{content:"\\ea88"}.ez-icon-bath:before{content:"\\ea89"}.ez-icon-battery-bolt:before{content:"\\ea8a"}.ez-icon-battery-empty:before{content:"\\ea8b"}.ez-icon-bed-double:before{content:"\\ea8c"}.ez-icon-bed:before{content:"\\ea8d"}.ez-icon-behance-alt:before{content:"\\ea8e"}.ez-icon-behance:before{content:"\\ea8f"}.ez-icon-bell-2:before{content:"\\ea90"}.ez-icon-bell-inverted:before{content:"\\ea91"}.ez-icon-bell-school:before{content:"\\ea92"}.ez-icon-bell-slash:before{content:"\\ea93"}.ez-icon-bell:before{content:"\\ea94"}.ez-icon-bill:before{content:"\\ea95"}.ez-icon-bing:before{content:"\\ea96"}.ez-icon-bitcoin-alt:before{content:"\\ea97"}.ez-icon-bitcoin-circle:before{content:"\\ea98"}.ez-icon-bitcoin-sign:before{content:"\\ea99"}.ez-icon-bitcoin:before{content:"\\ea9a"}.ez-icon-black-berry:before{content:"\\ea9b"}.ez-icon-blogger-alt:before{content:"\\ea9c"}.ez-icon-blogger:before{content:"\\ea9d"}.ez-icon-bluetooth-b:before{content:"\\ea9e"}.ez-icon-bold:before{content:"\\ea9f"}.ez-icon-boleto:before{content:"\\eaa0"}.ez-icon-bolt-alt:before{content:"\\eaa1"}.ez-icon-bolt-slash:before{content:"\\eaa2"}.ez-icon-bolt:before{content:"\\eaa3"}.ez-icon-book-alt:before{content:"\\eaa4"}.ez-icon-book-medical:before{content:"\\eaa5"}.ez-icon-book-open:before{content:"\\eaa6"}.ez-icon-book-reader:before{content:"\\eaa7"}.ez-icon-book:before{content:"\\eaa8"}.ez-icon-bookmark-full:before{content:"\\eaa9"}.ez-icon-bookmark:before{content:"\\eaaa"}.ez-icon-books:before{content:"\\eaab"}.ez-icon-boolean:before{content:"\\eaac"}.ez-icon-boombox:before{content:"\\eaad"}.ez-icon-border-alt:before{content:"\\eaae"}.ez-icon-border-bottom:before{content:"\\eaaf"}.ez-icon-border-clear:before{content:"\\eab0"}.ez-icon-border-horizontal:before{content:"\\eab1"}.ez-icon-border-inner:before{content:"\\eab2"}.ez-icon-border-left:before{content:"\\eab3"}.ez-icon-border-out:before{content:"\\eab4"}.ez-icon-border-right:before{content:"\\eab5"}.ez-icon-border-top:before{content:"\\eab6"}.ez-icon-border-vertical:before{content:"\\eab7"}.ez-icon-bowling-ball:before{content:"\\eab8"}.ez-icon-box:before{content:"\\eab9"}.ez-icon-brackets-curly:before{content:"\\eaba"}.ez-icon-brain:before{content:"\\eabb"}.ez-icon-briefcase-alt:before{content:"\\eabc"}.ez-icon-briefcase:before{content:"\\eabd"}.ez-icon-bright:before{content:"\\eabe"}.ez-icon-brightness-empty:before{content:"\\eabf"}.ez-icon-brightness-half:before{content:"\\eac0"}.ez-icon-brightness-low:before{content:"\\eac1"}.ez-icon-brightness-minus:before{content:"\\eac2"}.ez-icon-brightness-plus:before{content:"\\eac3"}.ez-icon-brightness:before{content:"\\eac4"}.ez-icon-bring-bottom:before{content:"\\eac5"}.ez-icon-bring-front:before{content:"\\eac6"}.ez-icon-browser:before{content:"\\eac7"}.ez-icon-brush-alt:before{content:"\\eac8"}.ez-icon-bug:before{content:"\\eac9"}.ez-icon-building:before{content:"\\eaca"}.ez-icon-bullseye:before{content:"\\eacb"}.ez-icon-bus-alt:before{content:"\\eacc"}.ez-icon-bus-school:before{content:"\\eacd"}.ez-icon-bus:before{content:"\\eace"}.ez-icon-business-center:before{content:"\\eacf"}.ez-icon-calculator-alt:before{content:"\\ead0"}.ez-icon-calculator:before{content:"\\ead1"}.ez-icon-calendar-2:before{content:"\\ead2"}.ez-icon-calendar-alt:before{content:"\\ead3"}.ez-icon-calendar-clock:before{content:"\\ead4"}.ez-icon-calendar-slash:before{content:"\\ead5"}.ez-icon-calendar:before{content:"\\ead6"}.ez-icon-calender:before{content:"\\ead7"}.ez-icon-calling:before{content:"\\ead8"}.ez-icon-camera-change:before{content:"\\ead9"}.ez-icon-camera-plus:before{content:"\\eada"}.ez-icon-camera-slash:before{content:"\\eadb"}.ez-icon-camera:before{content:"\\eadc"}.ez-icon-cancel:before{content:"\\eadd"}.ez-icon-capsule:before{content:"\\eade"}.ez-icon-capture:before{content:"\\eadf"}.ez-icon-car-sideview:before{content:"\\eae0"}.ez-icon-car-slash:before{content:"\\eae1"}.ez-icon-car-wash:before{content:"\\eae2"}.ez-icon-car:before{content:"\\eae3"}.ez-icon-card-atm:before{content:"\\eae4"}.ez-icon-caret-right:before{content:"\\eae5"}.ez-icon-cart-history:before{content:"\\eae6"}.ez-icon-cash-remove:before{content:"\\eae7"}.ez-icon-cell:before{content:"\\eae8"}.ez-icon-celsius:before{content:"\\eae9"}.ez-icon-channel-add:before{content:"\\eaea"}.ez-icon-channel:before{content:"\\eaeb"}.ez-icon-chart-bar-alt:before{content:"\\eaec"}.ez-icon-chart-bar:before{content:"\\eaed"}.ez-icon-chart-down:before{content:"\\eaee"}.ez-icon-chart-growth-alt:before{content:"\\eaef"}.ez-icon-chart-growth:before{content:"\\eaf0"}.ez-icon-chart-line:before{content:"\\eaf1"}.ez-icon-chart-pie-alt:before{content:"\\eaf2"}.ez-icon-chart-pie:before{content:"\\eaf3"}.ez-icon-chart:before{content:"\\eaf4"}.ez-icon-chat-bubble-user:before{content:"\\eaf5"}.ez-icon-chat-info:before{content:"\\eaf6"}.ez-icon-chat:before{content:"\\eaf7"}.ez-icon-check-2:before{content:"\\eaf8"}.ez-icon-check-circle-2:before{content:"\\eaf9"}.ez-icon-check-circle-inverted:before{content:"\\eafa"}.ez-icon-check-circle:before{content:"\\eafb"}.ez-icon-check-square:before{content:"\\eafc"}.ez-icon-check:before{content:"\\eafd"}.ez-icon-chevron-down:before{content:"\\eafe"}.ez-icon-chevron-left:before{content:"\\eaff"}.ez-icon-chevron-right:before{content:"\\eb00"}.ez-icon-chevron-up:before{content:"\\eb01"}.ez-icon-circle--medium:before{content:"\\eb02"}.ez-icon-circle-2:before{content:"\\eb03"}.ez-icon-circle-layer:before{content:"\\eb04"}.ez-icon-circle:before{content:"\\eb05"}.ez-icon-circuit:before{content:"\\eb06"}.ez-icon-clapper-board:before{content:"\\eb07"}.ez-icon-clean-cart:before{content:"\\eb08"}.ez-icon-cleaning:before{content:"\\eb09"}.ez-icon-clinic-medical:before{content:"\\eb0a"}.ez-icon-clipboard-2:before{content:"\\eb0b"}.ez-icon-clipboard-alt:before{content:"\\eb0c"}.ez-icon-clipboard-blank:before{content:"\\eb0d"}.ez-icon-clipboard-notes:before{content:"\\eb0e"}.ez-icon-clipboard:before{content:"\\eb0f"}.ez-icon-clock-eight:before{content:"\\eb10"}.ez-icon-clock-five:before{content:"\\eb11"}.ez-icon-clock-nine:before{content:"\\eb12"}.ez-icon-clock-rotate-left:before{content:"\\eb13"}.ez-icon-clock-seven:before{content:"\\eb14"}.ez-icon-clock-ten:before{content:"\\eb15"}.ez-icon-clock-three:before{content:"\\eb16"}.ez-icon-clock-two:before{content:"\\eb17"}.ez-icon-clock:before{content:"\\eb18"}.ez-icon-close:before{content:"\\eb19"}.ez-icon-closed-captioning-slash:before{content:"\\eb1a"}.ez-icon-closed-captioning:before{content:"\\eb1b"}.ez-icon-cloud-block:before{content:"\\eb1c"}.ez-icon-cloud-bookmark:before{content:"\\eb1d"}.ez-icon-cloud-check:before{content:"\\eb1e"}.ez-icon-cloud-computing:before{content:"\\eb1f"}.ez-icon-cloud-data-connection:before{content:"\\eb20"}.ez-icon-cloud-database-tree:before{content:"\\eb21"}.ez-icon-cloud-download:before{content:"\\eb22"}.ez-icon-cloud-drizzle:before{content:"\\eb23"}.ez-icon-cloud-exclamation:before{content:"\\eb24"}.ez-icon-cloud-hail:before{content:"\\eb25"}.ez-icon-cloud-heart:before{content:"\\eb26"}.ez-icon-cloud-info:before{content:"\\eb27"}.ez-icon-cloud-lock:before{content:"\\eb28"}.ez-icon-cloud-meatball:before{content:"\\eb29"}.ez-icon-cloud-moon-hail:before{content:"\\eb2a"}.ez-icon-cloud-moon-meatball:before{content:"\\eb2b"}.ez-icon-cloud-moon-rain:before{content:"\\eb2c"}.ez-icon-cloud-moon-showers:before{content:"\\eb2d"}.ez-icon-cloud-moon-tear:before{content:"\\eb2e"}.ez-icon-cloud-moon:before{content:"\\eb2f"}.ez-icon-cloud-question:before{content:"\\eb30"}.ez-icon-cloud-rain-sun:before{content:"\\eb31"}.ez-icon-cloud-rain:before{content:"\\eb32"}.ez-icon-cloud-redo:before{content:"\\eb33"}.ez-icon-cloud-share:before{content:"\\eb34"}.ez-icon-cloud-shield:before{content:"\\eb35"}.ez-icon-cloud-showers-alt:before{content:"\\eb36"}.ez-icon-cloud-showers-heavy:before{content:"\\eb37"}.ez-icon-cloud-showers:before{content:"\\eb38"}.ez-icon-cloud-slash:before{content:"\\eb39"}.ez-icon-cloud-sun-hail:before{content:"\\eb3a"}.ez-icon-cloud-sun-meatball:before{content:"\\eb3b"}.ez-icon-cloud-sun-rain-alt:before{content:"\\eb3c"}.ez-icon-cloud-sun-rain:before{content:"\\eb3d"}.ez-icon-cloud-sun-tear:before{content:"\\eb3e"}.ez-icon-cloud-sun:before{content:"\\eb3f"}.ez-icon-cloud-times:before{content:"\\eb40"}.ez-icon-cloud-unlock:before{content:"\\eb41"}.ez-icon-cloud-upload:before{content:"\\eb42"}.ez-icon-cloud-wifi:before{content:"\\eb43"}.ez-icon-cloud-wind:before{content:"\\eb44"}.ez-icon-cloud:before{content:"\\eb45"}.ez-icon-clouds:before{content:"\\eb46"}.ez-icon-club:before{content:"\\eb47"}.ez-icon-cobrar:before{content:"\\eb48"}.ez-icon-code-branch:before{content:"\\eb49"}.ez-icon-code:before{content:"\\eb4a"}.ez-icon-coffee:before{content:"\\eb4b"}.ez-icon-cog:before{content:"\\eb4c"}.ez-icon-coins:before{content:"\\eb4d"}.ez-icon-columns:before{content:"\\eb4e"}.ez-icon-comment-add:before{content:"\\eb4f"}.ez-icon-comment-alt-block:before{content:"\\eb50"}.ez-icon-comment-alt-chart-lines:before{content:"\\eb51"}.ez-icon-comment-alt-check:before{content:"\\eb52"}.ez-icon-comment-alt-dots:before{content:"\\eb53"}.ez-icon-comment-alt-download:before{content:"\\eb54"}.ez-icon-comment-alt-edit:before{content:"\\eb55"}.ez-icon-comment-alt-exclamation:before{content:"\\eb56"}.ez-icon-comment-alt-heart:before{content:"\\eb57"}.ez-icon-comment-alt-image:before{content:"\\eb58"}.ez-icon-comment-alt-info:before{content:"\\eb59"}.ez-icon-comment-alt-lines:before{content:"\\eb5a"}.ez-icon-comment-alt-lock:before{content:"\\eb5b"}.ez-icon-comment-alt-medical:before{content:"\\eb5c"}.ez-icon-comment-alt-message:before{content:"\\eb5d"}.ez-icon-comment-alt-notes:before{content:"\\eb5e"}.ez-icon-comment-alt-plus:before{content:"\\eb5f"}.ez-icon-comment-alt-question:before{content:"\\eb60"}.ez-icon-comment-alt-redo:before{content:"\\eb61"}.ez-icon-comment-alt-search:before{content:"\\eb62"}.ez-icon-comment-alt-share:before{content:"\\eb63"}.ez-icon-comment-alt-shield:before{content:"\\eb64"}.ez-icon-comment-alt-slash:before{content:"\\eb65"}.ez-icon-comment-alt-upload:before{content:"\\eb66"}.ez-icon-comment-alt-verify:before{content:"\\eb67"}.ez-icon-comment-alt:before{content:"\\eb68"}.ez-icon-comment-block:before{content:"\\eb69"}.ez-icon-comment-chart-line:before{content:"\\eb6a"}.ez-icon-comment-check:before{content:"\\eb6b"}.ez-icon-comment-dots:before{content:"\\eb6c"}.ez-icon-comment-download:before{content:"\\eb6d"}.ez-icon-comment-edit:before{content:"\\eb6e"}.ez-icon-comment-exclamation:before{content:"\\eb6f"}.ez-icon-comment-heart:before{content:"\\eb70"}.ez-icon-comment-image:before{content:"\\eb71"}.ez-icon-comment-info-alt:before{content:"\\eb72"}.ez-icon-comment-info:before{content:"\\eb73"}.ez-icon-comment-lines:before{content:"\\eb74"}.ez-icon-comment-lock:before{content:"\\eb75"}.ez-icon-comment-medical:before{content:"\\eb76"}.ez-icon-comment-message:before{content:"\\eb77"}.ez-icon-comment-notes:before{content:"\\eb78"}.ez-icon-comment-plus:before{content:"\\eb79"}.ez-icon-comment-question:before{content:"\\eb7a"}.ez-icon-comment-redo:before{content:"\\eb7b"}.ez-icon-comment-search:before{content:"\\eb7c"}.ez-icon-comment-share:before{content:"\\eb7d"}.ez-icon-comment-shield:before{content:"\\eb7e"}.ez-icon-comment-slash:before{content:"\\eb7f"}.ez-icon-comment-upload:before{content:"\\eb80"}.ez-icon-comment-verify:before{content:"\\eb81"}.ez-icon-comment:before{content:"\\eb82"}.ez-icon-comments-alt:before{content:"\\eb83"}.ez-icon-comments:before{content:"\\eb84"}.ez-icon-compact-disc:before{content:"\\eb85"}.ez-icon-comparison:before{content:"\\eb86"}.ez-icon-compass:before{content:"\\eb87"}.ez-icon-compress-alt-left:before{content:"\\eb88"}.ez-icon-compress-alt:before{content:"\\eb89"}.ez-icon-compress-arrows:before{content:"\\eb8a"}.ez-icon-compress-lines:before{content:"\\eb8b"}.ez-icon-compress-point:before{content:"\\eb8c"}.ez-icon-compress-v:before{content:"\\eb8d"}.ez-icon-compress:before{content:"\\eb8e"}.ez-icon-configuration:before{content:"\\eb8f"}.ez-icon-confused:before{content:"\\eb90"}.ez-icon-constructor:before{content:"\\eb91"}.ez-icon-content-cut:before{content:"\\eb92"}.ez-icon-copy-2:before{content:"\\eb93"}.ez-icon-copy-alt:before{content:"\\eb94"}.ez-icon-copy-landscape:before{content:"\\eb95"}.ez-icon-copy:before{content:"\\eb96"}.ez-icon-copyright:before{content:"\\eb97"}.ez-icon-corner-down-left:before{content:"\\eb98"}.ez-icon-corner-down-right-alt:before{content:"\\eb99"}.ez-icon-corner-down-right:before{content:"\\eb9a"}.ez-icon-corner-left-down:before{content:"\\eb9b"}.ez-icon-corner-right-down:before{content:"\\eb9c"}.ez-icon-corner-up-left-alt:before{content:"\\eb9d"}.ez-icon-corner-up-left:before{content:"\\eb9e"}.ez-icon-corner-up-right-alt:before{content:"\\eb9f"}.ez-icon-corner-up-right:before{content:"\\eba0"}.ez-icon-coronavirus:before{content:"\\eba1"}.ez-icon-create-dashboard:before{content:"\\eba2"}.ez-icon-creative-commons-pd:before{content:"\\eba3"}.ez-icon-credit-card-search:before{content:"\\eba4"}.ez-icon-credit-card:before{content:"\\eba5"}.ez-icon-credit_card:before{content:"\\eba6"}.ez-icon-crockery:before{content:"\\eba7"}.ez-icon-crop-alt-rotate-left:before{content:"\\eba8"}.ez-icon-crop-alt-rotate-right:before{content:"\\eba9"}.ez-icon-crop-alt:before{content:"\\ebaa"}.ez-icon-crop:before{content:"\\ebab"}.ez-icon-crosshair-alt:before{content:"\\ebac"}.ez-icon-crosshair:before{content:"\\ebad"}.ez-icon-crosshairs:before{content:"\\ebae"}.ez-icon-css3-simple:before{content:"\\ebaf"}.ez-icon-cube:before{content:"\\ebb0"}.ez-icon-custom:before{content:"\\ebb1"}.ez-icon-dashboard:before{content:"\\ebb2"}.ez-icon-data-sharing:before{content:"\\ebb3"}.ez-icon-database-alt:before{content:"\\ebb4"}.ez-icon-database:before{content:"\\ebb5"}.ez-icon-delete-file:before{content:"\\ebb6"}.ez-icon-delete:before{content:"\\ebb7"}.ez-icon-description:before{content:"\\ebb8"}.ez-icon-desert:before{content:"\\ebb9"}.ez-icon-desktop-alt-slash:before{content:"\\ebba"}.ez-icon-desktop-alt:before{content:"\\ebbb"}.ez-icon-desktop-cloud-alt:before{content:"\\ebbc"}.ez-icon-desktop-slash:before{content:"\\ebbd"}.ez-icon-desktop:before{content:"\\ebbe"}.ez-icon-dialpad-alt:before{content:"\\ebbf"}.ez-icon-dialpad:before{content:"\\ebc0"}.ez-icon-diamond:before{content:"\\ebc1"}.ez-icon-diary-alt:before{content:"\\ebc2"}.ez-icon-diary:before{content:"\\ebc3"}.ez-icon-dice-five:before{content:"\\ebc4"}.ez-icon-dice-four:before{content:"\\ebc5"}.ez-icon-dice-one:before{content:"\\ebc6"}.ez-icon-dice-six:before{content:"\\ebc7"}.ez-icon-dice-three:before{content:"\\ebc8"}.ez-icon-dice-two:before{content:"\\ebc9"}.ez-icon-direction:before{content:"\\ebca"}.ez-icon-directions:before{content:"\\ebcb"}.ez-icon-discord:before{content:"\\ebcc"}.ez-icon-dividir:before{content:"\\ebcd"}.ez-icon-dizzy-meh:before{content:"\\ebce"}.ez-icon-dna:before{content:"\\ebcf"}.ez-icon-docker:before{content:"\\ebd0"}.ez-icon-document-info:before{content:"\\ebd1"}.ez-icon-document-layout-center:before{content:"\\ebd2"}.ez-icon-document-layout-left:before{content:"\\ebd3"}.ez-icon-document-layout-right:before{content:"\\ebd4"}.ez-icon-docx:before{content:"\\ebd5"}.ez-icon-dollar-alt:before{content:"\\ebd6"}.ez-icon-dollar-sign-alt:before{content:"\\ebd7"}.ez-icon-dollar-sign:before{content:"\\ebd8"}.ez-icon-dot-notification:before{content:"\\ebd9"}.ez-icon-dots-horizontal:before{content:"\\ebda"}.ez-icon-dots-vertical:before{content:"\\ebdb"}.ez-icon-download-alt:before{content:"\\ebdc"}.ez-icon-drag-indicator:before{content:"\\ebdd"}.ez-icon-draggabledots:before{content:"\\ebde"}.ez-icon-dribbble:before{content:"\\ebdf"}.ez-icon-drill:before{content:"\\ebe0"}.ez-icon-dropbox:before{content:"\\ebe1"}.ez-icon-dual-chevron-down:before{content:"\\ebe2"}.ez-icon-dual-chevron-left:before{content:"\\ebe3"}.ez-icon-dual-chevron-right:before{content:"\\ebe4"}.ez-icon-dual-chevron-up:before{content:"\\ebe5"}.ez-icon-dumbbell:before{content:"\\ebe6"}.ez-icon-ear:before{content:"\\ebe7"}.ez-icon-edit-2:before{content:"\\ebe8"}.ez-icon-edit-alt:before{content:"\\ebe9"}.ez-icon-edit-file:before{content:"\\ebea"}.ez-icon-edit-table:before{content:"\\ebeb"}.ez-icon-edit-time:before{content:"\\ebec"}.ez-icon-edit-value:before{content:"\\ebed"}.ez-icon-edit:before{content:"\\ebee"}.ez-icon-elipsis-double-v-alt:before{content:"\\ebef"}.ez-icon-ellipsis-h:before{content:"\\ebf0"}.ez-icon-ellipsis-v:before{content:"\\ebf1"}.ez-icon-email:before{content:"\\ebf2"}.ez-icon-emoji:before{content:"\\ebf3"}.ez-icon-english-to-chinese:before{content:"\\ebf4"}.ez-icon-enter:before{content:"\\ebf5"}.ez-icon-envelope-add:before{content:"\\ebf6"}.ez-icon-envelope-alt:before{content:"\\ebf7"}.ez-icon-envelope-block:before{content:"\\ebf8"}.ez-icon-envelope-bookmark:before{content:"\\ebf9"}.ez-icon-envelope-check:before{content:"\\ebfa"}.ez-icon-envelope-download-alt:before{content:"\\ebfb"}.ez-icon-envelope-download:before{content:"\\ebfc"}.ez-icon-envelope-edit:before{content:"\\ebfd"}.ez-icon-envelope-exclamation:before{content:"\\ebfe"}.ez-icon-envelope-heart:before{content:"\\ebff"}.ez-icon-envelope-info:before{content:"\\ec00"}.ez-icon-envelope-lock:before{content:"\\ec01"}.ez-icon-envelope-minus:before{content:"\\ec02"}.ez-icon-envelope-open:before{content:"\\ec03"}.ez-icon-envelope-question:before{content:"\\ec04"}.ez-icon-envelope-receive:before{content:"\\ec05"}.ez-icon-envelope-redo:before{content:"\\ec06"}.ez-icon-envelope-search:before{content:"\\ec07"}.ez-icon-envelope-send:before{content:"\\ec08"}.ez-icon-envelope-share:before{content:"\\ec09"}.ez-icon-envelope-shield:before{content:"\\ec0a"}.ez-icon-envelope-star:before{content:"\\ec0b"}.ez-icon-envelope-times:before{content:"\\ec0c"}.ez-icon-envelope-upload-alt:before{content:"\\ec0d"}.ez-icon-envelope-upload:before{content:"\\ec0e"}.ez-icon-envelope:before{content:"\\ec0f"}.ez-icon-envelopes:before{content:"\\ec10"}.ez-icon-equal-circle:before{content:"\\ec11"}.ez-icon-estate:before{content:"\\ec12"}.ez-icon-estorno:before{content:"\\ec13"}.ez-icon-euro-circle:before{content:"\\ec14"}.ez-icon-euro:before{content:"\\ec15"}.ez-icon-exchange-alt:before{content:"\\ec16"}.ez-icon-exchange:before{content:"\\ec17"}.ez-icon-exclamation-circle:before{content:"\\ec18"}.ez-icon-exclamation-octagon:before{content:"\\ec19"}.ez-icon-exclamation-triangle:before{content:"\\ec1a"}.ez-icon-exclamation:before{content:"\\ec1b"}.ez-icon-exclude:before{content:"\\ec1c"}.ez-icon-exe:before{content:"\\ec1d"}.ez-icon-exit:before{content:"\\ec1e"}.ez-icon-expand-alt:before{content:"\\ec1f"}.ez-icon-expand-arrows-alt:before{content:"\\ec20"}.ez-icon-expand-arrows:before{content:"\\ec21"}.ez-icon-expand-from-corner:before{content:"\\ec22"}.ez-icon-expand-left:before{content:"\\ec23"}.ez-icon-expand-right:before{content:"\\ec24"}.ez-icon-expand:before{content:"\\ec25"}.ez-icon-expandir_card:before{content:"\\ec26"}.ez-icon-export:before{content:"\\ec27"}.ez-icon-exposure-alt:before{content:"\\ec28"}.ez-icon-exposure-increase:before{content:"\\ec29"}.ez-icon-external-link-alt:before{content:"\\ec2a"}.ez-icon-extrato:before{content:"\\ec2b"}.ez-icon-eye-2:before{content:"\\ec2c"}.ez-icon-eye-off:before{content:"\\ec2d"}.ez-icon-eye-slash:before{content:"\\ec2e"}.ez-icon-eye:before{content:"\\ec2f"}.ez-icon-facebook-f:before{content:"\\ec30"}.ez-icon-facebook-messenger-alt:before{content:"\\ec31"}.ez-icon-facebook-messenger:before{content:"\\ec32"}.ez-icon-facebook:before{content:"\\ec33"}.ez-icon-fahrenheit:before{content:"\\ec34"}.ez-icon-fast-mail-alt:before{content:"\\ec35"}.ez-icon-fast-mail:before{content:"\\ec36"}.ez-icon-favorite-2:before{content:"\\ec37"}.ez-icon-favorite:before{content:"\\ec38"}.ez-icon-feedback:before{content:"\\ec39"}.ez-icon-fidget-spinner:before{content:"\\ec3a"}.ez-icon-figma:before{content:"\\ec3b"}.ez-icon-file-alt:before{content:"\\ec3c"}.ez-icon-file-blank:before{content:"\\ec3d"}.ez-icon-file-block-alt:before{content:"\\ec3e"}.ez-icon-file-bookmark-alt:before{content:"\\ec3f"}.ez-icon-file-check-alt:before{content:"\\ec40"}.ez-icon-file-check:before{content:"\\ec41"}.ez-icon-file-contract-dollar:before{content:"\\ec42"}.ez-icon-file-contract:before{content:"\\ec43"}.ez-icon-file-copy-alt:before{content:"\\ec44"}.ez-icon-file-download-:before{content:"\\ec45"}.ez-icon-file-download-alt:before{content:"\\ec46"}.ez-icon-file-download:before{content:"\\ec47"}.ez-icon-file-edit-alt:before{content:"\\ec48"}.ez-icon-file-exclamation-alt:before{content:"\\ec49"}.ez-icon-file-exclamation:before{content:"\\ec4a"}.ez-icon-file-export:before{content:"\\ec4b"}.ez-icon-file-graph:before{content:"\\ec4c"}.ez-icon-file-heart:before{content:"\\ec4d"}.ez-icon-file-import:before{content:"\\ec4e"}.ez-icon-file-info-alt:before{content:"\\ec4f"}.ez-icon-file-landscape-alt:before{content:"\\ec50"}.ez-icon-file-landscape:before{content:"\\ec51"}.ez-icon-file-lanscape-slash:before{content:"\\ec52"}.ez-icon-file-lock-alt:before{content:"\\ec53"}.ez-icon-file-medical-alt:before{content:"\\ec54"}.ez-icon-file-medical:before{content:"\\ec55"}.ez-icon-file-minus-alt:before{content:"\\ec56"}.ez-icon-file-minus:before{content:"\\ec57"}.ez-icon-file-network:before{content:"\\ec58"}.ez-icon-file-plus-alt:before{content:"\\ec59"}.ez-icon-file-plus:before{content:"\\ec5a"}.ez-icon-file-question-alt:before{content:"\\ec5b"}.ez-icon-file-question:before{content:"\\ec5c"}.ez-icon-file-redo-alt:before{content:"\\ec5d"}.ez-icon-file-search-alt:before{content:"\\ec5e"}.ez-icon-file-share-alt:before{content:"\\ec5f"}.ez-icon-file-shield-alt:before{content:"\\ec60"}.ez-icon-file-slash:before{content:"\\ec61"}.ez-icon-file-times-alt:before{content:"\\ec62"}.ez-icon-file-times:before{content:"\\ec63"}.ez-icon-file-upload-2:before{content:"\\ec64"}.ez-icon-file-upload-alt:before{content:"\\ec65"}.ez-icon-file-upload:before{content:"\\ec66"}.ez-icon-file:before{content:"\\ec67"}.ez-icon-files-landscapes-alt:before{content:"\\ec68"}.ez-icon-files-landscapes:before{content:"\\ec69"}.ez-icon-film:before{content:"\\ec6a"}.ez-icon-filter-2:before{content:"\\ec6b"}.ez-icon-filter-slash:before{content:"\\ec6c"}.ez-icon-filter:before{content:"\\ec6d"}.ez-icon-find-file:before{content:"\\ec6e"}.ez-icon-find-page:before{content:"\\ec6f"}.ez-icon-fire:before{content:"\\ec70"}.ez-icon-flask-potion:before{content:"\\ec71"}.ez-icon-flask:before{content:"\\ec72"}.ez-icon-flip-h-alt:before{content:"\\ec73"}.ez-icon-flip-h:before{content:"\\ec74"}.ez-icon-flip-v-alt:before{content:"\\ec75"}.ez-icon-flip-v:before{content:"\\ec76"}.ez-icon-flower:before{content:"\\ec77"}.ez-icon-focus-add:before{content:"\\ec78"}.ez-icon-focus-target:before{content:"\\ec79"}.ez-icon-focus:before{content:"\\ec7a"}.ez-icon-folder-check:before{content:"\\ec7b"}.ez-icon-folder-download:before{content:"\\ec7c"}.ez-icon-folder-exclamation:before{content:"\\ec7d"}.ez-icon-folder-heart:before{content:"\\ec7e"}.ez-icon-folder-info:before{content:"\\ec7f"}.ez-icon-folder-lock:before{content:"\\ec80"}.ez-icon-folder-medical:before{content:"\\ec81"}.ez-icon-folder-minus:before{content:"\\ec82"}.ez-icon-folder-network:before{content:"\\ec83"}.ez-icon-folder-open:before{content:"\\ec84"}.ez-icon-folder-plus:before{content:"\\ec85"}.ez-icon-folder-question:before{content:"\\ec86"}.ez-icon-folder-slash:before{content:"\\ec87"}.ez-icon-folder-times:before{content:"\\ec88"}.ez-icon-folder-upload:before{content:"\\ec89"}.ez-icon-folder:before{content:"\\ec8a"}.ez-icon-font:before{content:"\\ec8b"}.ez-icon-football-american:before{content:"\\ec8c"}.ez-icon-football-ball:before{content:"\\ec8d"}.ez-icon-football:before{content:"\\ec8e"}.ez-icon-forecastcloud-moon-tear:before{content:"\\ec8f"}.ez-icon-format-color-fill:before{content:"\\ec90"}.ez-icon-forwaded-call:before{content:"\\ec91"}.ez-icon-forward:before{content:"\\ec92"}.ez-icon-frown:before{content:"\\ec93"}.ez-icon-game-structure:before{content:"\\ec94"}.ez-icon-generic:before{content:"\\ec95"}.ez-icon-gif:before{content:"\\ec96"}.ez-icon-gift:before{content:"\\ec97"}.ez-icon-github-alt:before{content:"\\ec98"}.ez-icon-github:before{content:"\\ec99"}.ez-icon-gitlab:before{content:"\\ec9a"}.ez-icon-glass-martini-alt-slash:before{content:"\\ec9b"}.ez-icon-glass-martini-alt:before{content:"\\ec9c"}.ez-icon-glass-martini:before{content:"\\ec9d"}.ez-icon-glass-tea:before{content:"\\ec9e"}.ez-icon-glass:before{content:"\\ec9f"}.ez-icon-globe:before{content:"\\eca0"}.ez-icon-gold:before{content:"\\eca1"}.ez-icon-golf-ball:before{content:"\\eca2"}.ez-icon-google-drive-alt:before{content:"\\eca3"}.ez-icon-google-drive:before{content:"\\eca4"}.ez-icon-google-hangouts-alt:before{content:"\\eca5"}.ez-icon-google-hangouts:before{content:"\\eca6"}.ez-icon-google-play:before{content:"\\eca7"}.ez-icon-google:before{content:"\\eca8"}.ez-icon-graduation-cap:before{content:"\\eca9"}.ez-icon-graph-bar:before{content:"\\ecaa"}.ez-icon-graph_bar:before{content:"\\ecab"}.ez-icon-grid:before{content:"\\ecac"}.ez-icon-grids:before{content:"\\ecad"}.ez-icon-grin-tongue-wink-alt:before{content:"\\ecae"}.ez-icon-grin-tongue-wink:before{content:"\\ecaf"}.ez-icon-grin:before{content:"\\ecb0"}.ez-icon-grip-horizontal-line:before{content:"\\ecb1"}.ez-icon-handshake:before{content:"\\ecb2"}.ez-icon-hard-hat:before{content:"\\ecb3"}.ez-icon-head-side-cough:before{content:"\\ecb4"}.ez-icon-head-side-mask:before{content:"\\ecb5"}.ez-icon-head-side:before{content:"\\ecb6"}.ez-icon-headphone-slash:before{content:"\\ecb7"}.ez-icon-headphones-alt:before{content:"\\ecb8"}.ez-icon-headphones:before{content:"\\ecb9"}.ez-icon-heart-alt:before{content:"\\ecba"}.ez-icon-heart-break:before{content:"\\ecbb"}.ez-icon-heart-medical:before{content:"\\ecbc"}.ez-icon-heart-rate:before{content:"\\ecbd"}.ez-icon-heart-sign:before{content:"\\ecbe"}.ez-icon-heart:before{content:"\\ecbf"}.ez-icon-heartbeat:before{content:"\\ecc0"}.ez-icon-help-inverted:before{content:"\\ecc1"}.ez-icon-help:before{content:"\\ecc2"}.ez-icon-hide-list:before{content:"\\ecc3"}.ez-icon-hide_menu:before{content:"\\ecc4"}.ez-icon-hierarchical-tree:before{content:"\\ecc5"}.ez-icon-hindi-to-chinese:before{content:"\\ecc6"}.ez-icon-hipchat:before{content:"\\ecc7"}.ez-icon-history-alt:before{content:"\\ecc8"}.ez-icon-history:before{content:"\\ecc9"}.ez-icon-home-2:before{content:"\\ecca"}.ez-icon-home-alt:before{content:"\\eccb"}.ez-icon-home:before{content:"\\eccc"}.ez-icon-horizontal-align-center:before{content:"\\eccd"}.ez-icon-horizontal-align-left:before{content:"\\ecce"}.ez-icon-horizontal-align-right:before{content:"\\eccf"}.ez-icon-horizontal-distribution-center:before{content:"\\ecd0"}.ez-icon-horizontal-distribution-left:before{content:"\\ecd1"}.ez-icon-horizontal-distribution-right:before{content:"\\ecd2"}.ez-icon-hospital-square-sign:before{content:"\\ecd3"}.ez-icon-hospital-symbol:before{content:"\\ecd4"}.ez-icon-hospital:before{content:"\\ecd5"}.ez-icon-hourglass:before{content:"\\ecd6"}.ez-icon-house-user:before{content:"\\ecd7"}.ez-icon-html3-alt:before{content:"\\ecd8"}.ez-icon-html3:before{content:"\\ecd9"}.ez-icon-html5-alt:before{content:"\\ecda"}.ez-icon-html5:before{content:"\\ecdb"}.ez-icon-hunting:before{content:"\\ecdc"}.ez-icon-icons:before{content:"\\ecdd"}.ez-icon-icons104:before{content:"\\ecde"}.ez-icon-illustration:before{content:"\\ecdf"}.ez-icon-image-alt-slash:before{content:"\\ece0"}.ez-icon-image-block:before{content:"\\ece1"}.ez-icon-image-broken:before{content:"\\ece2"}.ez-icon-image-check:before{content:"\\ece3"}.ez-icon-image-download:before{content:"\\ece4"}.ez-icon-image-edit:before{content:"\\ece5"}.ez-icon-image-lock:before{content:"\\ece6"}.ez-icon-image-minus:before{content:"\\ece7"}.ez-icon-image-plus:before{content:"\\ece8"}.ez-icon-image-question:before{content:"\\ece9"}.ez-icon-image-redo:before{content:"\\ecea"}.ez-icon-image-resize-landscape:before{content:"\\eceb"}.ez-icon-image-resize-square:before{content:"\\ecec"}.ez-icon-image-search:before{content:"\\eced"}.ez-icon-image-share:before{content:"\\ecee"}.ez-icon-image-shield:before{content:"\\ecef"}.ez-icon-image-slash:before{content:"\\ecf0"}.ez-icon-image-times:before{content:"\\ecf1"}.ez-icon-image-upload:before{content:"\\ecf2"}.ez-icon-image-v:before{content:"\\ecf3"}.ez-icon-image:before{content:"\\ecf4"}.ez-icon-images:before{content:"\\ecf5"}.ez-icon-import:before{content:"\\ecf6"}.ez-icon-inbox:before{content:"\\ecf7"}.ez-icon-incoming-call:before{content:"\\ecf8"}.ez-icon-info-circle:before{content:"\\ecf9"}.ez-icon-info:before{content:"\\ecfa"}.ez-icon-instagram-alt:before{content:"\\ecfb"}.ez-icon-instagram:before{content:"\\ecfc"}.ez-icon-intercom-alt:before{content:"\\ecfd"}.ez-icon-intercom:before{content:"\\ecfe"}.ez-icon-invoice:before{content:"\\ecff"}.ez-icon-italic:before{content:"\\ed00"}.ez-icon-jackhammer:before{content:"\\ed01"}.ez-icon-java-script:before{content:"\\ed02"}.ez-icon-kayak:before{content:"\\ed03"}.ez-icon-key-skeleton-alt:before{content:"\\ed04"}.ez-icon-key-skeleton:before{content:"\\ed05"}.ez-icon-keyboard-alt:before{content:"\\ed06"}.ez-icon-keyboard-hide:before{content:"\\ed07"}.ez-icon-keyboard-show:before{content:"\\ed08"}.ez-icon-keyboard:before{content:"\\ed09"}.ez-icon-keyhole-circle:before{content:"\\ed0a"}.ez-icon-keyhole-square-full:before{content:"\\ed0b"}.ez-icon-keyhole-square:before{content:"\\ed0c"}.ez-icon-kid:before{content:"\\ed0d"}.ez-icon-label-alt:before{content:"\\ed0e"}.ez-icon-label:before{content:"\\ed0f"}.ez-icon-lamp:before{content:"\\ed10"}.ez-icon-language-2:before{content:"\\ed11"}.ez-icon-language:before{content:"\\ed12"}.ez-icon-laptop-cloud:before{content:"\\ed13"}.ez-icon-laptop-connection:before{content:"\\ed14"}.ez-icon-laptop:before{content:"\\ed15"}.ez-icon-laughing:before{content:"\\ed16"}.ez-icon-launch:before{content:"\\ed17"}.ez-icon-layer-group-slash:before{content:"\\ed18"}.ez-icon-layer-group:before{content:"\\ed19"}.ez-icon-layers-alt:before{content:"\\ed1a"}.ez-icon-layers-slash:before{content:"\\ed1b"}.ez-icon-layers:before{content:"\\ed1c"}.ez-icon-left-arrow-from-left:before{content:"\\ed1d"}.ez-icon-left-arrow-to-left:before{content:"\\ed1e"}.ez-icon-left-indent-alt:before{content:"\\ed1f"}.ez-icon-left-indent:before{content:"\\ed20"}.ez-icon-left-to-right-text-direction:before{content:"\\ed21"}.ez-icon-left:before{content:"\\ed22"}.ez-icon-letter-chinese-a:before{content:"\\ed23"}.ez-icon-letter-english-a:before{content:"\\ed24"}.ez-icon-letter-hindi-a:before{content:"\\ed25"}.ez-icon-letter-japanese-a:before{content:"\\ed26"}.ez-icon-life-ring:before{content:"\\ed27"}.ez-icon-lightbulb-2:before{content:"\\ed28"}.ez-icon-lightbulb-alt:before{content:"\\ed29"}.ez-icon-lightbulb:before{content:"\\ed2a"}.ez-icon-line-alt:before{content:"\\ed2b"}.ez-icon-line-spacing:before{content:"\\ed2c"}.ez-icon-line:before{content:"\\ed2d"}.ez-icon-link-add:before{content:"\\ed2e"}.ez-icon-link-alt:before{content:"\\ed2f"}.ez-icon-link-broken:before{content:"\\ed30"}.ez-icon-link-h:before{content:"\\ed31"}.ez-icon-link:before{content:"\\ed32"}.ez-icon-linkedin-alt:before{content:"\\ed33"}.ez-icon-linkedin:before{content:"\\ed34"}.ez-icon-linux:before{content:"\\ed35"}.ez-icon-lira-sign:before{content:"\\ed36"}.ez-icon-list-ol-alt:before{content:"\\ed37"}.ez-icon-list-ol:before{content:"\\ed38"}.ez-icon-list-ui-alt:before{content:"\\ed39"}.ez-icon-list-ul:before{content:"\\ed3a"}.ez-icon-list:before{content:"\\ed3b"}.ez-icon-location-arrow-alt:before{content:"\\ed3c"}.ez-icon-location-arrow:before{content:"\\ed3d"}.ez-icon-location-pin-alt:before{content:"\\ed3e"}.ez-icon-location-point:before{content:"\\ed3f"}.ez-icon-location:before{content:"\\ed40"}.ez-icon-lock-2:before{content:"\\ed41"}.ez-icon-lock-access:before{content:"\\ed42"}.ez-icon-lock-alt:before{content:"\\ed43"}.ez-icon-lock-open-alt:before{content:"\\ed44"}.ez-icon-lock-outline:before{content:"\\ed45"}.ez-icon-lock-slash:before{content:"\\ed46"}.ez-icon-lock:before{content:"\\ed47"}.ez-icon-lottiefiles-alt:before{content:"\\ed48"}.ez-icon-lottiefiles:before{content:"\\ed49"}.ez-icon-luggage-cart:before{content:"\\ed4a"}.ez-icon-mailbox-alt:before{content:"\\ed4b"}.ez-icon-mailbox:before{content:"\\ed4c"}.ez-icon-map-marker-alt:before{content:"\\ed4d"}.ez-icon-map-marker-edit:before{content:"\\ed4e"}.ez-icon-map-marker-info:before{content:"\\ed4f"}.ez-icon-map-marker-minus:before{content:"\\ed50"}.ez-icon-map-marker-plus:before{content:"\\ed51"}.ez-icon-map-marker-question:before{content:"\\ed52"}.ez-icon-map-marker-shield:before{content:"\\ed53"}.ez-icon-map-marker-slash:before{content:"\\ed54"}.ez-icon-map-marker:before{content:"\\ed55"}.ez-icon-map-pin-alt:before{content:"\\ed56"}.ez-icon-map-pin:before{content:"\\ed57"}.ez-icon-map:before{content:"\\ed58"}.ez-icon-mars:before{content:"\\ed59"}.ez-icon-master-card:before{content:"\\ed5a"}.ez-icon-maximize-left:before{content:"\\ed5b"}.ez-icon-medal:before{content:"\\ed5c"}.ez-icon-medical-drip:before{content:"\\ed5d"}.ez-icon-medical-square-full:before{content:"\\ed5e"}.ez-icon-medical-square:before{content:"\\ed5f"}.ez-icon-medium-m:before{content:"\\ed60"}.ez-icon-medkit:before{content:"\\ed61"}.ez-icon-meeting-board:before{content:"\\ed62"}.ez-icon-megaphone:before{content:"\\ed63"}.ez-icon-meh-alt:before{content:"\\ed64"}.ez-icon-meh-closed-eye:before{content:"\\ed65"}.ez-icon-meh:before{content:"\\ed66"}.ez-icon-menu:before{content:"\\ed67"}.ez-icon-message:before{content:"\\ed68"}.ez-icon-metro:before{content:"\\ed69"}.ez-icon-microphone-slash:before{content:"\\ed6a"}.ez-icon-microphone:before{content:"\\ed6b"}.ez-icon-microscope:before{content:"\\ed6c"}.ez-icon-microsoft:before{content:"\\ed6d"}.ez-icon-mid:before{content:"\\ed6e"}.ez-icon-minus-2:before{content:"\\ed6f"}.ez-icon-minus-circle:before{content:"\\ed70"}.ez-icon-minus-path:before{content:"\\ed71"}.ez-icon-minus-square-full:before{content:"\\ed72"}.ez-icon-minus-square:before{content:"\\ed73"}.ez-icon-minus:before{content:"\\ed74"}.ez-icon-missed-call:before{content:"\\ed75"}.ez-icon-mobile-android-alt:before{content:"\\ed76"}.ez-icon-mobile-android:before{content:"\\ed77"}.ez-icon-mobile-vibrate:before{content:"\\ed78"}.ez-icon-modem:before{content:"\\ed79"}.ez-icon-money-bill-slash:before{content:"\\ed7a"}.ez-icon-money-bill-stack:before{content:"\\ed7b"}.ez-icon-money-bill:before{content:"\\ed7c"}.ez-icon-money-insert:before{content:"\\ed7d"}.ez-icon-money-off:before{content:"\\ed7e"}.ez-icon-money-stack:before{content:"\\ed7f"}.ez-icon-money-withdraw:before{content:"\\ed80"}.ez-icon-money-withdrawal:before{content:"\\ed81"}.ez-icon-money:before{content:"\\ed82"}.ez-icon-moneybag-alt:before{content:"\\ed83"}.ez-icon-moneybag:before{content:"\\ed84"}.ez-icon-monitor-heart-rate:before{content:"\\ed85"}.ez-icon-monitor:before{content:"\\ed86"}.ez-icon-moon-eclipse:before{content:"\\ed87"}.ez-icon-moon:before{content:"\\ed88"}.ez-icon-moonset:before{content:"\\ed89"}.ez-icon-more:before{content:"\\ed8a"}.ez-icon-mountains-sun:before{content:"\\ed8b"}.ez-icon-mountains:before{content:"\\ed8c"}.ez-icon-mouse-alt-2:before{content:"\\ed8d"}.ez-icon-mouse-alt:before{content:"\\ed8e"}.ez-icon-mouse:before{content:"\\ed8f"}.ez-icon-mp3:before{content:"\\ed90"}.ez-icon-mp4:before{content:"\\ed91"}.ez-icon-multiple-files:before{content:"\\ed92"}.ez-icon-multiply:before{content:"\\ed93"}.ez-icon-music-note:before{content:"\\ed94"}.ez-icon-music-tune-slash:before{content:"\\ed95"}.ez-icon-music:before{content:"\\ed96"}.ez-icon-n-a:before{content:"\\ed97"}.ez-icon-navigator:before{content:"\\ed98"}.ez-icon-nerd:before{content:"\\ed99"}.ez-icon-newspaper:before{content:"\\ed9a"}.ez-icon-ninja:before{content:"\\ed9b"}.ez-icon-no-entry:before{content:"\\ed9c"}.ez-icon-north-west:before{content:"\\ed9d"}.ez-icon-notebooks:before{content:"\\ed9e"}.ez-icon-notes:before{content:"\\ed9f"}.ez-icon-number:before{content:"\\eda0"}.ez-icon-object-group:before{content:"\\eda1"}.ez-icon-object-ungroup:before{content:"\\eda2"}.ez-icon-octagon:before{content:"\\eda3"}.ez-icon-okta:before{content:"\\eda4"}.ez-icon-opera-alt:before{content:"\\eda5"}.ez-icon-opera:before{content:"\\eda6"}.ez-icon-ordem-ascendente:before{content:"\\eda7"}.ez-icon-ordem-descendente:before{content:"\\eda8"}.ez-icon-outgoing-call:before{content:"\\eda9"}.ez-icon-package:before{content:"\\edaa"}.ez-icon-padlock:before{content:"\\edab"}.ez-icon-pagelines:before{content:"\\edac"}.ez-icon-pagerduty:before{content:"\\edad"}.ez-icon-paint-tool:before{content:"\\edae"}.ez-icon-palette:before{content:"\\edaf"}.ez-icon-panel-add:before{content:"\\edb0"}.ez-icon-panorama-h-alt:before{content:"\\edb1"}.ez-icon-panorama-h:before{content:"\\edb2"}.ez-icon-panorama-v:before{content:"\\edb3"}.ez-icon-paperclip:before{content:"\\edb4"}.ez-icon-paragraph:before{content:"\\edb5"}.ez-icon-parcel:before{content:"\\edb6"}.ez-icon-parcelar:before{content:"\\edb7"}.ez-icon-parking-circle:before{content:"\\edb8"}.ez-icon-parking-square:before{content:"\\edb9"}.ez-icon-pathfinder-unite:before{content:"\\edba"}.ez-icon-pathfinder:before{content:"\\edbb"}.ez-icon-pause-circle:before{content:"\\edbc"}.ez-icon-pause:before{content:"\\edbd"}.ez-icon-payments:before{content:"\\edbe"}.ez-icon-paypal:before{content:"\\edbf"}.ez-icon-pdf:before{content:"\\edc0"}.ez-icon-pen:before{content:"\\edc1"}.ez-icon-pentagon:before{content:"\\edc2"}.ez-icon-percentage:before{content:"\\edc3"}.ez-icon-phone-alt:before{content:"\\edc4"}.ez-icon-phone-pause:before{content:"\\edc5"}.ez-icon-phone-slash:before{content:"\\edc6"}.ez-icon-phone-times:before{content:"\\edc7"}.ez-icon-phone-volume:before{content:"\\edc8"}.ez-icon-phone:before{content:"\\edc9"}.ez-icon-picture:before{content:"\\edca"}.ez-icon-pizza-slice:before{content:"\\edcb"}.ez-icon-plane-arrival:before{content:"\\edcc"}.ez-icon-plane-departure:before{content:"\\edcd"}.ez-icon-plane-fly:before{content:"\\edce"}.ez-icon-plane:before{content:"\\edcf"}.ez-icon-play-2:before{content:"\\edd0"}.ez-icon-play-circle:before{content:"\\edd1"}.ez-icon-play:before{content:"\\edd2"}.ez-icon-plug:before{content:"\\edd3"}.ez-icon-plus-2:before{content:"\\edd4"}.ez-icon-plus-circle:before{content:"\\edd5"}.ez-icon-plus-square:before{content:"\\edd6"}.ez-icon-plus:before{content:"\\edd7"}.ez-icon-png:before{content:"\\edd8"}.ez-icon-podium:before{content:"\\edd9"}.ez-icon-polygon:before{content:"\\edda"}.ez-icon-post-stamp:before{content:"\\eddb"}.ez-icon-postcard:before{content:"\\eddc"}.ez-icon-pound-circle:before{content:"\\eddd"}.ez-icon-pound:before{content:"\\edde"}.ez-icon-power-2:before{content:"\\eddf"}.ez-icon-power:before{content:"\\ede0"}.ez-icon-pptx:before{content:"\\ede1"}.ez-icon-prescription-bottle:before{content:"\\ede2"}.ez-icon-presentation-check:before{content:"\\ede3"}.ez-icon-presentation-edit:before{content:"\\ede4"}.ez-icon-presentation-line:before{content:"\\ede5"}.ez-icon-presentation-lines-alt:before{content:"\\ede6"}.ez-icon-presentation-minus:before{content:"\\ede7"}.ez-icon-presentation-play:before{content:"\\ede8"}.ez-icon-presentation-plus:before{content:"\\ede9"}.ez-icon-presentation-times:before{content:"\\edea"}.ez-icon-presentation:before{content:"\\edeb"}.ez-icon-preview:before{content:"\\edec"}.ez-icon-previous:before{content:"\\eded"}.ez-icon-pricetag-alt:before{content:"\\edee"}.ez-icon-print-2:before{content:"\\edef"}.ez-icon-print-slash:before{content:"\\edf0"}.ez-icon-print:before{content:"\\edf1"}.ez-icon-process:before{content:"\\edf2"}.ez-icon-processor:before{content:"\\edf3"}.ez-icon-programming-language:before{content:"\\edf4"}.ez-icon-pump:before{content:"\\edf5"}.ez-icon-push-pin:before{content:"\\edf6"}.ez-icon-puzzle-piece:before{content:"\\edf7"}.ez-icon-qrcode-scan:before{content:"\\edf8"}.ez-icon-question-circle:before{content:"\\edf9"}.ez-icon-question:before{content:"\\edfa"}.ez-icon-rainbow:before{content:"\\edfb"}.ez-icon-raindrops-alt:before{content:"\\edfc"}.ez-icon-raindrops:before{content:"\\edfd"}.ez-icon-rateio:before{content:"\\edfe"}.ez-icon-react:before{content:"\\edff"}.ez-icon-receipt-2:before{content:"\\ee00"}.ez-icon-receipt-alt:before{content:"\\ee01"}.ez-icon-receipt:before{content:"\\ee02"}.ez-icon-recolher_card:before{content:"\\ee03"}.ez-icon-record-audio:before{content:"\\ee04"}.ez-icon-reddit-alien-alt:before{content:"\\ee05"}.ez-icon-redo:before{content:"\\ee06"}.ez-icon-refresh:before{content:"\\ee07"}.ez-icon-registered:before{content:"\\ee08"}.ez-icon-remove-from-cart:before{content:"\\ee09"}.ez-icon-repeat:before{content:"\\ee0a"}.ez-icon-restaurant:before{content:"\\ee0b"}.ez-icon-restore:before{content:"\\ee0c"}.ez-icon-return:before{content:"\\ee0d"}.ez-icon-right-indent-alt:before{content:"\\ee0e"}.ez-icon-right-to-left-text-direction:before{content:"\\ee0f"}.ez-icon-robot:before{content:"\\ee10"}.ez-icon-rocket:before{content:"\\ee11"}.ez-icon-rope-way:before{content:"\\ee12"}.ez-icon-rotate-360:before{content:"\\ee13"}.ez-icon-rss-alt:before{content:"\\ee14"}.ez-icon-rss-interface:before{content:"\\ee15"}.ez-icon-rss:before{content:"\\ee16"}.ez-icon-ruler-combined:before{content:"\\ee17"}.ez-icon-ruler:before{content:"\\ee18"}.ez-icon-rupee-sign:before{content:"\\ee19"}.ez-icon-sad-cry:before{content:"\\ee1a"}.ez-icon-sad-crying:before{content:"\\ee1b"}.ez-icon-sad-dizzy:before{content:"\\ee1c"}.ez-icon-sad-squint:before{content:"\\ee1d"}.ez-icon-sad:before{content:"\\ee1e"}.ez-icon-sanitizer-alt:before{content:"\\ee1f"}.ez-icon-sanitizer:before{content:"\\ee20"}.ez-icon-sankhya-place:before{content:"\\ee21"}.ez-icon-save-2:before{content:"\\ee22"}.ez-icon-save:before{content:"\\ee23"}.ez-icon-scaling-left:before{content:"\\ee24"}.ez-icon-scaling-right:before{content:"\\ee25"}.ez-icon-scenery:before{content:"\\ee26"}.ez-icon-schedule:before{content:"\\ee27"}.ez-icon-screw:before{content:"\\ee28"}.ez-icon-scroll-h:before{content:"\\ee29"}.ez-icon-scroll:before{content:"\\ee2a"}.ez-icon-search-2:before{content:"\\ee2b"}.ez-icon-search-alt:before{content:"\\ee2c"}.ez-icon-search-minus:before{content:"\\ee2d"}.ez-icon-search-plus:before{content:"\\ee2e"}.ez-icon-search:before{content:"\\ee2f"}.ez-icon-selfie:before{content:"\\ee30"}.ez-icon-server-alt:before{content:"\\ee31"}.ez-icon-server-connection:before{content:"\\ee32"}.ez-icon-server-network-alt:before{content:"\\ee33"}.ez-icon-server-network:before{content:"\\ee34"}.ez-icon-server:before{content:"\\ee35"}.ez-icon-servers:before{content:"\\ee36"}.ez-icon-servicemark:before{content:"\\ee37"}.ez-icon-setting:before{content:"\\ee38"}.ez-icon-settings-inverted:before{content:"\\ee39"}.ez-icon-settings:before{content:"\\ee3a"}.ez-icon-share-2:before{content:"\\ee3b"}.ez-icon-share-alt:before{content:"\\ee3c"}.ez-icon-share:before{content:"\\ee3d"}.ez-icon-shield-2:before{content:"\\ee3e"}.ez-icon-shield-check:before{content:"\\ee3f"}.ez-icon-shield-exclamation:before{content:"\\ee40"}.ez-icon-shield-plus:before{content:"\\ee41"}.ez-icon-shield-question:before{content:"\\ee42"}.ez-icon-shield-slash:before{content:"\\ee43"}.ez-icon-shield:before{content:"\\ee44"}.ez-icon-ship:before{content:"\\ee45"}.ez-icon-shop:before{content:"\\ee46"}.ez-icon-shopping-bag:before{content:"\\ee47"}.ez-icon-shopping-basket:before{content:"\\ee48"}.ez-icon-shopping-cart-alt:before{content:"\\ee49"}.ez-icon-shopping-cart:before{content:"\\ee4a"}.ez-icon-shovel:before{content:"\\ee4b"}.ez-icon-show-list:before{content:"\\ee4c"}.ez-icon-show_menu:before{content:"\\ee4d"}.ez-icon-shrink:before{content:"\\ee4e"}.ez-icon-shuffle:before{content:"\\ee4f"}.ez-icon-shutter-alt:before{content:"\\ee50"}.ez-icon-shutter:before{content:"\\ee51"}.ez-icon-sick:before{content:"\\ee52"}.ez-icon-sigma:before{content:"\\ee53"}.ez-icon-sign-alt:before{content:"\\ee54"}.ez-icon-sign-in-alt:before{content:"\\ee55"}.ez-icon-sign-left:before{content:"\\ee56"}.ez-icon-sign-out-alt:before{content:"\\ee57"}.ez-icon-sign-right:before{content:"\\ee58"}.ez-icon-signal-alt-3:before{content:"\\ee59"}.ez-icon-signal-alt:before{content:"\\ee5a"}.ez-icon-signal:before{content:"\\ee5b"}.ez-icon-signin:before{content:"\\ee5c"}.ez-icon-signout:before{content:"\\ee5d"}.ez-icon-silence:before{content:"\\ee5e"}.ez-icon-silent-squint:before{content:"\\ee5f"}.ez-icon-sim-card:before{content:"\\ee60"}.ez-icon-sitemap:before{content:"\\ee61"}.ez-icon-skip-forward-alt:before{content:"\\ee62"}.ez-icon-skip-forward-circle:before{content:"\\ee63"}.ez-icon-skip-forward:before{content:"\\ee64"}.ez-icon-skype-alt:before{content:"\\ee65"}.ez-icon-skype:before{content:"\\ee66"}.ez-icon-slack-alt:before{content:"\\ee67"}.ez-icon-slack:before{content:"\\ee68"}.ez-icon-sleep:before{content:"\\ee69"}.ez-icon-slider-h-range:before{content:"\\ee6a"}.ez-icon-slider-h:before{content:"\\ee6b"}.ez-icon-sliders-v-alt:before{content:"\\ee6c"}.ez-icon-sliders-v:before{content:"\\ee6d"}.ez-icon-smile-beam:before{content:"\\ee6e"}.ez-icon-smile-dizzy:before{content:"\\ee6f"}.ez-icon-smile-squint-wink-alt:before{content:"\\ee70"}.ez-icon-smile-squint-wink:before{content:"\\ee71"}.ez-icon-smile-wink-alt:before{content:"\\ee72"}.ez-icon-smile-wink:before{content:"\\ee73"}.ez-icon-smile:before{content:"\\ee74"}.ez-icon-snapchat-alt:before{content:"\\ee75"}.ez-icon-snapchat-ghost:before{content:"\\ee76"}.ez-icon-snapchat-square:before{content:"\\ee77"}.ez-icon-snow-flake:before{content:"\\ee78"}.ez-icon-snowflake-alt:before{content:"\\ee79"}.ez-icon-snowflake:before{content:"\\ee7a"}.ez-icon-social-distancing:before{content:"\\ee7b"}.ez-icon-solid:before{content:"\\ee7c"}.ez-icon-sort-amount-down:before{content:"\\ee7d"}.ez-icon-sort-amount-up:before{content:"\\ee7e"}.ez-icon-sort:before{content:"\\ee7f"}.ez-icon-sorting:before{content:"\\ee80"}.ez-icon-south-east:before{content:"\\ee81"}.ez-icon-space-key:before{content:"\\ee82"}.ez-icon-spade:before{content:"\\ee83"}.ez-icon-sperms:before{content:"\\ee84"}.ez-icon-spin:before{content:"\\ee85"}.ez-icon-spinner-alt:before{content:"\\ee86"}.ez-icon-spinner:before{content:"\\ee87"}.ez-icon-square-full:before{content:"\\ee88"}.ez-icon-square-shape:before{content:"\\ee89"}.ez-icon-square:before{content:"\\ee8a"}.ez-icon-squint:before{content:"\\ee8b"}.ez-icon-star-half-alt:before{content:"\\ee8c"}.ez-icon-star:before{content:"\\ee8d"}.ez-icon-statistics:before{content:"\\ee8e"}.ez-icon-step-backward-alt:before{content:"\\ee8f"}.ez-icon-step-backward-circle:before{content:"\\ee90"}.ez-icon-step-backward:before{content:"\\ee91"}.ez-icon-step-forward:before{content:"\\ee92"}.ez-icon-stethoscope-alt:before{content:"\\ee93"}.ez-icon-stethoscope:before{content:"\\ee94"}.ez-icon-stop-circle:before{content:"\\ee95"}.ez-icon-stopwatch-slash:before{content:"\\ee96"}.ez-icon-stopwatch:before{content:"\\ee97"}.ez-icon-store-alt:before{content:"\\ee98"}.ez-icon-store-slash:before{content:"\\ee99"}.ez-icon-store:before{content:"\\ee9a"}.ez-icon-stretcher:before{content:"\\ee9b"}.ez-icon-stroller:before{content:"\\ee9c"}.ez-icon-subject:before{content:"\\ee9d"}.ez-icon-subway-alt:before{content:"\\ee9e"}.ez-icon-subway:before{content:"\\ee9f"}.ez-icon-suitcase-alt:before{content:"\\eea0"}.ez-icon-suitcase:before{content:"\\eea1"}.ez-icon-sun:before{content:"\\eea2"}.ez-icon-sunset:before{content:"\\eea3"}.ez-icon-surprise:before{content:"\\eea4"}.ez-icon-swatchbook:before{content:"\\eea5"}.ez-icon-swiggy:before{content:"\\eea6"}.ez-icon-swimmer:before{content:"\\eea7"}.ez-icon-sync-2:before{content:"\\eea8"}.ez-icon-sync-exclamation:before{content:"\\eea9"}.ez-icon-sync-slash:before{content:"\\eeaa"}.ez-icon-sync:before{content:"\\eeab"}.ez-icon-syringe:before{content:"\\eeac"}.ez-icon-table-2:before{content:"\\eead"}.ez-icon-table-tennis:before{content:"\\eeae"}.ez-icon-table:before{content:"\\eeaf"}.ez-icon-tablet:before{content:"\\eeb0"}.ez-icon-tablets:before{content:"\\eeb1"}.ez-icon-tachometer-fast-alt:before{content:"\\eeb2"}.ez-icon-tachometer-fast:before{content:"\\eeb3"}.ez-icon-tag-alt:before{content:"\\eeb4"}.ez-icon-tag:before{content:"\\eeb5"}.ez-icon-tag_code:before{content:"\\eeb6"}.ez-icon-tape:before{content:"\\eeb7"}.ez-icon-taxi:before{content:"\\eeb8"}.ez-icon-tear:before{content:"\\eeb9"}.ez-icon-telegram-alt:before{content:"\\eeba"}.ez-icon-telegram:before{content:"\\eebb"}.ez-icon-telescope:before{content:"\\eebc"}.ez-icon-temperature-empty:before{content:"\\eebd"}.ez-icon-temperature-half:before{content:"\\eebe"}.ez-icon-temperature-minus:before{content:"\\eebf"}.ez-icon-temperature-plus:before{content:"\\eec0"}.ez-icon-temperature-quarter:before{content:"\\eec1"}.ez-icon-temperature-three-quarter:before{content:"\\eec2"}.ez-icon-temperature:before{content:"\\eec3"}.ez-icon-tennis-ball:before{content:"\\eec4"}.ez-icon-text-2:before{content:"\\eec5"}.ez-icon-text-fields:before{content:"\\eec6"}.ez-icon-text-size:before{content:"\\eec7"}.ez-icon-text-strike-through:before{content:"\\eec8"}.ez-icon-text:before{content:"\\eec9"}.ez-icon-th-large:before{content:"\\eeca"}.ez-icon-th-slash:before{content:"\\eecb"}.ez-icon-th:before{content:"\\eecc"}.ez-icon-thermometer:before{content:"\\eecd"}.ez-icon-thumbs-down:before{content:"\\eece"}.ez-icon-thumbs-up:before{content:"\\eecf"}.ez-icon-thunderstorm-moon:before{content:"\\eed0"}.ez-icon-thunderstorm-sun:before{content:"\\eed1"}.ez-icon-thunderstorm:before{content:"\\eed2"}.ez-icon-ticket:before{content:"\\eed3"}.ez-icon-timeline:before{content:"\\eed4"}.ez-icon-timer-outline:before{content:"\\eed5"}.ez-icon-times-circle:before{content:"\\eed6"}.ez-icon-times-square:before{content:"\\eed7"}.ez-icon-times:before{content:"\\eed8"}.ez-icon-toggle-off:before{content:"\\eed9"}.ez-icon-toggle-on:before{content:"\\eeda"}.ez-icon-toilet-paper:before{content:"\\eedb"}.ez-icon-top-arrow-from-top:before{content:"\\eedc"}.ez-icon-top-arrow-to-top:before{content:"\\eedd"}.ez-icon-tornado:before{content:"\\eede"}.ez-icon-trademark-circle:before{content:"\\eedf"}.ez-icon-trademark:before{content:"\\eee0"}.ez-icon-traffic-barrier:before{content:"\\eee1"}.ez-icon-traffic-light:before{content:"\\eee2"}.ez-icon-transaction:before{content:"\\eee3"}.ez-icon-trash-alt:before{content:"\\eee4"}.ez-icon-trash:before{content:"\\eee5"}.ez-icon-trees:before{content:"\\eee6"}.ez-icon-trending-up:before{content:"\\eee7"}.ez-icon-triangle:before{content:"\\eee8"}.ez-icon-trophy:before{content:"\\eee9"}.ez-icon-trowel:before{content:"\\eeea"}.ez-icon-truck-loading:before{content:"\\eeeb"}.ez-icon-truck:before{content:"\\eeec"}.ez-icon-tumblr-alt:before{content:"\\eeed"}.ez-icon-tumblr-square:before{content:"\\eeee"}.ez-icon-tumblr:before{content:"\\eeef"}.ez-icon-tune:before{content:"\\eef0"}.ez-icon-tv-retro-slash:before{content:"\\eef1"}.ez-icon-tv-retro:before{content:"\\eef2"}.ez-icon-twitter-alt:before{content:"\\eef3"}.ez-icon-twitter:before{content:"\\eef4"}.ez-icon-txt:before{content:"\\eef5"}.ez-icon-umbrella:before{content:"\\eef6"}.ez-icon-un-pin:before{content:"\\eef7"}.ez-icon-unamused:before{content:"\\eef8"}.ez-icon-underline:before{content:"\\eef9"}.ez-icon-undo:before{content:"\\eefa"}.ez-icon-unfold_less:before{content:"\\eefb"}.ez-icon-unfold_more:before{content:"\\eefc"}.ez-icon-university:before{content:"\\eefd"}.ez-icon-unlock-alt:before{content:"\\eefe"}.ez-icon-unlock:before{content:"\\eeff"}.ez-icon-upload-alt:before{content:"\\ef00"}.ez-icon-upload:before{content:"\\ef01"}.ez-icon-usd-circle:before{content:"\\ef02"}.ez-icon-usd-square:before{content:"\\ef03"}.ez-icon-user-arrows:before{content:"\\ef04"}.ez-icon-user-check:before{content:"\\ef05"}.ez-icon-user-circle-2:before{content:"\\ef06"}.ez-icon-user-circle:before{content:"\\ef07"}.ez-icon-user-exclamation:before{content:"\\ef08"}.ez-icon-user-location:before{content:"\\ef09"}.ez-icon-user-md:before{content:"\\ef0a"}.ez-icon-user-minus:before{content:"\\ef0b"}.ez-icon-user-nurse:before{content:"\\ef0c"}.ez-icon-user-plus:before{content:"\\ef0d"}.ez-icon-user-square:before{content:"\\ef0e"}.ez-icon-user-times:before{content:"\\ef0f"}.ez-icon-user:before{content:"\\ef10"}.ez-icon-users-alt:before{content:"\\ef11"}.ez-icon-utensils-alt:before{content:"\\ef12"}.ez-icon-utensils:before{content:"\\ef13"}.ez-icon-vector-square-alt:before{content:"\\ef14"}.ez-icon-vector-square:before{content:"\\ef15"}.ez-icon-venus:before{content:"\\ef16"}.ez-icon-vertical-align-bottom:before{content:"\\ef17"}.ez-icon-vertical-align-center:before{content:"\\ef18"}.ez-icon-vertical-align-top:before{content:"\\ef19"}.ez-icon-vertical-distribute-bottom:before{content:"\\ef1a"}.ez-icon-vertical-distribution-center:before{content:"\\ef1b"}.ez-icon-vertical-distribution-top:before{content:"\\ef1c"}.ez-icon-video-question:before{content:"\\ef1d"}.ez-icon-video-slash:before{content:"\\ef1e"}.ez-icon-video:before{content:"\\ef1f"}.ez-icon-virus-slash:before{content:"\\ef20"}.ez-icon-visual-studio:before{content:"\\ef21"}.ez-icon-vk-alt:before{content:"\\ef22"}.ez-icon-vk:before{content:"\\ef23"}.ez-icon-voicemail-rectangle:before{content:"\\ef24"}.ez-icon-voicemail:before{content:"\\ef25"}.ez-icon-volume-down:before{content:"\\ef26"}.ez-icon-volume-mute:before{content:"\\ef27"}.ez-icon-volume-off:before{content:"\\ef28"}.ez-icon-volume-up:before{content:"\\ef29"}.ez-icon-volume:before{content:"\\ef2a"}.ez-icon-vuejs-alt:before{content:"\\ef2b"}.ez-icon-vuejs:before{content:"\\ef2c"}.ez-icon-wall:before{content:"\\ef2d"}.ez-icon-wallet:before{content:"\\ef2e"}.ez-icon-warning-outline:before{content:"\\ef2f"}.ez-icon-warning_triangle:before{content:"\\ef30"}.ez-icon-watch-alt:before{content:"\\ef31"}.ez-icon-watch:before{content:"\\ef32"}.ez-icon-water-drop-slash:before{content:"\\ef33"}.ez-icon-water-glass:before{content:"\\ef34"}.ez-icon-water:before{content:"\\ef35"}.ez-icon-web-grid-alt:before{content:"\\ef36"}.ez-icon-web-grid:before{content:"\\ef37"}.ez-icon-web-section-alt:before{content:"\\ef38"}.ez-icon-web-section:before{content:"\\ef39"}.ez-icon-webcam:before{content:"\\ef3a"}.ez-icon-weight:before{content:"\\ef3b"}.ez-icon-whatsapp-alt:before{content:"\\ef3c"}.ez-icon-whatsapp:before{content:"\\ef3d"}.ez-icon-whatshot:before{content:"\\ef3e"}.ez-icon-wheel-barrow:before{content:"\\ef3f"}.ez-icon-wheelchair-alt:before{content:"\\ef40"}.ez-icon-wheelchair:before{content:"\\ef41"}.ez-icon-wifi-router:before{content:"\\ef42"}.ez-icon-wifi-slash:before{content:"\\ef43"}.ez-icon-wifi:before{content:"\\ef44"}.ez-icon-wind-moon:before{content:"\\ef45"}.ez-icon-wind-sun:before{content:"\\ef46"}.ez-icon-wind:before{content:"\\ef47"}.ez-icon-window-grid:before{content:"\\ef48"}.ez-icon-window-maximize:before{content:"\\ef49"}.ez-icon-window-restore:before{content:"\\ef4a"}.ez-icon-window-section:before{content:"\\ef4b"}.ez-icon-window:before{content:"\\ef4c"}.ez-icon-windows:before{content:"\\ef4d"}.ez-icon-windsock:before{content:"\\ef4e"}.ez-icon-windy:before{content:"\\ef4f"}.ez-icon-wordpress-simple:before{content:"\\ef50"}.ez-icon-wordpress:before{content:"\\ef51"}.ez-icon-wrap-text:before{content:"\\ef52"}.ez-icon-wrench:before{content:"\\ef53"}.ez-icon-x-add:before{content:"\\ef54"}.ez-icon-x:before{content:"\\ef55"}.ez-icon-xlsx:before{content:"\\ef56"}.ez-icon-yen-circle:before{content:"\\ef57"}.ez-icon-yen:before{content:"\\ef58"}.ez-icon-yin-yang:before{content:"\\ef59"}.ez-icon-youtube:before{content:"\\ef5a"}.ez-icon-zip:before{content:"\\ef5b"}.x-small--font{font-size:var(--font-size--small, 12px);line-height:var(--line-height--16, 16px)}.small--font{font-size:var(--font-size--medium, 16px);line-height:var(--line-height--20, 20px)}.medium--font{font-size:var(--font-size--xlarge, 20px);line-height:var(--line-height--24, 24px)}.large--font{font-size:var(--font-size--xxxlarge, 24px);line-height:var(--line-height--28, 28px)}.x-large--font{font-size:var(--font-size--6xlarge, 30px);line-height:var(--line-height--34, 34px)}';export{i as ez_icon}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as o,H as e,g as s}from"./p-e4c7eb39.js";import{c as r,f as h,s as n}from"./p-2a806303.js";const a=class{constructor(o){t(this,o),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this.autoClose=!0,this.boxWidth="fit-content",this.opened=!1,this.overlayType="light",this.anchorElement=void 0,this.options={horizontalGap:0,verticalGap:0,fromRight:!1},this.useAnchorSize=!1,this.minWidth=150}observeOpened(t,i){t!==i&&(t?this.openPopover():this.hidePopover())}async updatePosition(t,i){this.updateOptionPosition(t,i),await this.updatePositionPopover()}async show(t,i){this.updateOptionPosition(t,i),this.opened=!0}async showUnder(t,i){i&&(this.options=i),this.anchorElement=t,this.opened=!0}async hide(){this.opened=!1}async setOptions(t){Object.assign(this.options,t)}async setAnchorElement(t){this.anchorElement=t}parseSizePixel(t,i){return t?"string"==typeof t?Number(t.replace("px","")):null!=t?t:0:null!=i?i:0}updateOptionPosition(t,i){Object.assign(this.options,{horizontalGap:this.parseSizePixel(i,this.options.horizontalGap),verticalGap:this.parseSizePixel(t,this.options.verticalGap)})}getElement(t){return"string"==typeof t?document.getElementById(t):t}getAnchorElement(){if(!this.anchorElement)return this._host;if(Array.isArray(this.anchorElement)){for(const t of this.anchorElement){const i=this.getElement(t);if(i)return i}return this._host}return this.getElement(this.anchorElement)}async updatePositionPopover(){if(!this._box||!this.opened)return;const t=this.getAnchorElement();await r(t,this._box,{placement:this.options.fromRight?"bottom-end":"bottom-start",middleware:[h(),n({padding:5})],strategy:"fixed"}).then((({x:t,y:i,placement:o})=>{const e=o.includes("bottom")?i+this.options.verticalGap:i-this.options.verticalGap,s=o.includes("start")?t+this.options.horizontalGap:t-this.options.horizontalGap;Object.assign(this._box.style,{top:`${e}px`,left:`${s}px`})}))}hidePopover(){this._box&&(this._box.style.display="",this.hideOverlay(),this.ezVisibilityChange.emit(!1))}async openPopover(){if(this._box&&this.opened){if(this._box.style.display="flex",this._box.style.visibility="hidden",this.useAnchorSize){const t=this.getAnchorElement().getBoundingClientRect().width;this._box.style.width=`${t<this.minWidth?this.minWidth:t}px`}await this.updatePositionPopover(),this.openOverlay(),this.ezVisibilityChange.emit(!0),this._box.style.visibility="visible"}}openOverlay(){this._overlay&&this._overlayIsActive&&(this._overlay.style.display="block")}hideOverlay(){this._overlay&&(this._overlay.style.display="none")}checkStatusOverlay(){return"none"!==this.overlayType||!("none"!==this.overlayType||!this.autoClose)}handlePositionUpdate(){this.opened&&this.updatePositionPopover()}componentWillLoad(){window.addEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.addEventListener("resize",this.handlePositionUpdate.bind(this),!0)}componentDidLoad(){this._overlayIsActive=this.checkStatusOverlay(),this._resizeObserver=new ResizeObserver(this.updatePositionPopover.bind(this)),this._resizeObserver.observe(this._box),this.openPopover()}disconnectedCallback(){window.removeEventListener("scroll",this.handlePositionUpdate.bind(this),!0),window.removeEventListener("resize",this.handlePositionUpdate.bind(this),!0),this._resizeObserver.disconnect()}render(){return o(e,null,o("div",{ref:t=>this._overlay=t,onClick:()=>this.hide(),class:`popover__overlay popover__overlay--${this.overlayType}`}),o("section",{ref:t=>this._box=t,class:{popover__box:!0,"popover__box--fit-content":"fit-content"===this.boxWidth,"popover__box--full-width":"fit-content"!==this.boxWidth}},o("slot",null)))}get _host(){return s(this)}static get watchers(){return{opened:["observeOpened"]}}};a.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--elevation--100, 100);--ez-popover__box--overlay-z-index:var(--elevation--24, 24);position:relative;display:flex;user-select:none}.popover__overlay{display:none;position:fixed;padding:0;top:0px;left:0px;width:100%;height:100vh;box-sizing:border-box;z-index:var(--ez-popover__box--overlay-z-index)}.popover__overlay--light{background-color:rgba(var(--rgb-background--overlay), var(--opacity--bright))}.popover__overlay--medium{background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.popover__box{display:none;position:fixed;top:0;left:0;z-index:var(--ez-popover__box--z-index);flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:calc(100% - 10px)}";export{a as ez_popover_core}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as h}from"./p-e4c7eb39.js";import{C as o}from"./p-ec7db713.js";import{ObjectUtils as r,StringUtils as n,ElementIDUtils as a}from"@sankhyalabs/core";import{A as l}from"./p-9825c1d2.js";import"./p-ab574d59.js";import"./p-b853763b.js";import{i as c}from"./p-c178730b.js";import{S as d}from"./p-5895e687.js";import"./p-47e4a8ce.js";import{r as u,a as v}from"./p-40a60148.js";const p=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this._changeDeboucingTimeout=null,this._limitCharsToSearch=3,this._deboucingTime=300,this._maxWidthValue=0,this._tabPressed=!1,this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this._preSelection=void 0,this._visibleOptions=void 0,this._startLoading=!1,this._showLoading=!0,this._showLoadingDescription=!1,this._criteria=void 0,this.value=void 0,this.label=void 0,this.enabled=!0,this.errorMessage=void 0,this.optionLoader=void 0,this.contextProperties=void 0,this.showSelectedValue=!0,this.showOptionValue=!0,this.suppressEmptyOption=!1,this.stopPropagateEnterKeyEvent=!1,this.mode="regular",this.canShowError=!0,this.hideErrorOnFocusOut=!0,this.listOptionsPosition=void 0,this.isTextSearch=!1,this.ignoreLimitCharsToSearch=!1,this.options=void 0,this.suppressSearch=!1,this.ensureClearButtonVisible=!1,this.suppressPreLoad=!0,this.autoFocus=!1,this.alternativePlaceholder=void 0,this.showMore=void 0,this.suppressInputPersist=!1,this.hideDescriptionInput=!1}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,!(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())&&this.errorMessage&&this.setInputValue())}getValue(t){return"object"==typeof t?null==t?void 0:t.value:t}validateNewValue(t,i){const s=this.getValue(t),e=this.getValue(i);return!("[object Object]"===s||s===e)}async observeValue(t,i){if(this._textInput&&this.validateNewValue(t,i)){if("string"==typeof t)return void await this.handleValueAsString(t);const i=this.getSelectedOption(t),s=this.getSelectedOption(this._currentValue);this.isDifferentValues(s,i)&&(this._currentValue=i,this.setInputValue(),this.ezChange.emit(null!=i?i:void 0)),this.resetOptions()}}observeOptions(t,i){!t.length&&this.suppressPreLoad||(null==t?void 0:t.join(""))!==(null==i?void 0:i.join(""))&&this.loadOptions(d.PRELOAD)}async getValueAsync(){return new Promise(this._showLoading?t=>{let i=setInterval((()=>{this._showLoading||(clearInterval(i),t(this.value))}),100)}:t=>t(this.value))}async setFocus(t){this._textInput&&this._textInput.setFocus(t)}async setBlur(){this._textInput&&this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async clearValue(){this.clearSearch()}async handleValueAsString(t){this.getSelectedOption(t)?this.setInputValue():(await this.loadDescriptionValue(t),this._currentValue&&(this.setInputValue(),this.ezChange.emit(this.value),this._currentValue=this.value))}isDifferentValues(t,i){return r.objectToString(t||{})!==r.objectToString(i||{})}getFormattedText(t){if(null==t)return;let i=this.showSelectedValue&&null!=t.value?t.label?`${t.value} - ${t.label}`:t.value:t.label;return i=null==i?void 0:i.replace(new RegExp(this._startHighlightTag,"g"),"").replace(new RegExp(this._endHighlightTag,"g"),""),i}getText(){const t=this.getSelectedOption(this._currentValue),i=this.getFormattedText(t);return u(i)}getSelectedOption(t){return"string"==typeof t||t instanceof String?this._visibleOptions.find((i=>i.value===t)):t?Object.assign(Object.assign({},t),{value:v(null==t?void 0:t.value),label:v(null==t?void 0:t.label)}):t}updateVisibleOptions(){let t=this._source||[];this._visibleOptions=this.suppressEmptyOption?t:[{value:void 0,label:""}].concat(t),this._maxWidthValue=this.getMaxWidthValue()}getMaxWidthValue(){var t;const i=[];return null===(t=this._visibleOptions)||void 0===t||t.forEach((t=>{const s=this.getWidthValue(t.value);i.includes(s)||i.push(s)})),i.length>1?Math.max(...i):0}getWidthValue(t){if(null!=this._itemValueBasis){const i=this._itemValueBasis;if(null!=t)return i.innerHTML=t,i.clientWidth>0?i.clientWidth+2:0;i.innerHTML=""}return 0}showOptions(){this.enabled&&(this.isOptionsVisible()||this._ezPopOverPlusElement.showUnder(this._textInput))}hideOptions(){this._ezPopOverPlusElement.hide()}isOptionsVisible(){return this._ezPopOverPlusElement.opened}selectCurrentOption(t=!0){void 0!==this._preSelection?(this.selectOption(this._visibleOptions[this._preSelection],t),this._preSelection=void 0):this.controlListWithOnlyOne()}updateSource(t){this._startLoading=!1,t instanceof Promise?(this._showLoading=!0,this._showLoadingDescription=!0,t.then((t=>{this.updateSource(t)})).finally((()=>{this._showLoading=!1,this._showLoadingDescription=!1})),this.updateVisibleOptions()):(this._showLoading=!1,Array.isArray(t)?(this._source=t,this.updateVisibleOptions(),this._tabPressed&&(this._tabPressed=!1,this.controlEmptySearch(!1))):this.selectOption(t))}clearSource(){this._source=[],this.updateVisibleOptions()}selectOption(t,i=!0){var s,e;const h=this.getSelectedOption(this.value),o=Object.assign(Object.assign({},t),{value:v(null==t?void 0:t.value),label:v(null==t?void 0:t.label)}),r=Object.assign(Object.assign({},o),{value:u(null==o?void 0:o.value),label:u(null==o?void 0:o.label)});if((null===(s=null==h?void 0:h.value)||void 0===s?void 0:s.toString())!==(null===(e=null==r?void 0:r.value)||void 0===e?void 0:e.toString())||null==h&&null!=r&&"value"in r){const t=(null==r?void 0:r.value)?r:void 0;this.value=t,this._currentValue=t}else this.setInputValue(),this.resetOptions();this._visibleOptions=[],this.clearSource(),i&&setTimeout((()=>{this.setFocus()}),0)}loadOptions(t,i=""){this._criteria=i,this._startLoading=!0,this.updateSource(this.optionLoader?this.optionLoader({mode:t,argument:i},this.contextProperties):this.options)}cancelPreselection(){!this._textInput.value&&this._currentValue&&this._source.length>0?this.selectOption(void 0):window.setTimeout((()=>{this.setInputValue()}),this._deboucingTime),this.resetOptions()}setInputValue(t=!0){if(this.suppressInputPersist)return void this.clearSearch();const i=this.getText();(this._textInput.value||"")!==i&&(this._textInput.value=i,t&&(this.errorMessage=null))}clearSearch(){this.value=null,this._currentValue=null,this._textInput.value=""}controlListWithOnlyOne(t=!0){var i,s;const e=null===(i=this._visibleOptions)||void 0===i?void 0:i.filter((t=>""!==t.label&&null!=t.value));if((null==e?void 0:e.length)>0){const i=new RegExp(this._startHighlightTag,"g"),h=new RegExp(this._endHighlightTag,"g");let o=n.decodeHtmlEntities(e[0].label);const r={value:null===(s=e[0].value)||void 0===s?void 0:s.replace(i,"").replace(h,""),label:null==o?void 0:o.replace(i,"").replace(h,"")};this.selectOption(r,t)}}controlEmptySearch(t=!0){var i;(null===(i=this._visibleOptions)||void 0===i?void 0:i.length)?this.controlListWithOnlyOne(t):(this.clearSearch(),l.info(this.i18n("ez-search.emptyList")))}async loadDescriptionValue(t){var i,s,e;if(null==t)return;if((null===(i=this.options)||void 0===i?void 0:i.length)>0)return void this.loadOptionValue(t);const h={mode:this.hideDescriptionInput?d.LOAD_DESCRIPTION:d.PREDICTIVE,argument:t};try{const t=await(null===(s=this.optionLoader)||void 0===s?void 0:s.call(this,h,this.contextProperties));if(null==t)return;t instanceof Promise?t.then((t=>{this.setDescriptionValue(t)})):this.setDescriptionValue(t)}catch(t){throw"WarningException"===(null===(e=null==t?void 0:t.constructor)||void 0===e?void 0:e.name)&&(this.errorMessage=t.message),t}}setDescriptionValue(t){const i=(null==t?void 0:t[0])||t;null!=i&&Object.keys(i).length?(this._currentValue=i?Object.assign(Object.assign({},i),{value:v(i.value),label:v(i.label)}):i,this.value=this._currentValue,this.setTextInputValue()):this.showNoResultMessage()}setTextInputValue(){if(this._textInput&&null==this._textInput.value){if(null==this.value)return;const t="string"==typeof this.value?this.value:this.getFormattedText(this.value);this._textInput.value=u(t)}}loadOptionValue(t){var i;const s=null===(i=this.options)||void 0===i?void 0:i.find((i=>i.value===t));null!=s?this.selectOption(s):this.showNoResultMessage()}async showNoResultMessage(){this.clearSearch(),l.info(this.i18n("ez-search.emptySearch",{field:this.getFieldLabel()}))}getFieldLabel(){var t;return null===(t=this.label)||void 0===t?void 0:t.replace(this.i18n("app.requiredInfo"),"").toUpperCase()}resetOptions(){this.showMore?this.handleResetOptionsWithShowMoreVisible():(this.hideOptions(),this._criteria=void 0,this._preSelection=void 0,this.updateVisibleOptions())}handleResetOptionsWithShowMoreVisible(){setTimeout((()=>{this.hideOptions(),this._criteria=void 0,this._preSelection=void 0,this.updateVisibleOptions()}),100)}async handleInitialValue(){if(!this.getValue(this.value))return;if("string"==typeof this.value)return void await this.handleValueAsString(this.value);let t=this.getFormattedText(this.value);t=u(t),this._textInput.value=t}async componentWillLoad(){if(this.i18n=await c(),void 0===this.options){this.options=[];const t=this.el.querySelectorAll("option");t&&t.forEach((t=>{let i=t.innerText,s=t.getAttribute("value"),e=t.getAttribute("details");s||(s=i),this.options.push({label:i,value:s,details:e}),t.hidden=!0}))}this.updateSource([])}componentDidRender(){var t;null===(t=this._optionsList)||void 0===t||t.querySelectorAll(".item").forEach((t=>{a.addIDInfoIfNotExists(t,"itemSearch")}))}async componentDidLoad(){this._currentValue=this.value,o.applyVarsTextInput(this.el,this._textInput),this._resizeObserver=new ResizeObserver((t=>{window.requestAnimationFrame((()=>{Array.isArray(t)}))})),this._intersectionObserver=new IntersectionObserver((t=>{t.forEach((t=>{!t.isIntersecting&&this._ezPopOverPlusElement&&this._ezPopOverPlusElement.hide()}))}),{threshold:.1}),this._textInput&&this._intersectionObserver.observe(this._textInput),await this.handleInitialValue(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}disconnectedCallback(){var t,i;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),null===(i=this._intersectionObserver)||void 0===i||i.disconnect()}handlerIconClick(){this.loadOptions(d.ADVANCED)}buildNumberArgument(t){return this.isTextSearch?NaN:Number(t||void 0)}onTextInputChangeHandler(t){var i;if(this.clearDeboucingTimeout(),this._startLoading)return void(this._changeDeboucingTimeout=window.setTimeout((()=>{this.onTextInputChangeHandler(t)}),this._deboucingTime));const s=null===(i=t.target.value)||void 0===i?void 0:i.trim(),e=this.buildNumberArgument(s);this._criteria||(this._textInput.value=t.data||s),this._criteria=s,s?(this._showLoading=!1,this.clearSource(),this.ignoreLimitCharsToSearch||!isNaN(e)||s.length>=this._limitCharsToSearch?(this._showLoading=!0,this._changeDeboucingTimeout=window.setTimeout((()=>{this.loadOptions(d.PREDICTIVE,isNaN(e)?s:e.toString())}),this._deboucingTime),this.showOptions()):this.hideOptions()):(this.hideOptions(),this._showLoading=!1,this.clearSource())}clearDeboucingTimeout(){this._changeDeboucingTimeout&&(window.clearTimeout(this._changeDeboucingTimeout),this._changeDeboucingTimeout=null)}async keyDownHandler(t){switch(this._tabPressed=!1,t.ctrlKey&&("f"!==t.key&&"F"!==t.key||(this.loadOptions(d.ADVANCED),t.stopPropagation(),t.stopImmediatePropagation(),t.preventDefault())),t.key){case"ArrowDown":t.stopPropagation(),this.canShowListOptions()&&t.preventDefault(),this.isOptionsVisible()||this.showOptions(),await this._searchList.nextOption();break;case"ArrowUp":t.stopPropagation(),this.canShowListOptions()&&t.preventDefault(),await this._searchList.previousOption();break;case"Enter":this.handleEventPropagation(t),this.selectCurrentOption();break;case"Escape":this.cancelPreselection();break;case"Tab":this._tabPressed=!0,this.selectCurrentOption(!1)}}handleEventPropagation(t){this._ezPopOverPlusElement.opened&&this.stopPropagateEnterKeyEvent&&t.stopPropagation()}onTextInputFocusOutHandler(){this.hideErrorOnFocusOut&&this.cancelPreselection()}canShowListOptions(){return!this._showLoading&&this._visibleOptions.length>0}canShowLoadSpinDescription(){return this._showLoadingDescription&&!this._ezPopOverPlusElement.opened}onChangePreSelection(t){this._preSelection=t}async handleClickShowMore(){var t,i;if(!this.optionLoader)return;const s=null!==(i=null===(t=this._textInput)||void 0===t?void 0:t.value)&&void 0!==i?i:"",e={mode:d.ADVANCED,argument:s},h=await this.optionLoader(e,this.contextProperties);h&&!Array.isArray(h)&&this.selectOption(h)}renderShowMore(){if(this.showMore&&!this._showLoading)return s("div",{style:{display:"flex",justifyContent:"center"},"data-element-id":a.getInternalIDInfo("showMore")},s("ez-button",{onClick:async()=>await this.handleClickShowMore(),variant:"tertiary",style:{width:"100%",justifyContent:"center"},label:this.i18n("ez-search.showMore")}))}render(){var t;return a.addIDInfoIfNotExists(this.el,"input"),s(e,null,s("ez-text-input",{"data-element-id":a.getInternalIDInfo("textInput"),class:this.suppressSearch?"suppressed-search-input":"",ref:t=>this._textInput=t,"data-slave-mode":"true",enabled:this.enabled&&!this.suppressSearch,onInput:t=>this.onTextInputChangeHandler(t),onFocusout:()=>this.onTextInputFocusOutHandler(),onKeyDown:t=>this.keyDownHandler(t),label:this.label,canShowError:this.canShowError,errorMessage:this.errorMessage,mode:this.mode,alternativePlaceholder:this.alternativePlaceholder},s("button",{class:"btn",slot:"leftIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.handlerIconClick()},this.canShowLoadSpinDescription()?s("div",{class:"message__loading"}):s("ez-icon",{iconName:"search"})),(null===(t=this._textInput)||void 0===t?void 0:t.value)&&(this._criteria||this.value)||this.ensureClearButtonVisible?s("button",{class:"btn btn__close",slot:"rightIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.clearSearch()},s("ez-icon",{iconName:"close"})):void 0),s("ez-popover-plus",{ref:t=>this._ezPopOverPlusElement=t,autoClose:!1,overlayType:"none",useAnchorSize:!0,anchorElement:[this._textInput,this.el],"data-element-id":this.el.getAttribute("data-element-id"),onEzVisibilityChange:t=>t.stopPropagation()},s("div",null,s("search-list",{ref:t=>this._searchList=t,showLoading:this._showLoading,visibleOptions:this._visibleOptions,textEmptyList:this.i18n("ez-search.emptyList"),canShowListOptions:this.canShowListOptions(),value:this.value,showOptionValue:this.showOptionValue,preSelection:this._preSelection,onChangeValue:({detail:t})=>this.selectOption(t),onChangePreSelection:({detail:t})=>this.onChangePreSelection(t)}),this.renderShowMore())))}get el(){return h(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],value:["observeValue"],options:["observeOptions"]}}};p.style=":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.btn{outline:none;border:none;background:none;cursor:pointer;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}";export{p as ez_search}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e}from"./p-e4c7eb39.js";import{UserInterface as s}from"@sankhyalabs/core";import{a as l}from"./p-b1e45320.js";import{i as o}from"./p-c178730b.js";const n=window,a=new CustomEvent("onSubmitFilter",{detail:{showToast:!0}}),r=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 r=this.columnName;const h={onlyLabel:!1};(null===(e=null===(i=t.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e[l])&&(r=null===(o=null===(s=t.fieldDescriptor)||void 0===s?void 0:s.properties)||void 0===o?void 0:o[l],h.onlyLabel=!0);const c=await this.dataSource.getStaticOptions(r,h);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;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}];const s=null===(e=null===(i=this.fieldDescriptor)||void 0===i?void 0:i.properties)||void 0===e?void 0:e.options;if(Array.isArray(s))return s.map((t=>({label:t.value,value:t.value,check:!0})));const l=JSON.parse(s);return Object.keys(l).map((t=>({label:l[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)}))))}};r.style=".filter-column{padding:var(--space--2xs, 8px);position:relative}.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)}.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)}.filter-column__popover{position:absolute}.filter-column__header-title{margin-left:8px}#filter-column-selection-list{--ez-multi-selection-default-height:unset}";export{r as filter_column}