@sankhyalabs/ezui 7.2.0-dev.15 → 7.2.0-dev.17

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 (269) hide show
  1. package/dist/cjs/classic-search-list_7.cjs.entry.js +2 -2
  2. package/dist/cjs/ez-actions-button.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-card-item.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-chart.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-classic-combo-box.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-classic-date-input.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-classic-input.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-classic-number-input.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-classic-search-plus.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-classic-search.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-classic-text-area.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-classic-time-input.cjs.entry.js +1 -1
  24. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  25. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  27. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  28. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  29. package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
  32. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  33. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-form.cjs.entry.js +2 -2
  36. package/dist/cjs/ez-grid-pagination.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-grid-view.cjs.entry.js +1 -1
  38. package/dist/cjs/ez-grid.cjs.entry.js +2 -2
  39. package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  41. package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
  42. package/dist/cjs/ez-list-item.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  45. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  46. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  49. package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
  50. package/dist/cjs/ez-popover-core.cjs.entry.js +1 -1
  51. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
  52. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  53. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  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 +1 -1
  57. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js +1 -1
  58. package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
  59. package/dist/cjs/ez-search-plus.cjs.entry.js +1 -1
  60. package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
  61. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  62. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  63. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  64. package/dist/cjs/ez-sortable-list.cjs.entry.js +1 -1
  65. package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
  66. package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
  67. package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
  68. package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
  69. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  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 +8 -6
  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 +1 -1
  77. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  78. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  79. package/dist/cjs/ez-tree.cjs.entry.js +1 -1
  80. package/dist/cjs/ez-underface.cjs.entry.js +1 -1
  81. package/dist/cjs/ez-upload.cjs.entry.js +1 -1
  82. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  83. package/dist/cjs/ezui.cjs.js +1 -1
  84. package/dist/cjs/filter-column.cjs.entry.js +1 -1
  85. package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +3 -0
  86. package/dist/cjs/loader.cjs.js +1 -1
  87. package/dist/cjs/{search-column-9612bd3a.js → search-column-67b641dc.js} +1 -1
  88. package/dist/collection/components/ez-icon/ez-icon.css +1147 -1140
  89. package/dist/collection/components/ez-text-input/ez-text-input.js +7 -5
  90. package/dist/custom-elements/index.js +8 -6
  91. package/dist/esm/classic-search-list_7.entry.js +2 -2
  92. package/dist/esm/ez-actions-button.entry.js +1 -1
  93. package/dist/esm/ez-alert-list.entry.js +1 -1
  94. package/dist/esm/ez-alert.entry.js +1 -1
  95. package/dist/esm/ez-application.entry.js +1 -1
  96. package/dist/esm/ez-avatar.entry.js +1 -1
  97. package/dist/esm/ez-badge.entry.js +1 -1
  98. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  99. package/dist/esm/ez-button.entry.js +1 -1
  100. package/dist/esm/ez-calendar.entry.js +1 -1
  101. package/dist/esm/ez-card-item.entry.js +1 -1
  102. package/dist/esm/ez-chart.entry.js +1 -1
  103. package/dist/esm/ez-check.entry.js +1 -1
  104. package/dist/esm/ez-chip.entry.js +1 -1
  105. package/dist/esm/ez-classic-combo-box.entry.js +1 -1
  106. package/dist/esm/ez-classic-date-input.entry.js +1 -1
  107. package/dist/esm/ez-classic-date-time-input.entry.js +1 -1
  108. package/dist/esm/ez-classic-input.entry.js +1 -1
  109. package/dist/esm/ez-classic-number-input.entry.js +1 -1
  110. package/dist/esm/ez-classic-search-plus.entry.js +1 -1
  111. package/dist/esm/ez-classic-search.entry.js +1 -1
  112. package/dist/esm/ez-classic-text-area.entry.js +1 -1
  113. package/dist/esm/ez-classic-time-input.entry.js +1 -1
  114. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  115. package/dist/esm/ez-combo-box.entry.js +1 -1
  116. package/dist/esm/ez-date-input.entry.js +1 -1
  117. package/dist/esm/ez-date-time-input.entry.js +1 -1
  118. package/dist/esm/ez-dialog.entry.js +1 -1
  119. package/dist/esm/ez-double-list.entry.js +1 -1
  120. package/dist/esm/ez-dropdown.entry.js +1 -1
  121. package/dist/esm/ez-empty-card.entry.js +1 -1
  122. package/dist/esm/ez-file-item.entry.js +1 -1
  123. package/dist/esm/ez-filter-input.entry.js +1 -1
  124. package/dist/esm/ez-form-view.entry.js +1 -1
  125. package/dist/esm/ez-form.entry.js +2 -2
  126. package/dist/esm/ez-grid-pagination.entry.js +1 -1
  127. package/dist/esm/ez-grid-view.entry.js +1 -1
  128. package/dist/esm/ez-grid.entry.js +2 -2
  129. package/dist/esm/ez-guide-navigator.entry.js +1 -1
  130. package/dist/esm/ez-icon.entry.js +2 -2
  131. package/dist/esm/ez-link-builder_6.entry.js +1 -1
  132. package/dist/esm/ez-list-item.entry.js +1 -1
  133. package/dist/esm/ez-list.entry.js +1 -1
  134. package/dist/esm/ez-loading-bar.entry.js +1 -1
  135. package/dist/esm/ez-modal-container.entry.js +1 -1
  136. package/dist/esm/ez-modal.entry.js +1 -1
  137. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  138. package/dist/esm/ez-number-input.entry.js +1 -1
  139. package/dist/esm/ez-pagination.entry.js +1 -1
  140. package/dist/esm/ez-popover-core.entry.js +1 -1
  141. package/dist/esm/ez-popover-plus_3.entry.js +1 -1
  142. package/dist/esm/ez-popover.entry.js +1 -1
  143. package/dist/esm/ez-popup.entry.js +1 -1
  144. package/dist/esm/ez-progress-bar.entry.js +1 -1
  145. package/dist/esm/ez-radio-button.entry.js +1 -1
  146. package/dist/esm/ez-record-navigation.entry.js +1 -1
  147. package/dist/esm/ez-rich-toolbar-item.entry.js +1 -1
  148. package/dist/esm/ez-scroller_2.entry.js +1 -1
  149. package/dist/esm/ez-search-plus.entry.js +1 -1
  150. package/dist/esm/ez-search-result-list.entry.js +1 -1
  151. package/dist/esm/ez-search.entry.js +1 -1
  152. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  153. package/dist/esm/ez-skeleton.entry.js +1 -1
  154. package/dist/esm/ez-sortable-list.entry.js +1 -1
  155. package/dist/esm/ez-spinner.entry.js +1 -1
  156. package/dist/esm/ez-split-button.entry.js +1 -1
  157. package/dist/esm/ez-split-item.entry.js +1 -1
  158. package/dist/esm/ez-split-panel.entry.js +1 -1
  159. package/dist/esm/ez-tabselector.entry.js +1 -1
  160. package/dist/esm/ez-tag-input.entry.js +1 -1
  161. package/dist/esm/ez-tag.entry.js +1 -1
  162. package/dist/esm/ez-text-area.entry.js +1 -1
  163. package/dist/esm/ez-text-input.entry.js +8 -6
  164. package/dist/esm/ez-tile-medium.entry.js +1 -1
  165. package/dist/esm/ez-tile.entry.js +1 -1
  166. package/dist/esm/ez-time-input.entry.js +1 -1
  167. package/dist/esm/ez-toast.entry.js +1 -1
  168. package/dist/esm/ez-tooltip.entry.js +1 -1
  169. package/dist/esm/ez-tree.entry.js +1 -1
  170. package/dist/esm/ez-underface.entry.js +1 -1
  171. package/dist/esm/ez-upload.entry.js +1 -1
  172. package/dist/esm/ez-view-stack.entry.js +1 -1
  173. package/dist/esm/ezui.js +2 -2
  174. package/dist/esm/filter-column.entry.js +1 -1
  175. package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +3 -1
  176. package/dist/esm/loader.js +2 -2
  177. package/dist/esm/{search-column-dba4853a.js → search-column-88d17d2f.js} +1 -1
  178. package/dist/ezui/ezui.esm.js +1 -1
  179. package/dist/ezui/{p-e75c7a23.entry.js → p-000159dc.entry.js} +1 -1
  180. package/dist/ezui/{p-e2b3970c.entry.js → p-03cbd900.entry.js} +1 -1
  181. package/dist/ezui/{p-93e1c917.entry.js → p-05e68ab3.entry.js} +1 -1
  182. package/dist/ezui/{p-6d596a5a.entry.js → p-0b531233.entry.js} +1 -1
  183. package/dist/ezui/{p-3fae7072.entry.js → p-0c8aee78.entry.js} +1 -1
  184. package/dist/ezui/{p-b06294c9.entry.js → p-0fc00cfe.entry.js} +1 -1
  185. package/dist/ezui/p-14d6aeb8.entry.js +1 -0
  186. package/dist/ezui/{p-108503ed.entry.js → p-1516f24d.entry.js} +1 -1
  187. package/dist/ezui/{p-b8cd501a.entry.js → p-16947cdc.entry.js} +1 -1
  188. package/dist/ezui/{p-2528e988.entry.js → p-169d460d.entry.js} +1 -1
  189. package/dist/ezui/{p-6f77a359.entry.js → p-1723f728.entry.js} +1 -1
  190. package/dist/ezui/{p-0ac8bd66.entry.js → p-1a4d64f1.entry.js} +1 -1
  191. package/dist/ezui/{p-fc72aeb8.entry.js → p-1b7d0c1c.entry.js} +1 -1
  192. package/dist/ezui/{p-fc11f5b9.entry.js → p-1c9eba36.entry.js} +1 -1
  193. package/dist/ezui/{p-83bddbbb.js → p-27add1a3.js} +1 -1
  194. package/dist/ezui/{p-be953397.entry.js → p-280f0a4e.entry.js} +1 -1
  195. package/dist/ezui/{p-2ebd7383.entry.js → p-2d429965.entry.js} +1 -1
  196. package/dist/ezui/{p-b986da95.entry.js → p-37e1b560.entry.js} +1 -1
  197. package/dist/ezui/{p-7dad8018.entry.js → p-3d3345e5.entry.js} +1 -1
  198. package/dist/ezui/{p-45245c32.entry.js → p-4019bd3c.entry.js} +1 -1
  199. package/dist/ezui/{p-cb00863d.entry.js → p-43835ea6.entry.js} +1 -1
  200. package/dist/ezui/{p-fa6732f2.entry.js → p-44b39e81.entry.js} +1 -1
  201. package/dist/ezui/{p-9bd3e28b.entry.js → p-468e30b0.entry.js} +1 -1
  202. package/dist/ezui/{p-0d80e3ec.entry.js → p-49eb13ea.entry.js} +1 -1
  203. package/dist/ezui/{p-d70805e4.entry.js → p-4cb3e520.entry.js} +1 -1
  204. package/dist/ezui/{p-7424d520.entry.js → p-4d11704d.entry.js} +1 -1
  205. package/dist/ezui/{p-f2e0acf5.entry.js → p-5041efd4.entry.js} +1 -1
  206. package/dist/ezui/{p-6369a0cd.entry.js → p-51e34317.entry.js} +1 -1
  207. package/dist/ezui/{p-cf66ace0.entry.js → p-55d2be5c.entry.js} +1 -1
  208. package/dist/ezui/{p-881abc22.entry.js → p-5c0b784f.entry.js} +1 -1
  209. package/dist/ezui/{p-9bd78d39.entry.js → p-5ed0d633.entry.js} +1 -1
  210. package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
  211. package/dist/ezui/{p-2ae127bc.entry.js → p-6b6f9589.entry.js} +1 -1
  212. package/dist/ezui/{p-d8b69419.entry.js → p-6df315ac.entry.js} +1 -1
  213. package/dist/ezui/p-6ec40dec.entry.js +1 -0
  214. package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
  215. package/dist/ezui/{p-99556756.entry.js → p-7137d19f.entry.js} +1 -1
  216. package/dist/ezui/{p-d6f50207.entry.js → p-770cf2b8.entry.js} +1 -1
  217. package/dist/ezui/{p-91c9d50e.entry.js → p-78e975b4.entry.js} +1 -1
  218. package/dist/ezui/{p-0592535f.entry.js → p-7c02817b.entry.js} +1 -1
  219. package/dist/ezui/{p-c25a4d30.entry.js → p-7c38cce4.entry.js} +1 -1
  220. package/dist/ezui/{p-66455069.entry.js → p-7d229c1d.entry.js} +1 -1
  221. package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
  222. package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
  223. package/dist/ezui/{p-a4735a12.entry.js → p-894392ca.entry.js} +1 -1
  224. package/dist/ezui/{p-cfe41b07.entry.js → p-8da3753c.entry.js} +1 -1
  225. package/dist/ezui/{p-fb27b98d.entry.js → p-9002ffd2.entry.js} +1 -1
  226. package/dist/ezui/p-93c142dc.entry.js +1 -0
  227. package/dist/ezui/{p-7b078125.entry.js → p-95f45fc3.entry.js} +1 -1
  228. package/dist/ezui/{p-f34ec732.entry.js → p-980f1f18.entry.js} +1 -1
  229. package/dist/ezui/{p-7a07c50f.entry.js → p-9820e95f.entry.js} +1 -1
  230. package/dist/ezui/{p-73461028.entry.js → p-99aacd56.entry.js} +1 -1
  231. package/dist/ezui/{p-a3075f52.entry.js → p-9bcfa689.entry.js} +1 -1
  232. package/dist/ezui/{p-7df45688.entry.js → p-a6df6cdc.entry.js} +1 -1
  233. package/dist/ezui/{p-ed790867.entry.js → p-a8379365.entry.js} +1 -1
  234. package/dist/ezui/{p-d6742c1e.entry.js → p-a9432878.entry.js} +1 -1
  235. package/dist/ezui/{p-2856c545.entry.js → p-ac004c0c.entry.js} +1 -1
  236. package/dist/ezui/{p-312bd3c6.entry.js → p-acc2625d.entry.js} +1 -1
  237. package/dist/ezui/{p-72e77b45.entry.js → p-ad63415f.entry.js} +1 -1
  238. package/dist/ezui/{p-e3d6b544.entry.js → p-b08ed58c.entry.js} +1 -1
  239. package/dist/ezui/{p-1166b2d5.entry.js → p-b14959bf.entry.js} +1 -1
  240. package/dist/ezui/{p-e8c57463.entry.js → p-b21efe83.entry.js} +1 -1
  241. package/dist/ezui/{p-063bb342.entry.js → p-b457f321.entry.js} +1 -1
  242. package/dist/ezui/{p-d5684cdc.entry.js → p-b9ebe8b7.entry.js} +1 -1
  243. package/dist/ezui/{p-a0bf1fc7.entry.js → p-bc693db6.entry.js} +1 -1
  244. package/dist/ezui/{p-c37fb359.entry.js → p-c06cf215.entry.js} +1 -1
  245. package/dist/ezui/p-c1b7b7f1.entry.js +1 -0
  246. package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
  247. package/dist/ezui/{p-178cb9df.entry.js → p-c6021712.entry.js} +1 -1
  248. package/dist/ezui/{p-6020f3d5.entry.js → p-c754774e.entry.js} +1 -1
  249. package/dist/ezui/{p-e8cd003b.entry.js → p-cb951410.entry.js} +1 -1
  250. package/dist/ezui/p-cf22810f.entry.js +1 -0
  251. package/dist/ezui/{p-20c024f7.entry.js → p-cf33bc48.entry.js} +1 -1
  252. package/dist/ezui/{p-d75f583b.entry.js → p-d0021f0f.entry.js} +1 -1
  253. package/dist/ezui/{p-46b1b2ac.entry.js → p-dc8874b8.entry.js} +1 -1
  254. package/dist/ezui/{p-54af1af0.entry.js → p-dccb427d.entry.js} +1 -1
  255. package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
  256. package/dist/ezui/{p-7f792043.entry.js → p-e195eaad.entry.js} +1 -1
  257. package/dist/ezui/{p-e692c2a7.entry.js → p-e25bc610.entry.js} +1 -1
  258. package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
  259. package/dist/ezui/{p-e7a7c594.entry.js → p-e9b409c1.entry.js} +1 -1
  260. package/dist/ezui/{p-f498f6b5.entry.js → p-eaa54dab.entry.js} +1 -1
  261. package/dist/ezui/{p-dfced8c7.entry.js → p-f25873c9.entry.js} +1 -1
  262. package/dist/ezui/{p-a3ada561.entry.js → p-f26b97e9.entry.js} +1 -1
  263. package/dist/ezui/{p-411c0222.entry.js → p-f7ca8634.entry.js} +1 -1
  264. package/package.json +1 -1
  265. package/dist/ezui/p-160a268d.entry.js +0 -1
  266. package/dist/ezui/p-30c5f48a.entry.js +0 -1
  267. package/dist/ezui/p-60c28299.entry.js +0 -1
  268. package/dist/ezui/p-bc2f844e.entry.js +0 -1
  269. package/dist/ezui/p-d8cc640d.entry.js +0 -1
@@ -0,0 +1 @@
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-cc:before{content:"\\eae8"}.ez-icon-cell:before{content:"\\eae9"}.ez-icon-celsius:before{content:"\\eaea"}.ez-icon-channel-add:before{content:"\\eaeb"}.ez-icon-channel:before{content:"\\eaec"}.ez-icon-chart-bar-alt:before{content:"\\eaed"}.ez-icon-chart-bar:before{content:"\\eaee"}.ez-icon-chart-down:before{content:"\\eaef"}.ez-icon-chart-growth-alt:before{content:"\\eaf0"}.ez-icon-chart-growth:before{content:"\\eaf1"}.ez-icon-chart-line:before{content:"\\eaf2"}.ez-icon-chart-pie-alt:before{content:"\\eaf3"}.ez-icon-chart-pie:before{content:"\\eaf4"}.ez-icon-chart:before{content:"\\eaf5"}.ez-icon-chat-bubble-user:before{content:"\\eaf6"}.ez-icon-chat-info:before{content:"\\eaf7"}.ez-icon-chat:before{content:"\\eaf8"}.ez-icon-check-2:before{content:"\\eaf9"}.ez-icon-check-circle-2:before{content:"\\eafa"}.ez-icon-check-circle-inverted:before{content:"\\eafb"}.ez-icon-check-circle:before{content:"\\eafc"}.ez-icon-check-square:before{content:"\\eafd"}.ez-icon-check:before{content:"\\eafe"}.ez-icon-chevron-down:before{content:"\\eaff"}.ez-icon-chevron-left:before{content:"\\eb00"}.ez-icon-chevron-right:before{content:"\\eb01"}.ez-icon-chevron-up:before{content:"\\eb02"}.ez-icon-circle--medium:before{content:"\\eb03"}.ez-icon-circle-2:before{content:"\\eb04"}.ez-icon-circle-layer:before{content:"\\eb05"}.ez-icon-circle:before{content:"\\eb06"}.ez-icon-circuit:before{content:"\\eb07"}.ez-icon-clapper-board:before{content:"\\eb08"}.ez-icon-clean-cart:before{content:"\\eb09"}.ez-icon-cleaning:before{content:"\\eb0a"}.ez-icon-clinic-medical:before{content:"\\eb0b"}.ez-icon-clipboard-2:before{content:"\\eb0c"}.ez-icon-clipboard-alt:before{content:"\\eb0d"}.ez-icon-clipboard-blank:before{content:"\\eb0e"}.ez-icon-clipboard-notes:before{content:"\\eb0f"}.ez-icon-clipboard:before{content:"\\eb10"}.ez-icon-clock-eight:before{content:"\\eb11"}.ez-icon-clock-five:before{content:"\\eb12"}.ez-icon-clock-nine:before{content:"\\eb13"}.ez-icon-clock-rotate-left:before{content:"\\eb14"}.ez-icon-clock-seven:before{content:"\\eb15"}.ez-icon-clock-ten:before{content:"\\eb16"}.ez-icon-clock-three:before{content:"\\eb17"}.ez-icon-clock-two:before{content:"\\eb18"}.ez-icon-clock:before{content:"\\eb19"}.ez-icon-close:before{content:"\\eb1a"}.ez-icon-closed-captioning-slash:before{content:"\\eb1b"}.ez-icon-closed-captioning:before{content:"\\eb1c"}.ez-icon-cloud-block:before{content:"\\eb1d"}.ez-icon-cloud-bookmark:before{content:"\\eb1e"}.ez-icon-cloud-check:before{content:"\\eb1f"}.ez-icon-cloud-computing:before{content:"\\eb20"}.ez-icon-cloud-data-connection:before{content:"\\eb21"}.ez-icon-cloud-database-tree:before{content:"\\eb22"}.ez-icon-cloud-download:before{content:"\\eb23"}.ez-icon-cloud-drizzle:before{content:"\\eb24"}.ez-icon-cloud-exclamation:before{content:"\\eb25"}.ez-icon-cloud-hail:before{content:"\\eb26"}.ez-icon-cloud-heart:before{content:"\\eb27"}.ez-icon-cloud-info:before{content:"\\eb28"}.ez-icon-cloud-lock:before{content:"\\eb29"}.ez-icon-cloud-meatball:before{content:"\\eb2a"}.ez-icon-cloud-moon-hail:before{content:"\\eb2b"}.ez-icon-cloud-moon-meatball:before{content:"\\eb2c"}.ez-icon-cloud-moon-rain:before{content:"\\eb2d"}.ez-icon-cloud-moon-showers:before{content:"\\eb2e"}.ez-icon-cloud-moon-tear:before{content:"\\eb2f"}.ez-icon-cloud-moon:before{content:"\\eb30"}.ez-icon-cloud-question:before{content:"\\eb31"}.ez-icon-cloud-rain-sun:before{content:"\\eb32"}.ez-icon-cloud-rain:before{content:"\\eb33"}.ez-icon-cloud-redo:before{content:"\\eb34"}.ez-icon-cloud-share:before{content:"\\eb35"}.ez-icon-cloud-shield:before{content:"\\eb36"}.ez-icon-cloud-showers-alt:before{content:"\\eb37"}.ez-icon-cloud-showers-heavy:before{content:"\\eb38"}.ez-icon-cloud-showers:before{content:"\\eb39"}.ez-icon-cloud-slash:before{content:"\\eb3a"}.ez-icon-cloud-sun-hail:before{content:"\\eb3b"}.ez-icon-cloud-sun-meatball:before{content:"\\eb3c"}.ez-icon-cloud-sun-rain-alt:before{content:"\\eb3d"}.ez-icon-cloud-sun-rain:before{content:"\\eb3e"}.ez-icon-cloud-sun-tear:before{content:"\\eb3f"}.ez-icon-cloud-sun:before{content:"\\eb40"}.ez-icon-cloud-times:before{content:"\\eb41"}.ez-icon-cloud-unlock:before{content:"\\eb42"}.ez-icon-cloud-upload:before{content:"\\eb43"}.ez-icon-cloud-wifi:before{content:"\\eb44"}.ez-icon-cloud-wind:before{content:"\\eb45"}.ez-icon-cloud:before{content:"\\eb46"}.ez-icon-clouds:before{content:"\\eb47"}.ez-icon-club:before{content:"\\eb48"}.ez-icon-cobrar:before{content:"\\eb49"}.ez-icon-code-branch:before{content:"\\eb4a"}.ez-icon-code:before{content:"\\eb4b"}.ez-icon-coffee:before{content:"\\eb4c"}.ez-icon-cog:before{content:"\\eb4d"}.ez-icon-coins:before{content:"\\eb4e"}.ez-icon-columns:before{content:"\\eb4f"}.ez-icon-comment-add:before{content:"\\eb50"}.ez-icon-comment-alt-block:before{content:"\\eb51"}.ez-icon-comment-alt-chart-lines:before{content:"\\eb52"}.ez-icon-comment-alt-check:before{content:"\\eb53"}.ez-icon-comment-alt-dots:before{content:"\\eb54"}.ez-icon-comment-alt-download:before{content:"\\eb55"}.ez-icon-comment-alt-edit:before{content:"\\eb56"}.ez-icon-comment-alt-exclamation:before{content:"\\eb57"}.ez-icon-comment-alt-heart:before{content:"\\eb58"}.ez-icon-comment-alt-image:before{content:"\\eb59"}.ez-icon-comment-alt-info:before{content:"\\eb5a"}.ez-icon-comment-alt-lines:before{content:"\\eb5b"}.ez-icon-comment-alt-lock:before{content:"\\eb5c"}.ez-icon-comment-alt-medical:before{content:"\\eb5d"}.ez-icon-comment-alt-message:before{content:"\\eb5e"}.ez-icon-comment-alt-notes:before{content:"\\eb5f"}.ez-icon-comment-alt-plus:before{content:"\\eb60"}.ez-icon-comment-alt-question:before{content:"\\eb61"}.ez-icon-comment-alt-redo:before{content:"\\eb62"}.ez-icon-comment-alt-search:before{content:"\\eb63"}.ez-icon-comment-alt-share:before{content:"\\eb64"}.ez-icon-comment-alt-shield:before{content:"\\eb65"}.ez-icon-comment-alt-slash:before{content:"\\eb66"}.ez-icon-comment-alt-upload:before{content:"\\eb67"}.ez-icon-comment-alt-verify:before{content:"\\eb68"}.ez-icon-comment-alt:before{content:"\\eb69"}.ez-icon-comment-block:before{content:"\\eb6a"}.ez-icon-comment-chart-line:before{content:"\\eb6b"}.ez-icon-comment-check:before{content:"\\eb6c"}.ez-icon-comment-dots:before{content:"\\eb6d"}.ez-icon-comment-download:before{content:"\\eb6e"}.ez-icon-comment-edit:before{content:"\\eb6f"}.ez-icon-comment-exclamation:before{content:"\\eb70"}.ez-icon-comment-heart:before{content:"\\eb71"}.ez-icon-comment-image:before{content:"\\eb72"}.ez-icon-comment-info-alt:before{content:"\\eb73"}.ez-icon-comment-info:before{content:"\\eb74"}.ez-icon-comment-lines:before{content:"\\eb75"}.ez-icon-comment-lock:before{content:"\\eb76"}.ez-icon-comment-medical:before{content:"\\eb77"}.ez-icon-comment-message:before{content:"\\eb78"}.ez-icon-comment-notes:before{content:"\\eb79"}.ez-icon-comment-plus:before{content:"\\eb7a"}.ez-icon-comment-question:before{content:"\\eb7b"}.ez-icon-comment-redo:before{content:"\\eb7c"}.ez-icon-comment-search:before{content:"\\eb7d"}.ez-icon-comment-share:before{content:"\\eb7e"}.ez-icon-comment-shield:before{content:"\\eb7f"}.ez-icon-comment-slash:before{content:"\\eb80"}.ez-icon-comment-upload:before{content:"\\eb81"}.ez-icon-comment-verify:before{content:"\\eb82"}.ez-icon-comment:before{content:"\\eb83"}.ez-icon-comments-alt:before{content:"\\eb84"}.ez-icon-comments:before{content:"\\eb85"}.ez-icon-compact-disc:before{content:"\\eb86"}.ez-icon-comparison:before{content:"\\eb87"}.ez-icon-compass:before{content:"\\eb88"}.ez-icon-compress-alt-left:before{content:"\\eb89"}.ez-icon-compress-alt:before{content:"\\eb8a"}.ez-icon-compress-arrows:before{content:"\\eb8b"}.ez-icon-compress-lines:before{content:"\\eb8c"}.ez-icon-compress-point:before{content:"\\eb8d"}.ez-icon-compress-v:before{content:"\\eb8e"}.ez-icon-compress:before{content:"\\eb8f"}.ez-icon-configuration:before{content:"\\eb90"}.ez-icon-confused:before{content:"\\eb91"}.ez-icon-constructor:before{content:"\\eb92"}.ez-icon-content-cut:before{content:"\\eb93"}.ez-icon-copy-2:before{content:"\\eb94"}.ez-icon-copy-alt:before{content:"\\eb95"}.ez-icon-copy-landscape:before{content:"\\eb96"}.ez-icon-copy:before{content:"\\eb97"}.ez-icon-copyright:before{content:"\\eb98"}.ez-icon-corner-down-left:before{content:"\\eb99"}.ez-icon-corner-down-right-alt:before{content:"\\eb9a"}.ez-icon-corner-down-right:before{content:"\\eb9b"}.ez-icon-corner-left-down:before{content:"\\eb9c"}.ez-icon-corner-right-down:before{content:"\\eb9d"}.ez-icon-corner-up-left-alt:before{content:"\\eb9e"}.ez-icon-corner-up-left:before{content:"\\eb9f"}.ez-icon-corner-up-right-alt:before{content:"\\eba0"}.ez-icon-corner-up-right:before{content:"\\eba1"}.ez-icon-coronavirus:before{content:"\\eba2"}.ez-icon-create-dashboard:before{content:"\\eba3"}.ez-icon-creative-commons-pd:before{content:"\\eba4"}.ez-icon-credit-card-search:before{content:"\\eba5"}.ez-icon-credit-card:before{content:"\\eba6"}.ez-icon-credit_card:before{content:"\\eba7"}.ez-icon-crockery:before{content:"\\eba8"}.ez-icon-crop-alt-rotate-left:before{content:"\\eba9"}.ez-icon-crop-alt-rotate-right:before{content:"\\ebaa"}.ez-icon-crop-alt:before{content:"\\ebab"}.ez-icon-crop:before{content:"\\ebac"}.ez-icon-crosshair-alt:before{content:"\\ebad"}.ez-icon-crosshair:before{content:"\\ebae"}.ez-icon-crosshairs:before{content:"\\ebaf"}.ez-icon-css3-simple:before{content:"\\ebb0"}.ez-icon-cube:before{content:"\\ebb1"}.ez-icon-custom:before{content:"\\ebb2"}.ez-icon-dashboard:before{content:"\\ebb3"}.ez-icon-data-sharing:before{content:"\\ebb4"}.ez-icon-database-alt:before{content:"\\ebb5"}.ez-icon-database:before{content:"\\ebb6"}.ez-icon-delete-file:before{content:"\\ebb7"}.ez-icon-delete:before{content:"\\ebb8"}.ez-icon-description:before{content:"\\ebb9"}.ez-icon-desert:before{content:"\\ebba"}.ez-icon-desktop-alt-slash:before{content:"\\ebbb"}.ez-icon-desktop-alt:before{content:"\\ebbc"}.ez-icon-desktop-cloud-alt:before{content:"\\ebbd"}.ez-icon-desktop-slash:before{content:"\\ebbe"}.ez-icon-desktop:before{content:"\\ebbf"}.ez-icon-dialpad-alt:before{content:"\\ebc0"}.ez-icon-dialpad:before{content:"\\ebc1"}.ez-icon-diamond:before{content:"\\ebc2"}.ez-icon-diary-alt:before{content:"\\ebc3"}.ez-icon-diary:before{content:"\\ebc4"}.ez-icon-dice-five:before{content:"\\ebc5"}.ez-icon-dice-four:before{content:"\\ebc6"}.ez-icon-dice-one:before{content:"\\ebc7"}.ez-icon-dice-six:before{content:"\\ebc8"}.ez-icon-dice-three:before{content:"\\ebc9"}.ez-icon-dice-two:before{content:"\\ebca"}.ez-icon-direction:before{content:"\\ebcb"}.ez-icon-directions:before{content:"\\ebcc"}.ez-icon-discord:before{content:"\\ebcd"}.ez-icon-dividir:before{content:"\\ebce"}.ez-icon-dizzy-meh:before{content:"\\ebcf"}.ez-icon-dna:before{content:"\\ebd0"}.ez-icon-docker:before{content:"\\ebd1"}.ez-icon-document-info:before{content:"\\ebd2"}.ez-icon-document-layout-center:before{content:"\\ebd3"}.ez-icon-document-layout-left:before{content:"\\ebd4"}.ez-icon-document-layout-right:before{content:"\\ebd5"}.ez-icon-docx:before{content:"\\ebd6"}.ez-icon-dollar-alt:before{content:"\\ebd7"}.ez-icon-dollar-sign-alt:before{content:"\\ebd8"}.ez-icon-dollar-sign:before{content:"\\ebd9"}.ez-icon-dot-notification:before{content:"\\ebda"}.ez-icon-dots-horizontal:before{content:"\\ebdb"}.ez-icon-dots-vertical:before{content:"\\ebdc"}.ez-icon-download-alt:before{content:"\\ebdd"}.ez-icon-drag-indicator:before{content:"\\ebde"}.ez-icon-draggabledots:before{content:"\\ebdf"}.ez-icon-dribbble:before{content:"\\ebe0"}.ez-icon-drill:before{content:"\\ebe1"}.ez-icon-dropbox:before{content:"\\ebe2"}.ez-icon-dual-chevron-down:before{content:"\\ebe3"}.ez-icon-dual-chevron-left:before{content:"\\ebe4"}.ez-icon-dual-chevron-right:before{content:"\\ebe5"}.ez-icon-dual-chevron-up:before{content:"\\ebe6"}.ez-icon-dumbbell:before{content:"\\ebe7"}.ez-icon-ear:before{content:"\\ebe8"}.ez-icon-edit-2:before{content:"\\ebe9"}.ez-icon-edit-alt:before{content:"\\ebea"}.ez-icon-edit-file:before{content:"\\ebeb"}.ez-icon-edit-table:before{content:"\\ebec"}.ez-icon-edit-time:before{content:"\\ebed"}.ez-icon-edit-value:before{content:"\\ebee"}.ez-icon-edit:before{content:"\\ebef"}.ez-icon-elipsis-double-v-alt:before{content:"\\ebf0"}.ez-icon-ellipsis-h:before{content:"\\ebf1"}.ez-icon-ellipsis-v:before{content:"\\ebf2"}.ez-icon-email:before{content:"\\ebf3"}.ez-icon-emoji:before{content:"\\ebf4"}.ez-icon-english-to-chinese:before{content:"\\ebf5"}.ez-icon-enter:before{content:"\\ebf6"}.ez-icon-envelope-add:before{content:"\\ebf7"}.ez-icon-envelope-alt:before{content:"\\ebf8"}.ez-icon-envelope-block:before{content:"\\ebf9"}.ez-icon-envelope-bookmark:before{content:"\\ebfa"}.ez-icon-envelope-check:before{content:"\\ebfb"}.ez-icon-envelope-download-alt:before{content:"\\ebfc"}.ez-icon-envelope-download:before{content:"\\ebfd"}.ez-icon-envelope-edit:before{content:"\\ebfe"}.ez-icon-envelope-exclamation:before{content:"\\ebff"}.ez-icon-envelope-heart:before{content:"\\ec00"}.ez-icon-envelope-info:before{content:"\\ec01"}.ez-icon-envelope-lock:before{content:"\\ec02"}.ez-icon-envelope-minus:before{content:"\\ec03"}.ez-icon-envelope-open:before{content:"\\ec04"}.ez-icon-envelope-question:before{content:"\\ec05"}.ez-icon-envelope-receive:before{content:"\\ec06"}.ez-icon-envelope-redo:before{content:"\\ec07"}.ez-icon-envelope-search:before{content:"\\ec08"}.ez-icon-envelope-send:before{content:"\\ec09"}.ez-icon-envelope-share:before{content:"\\ec0a"}.ez-icon-envelope-shield:before{content:"\\ec0b"}.ez-icon-envelope-star:before{content:"\\ec0c"}.ez-icon-envelope-times:before{content:"\\ec0d"}.ez-icon-envelope-upload-alt:before{content:"\\ec0e"}.ez-icon-envelope-upload:before{content:"\\ec0f"}.ez-icon-envelope:before{content:"\\ec10"}.ez-icon-envelopes:before{content:"\\ec11"}.ez-icon-equal-circle:before{content:"\\ec12"}.ez-icon-estate:before{content:"\\ec13"}.ez-icon-estorno:before{content:"\\ec14"}.ez-icon-euro-circle:before{content:"\\ec15"}.ez-icon-euro:before{content:"\\ec16"}.ez-icon-exchange-alt:before{content:"\\ec17"}.ez-icon-exchange:before{content:"\\ec18"}.ez-icon-exclamation-circle:before{content:"\\ec19"}.ez-icon-exclamation-octagon:before{content:"\\ec1a"}.ez-icon-exclamation-triangle:before{content:"\\ec1b"}.ez-icon-exclamation:before{content:"\\ec1c"}.ez-icon-exclude:before{content:"\\ec1d"}.ez-icon-exe:before{content:"\\ec1e"}.ez-icon-exit:before{content:"\\ec1f"}.ez-icon-expand-alt:before{content:"\\ec20"}.ez-icon-expand-arrows-alt:before{content:"\\ec21"}.ez-icon-expand-arrows:before{content:"\\ec22"}.ez-icon-expand-from-corner:before{content:"\\ec23"}.ez-icon-expand-left:before{content:"\\ec24"}.ez-icon-expand-right:before{content:"\\ec25"}.ez-icon-expand:before{content:"\\ec26"}.ez-icon-expandir_card:before{content:"\\ec27"}.ez-icon-export:before{content:"\\ec28"}.ez-icon-exposure-alt:before{content:"\\ec29"}.ez-icon-exposure-increase:before{content:"\\ec2a"}.ez-icon-external-link-alt:before{content:"\\ec2b"}.ez-icon-extrato:before{content:"\\ec2c"}.ez-icon-eye-2:before{content:"\\ec2d"}.ez-icon-eye-off:before{content:"\\ec2e"}.ez-icon-eye-slash:before{content:"\\ec2f"}.ez-icon-eye:before{content:"\\ec30"}.ez-icon-facebook-f:before{content:"\\ec31"}.ez-icon-facebook-messenger-alt:before{content:"\\ec32"}.ez-icon-facebook-messenger:before{content:"\\ec33"}.ez-icon-facebook:before{content:"\\ec34"}.ez-icon-fahrenheit:before{content:"\\ec35"}.ez-icon-fast-mail-alt:before{content:"\\ec36"}.ez-icon-fast-mail:before{content:"\\ec37"}.ez-icon-favorite-2:before{content:"\\ec38"}.ez-icon-favorite-full:before{content:"\\ec39"}.ez-icon-favorite:before{content:"\\ec3a"}.ez-icon-feedback:before{content:"\\ec3b"}.ez-icon-fidget-spinner:before{content:"\\ec3c"}.ez-icon-figma:before{content:"\\ec3d"}.ez-icon-file-alt:before{content:"\\ec3e"}.ez-icon-file-blank:before{content:"\\ec3f"}.ez-icon-file-block-alt:before{content:"\\ec40"}.ez-icon-file-bookmark-alt:before{content:"\\ec41"}.ez-icon-file-check-alt:before{content:"\\ec42"}.ez-icon-file-check:before{content:"\\ec43"}.ez-icon-file-contract-dollar:before{content:"\\ec44"}.ez-icon-file-contract:before{content:"\\ec45"}.ez-icon-file-copy-alt:before{content:"\\ec46"}.ez-icon-file-download-:before{content:"\\ec47"}.ez-icon-file-download-alt:before{content:"\\ec48"}.ez-icon-file-download:before{content:"\\ec49"}.ez-icon-file-edit-alt:before{content:"\\ec4a"}.ez-icon-file-exclamation-alt:before{content:"\\ec4b"}.ez-icon-file-exclamation:before{content:"\\ec4c"}.ez-icon-file-export:before{content:"\\ec4d"}.ez-icon-file-graph:before{content:"\\ec4e"}.ez-icon-file-heart:before{content:"\\ec4f"}.ez-icon-file-import:before{content:"\\ec50"}.ez-icon-file-info-alt:before{content:"\\ec51"}.ez-icon-file-landscape-alt:before{content:"\\ec52"}.ez-icon-file-landscape:before{content:"\\ec53"}.ez-icon-file-lanscape-slash:before{content:"\\ec54"}.ez-icon-file-lock-alt:before{content:"\\ec55"}.ez-icon-file-medical-alt:before{content:"\\ec56"}.ez-icon-file-medical:before{content:"\\ec57"}.ez-icon-file-minus-alt:before{content:"\\ec58"}.ez-icon-file-minus:before{content:"\\ec59"}.ez-icon-file-network:before{content:"\\ec5a"}.ez-icon-file-plus-alt:before{content:"\\ec5b"}.ez-icon-file-plus:before{content:"\\ec5c"}.ez-icon-file-question-alt:before{content:"\\ec5d"}.ez-icon-file-question:before{content:"\\ec5e"}.ez-icon-file-redo-alt:before{content:"\\ec5f"}.ez-icon-file-search-alt:before{content:"\\ec60"}.ez-icon-file-share-alt:before{content:"\\ec61"}.ez-icon-file-shield-alt:before{content:"\\ec62"}.ez-icon-file-slash:before{content:"\\ec63"}.ez-icon-file-times-alt:before{content:"\\ec64"}.ez-icon-file-times:before{content:"\\ec65"}.ez-icon-file-upload-2:before{content:"\\ec66"}.ez-icon-file-upload-alt:before{content:"\\ec67"}.ez-icon-file-upload:before{content:"\\ec68"}.ez-icon-file:before{content:"\\ec69"}.ez-icon-files-landscapes-alt:before{content:"\\ec6a"}.ez-icon-files-landscapes:before{content:"\\ec6b"}.ez-icon-film:before{content:"\\ec6c"}.ez-icon-filter-2:before{content:"\\ec6d"}.ez-icon-filter-3:before{content:"\\ec6e"}.ez-icon-filter-slash:before{content:"\\ec6f"}.ez-icon-filter:before{content:"\\ec70"}.ez-icon-find-file:before{content:"\\ec71"}.ez-icon-find-page:before{content:"\\ec72"}.ez-icon-fire:before{content:"\\ec73"}.ez-icon-flask-potion:before{content:"\\ec74"}.ez-icon-flask:before{content:"\\ec75"}.ez-icon-flip-h-alt:before{content:"\\ec76"}.ez-icon-flip-h:before{content:"\\ec77"}.ez-icon-flip-v-alt:before{content:"\\ec78"}.ez-icon-flip-v:before{content:"\\ec79"}.ez-icon-flower:before{content:"\\ec7a"}.ez-icon-focus-add:before{content:"\\ec7b"}.ez-icon-focus-target:before{content:"\\ec7c"}.ez-icon-focus:before{content:"\\ec7d"}.ez-icon-folder-check:before{content:"\\ec7e"}.ez-icon-folder-download:before{content:"\\ec7f"}.ez-icon-folder-exclamation:before{content:"\\ec80"}.ez-icon-folder-heart:before{content:"\\ec81"}.ez-icon-folder-info:before{content:"\\ec82"}.ez-icon-folder-lock:before{content:"\\ec83"}.ez-icon-folder-medical:before{content:"\\ec84"}.ez-icon-folder-minus:before{content:"\\ec85"}.ez-icon-folder-network:before{content:"\\ec86"}.ez-icon-folder-open:before{content:"\\ec87"}.ez-icon-folder-plus:before{content:"\\ec88"}.ez-icon-folder-question:before{content:"\\ec89"}.ez-icon-folder-slash:before{content:"\\ec8a"}.ez-icon-folder-times:before{content:"\\ec8b"}.ez-icon-folder-upload:before{content:"\\ec8c"}.ez-icon-folder:before{content:"\\ec8d"}.ez-icon-font:before{content:"\\ec8e"}.ez-icon-football-american:before{content:"\\ec8f"}.ez-icon-football-ball:before{content:"\\ec90"}.ez-icon-football:before{content:"\\ec91"}.ez-icon-forecastcloud-moon-tear:before{content:"\\ec92"}.ez-icon-format-color-fill:before{content:"\\ec93"}.ez-icon-forwaded-call:before{content:"\\ec94"}.ez-icon-forward:before{content:"\\ec95"}.ez-icon-frown:before{content:"\\ec96"}.ez-icon-game-structure:before{content:"\\ec97"}.ez-icon-generic:before{content:"\\ec98"}.ez-icon-gif:before{content:"\\ec99"}.ez-icon-gift:before{content:"\\ec9a"}.ez-icon-github-alt:before{content:"\\ec9b"}.ez-icon-github:before{content:"\\ec9c"}.ez-icon-gitlab:before{content:"\\ec9d"}.ez-icon-glass-martini-alt-slash:before{content:"\\ec9e"}.ez-icon-glass-martini-alt:before{content:"\\ec9f"}.ez-icon-glass-martini:before{content:"\\eca0"}.ez-icon-glass-tea:before{content:"\\eca1"}.ez-icon-glass:before{content:"\\eca2"}.ez-icon-globe:before{content:"\\eca3"}.ez-icon-gold:before{content:"\\eca4"}.ez-icon-golf-ball:before{content:"\\eca5"}.ez-icon-google-drive-alt:before{content:"\\eca6"}.ez-icon-google-drive:before{content:"\\eca7"}.ez-icon-google-hangouts-alt:before{content:"\\eca8"}.ez-icon-google-hangouts:before{content:"\\eca9"}.ez-icon-google-play:before{content:"\\ecaa"}.ez-icon-google:before{content:"\\ecab"}.ez-icon-graduation-cap:before{content:"\\ecac"}.ez-icon-graph-bar:before{content:"\\ecad"}.ez-icon-graph_bar:before{content:"\\ecae"}.ez-icon-grid:before{content:"\\ecaf"}.ez-icon-grids:before{content:"\\ecb0"}.ez-icon-grin-tongue-wink-alt:before{content:"\\ecb1"}.ez-icon-grin-tongue-wink:before{content:"\\ecb2"}.ez-icon-grin:before{content:"\\ecb3"}.ez-icon-grip-horizontal-line:before{content:"\\ecb4"}.ez-icon-handshake:before{content:"\\ecb5"}.ez-icon-hard-hat:before{content:"\\ecb6"}.ez-icon-head-side-cough:before{content:"\\ecb7"}.ez-icon-head-side-mask:before{content:"\\ecb8"}.ez-icon-head-side:before{content:"\\ecb9"}.ez-icon-headphone-slash:before{content:"\\ecba"}.ez-icon-headphones-alt:before{content:"\\ecbb"}.ez-icon-headphones:before{content:"\\ecbc"}.ez-icon-heart-alt:before{content:"\\ecbd"}.ez-icon-heart-break:before{content:"\\ecbe"}.ez-icon-heart-medical:before{content:"\\ecbf"}.ez-icon-heart-rate:before{content:"\\ecc0"}.ez-icon-heart-sign:before{content:"\\ecc1"}.ez-icon-heart:before{content:"\\ecc2"}.ez-icon-heartbeat:before{content:"\\ecc3"}.ez-icon-help-inverted:before{content:"\\ecc4"}.ez-icon-help:before{content:"\\ecc5"}.ez-icon-hide-list:before{content:"\\ecc6"}.ez-icon-hide_menu:before{content:"\\ecc7"}.ez-icon-hierarchical-tree:before{content:"\\ecc8"}.ez-icon-hindi-to-chinese:before{content:"\\ecc9"}.ez-icon-hipchat:before{content:"\\ecca"}.ez-icon-history-alt:before{content:"\\eccb"}.ez-icon-history:before{content:"\\eccc"}.ez-icon-home-2:before{content:"\\eccd"}.ez-icon-home-alt:before{content:"\\ecce"}.ez-icon-home:before{content:"\\eccf"}.ez-icon-horizontal-align-center:before{content:"\\ecd0"}.ez-icon-horizontal-align-left:before{content:"\\ecd1"}.ez-icon-horizontal-align-right:before{content:"\\ecd2"}.ez-icon-horizontal-distribution-center:before{content:"\\ecd3"}.ez-icon-horizontal-distribution-left:before{content:"\\ecd4"}.ez-icon-horizontal-distribution-right:before{content:"\\ecd5"}.ez-icon-hospital-square-sign:before{content:"\\ecd6"}.ez-icon-hospital-symbol:before{content:"\\ecd7"}.ez-icon-hospital:before{content:"\\ecd8"}.ez-icon-hourglass:before{content:"\\ecd9"}.ez-icon-house-user:before{content:"\\ecda"}.ez-icon-html3-alt:before{content:"\\ecdb"}.ez-icon-html3:before{content:"\\ecdc"}.ez-icon-html5-alt:before{content:"\\ecdd"}.ez-icon-html5:before{content:"\\ecde"}.ez-icon-hunting:before{content:"\\ecdf"}.ez-icon-icons:before{content:"\\ece0"}.ez-icon-icons104:before{content:"\\ece1"}.ez-icon-illustration:before{content:"\\ece2"}.ez-icon-image-alt-slash:before{content:"\\ece3"}.ez-icon-image-block:before{content:"\\ece4"}.ez-icon-image-broken:before{content:"\\ece5"}.ez-icon-image-check:before{content:"\\ece6"}.ez-icon-image-download:before{content:"\\ece7"}.ez-icon-image-edit:before{content:"\\ece8"}.ez-icon-image-lock:before{content:"\\ece9"}.ez-icon-image-minus:before{content:"\\ecea"}.ez-icon-image-plus:before{content:"\\eceb"}.ez-icon-image-question:before{content:"\\ecec"}.ez-icon-image-redo:before{content:"\\eced"}.ez-icon-image-resize-landscape:before{content:"\\ecee"}.ez-icon-image-resize-square:before{content:"\\ecef"}.ez-icon-image-search:before{content:"\\ecf0"}.ez-icon-image-share:before{content:"\\ecf1"}.ez-icon-image-shield:before{content:"\\ecf2"}.ez-icon-image-slash:before{content:"\\ecf3"}.ez-icon-image-times:before{content:"\\ecf4"}.ez-icon-image-upload:before{content:"\\ecf5"}.ez-icon-image-v:before{content:"\\ecf6"}.ez-icon-image:before{content:"\\ecf7"}.ez-icon-images:before{content:"\\ecf8"}.ez-icon-import:before{content:"\\ecf9"}.ez-icon-inbox:before{content:"\\ecfa"}.ez-icon-incoming-call:before{content:"\\ecfb"}.ez-icon-industry:before{content:"\\ecfc"}.ez-icon-info-circle:before{content:"\\ecfd"}.ez-icon-info:before{content:"\\ecfe"}.ez-icon-instagram-alt:before{content:"\\ecff"}.ez-icon-instagram:before{content:"\\ed00"}.ez-icon-intercom-alt:before{content:"\\ed01"}.ez-icon-intercom:before{content:"\\ed02"}.ez-icon-invoice:before{content:"\\ed03"}.ez-icon-italic:before{content:"\\ed04"}.ez-icon-jackhammer:before{content:"\\ed05"}.ez-icon-java-script:before{content:"\\ed06"}.ez-icon-kayak:before{content:"\\ed07"}.ez-icon-key-skeleton-alt:before{content:"\\ed08"}.ez-icon-key-skeleton:before{content:"\\ed09"}.ez-icon-keyboard-alt:before{content:"\\ed0a"}.ez-icon-keyboard-hide:before{content:"\\ed0b"}.ez-icon-keyboard-show:before{content:"\\ed0c"}.ez-icon-keyboard:before{content:"\\ed0d"}.ez-icon-keyhole-circle:before{content:"\\ed0e"}.ez-icon-keyhole-square-full:before{content:"\\ed0f"}.ez-icon-keyhole-square:before{content:"\\ed10"}.ez-icon-kid:before{content:"\\ed11"}.ez-icon-label-alt:before{content:"\\ed12"}.ez-icon-label:before{content:"\\ed13"}.ez-icon-lamp:before{content:"\\ed14"}.ez-icon-language-2:before{content:"\\ed15"}.ez-icon-language:before{content:"\\ed16"}.ez-icon-laptop-cloud:before{content:"\\ed17"}.ez-icon-laptop-connection:before{content:"\\ed18"}.ez-icon-laptop:before{content:"\\ed19"}.ez-icon-laughing:before{content:"\\ed1a"}.ez-icon-launch:before{content:"\\ed1b"}.ez-icon-layer-group-slash:before{content:"\\ed1c"}.ez-icon-layer-group:before{content:"\\ed1d"}.ez-icon-layers-alt:before{content:"\\ed1e"}.ez-icon-layers-slash:before{content:"\\ed1f"}.ez-icon-layers:before{content:"\\ed20"}.ez-icon-left-arrow-from-left:before{content:"\\ed21"}.ez-icon-left-arrow-to-left:before{content:"\\ed22"}.ez-icon-left-indent-alt:before{content:"\\ed23"}.ez-icon-left-indent:before{content:"\\ed24"}.ez-icon-left-to-right-text-direction:before{content:"\\ed25"}.ez-icon-left:before{content:"\\ed26"}.ez-icon-letter-chinese-a:before{content:"\\ed27"}.ez-icon-letter-english-a:before{content:"\\ed28"}.ez-icon-letter-hindi-a:before{content:"\\ed29"}.ez-icon-letter-japanese-a:before{content:"\\ed2a"}.ez-icon-life-ring:before{content:"\\ed2b"}.ez-icon-lightbulb-2:before{content:"\\ed2c"}.ez-icon-lightbulb-alt:before{content:"\\ed2d"}.ez-icon-lightbulb:before{content:"\\ed2e"}.ez-icon-line-alt:before{content:"\\ed2f"}.ez-icon-line-spacing:before{content:"\\ed30"}.ez-icon-line:before{content:"\\ed31"}.ez-icon-link-add:before{content:"\\ed32"}.ez-icon-link-alt:before{content:"\\ed33"}.ez-icon-link-broken:before{content:"\\ed34"}.ez-icon-link-h:before{content:"\\ed35"}.ez-icon-link:before{content:"\\ed36"}.ez-icon-linkedin-alt:before{content:"\\ed37"}.ez-icon-linkedin:before{content:"\\ed38"}.ez-icon-linux:before{content:"\\ed39"}.ez-icon-lira-sign:before{content:"\\ed3a"}.ez-icon-list-ol-alt:before{content:"\\ed3b"}.ez-icon-list-ol:before{content:"\\ed3c"}.ez-icon-list-ui-alt:before{content:"\\ed3d"}.ez-icon-list-ul:before{content:"\\ed3e"}.ez-icon-list:before{content:"\\ed3f"}.ez-icon-location-arrow-alt:before{content:"\\ed40"}.ez-icon-location-arrow:before{content:"\\ed41"}.ez-icon-location-pin-alt:before{content:"\\ed42"}.ez-icon-location-point:before{content:"\\ed43"}.ez-icon-location:before{content:"\\ed44"}.ez-icon-lock-2:before{content:"\\ed45"}.ez-icon-lock-access:before{content:"\\ed46"}.ez-icon-lock-alt:before{content:"\\ed47"}.ez-icon-lock-open-alt:before{content:"\\ed48"}.ez-icon-lock-outline:before{content:"\\ed49"}.ez-icon-lock-slash:before{content:"\\ed4a"}.ez-icon-lock:before{content:"\\ed4b"}.ez-icon-lottiefiles-alt:before{content:"\\ed4c"}.ez-icon-lottiefiles:before{content:"\\ed4d"}.ez-icon-luggage-cart:before{content:"\\ed4e"}.ez-icon-mailbox-alt:before{content:"\\ed4f"}.ez-icon-mailbox:before{content:"\\ed50"}.ez-icon-map-marker-alt:before{content:"\\ed51"}.ez-icon-map-marker-edit:before{content:"\\ed52"}.ez-icon-map-marker-info:before{content:"\\ed53"}.ez-icon-map-marker-minus:before{content:"\\ed54"}.ez-icon-map-marker-plus:before{content:"\\ed55"}.ez-icon-map-marker-question:before{content:"\\ed56"}.ez-icon-map-marker-shield:before{content:"\\ed57"}.ez-icon-map-marker-slash:before{content:"\\ed58"}.ez-icon-map-marker:before{content:"\\ed59"}.ez-icon-map-pin-alt:before{content:"\\ed5a"}.ez-icon-map-pin:before{content:"\\ed5b"}.ez-icon-map:before{content:"\\ed5c"}.ez-icon-mars:before{content:"\\ed5d"}.ez-icon-master-card:before{content:"\\ed5e"}.ez-icon-maximize-left:before{content:"\\ed5f"}.ez-icon-medal:before{content:"\\ed60"}.ez-icon-medical-drip:before{content:"\\ed61"}.ez-icon-medical-square-full:before{content:"\\ed62"}.ez-icon-medical-square:before{content:"\\ed63"}.ez-icon-medium-m:before{content:"\\ed64"}.ez-icon-medkit:before{content:"\\ed65"}.ez-icon-meeting-board:before{content:"\\ed66"}.ez-icon-megaphone:before{content:"\\ed67"}.ez-icon-meh-alt:before{content:"\\ed68"}.ez-icon-meh-closed-eye:before{content:"\\ed69"}.ez-icon-meh:before{content:"\\ed6a"}.ez-icon-menu:before{content:"\\ed6b"}.ez-icon-message:before{content:"\\ed6c"}.ez-icon-metro:before{content:"\\ed6d"}.ez-icon-microphone-slash:before{content:"\\ed6e"}.ez-icon-microphone:before{content:"\\ed6f"}.ez-icon-microscope:before{content:"\\ed70"}.ez-icon-microsoft:before{content:"\\ed71"}.ez-icon-mid:before{content:"\\ed72"}.ez-icon-minus-2:before{content:"\\ed73"}.ez-icon-minus-circle:before{content:"\\ed74"}.ez-icon-minus-path:before{content:"\\ed75"}.ez-icon-minus-square-full:before{content:"\\ed76"}.ez-icon-minus-square:before{content:"\\ed77"}.ez-icon-minus:before{content:"\\ed78"}.ez-icon-missed-call:before{content:"\\ed79"}.ez-icon-mobile-android-alt:before{content:"\\ed7a"}.ez-icon-mobile-android:before{content:"\\ed7b"}.ez-icon-mobile-vibrate:before{content:"\\ed7c"}.ez-icon-modem:before{content:"\\ed7d"}.ez-icon-module-empty:before{content:"\\ed7e"}.ez-icon-money-bill-slash:before{content:"\\ed7f"}.ez-icon-money-bill-stack:before{content:"\\ed80"}.ez-icon-money-bill:before{content:"\\ed81"}.ez-icon-money-insert:before{content:"\\ed82"}.ez-icon-money-off:before{content:"\\ed83"}.ez-icon-money-stack:before{content:"\\ed84"}.ez-icon-money-withdraw:before{content:"\\ed85"}.ez-icon-money-withdrawal:before{content:"\\ed86"}.ez-icon-money:before{content:"\\ed87"}.ez-icon-moneybag-alt:before{content:"\\ed88"}.ez-icon-moneybag:before{content:"\\ed89"}.ez-icon-monitor-heart-rate:before{content:"\\ed8a"}.ez-icon-monitor:before{content:"\\ed8b"}.ez-icon-moon-eclipse:before{content:"\\ed8c"}.ez-icon-moon:before{content:"\\ed8d"}.ez-icon-moonset:before{content:"\\ed8e"}.ez-icon-more:before{content:"\\ed8f"}.ez-icon-mountains-sun:before{content:"\\ed90"}.ez-icon-mountains:before{content:"\\ed91"}.ez-icon-mouse-alt-2:before{content:"\\ed92"}.ez-icon-mouse-alt:before{content:"\\ed93"}.ez-icon-mouse:before{content:"\\ed94"}.ez-icon-mp3:before{content:"\\ed95"}.ez-icon-mp4:before{content:"\\ed96"}.ez-icon-multiple-files:before{content:"\\ed97"}.ez-icon-multiply:before{content:"\\ed98"}.ez-icon-music-note:before{content:"\\ed99"}.ez-icon-music-tune-slash:before{content:"\\ed9a"}.ez-icon-music:before{content:"\\ed9b"}.ez-icon-n-a:before{content:"\\ed9c"}.ez-icon-navigator:before{content:"\\ed9d"}.ez-icon-nerd:before{content:"\\ed9e"}.ez-icon-newspaper:before{content:"\\ed9f"}.ez-icon-ninja:before{content:"\\eda0"}.ez-icon-no-entry:before{content:"\\eda1"}.ez-icon-north-west:before{content:"\\eda2"}.ez-icon-notebooks:before{content:"\\eda3"}.ez-icon-notes:before{content:"\\eda4"}.ez-icon-number:before{content:"\\eda5"}.ez-icon-object-group:before{content:"\\eda6"}.ez-icon-object-ungroup:before{content:"\\eda7"}.ez-icon-octagon:before{content:"\\eda8"}.ez-icon-okta:before{content:"\\eda9"}.ez-icon-opera-alt:before{content:"\\edaa"}.ez-icon-opera:before{content:"\\edab"}.ez-icon-ordem-ascendente:before{content:"\\edac"}.ez-icon-ordem-descendente:before{content:"\\edad"}.ez-icon-outgoing-call:before{content:"\\edae"}.ez-icon-package:before{content:"\\edaf"}.ez-icon-padlock:before{content:"\\edb0"}.ez-icon-pagelines:before{content:"\\edb1"}.ez-icon-pagerduty:before{content:"\\edb2"}.ez-icon-paint-tool:before{content:"\\edb3"}.ez-icon-palette:before{content:"\\edb4"}.ez-icon-panel-add:before{content:"\\edb5"}.ez-icon-panorama-h-alt:before{content:"\\edb6"}.ez-icon-panorama-h:before{content:"\\edb7"}.ez-icon-panorama-v:before{content:"\\edb8"}.ez-icon-paperclip:before{content:"\\edb9"}.ez-icon-paragraph:before{content:"\\edba"}.ez-icon-parcel:before{content:"\\edbb"}.ez-icon-parcelar:before{content:"\\edbc"}.ez-icon-parking-circle:before{content:"\\edbd"}.ez-icon-parking-square:before{content:"\\edbe"}.ez-icon-pathfinder-unite:before{content:"\\edbf"}.ez-icon-pathfinder:before{content:"\\edc0"}.ez-icon-pause-circle:before{content:"\\edc1"}.ez-icon-pause:before{content:"\\edc2"}.ez-icon-payments:before{content:"\\edc3"}.ez-icon-paypal:before{content:"\\edc4"}.ez-icon-pdf:before{content:"\\edc5"}.ez-icon-pen:before{content:"\\edc6"}.ez-icon-pentagon:before{content:"\\edc7"}.ez-icon-percentage:before{content:"\\edc8"}.ez-icon-phone-alt:before{content:"\\edc9"}.ez-icon-phone-pause:before{content:"\\edca"}.ez-icon-phone-slash:before{content:"\\edcb"}.ez-icon-phone-times:before{content:"\\edcc"}.ez-icon-phone-volume:before{content:"\\edcd"}.ez-icon-phone:before{content:"\\edce"}.ez-icon-picture:before{content:"\\edcf"}.ez-icon-pizza-slice:before{content:"\\edd0"}.ez-icon-plane-arrival:before{content:"\\edd1"}.ez-icon-plane-departure:before{content:"\\edd2"}.ez-icon-plane-fly:before{content:"\\edd3"}.ez-icon-plane:before{content:"\\edd4"}.ez-icon-play-2:before{content:"\\edd5"}.ez-icon-play-circle:before{content:"\\edd6"}.ez-icon-play:before{content:"\\edd7"}.ez-icon-plug:before{content:"\\edd8"}.ez-icon-plus-2:before{content:"\\edd9"}.ez-icon-plus-circle:before{content:"\\edda"}.ez-icon-plus-square:before{content:"\\eddb"}.ez-icon-plus:before{content:"\\eddc"}.ez-icon-png:before{content:"\\eddd"}.ez-icon-podium:before{content:"\\edde"}.ez-icon-polygon:before{content:"\\eddf"}.ez-icon-post-stamp:before{content:"\\ede0"}.ez-icon-postcard:before{content:"\\ede1"}.ez-icon-pound-circle:before{content:"\\ede2"}.ez-icon-pound:before{content:"\\ede3"}.ez-icon-power-2:before{content:"\\ede4"}.ez-icon-power:before{content:"\\ede5"}.ez-icon-pptx:before{content:"\\ede6"}.ez-icon-prescription-bottle:before{content:"\\ede7"}.ez-icon-presentation-check:before{content:"\\ede8"}.ez-icon-presentation-edit:before{content:"\\ede9"}.ez-icon-presentation-line:before{content:"\\edea"}.ez-icon-presentation-lines-alt:before{content:"\\edeb"}.ez-icon-presentation-minus:before{content:"\\edec"}.ez-icon-presentation-play:before{content:"\\eded"}.ez-icon-presentation-plus:before{content:"\\edee"}.ez-icon-presentation-times:before{content:"\\edef"}.ez-icon-presentation:before{content:"\\edf0"}.ez-icon-preview:before{content:"\\edf1"}.ez-icon-previous:before{content:"\\edf2"}.ez-icon-pricetag-alt:before{content:"\\edf3"}.ez-icon-print-2:before{content:"\\edf4"}.ez-icon-print-slash:before{content:"\\edf5"}.ez-icon-print:before{content:"\\edf6"}.ez-icon-process:before{content:"\\edf7"}.ez-icon-processor:before{content:"\\edf8"}.ez-icon-production-fit:before{content:"\\edf9"}.ez-icon-production:before{content:"\\edfa"}.ez-icon-programming-language:before{content:"\\edfb"}.ez-icon-pump:before{content:"\\edfc"}.ez-icon-push-pin:before{content:"\\edfd"}.ez-icon-puzzle-piece:before{content:"\\edfe"}.ez-icon-qrcode-scan:before{content:"\\edff"}.ez-icon-question-circle:before{content:"\\ee00"}.ez-icon-question:before{content:"\\ee01"}.ez-icon-rainbow:before{content:"\\ee02"}.ez-icon-raindrops-alt:before{content:"\\ee03"}.ez-icon-raindrops:before{content:"\\ee04"}.ez-icon-rateio:before{content:"\\ee05"}.ez-icon-react:before{content:"\\ee06"}.ez-icon-receipt-2:before{content:"\\ee07"}.ez-icon-receipt-alt:before{content:"\\ee08"}.ez-icon-receipt:before{content:"\\ee09"}.ez-icon-recolher_card:before{content:"\\ee0a"}.ez-icon-record-audio:before{content:"\\ee0b"}.ez-icon-reddit-alien-alt:before{content:"\\ee0c"}.ez-icon-redo:before{content:"\\ee0d"}.ez-icon-refresh:before{content:"\\ee0e"}.ez-icon-registered:before{content:"\\ee0f"}.ez-icon-remove-from-cart:before{content:"\\ee10"}.ez-icon-repeat:before{content:"\\ee11"}.ez-icon-restaurant:before{content:"\\ee12"}.ez-icon-restore:before{content:"\\ee13"}.ez-icon-return:before{content:"\\ee14"}.ez-icon-right-indent-alt:before{content:"\\ee15"}.ez-icon-right-to-left-text-direction:before{content:"\\ee16"}.ez-icon-robot:before{content:"\\ee17"}.ez-icon-rocket:before{content:"\\ee18"}.ez-icon-rope-way:before{content:"\\ee19"}.ez-icon-rotate-360:before{content:"\\ee1a"}.ez-icon-rss-alt:before{content:"\\ee1b"}.ez-icon-rss-interface:before{content:"\\ee1c"}.ez-icon-rss:before{content:"\\ee1d"}.ez-icon-ruler-combined:before{content:"\\ee1e"}.ez-icon-ruler:before{content:"\\ee1f"}.ez-icon-rupee-sign:before{content:"\\ee20"}.ez-icon-sad-cry:before{content:"\\ee21"}.ez-icon-sad-crying:before{content:"\\ee22"}.ez-icon-sad-dizzy:before{content:"\\ee23"}.ez-icon-sad-squint:before{content:"\\ee24"}.ez-icon-sad:before{content:"\\ee25"}.ez-icon-sanitizer-alt:before{content:"\\ee26"}.ez-icon-sanitizer:before{content:"\\ee27"}.ez-icon-sankhya-place:before{content:"\\ee28"}.ez-icon-save-2:before{content:"\\ee29"}.ez-icon-save:before{content:"\\ee2a"}.ez-icon-scaling-left:before{content:"\\ee2b"}.ez-icon-scaling-right:before{content:"\\ee2c"}.ez-icon-scenery:before{content:"\\ee2d"}.ez-icon-schedule:before{content:"\\ee2e"}.ez-icon-screw:before{content:"\\ee2f"}.ez-icon-scroll-h:before{content:"\\ee30"}.ez-icon-scroll:before{content:"\\ee31"}.ez-icon-search-2:before{content:"\\ee32"}.ez-icon-search-alt:before{content:"\\ee33"}.ez-icon-search-minus:before{content:"\\ee34"}.ez-icon-search-plus:before{content:"\\ee35"}.ez-icon-search:before{content:"\\ee36"}.ez-icon-selfie:before{content:"\\ee37"}.ez-icon-server-alt:before{content:"\\ee38"}.ez-icon-server-connection:before{content:"\\ee39"}.ez-icon-server-network-alt:before{content:"\\ee3a"}.ez-icon-server-network:before{content:"\\ee3b"}.ez-icon-server:before{content:"\\ee3c"}.ez-icon-servers:before{content:"\\ee3d"}.ez-icon-servicemark:before{content:"\\ee3e"}.ez-icon-setting:before{content:"\\ee3f"}.ez-icon-settings-inverted:before{content:"\\ee40"}.ez-icon-settings:before{content:"\\ee41"}.ez-icon-share-2:before{content:"\\ee42"}.ez-icon-share-alt:before{content:"\\ee43"}.ez-icon-share:before{content:"\\ee44"}.ez-icon-shield-2:before{content:"\\ee45"}.ez-icon-shield-check:before{content:"\\ee46"}.ez-icon-shield-exclamation:before{content:"\\ee47"}.ez-icon-shield-plus:before{content:"\\ee48"}.ez-icon-shield-question:before{content:"\\ee49"}.ez-icon-shield-slash:before{content:"\\ee4a"}.ez-icon-shield:before{content:"\\ee4b"}.ez-icon-ship:before{content:"\\ee4c"}.ez-icon-shop:before{content:"\\ee4d"}.ez-icon-shopping-bag:before{content:"\\ee4e"}.ez-icon-shopping-basket:before{content:"\\ee4f"}.ez-icon-shopping-cart-alt:before{content:"\\ee50"}.ez-icon-shopping-cart:before{content:"\\ee51"}.ez-icon-shovel:before{content:"\\ee52"}.ez-icon-show-list:before{content:"\\ee53"}.ez-icon-show_menu:before{content:"\\ee54"}.ez-icon-shrink:before{content:"\\ee55"}.ez-icon-shuffle:before{content:"\\ee56"}.ez-icon-shutter-alt:before{content:"\\ee57"}.ez-icon-shutter:before{content:"\\ee58"}.ez-icon-sick:before{content:"\\ee59"}.ez-icon-sigma:before{content:"\\ee5a"}.ez-icon-sign-alt:before{content:"\\ee5b"}.ez-icon-sign-in-alt:before{content:"\\ee5c"}.ez-icon-sign-left:before{content:"\\ee5d"}.ez-icon-sign-out-alt:before{content:"\\ee5e"}.ez-icon-sign-right:before{content:"\\ee5f"}.ez-icon-signal-alt-3:before{content:"\\ee60"}.ez-icon-signal-alt:before{content:"\\ee61"}.ez-icon-signal:before{content:"\\ee62"}.ez-icon-signin:before{content:"\\ee63"}.ez-icon-signout:before{content:"\\ee64"}.ez-icon-silence:before{content:"\\ee65"}.ez-icon-silent-squint:before{content:"\\ee66"}.ez-icon-sim-card:before{content:"\\ee67"}.ez-icon-sitemap:before{content:"\\ee68"}.ez-icon-skip-forward-alt:before{content:"\\ee69"}.ez-icon-skip-forward-circle:before{content:"\\ee6a"}.ez-icon-skip-forward:before{content:"\\ee6b"}.ez-icon-skype-alt:before{content:"\\ee6c"}.ez-icon-skype:before{content:"\\ee6d"}.ez-icon-slack-alt:before{content:"\\ee6e"}.ez-icon-slack:before{content:"\\ee6f"}.ez-icon-sleep:before{content:"\\ee70"}.ez-icon-slider-h-range:before{content:"\\ee71"}.ez-icon-slider-h:before{content:"\\ee72"}.ez-icon-sliders-v-alt:before{content:"\\ee73"}.ez-icon-sliders-v:before{content:"\\ee74"}.ez-icon-smile-beam:before{content:"\\ee75"}.ez-icon-smile-dizzy:before{content:"\\ee76"}.ez-icon-smile-squint-wink-alt:before{content:"\\ee77"}.ez-icon-smile-squint-wink:before{content:"\\ee78"}.ez-icon-smile-wink-alt:before{content:"\\ee79"}.ez-icon-smile-wink:before{content:"\\ee7a"}.ez-icon-smile:before{content:"\\ee7b"}.ez-icon-snapchat-alt:before{content:"\\ee7c"}.ez-icon-snapchat-ghost:before{content:"\\ee7d"}.ez-icon-snapchat-square:before{content:"\\ee7e"}.ez-icon-snow-flake:before{content:"\\ee7f"}.ez-icon-snowflake-alt:before{content:"\\ee80"}.ez-icon-snowflake:before{content:"\\ee81"}.ez-icon-social-distancing:before{content:"\\ee82"}.ez-icon-solid:before{content:"\\ee83"}.ez-icon-sort-amount-down:before{content:"\\ee84"}.ez-icon-sort-amount-up:before{content:"\\ee85"}.ez-icon-sort:before{content:"\\ee86"}.ez-icon-sorting:before{content:"\\ee87"}.ez-icon-south-east:before{content:"\\ee88"}.ez-icon-space-key:before{content:"\\ee89"}.ez-icon-spade:before{content:"\\ee8a"}.ez-icon-sperms:before{content:"\\ee8b"}.ez-icon-spin:before{content:"\\ee8c"}.ez-icon-spinner-alt:before{content:"\\ee8d"}.ez-icon-spinner:before{content:"\\ee8e"}.ez-icon-square-full:before{content:"\\ee8f"}.ez-icon-square-shape:before{content:"\\ee90"}.ez-icon-square:before{content:"\\ee91"}.ez-icon-squint:before{content:"\\ee92"}.ez-icon-star-half-alt:before{content:"\\ee93"}.ez-icon-star:before{content:"\\ee94"}.ez-icon-statistics:before{content:"\\ee95"}.ez-icon-step-backward-alt:before{content:"\\ee96"}.ez-icon-step-backward-circle:before{content:"\\ee97"}.ez-icon-step-backward:before{content:"\\ee98"}.ez-icon-step-forward:before{content:"\\ee99"}.ez-icon-stethoscope-alt:before{content:"\\ee9a"}.ez-icon-stethoscope:before{content:"\\ee9b"}.ez-icon-stop-circle:before{content:"\\ee9c"}.ez-icon-stopwatch-slash:before{content:"\\ee9d"}.ez-icon-stopwatch:before{content:"\\ee9e"}.ez-icon-store-alt:before{content:"\\ee9f"}.ez-icon-store-slash:before{content:"\\eea0"}.ez-icon-store:before{content:"\\eea1"}.ez-icon-stretcher:before{content:"\\eea2"}.ez-icon-stroller:before{content:"\\eea3"}.ez-icon-subject:before{content:"\\eea4"}.ez-icon-subway-alt:before{content:"\\eea5"}.ez-icon-subway:before{content:"\\eea6"}.ez-icon-suitcase-alt:before{content:"\\eea7"}.ez-icon-suitcase:before{content:"\\eea8"}.ez-icon-sun:before{content:"\\eea9"}.ez-icon-sunset:before{content:"\\eeaa"}.ez-icon-surprise:before{content:"\\eeab"}.ez-icon-swatchbook:before{content:"\\eeac"}.ez-icon-swiggy:before{content:"\\eead"}.ez-icon-swimmer:before{content:"\\eeae"}.ez-icon-sync-2:before{content:"\\eeaf"}.ez-icon-sync-exclamation:before{content:"\\eeb0"}.ez-icon-sync-slash:before{content:"\\eeb1"}.ez-icon-sync:before{content:"\\eeb2"}.ez-icon-syringe:before{content:"\\eeb3"}.ez-icon-table-2:before{content:"\\eeb4"}.ez-icon-table-tennis:before{content:"\\eeb5"}.ez-icon-table:before{content:"\\eeb6"}.ez-icon-tablet:before{content:"\\eeb7"}.ez-icon-tablets:before{content:"\\eeb8"}.ez-icon-tachometer-fast-alt:before{content:"\\eeb9"}.ez-icon-tachometer-fast:before{content:"\\eeba"}.ez-icon-tag-alt:before{content:"\\eebb"}.ez-icon-tag:before{content:"\\eebc"}.ez-icon-tag_code:before{content:"\\eebd"}.ez-icon-tape:before{content:"\\eebe"}.ez-icon-taxi:before{content:"\\eebf"}.ez-icon-tear:before{content:"\\eec0"}.ez-icon-telegram-alt:before{content:"\\eec1"}.ez-icon-telegram:before{content:"\\eec2"}.ez-icon-telescope:before{content:"\\eec3"}.ez-icon-temperature-empty:before{content:"\\eec4"}.ez-icon-temperature-half:before{content:"\\eec5"}.ez-icon-temperature-minus:before{content:"\\eec6"}.ez-icon-temperature-plus:before{content:"\\eec7"}.ez-icon-temperature-quarter:before{content:"\\eec8"}.ez-icon-temperature-three-quarter:before{content:"\\eec9"}.ez-icon-temperature:before{content:"\\eeca"}.ez-icon-tennis-ball:before{content:"\\eecb"}.ez-icon-text-2:before{content:"\\eecc"}.ez-icon-text-fields:before{content:"\\eecd"}.ez-icon-text-size:before{content:"\\eece"}.ez-icon-text-strike-through:before{content:"\\eecf"}.ez-icon-text:before{content:"\\eed0"}.ez-icon-th-large:before{content:"\\eed1"}.ez-icon-th-slash:before{content:"\\eed2"}.ez-icon-th:before{content:"\\eed3"}.ez-icon-thermometer:before{content:"\\eed4"}.ez-icon-thumbs-down:before{content:"\\eed5"}.ez-icon-thumbs-up:before{content:"\\eed6"}.ez-icon-thunderstorm-moon:before{content:"\\eed7"}.ez-icon-thunderstorm-sun:before{content:"\\eed8"}.ez-icon-thunderstorm:before{content:"\\eed9"}.ez-icon-ticket:before{content:"\\eeda"}.ez-icon-timeline:before{content:"\\eedb"}.ez-icon-timer-outline:before{content:"\\eedc"}.ez-icon-times-circle:before{content:"\\eedd"}.ez-icon-times-square:before{content:"\\eede"}.ez-icon-times:before{content:"\\eedf"}.ez-icon-toggle-off:before{content:"\\eee0"}.ez-icon-toggle-on:before{content:"\\eee1"}.ez-icon-toilet-paper:before{content:"\\eee2"}.ez-icon-top-arrow-from-top:before{content:"\\eee3"}.ez-icon-top-arrow-to-top:before{content:"\\eee4"}.ez-icon-tornado:before{content:"\\eee5"}.ez-icon-trademark-circle:before{content:"\\eee6"}.ez-icon-trademark:before{content:"\\eee7"}.ez-icon-traffic-barrier:before{content:"\\eee8"}.ez-icon-traffic-light:before{content:"\\eee9"}.ez-icon-transaction:before{content:"\\eeea"}.ez-icon-trash-alt:before{content:"\\eeeb"}.ez-icon-trash:before{content:"\\eeec"}.ez-icon-trees:before{content:"\\eeed"}.ez-icon-trending-up:before{content:"\\eeee"}.ez-icon-triangle:before{content:"\\eeef"}.ez-icon-trophy:before{content:"\\eef0"}.ez-icon-trowel:before{content:"\\eef1"}.ez-icon-truck-loading:before{content:"\\eef2"}.ez-icon-truck:before{content:"\\eef3"}.ez-icon-tumblr-alt:before{content:"\\eef4"}.ez-icon-tumblr-square:before{content:"\\eef5"}.ez-icon-tumblr:before{content:"\\eef6"}.ez-icon-tune:before{content:"\\eef7"}.ez-icon-tv-retro-slash:before{content:"\\eef8"}.ez-icon-tv-retro:before{content:"\\eef9"}.ez-icon-twitter-alt:before{content:"\\eefa"}.ez-icon-twitter:before{content:"\\eefb"}.ez-icon-txt:before{content:"\\eefc"}.ez-icon-umbrella:before{content:"\\eefd"}.ez-icon-un-pin:before{content:"\\eefe"}.ez-icon-unamused:before{content:"\\eeff"}.ez-icon-underline:before{content:"\\ef00"}.ez-icon-undo:before{content:"\\ef01"}.ez-icon-unfold_less:before{content:"\\ef02"}.ez-icon-unfold_more:before{content:"\\ef03"}.ez-icon-university:before{content:"\\ef04"}.ez-icon-unlock-alt:before{content:"\\ef05"}.ez-icon-unlock:before{content:"\\ef06"}.ez-icon-upload-alt:before{content:"\\ef07"}.ez-icon-upload:before{content:"\\ef08"}.ez-icon-usd-circle:before{content:"\\ef09"}.ez-icon-usd-square:before{content:"\\ef0a"}.ez-icon-user-arrows:before{content:"\\ef0b"}.ez-icon-user-check:before{content:"\\ef0c"}.ez-icon-user-circle-2:before{content:"\\ef0d"}.ez-icon-user-circle:before{content:"\\ef0e"}.ez-icon-user-exclamation:before{content:"\\ef0f"}.ez-icon-user-location:before{content:"\\ef10"}.ez-icon-user-md:before{content:"\\ef11"}.ez-icon-user-minus:before{content:"\\ef12"}.ez-icon-user-nurse:before{content:"\\ef13"}.ez-icon-user-plus:before{content:"\\ef14"}.ez-icon-user-square:before{content:"\\ef15"}.ez-icon-user-times:before{content:"\\ef16"}.ez-icon-user:before{content:"\\ef17"}.ez-icon-users-alt:before{content:"\\ef18"}.ez-icon-utensils-alt:before{content:"\\ef19"}.ez-icon-utensils:before{content:"\\ef1a"}.ez-icon-vector-square-alt:before{content:"\\ef1b"}.ez-icon-vector-square:before{content:"\\ef1c"}.ez-icon-venus:before{content:"\\ef1d"}.ez-icon-vertical-align-bottom:before{content:"\\ef1e"}.ez-icon-vertical-align-center:before{content:"\\ef1f"}.ez-icon-vertical-align-top:before{content:"\\ef20"}.ez-icon-vertical-distribute-bottom:before{content:"\\ef21"}.ez-icon-vertical-distribution-center:before{content:"\\ef22"}.ez-icon-vertical-distribution-top:before{content:"\\ef23"}.ez-icon-video-question:before{content:"\\ef24"}.ez-icon-video-slash:before{content:"\\ef25"}.ez-icon-video:before{content:"\\ef26"}.ez-icon-virus-slash:before{content:"\\ef27"}.ez-icon-visual-studio:before{content:"\\ef28"}.ez-icon-vk-alt:before{content:"\\ef29"}.ez-icon-vk:before{content:"\\ef2a"}.ez-icon-voicemail-rectangle:before{content:"\\ef2b"}.ez-icon-voicemail:before{content:"\\ef2c"}.ez-icon-volume-down:before{content:"\\ef2d"}.ez-icon-volume-mute:before{content:"\\ef2e"}.ez-icon-volume-off:before{content:"\\ef2f"}.ez-icon-volume-up:before{content:"\\ef30"}.ez-icon-volume:before{content:"\\ef31"}.ez-icon-vuejs-alt:before{content:"\\ef32"}.ez-icon-vuejs:before{content:"\\ef33"}.ez-icon-wall:before{content:"\\ef34"}.ez-icon-wallet:before{content:"\\ef35"}.ez-icon-warning-outline:before{content:"\\ef36"}.ez-icon-warning_triangle:before{content:"\\ef37"}.ez-icon-watch-alt:before{content:"\\ef38"}.ez-icon-watch:before{content:"\\ef39"}.ez-icon-water-drop-slash:before{content:"\\ef3a"}.ez-icon-water-glass:before{content:"\\ef3b"}.ez-icon-water:before{content:"\\ef3c"}.ez-icon-web-grid-alt:before{content:"\\ef3d"}.ez-icon-web-grid:before{content:"\\ef3e"}.ez-icon-web-section-alt:before{content:"\\ef3f"}.ez-icon-web-section:before{content:"\\ef40"}.ez-icon-webcam:before{content:"\\ef41"}.ez-icon-weight:before{content:"\\ef42"}.ez-icon-whatsapp-alt:before{content:"\\ef43"}.ez-icon-whatsapp:before{content:"\\ef44"}.ez-icon-whatshot:before{content:"\\ef45"}.ez-icon-wheel-barrow:before{content:"\\ef46"}.ez-icon-wheelchair-alt:before{content:"\\ef47"}.ez-icon-wheelchair:before{content:"\\ef48"}.ez-icon-wifi-router:before{content:"\\ef49"}.ez-icon-wifi-slash:before{content:"\\ef4a"}.ez-icon-wifi:before{content:"\\ef4b"}.ez-icon-wind-moon:before{content:"\\ef4c"}.ez-icon-wind-sun:before{content:"\\ef4d"}.ez-icon-wind:before{content:"\\ef4e"}.ez-icon-window-grid:before{content:"\\ef4f"}.ez-icon-window-maximize:before{content:"\\ef50"}.ez-icon-window-restore:before{content:"\\ef51"}.ez-icon-window-section:before{content:"\\ef52"}.ez-icon-window:before{content:"\\ef53"}.ez-icon-windows:before{content:"\\ef54"}.ez-icon-windsock:before{content:"\\ef55"}.ez-icon-windy:before{content:"\\ef56"}.ez-icon-wordpress-simple:before{content:"\\ef57"}.ez-icon-wordpress:before{content:"\\ef58"}.ez-icon-wrap-text:before{content:"\\ef59"}.ez-icon-wrench:before{content:"\\ef5a"}.ez-icon-x-add:before{content:"\\ef5b"}.ez-icon-x:before{content:"\\ef5c"}.ez-icon-xlsx:before{content:"\\ef5d"}.ez-icon-yen-circle:before{content:"\\ef5e"}.ez-icon-yen:before{content:"\\ef5f"}.ez-icon-yin-yang:before{content:"\\ef60"}.ez-icon-youtube:before{content:"\\ef61"}.ez-icon-zip:before{content:"\\ef62"}.x-small--font{font-size:var(--font-size--small, 12px);line-height:var(--line-height--12, 12px)}.small--font{font-size:var(--font-size--medium, 16px);line-height:var(--line-height--16, 16px)}.medium--font{font-size:var(--font-size--xlarge, 20px);line-height:var(--line-height--20, 20px)}.large--font{font-size:var(--font-size--xxxlarge, 24px);line-height:var(--line-height--24, 24px)}.x-large--font{font-size:var(--font-size--6xlarge, 30px);line-height:var(--line-height--30, 30px)}';export{i as ez_icon}
@@ -1 +1 @@
1
- import{r as o,c as r,h as a,H as e,g as i}from"./p-23a36bb6.js";import{ElementIDUtils as t}from"@sankhyalabs/core";const d=class{constructor(a){o(this,a),this.ezChange=r(this,"ezChange",7),this.value=void 0,this.options=[],this.enabled=!0,this.label=void 0,this.direction="vertical"}componentDidLoad(){this.hostElement&&t.addIDInfo(this.hostElement,"input")}componentWillRender(){this._options=[...this.options];const o=this.hostElement.querySelectorAll("ez-radio-button-option");o&&o.forEach((o=>{let r=o.getAttribute("label"),a=o.getAttribute("value");this._options.push({label:r,value:a})}))}handleInputChange(o){this.value=o.target.value,this.ezChange.emit(this.value)}render(){return a(e,null,this.label&&a("label",{class:"label"},this.label),a("div",{class:"form form--"+this.direction},this._options.map(((o,r)=>a("div",{class:"form__group"},a("input",{id:"rad"+r,class:"form__radio",name:"theradio",type:"radio",value:o.value,onChange:o=>{this.handleInputChange(o)},disabled:!this.enabled,checked:o.value===this.value,"data-element-id":t.getInternalIDInfo(`input_${o.value}`)}),a("label",{htmlFor:"rad"+r,class:"form__label"},o.label))))))}get hostElement(){return i(this)}};d.style=":host{--ez-radio-button--font-family:var(--font-pattern, Arial);--ez-radio-button--font-size:var(--text--medium, 14px);--ez-radio-button--font-weight:var(--text-weight--large);--ez-radio-button--font-color:var(--title--primary, #2B3A54);--ez-radio-button--padding-vertical:var(--space--medium, 12px);--ez-radio-button--padding-horizontal:var(--space--small, 6px);--ez-radio-button__form-label--font-family:var(--font-pattern, Arial);--ez-radio-button__form-label--font-weight:var(--text-weight--medium, 400);--ez-radio-button__form-label--title-primary:var(--title--primary, #2B3A54);--ez-radio-button__form-label--font-size:var(--text--medium, 14px);--ez-radio-button__form-label--padding-horizontal:var(--space--medium, 12px);--ez-radio-button__form-radio--border-color:var(--title--primary, #2B3A54);--ez-radio-button__form-radio--checked--color:var(--color--primary, #008561);--ez-radio-button__form-radio--disabled--border-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--disabled--background-color:var(--background--medium, #f0f3f7);--ez-radio-button__form-radio--disabled--color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--disabled--before--background-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--focus--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--box-shadow-color:var(--background--strong, #e4eaf1);--ez-radio-button__form-radio--checked--focus--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--focus--box-shadow-color:var(--color--primary-300, #e2f4ef);--ez-radio-button__form-radio--checked--hover--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--hover--box-shadow-color:#daece7;--ez-radio-button__form-radio--hover--box-shadow-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--checked--disabled--hover--background-color:var(--background--medium, #f0f3f7);display:flex;width:100%;flex-direction:column;align-items:flex-start;box-sizing:border-box}.form{padding:var(--ez-radio-button--padding-vertical) var(--ez-radio-button--padding-horizontal);gap:var(--ez-radio-button__form-label--padding-horizontal)}.form--vertical{display:flex;flex-direction:column}.form--horizontal{display:flex;flex-direction:row}.form__group{display:grid;grid-template-columns:20px auto;align-items:center}.label{font-family:var(--ez-radio-button--font-family);font-size:var(--ez-radio-button--font-size);font-weight:var(--ez-radio-button--font-weight);color:var(--ez-radio-button--font-color)}.form__label{cursor:pointer;font-weight:var(--ez-radio-button__form-label--font-weight);color:var(--ez-radio-button__form-label--title-primary);font-family:var(--ez-radio-button__form-label--font-family);font-size:var(--ez-radio-button__form-label--font-size);padding-left:var(--ez-radio-button__form-label--padding-horizontal);padding-right:var(--ez-radio-button__form-label--padding-horizontal)}.form__radio{cursor:pointer;appearance:none;outline:none;position:relative;display:flex;align-items:center;justify-content:center;margin:0;padding:0;width:20px;height:20px;border-radius:50%;border:2px solid var(--ez-radio-button__form-radio--border-color)}.form__radio::before{content:'';display:block;position:absolute;opacity:0;transition:all 300ms ease-in-out;height:100%;width:100%;border-radius:50%;transform:scale(0.5);background:var(--ez-radio-button__form-radio--checked--color)}.form__radio:checked:before{opacity:1}.form__radio:checked{border:2px solid var(--ez-radio-button__form-radio--checked--color)}.form__radio:disabled{cursor:default;border:2px solid var(--ez-radio-button__form-radio--disabled--border-color);background-color:var(--ez-radio-button__form-radio--disabled--background-color)}.form__radio:disabled:hover{box-shadow:inherit}input[type=radio]:disabled~label{cursor:default;color:var(--ez-radio-button__form-radio--disabled--color)}.form__radio:disabled:before{background:var(--ez-radio-button__form-radio--disabled--before--background-color)}.form__radio:focus{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--focus--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--box-shadow-color)}.form__radio:checked:focus{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--checked--focus--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--focus--box-shadow-color)}.form__radio:checked:hover{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--checked--hover--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--hover--box-shadow-color)}.form__radio:hover{transition:0.25s linear;box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--hover--box-shadow-color)}.form__radio:checked:disabled:hover{box-shadow:none;background-color:var(--ez-radio-button__form-radio--checked--disabled--hover--background-color)}";export{d as ez_radio_button}
1
+ import{r as o,c as r,h as a,H as e,g as i}from"./p-e4c7eb39.js";import{ElementIDUtils as t}from"@sankhyalabs/core";const d=class{constructor(a){o(this,a),this.ezChange=r(this,"ezChange",7),this.value=void 0,this.options=[],this.enabled=!0,this.label=void 0,this.direction="vertical"}componentDidLoad(){this.hostElement&&t.addIDInfo(this.hostElement,"input")}componentWillRender(){this._options=[...this.options];const o=this.hostElement.querySelectorAll("ez-radio-button-option");o&&o.forEach((o=>{let r=o.getAttribute("label"),a=o.getAttribute("value");this._options.push({label:r,value:a})}))}handleInputChange(o){this.value=o.target.value,this.ezChange.emit(this.value)}render(){return a(e,null,this.label&&a("label",{class:"label"},this.label),a("div",{class:"form form--"+this.direction},this._options.map(((o,r)=>a("div",{class:"form__group"},a("input",{id:"rad"+r,class:"form__radio",name:"theradio",type:"radio",value:o.value,onChange:o=>{this.handleInputChange(o)},disabled:!this.enabled,checked:o.value===this.value,"data-element-id":t.getInternalIDInfo(`input_${o.value}`)}),a("label",{htmlFor:"rad"+r,class:"form__label"},o.label))))))}get hostElement(){return i(this)}};d.style=":host{--ez-radio-button--font-family:var(--font-pattern, Arial);--ez-radio-button--font-size:var(--text--medium, 14px);--ez-radio-button--font-weight:var(--text-weight--large);--ez-radio-button--font-color:var(--title--primary, #2B3A54);--ez-radio-button--padding-vertical:var(--space--medium, 12px);--ez-radio-button--padding-horizontal:var(--space--small, 6px);--ez-radio-button__form-label--font-family:var(--font-pattern, Arial);--ez-radio-button__form-label--font-weight:var(--text-weight--medium, 400);--ez-radio-button__form-label--title-primary:var(--title--primary, #2B3A54);--ez-radio-button__form-label--font-size:var(--text--medium, 14px);--ez-radio-button__form-label--padding-horizontal:var(--space--medium, 12px);--ez-radio-button__form-radio--border-color:var(--title--primary, #2B3A54);--ez-radio-button__form-radio--checked--color:var(--color--primary, #008561);--ez-radio-button__form-radio--disabled--border-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--disabled--background-color:var(--background--medium, #f0f3f7);--ez-radio-button__form-radio--disabled--color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--disabled--before--background-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--focus--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--box-shadow-color:var(--background--strong, #e4eaf1);--ez-radio-button__form-radio--checked--focus--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--focus--box-shadow-color:var(--color--primary-300, #e2f4ef);--ez-radio-button__form-radio--checked--hover--background-color:var(--color--inverted, #fff);--ez-radio-button__form-radio--checked--hover--box-shadow-color:#daece7;--ez-radio-button__form-radio--hover--box-shadow-color:var(--color--strokes, #dce0e8);--ez-radio-button__form-radio--checked--disabled--hover--background-color:var(--background--medium, #f0f3f7);display:flex;width:100%;flex-direction:column;align-items:flex-start;box-sizing:border-box}.form{padding:var(--ez-radio-button--padding-vertical) var(--ez-radio-button--padding-horizontal);gap:var(--ez-radio-button__form-label--padding-horizontal)}.form--vertical{display:flex;flex-direction:column}.form--horizontal{display:flex;flex-direction:row}.form__group{display:grid;grid-template-columns:20px auto;align-items:center}.label{font-family:var(--ez-radio-button--font-family);font-size:var(--ez-radio-button--font-size);font-weight:var(--ez-radio-button--font-weight);color:var(--ez-radio-button--font-color)}.form__label{cursor:pointer;font-weight:var(--ez-radio-button__form-label--font-weight);color:var(--ez-radio-button__form-label--title-primary);font-family:var(--ez-radio-button__form-label--font-family);font-size:var(--ez-radio-button__form-label--font-size);padding-left:var(--ez-radio-button__form-label--padding-horizontal);padding-right:var(--ez-radio-button__form-label--padding-horizontal)}.form__radio{cursor:pointer;appearance:none;outline:none;position:relative;display:flex;align-items:center;justify-content:center;margin:0;padding:0;width:20px;height:20px;border-radius:50%;border:2px solid var(--ez-radio-button__form-radio--border-color)}.form__radio::before{content:'';display:block;position:absolute;opacity:0;transition:all 300ms ease-in-out;height:100%;width:100%;border-radius:50%;transform:scale(0.5);background:var(--ez-radio-button__form-radio--checked--color)}.form__radio:checked:before{opacity:1}.form__radio:checked{border:2px solid var(--ez-radio-button__form-radio--checked--color)}.form__radio:disabled{cursor:default;border:2px solid var(--ez-radio-button__form-radio--disabled--border-color);background-color:var(--ez-radio-button__form-radio--disabled--background-color)}.form__radio:disabled:hover{box-shadow:inherit}input[type=radio]:disabled~label{cursor:default;color:var(--ez-radio-button__form-radio--disabled--color)}.form__radio:disabled:before{background:var(--ez-radio-button__form-radio--disabled--before--background-color)}.form__radio:focus{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--focus--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--box-shadow-color)}.form__radio:checked:focus{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--checked--focus--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--focus--box-shadow-color)}.form__radio:checked:hover{transition:0.25s linear;background-color:var(--ez-radio-button__form-radio--checked--hover--background-color);box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--checked--hover--box-shadow-color)}.form__radio:hover{transition:0.25s linear;box-shadow:0px 0px 0px 6px var(--ez-radio-button__form-radio--hover--box-shadow-color)}.form__radio:checked:disabled:hover{box-shadow:none;background-color:var(--ez-radio-button__form-radio--checked--disabled--hover--background-color)}";export{d as ez_radio_button}
@@ -1 +1 @@
1
- import{r as i,c as t,h as s,H as o,g as e}from"./p-23a36bb6.js";import{ElementIDUtils as h,KeyboardManager as a}from"@sankhyalabs/core";const c=class{constructor(s){i(this,s),this.ezChange=t(this,"ezChange",7),this.ezBlur=t(this,"ezBlur",7),this.iconClick=t(this,"iconClick",7),this.ezVisibilityChange=t(this,"ezVisibilityChange",7),this.ezType=t(this,"ezType",7),this._keyboardManager=void 0,this._boundHandleDocumentClick=this.handleDocumentClick.bind(this),this.popoverVisible=!1,this.hasSlotContent=!1,this.highlightedIndex=0,this.filteredOptions=[],this.inputValue="",this.value=null,this.label=void 0,this.placeholder=void 0,this.enabled=!0,this.required=!1,this.readonly=!1,this.name=void 0,this.state="default",this.size="default",this.helpText=void 0,this.errorMessage=void 0,this.iconName=void 0,this.titleIcon=void 0,this.iconClickable=!1,this.suppressSearch=!1,this.options=void 0,this.textEmptyOption=void 0,this.suppressEmptyOption=!1}async setFocus(i){var t;await(null===(t=this._inputElem)||void 0===t?void 0:t.setFocus(i))}async setBlur(){var i;await(null===(i=this._inputElem)||void 0===i?void 0:i.setBlur()),await this.hidePopover()}async showPopover(){var i,t,s;if(!this._popoverElem||!this._inputElem||this.popoverVisible)return;this.popoverVisible=!0;const o=null===(t=null===(i=this._inputElem)||void 0===i?void 0:i.shadowRoot)||void 0===t?void 0:t.querySelector(".input-container");await(null===(s=this._popoverElem)||void 0===s?void 0:s.showUnder(null!=o?o:this._inputElem))}async hidePopover(){var i;this.popoverVisible=!1,await(null===(i=this._popoverElem)||void 0===i?void 0:i.hide())}getFullOption(i){return"string"==typeof i?this.options.find((t=>t.value===i)):i}getOptionValue(i){return i?"string"==typeof i?i:i.value:null}compareOptionValues(i,t){return this.getOptionValue(i)===this.getOptionValue(t)}setEmptyValue(){this.value=null,this.inputValue=""}async setValue(i){if(!i||!this.options)return this.setEmptyValue(),void await this.hidePopover();this.compareOptionValues(this.value,i)||(this.getOptionValue(i)?(i=this.getFullOption(i),this.value=i,this.inputValue=i.label):this.setEmptyValue(),this.ezChange.emit(this.value)),await this.hidePopover()}async optionsChanged(){this.filterOptions("")}async valueChanged(i,t){var s;this.compareOptionValues(i,t)||(i?(this.value=this.getFullOption(i),this.inputValue=null===(s=this.value)||void 0===s?void 0:s.label,this.setHighlightedIndexToValue()):(this.inputValue="",this.highlightedIndex=0))}async handleIconClick(i){i.stopPropagation(),i.preventDefault(),"right"===i.detail.icon?this.popoverVisible?await this.hidePopover():await this.showPopover():this.iconClick.emit()}async handleEzChange(i){i.stopPropagation(),this.inputValue=i.detail,!this.popoverVisible&&this.inputValue.length>0&&await this.showPopover(),this.ezType.emit(this.inputValue),this.highlightedIndex=0,this.filterOptions(this.inputValue)}async handleEzBlur(i){i.stopPropagation();const t=this.getFullOption(this.value);(null==t?void 0:t.label)!==this.inputValue&&(this.inputValue=(null==t?void 0:t.label)||""),this.ezBlur.emit(t)}filterOptions(i){if(!this.options)return void(this.filteredOptions=[]);let t=[];if(i&&""!==i.trim()){const s=i.toLowerCase().trim();t=t.concat(this.options.filter((i=>i.label.toLowerCase().includes(s)||i.value.toLowerCase().includes(s))))}else t=t.concat([...this.options]);!this.suppressEmptyOption&&t.length>0&&(t=[{value:null,label:this.textEmptyOption||"Selecione um item"},...t]),this.filteredOptions=t,this.setHighlightedIndexToValue(),this.scrollToHighlightedOption()}scrollToHighlightedOption(){if(this.highlightedIndex<0||!this._listElem)return;const i=this._listElem.children[this.highlightedIndex];i&&i.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}async selectOption(i){i&&!this.readonly&&this.enabled&&await this.setValue(i)}async handleArrowUp(){var i;this.popoverVisible?((null===(i=this.filteredOptions)||void 0===i?void 0:i.length)||0)<=0||this.highlightedIndex<=0||(this.highlightedIndex=Math.max(0,this.highlightedIndex-1),this.scrollToHighlightedOption()):await this.showPopover()}handleArrowDown(){var i;if(!this.popoverVisible)return void this.showPopover();const t=(null===(i=this.filteredOptions)||void 0===i?void 0:i.length)||0;t<=0||(this.highlightedIndex=Math.min(t-1,this.highlightedIndex+1),this.scrollToHighlightedOption())}async selectCurrentItem(){!this.popoverVisible||this.highlightedIndex<0||(this.hasSlotContent||0===this.filteredOptions.length||this.readonly||!this.enabled?await this.hidePopover():this.filteredOptions&&this.filteredOptions[this.highlightedIndex]&&this.selectOption(this.filteredOptions[this.highlightedIndex]))}handleVisibilityChange(i){this.popoverVisible=i.detail,this.ezVisibilityChange.emit(this.popoverVisible)}checkSlotContent(){const i=this._element.querySelector("slot")||this._element;this.hasSlotContent=i instanceof HTMLSlotElement?i.assignedNodes().length>0:i.children.length>0}setHighlightedIndexToValue(){if(this.value&&this.filteredOptions){const i=this.filteredOptions.findIndex((i=>i.value===this.getOptionValue(this.value)));if(i>=0)return void(this.highlightedIndex=i);this.highlightedIndex=0}}async handleDocumentClick(i){const t=i.target;this._element.contains(t)||this._popoverElem.contains(t)||await this.hidePopover()}addInfoId(){const i={id:"embedded"};this._element&&h.addIDInfo(this._element),this._inputElem&&h.addIDInfo(this._inputElem,"classic-combo-box-input",i),this._popoverElem&&h.addIDInfo(this._popoverElem,"classic-combo-box-popover",i)}async initKeyboardManager(){this._keyboardManager=new a({element:this._element,propagate:!0}),this._keyboardManager.bind("ArrowUp",(()=>this.handleArrowUp()),{propagate:!1}).bind("ArrowDown",(()=>this.handleArrowDown()),{propagate:!1}).bind("Enter",(()=>this.selectCurrentItem()),{propagate:!1}).bind("Tab",(()=>this.selectCurrentItem())).bind("shift+Tab",(()=>this.selectCurrentItem())).bind("Escape",(()=>this.hidePopover()))}async connectedCallback(){await this.initKeyboardManager(),document.addEventListener("mouseup",this._boundHandleDocumentClick)}disconnectedCallback(){this._keyboardManager.unbindAllShortcutKeys(),document.removeEventListener("mouseup",this._boundHandleDocumentClick)}componentWillLoad(){this.filterOptions("")}componentDidLoad(){this.addInfoId(),this.checkSlotContent(),this.value&&(this.inputValue=this.getFullOption(this.value).label,this.setHighlightedIndexToValue())}render(){var i;return s(o,null,s("ez-classic-input",{ref:i=>this._inputElem=i,name:this.name,label:this.label,placeholder:this.placeholder,value:this.inputValue,state:this.state,enabled:this.enabled,required:this.required,size:this.size,readonly:this.readonly||this.suppressSearch,leftIconName:this.iconName,leftIconTooltip:this.titleIcon,leftIconClickable:this.iconClickable,rightIconClickable:!0,helpText:this.helpText,errorMessage:this.errorMessage,rightIconName:this.popoverVisible?"chevron-up":"chevron-down",onIconClick:this.handleIconClick.bind(this),onEzChange:this.handleEzChange.bind(this),onEzFocus:this.showPopover.bind(this),onEzBlur:this.handleEzBlur.bind(this)}),s("ez-popover-core",{ref:i=>this._popoverElem=i,useAnchorSize:!0,onEzVisibilityChange:this.handleVisibilityChange.bind(this),overlayType:"none",options:{verticalGap:2,horizontalGap:0},autoClose:!1},s("slot",{onSlotchange:this.checkSlotContent.bind(this)}),!this.hasSlotContent&&((null===(i=this.filteredOptions)||void 0===i?void 0:i.length)>0?s("ul",{ref:i=>this._listElem=i,tabIndex:-1},this.filteredOptions.map(((i,t)=>{var o;return s("li",{key:null!==(o=i.value)&&void 0!==o?o:"__empty__",value:i.value,class:{highlighted:this.highlightedIndex===t,selected:this.getOptionValue(this.value)===i.value},onMouseDown:()=>this.selectOption(i)},i.label)}))):s("span",{class:"no-results"},"Nenhum resultado encontrado"))))}get _element(){return e(this)}static get watchers(){return{options:["optionsChanged"],value:["valueChanged"]}}};c.style=":host{display:block;box-sizing:border-box;font-family:var(--font--pattern, 'Roboto', Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--gray-500, #494A4E);--ez-classic-combo-box-highlighted-bg-color:var(--color--gray-90, #EAEAEA);--ez-classic-combo-box-max-height:180px;--ez-classic-combo-box-list-bg-color:var(--color--gray-70, #FFFFFF);--ez-classic-combo-box-item-hover-bg-color:var(--color--gray-100, #DEDEDE);--ez-classic-combo-box-selected-bg-color:var(--color--ocean-green-90, #E6F3EF);--ez-classic-combo-box-selected-text-color:var(--color--ocean-green-600, #008561);--ez-classic-combo-box-selected-font-weight:var(--font-weight--medium, 500);--ez-classic-combo-box-item-padding:var(--space--8, 8px) var(--space--4, 4px);--ez-classic-combo-box-item-border-radius:var(--border--radius-8, 8px);--ez-classic-combo-box-list-margin:var(--space--6, 6px);--ez-classic-combo-box-transition-duration:150ms;--ez-classic-combo-box-scrollbar-color:var(--color--gray-300, #C4C4C4);--ez-classic-combo-box-no-results-margin:var(--space--52, 52px) 0;--ez-classic-combo-box-item-text-color:inherit;--ez-classic-combo-box-item-min-height:auto;--ez-classic-combo-box-width:100%;width:var(--ez-classic-combo-box-width)}ul{list-style:none;padding:0;margin:var(--ez-classic-combo-box-list-margin);display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--ez-classic-combo-box-scrollbar-color) transparent;max-height:var(--ez-classic-combo-box-max-height);scroll-behavior:smooth;background-color:var(--ez-classic-combo-box-list-bg-color)}li{cursor:pointer;border-radius:var(--ez-classic-combo-box-item-border-radius);padding:var(--ez-classic-combo-box-item-padding);transition:var(--ez-classic-combo-box-transition-duration) background-color linear;color:var(--ez-classic-combo-box-item-text-color);min-height:var(--ez-classic-combo-box-item-min-height)}li:hover{background-color:var(--ez-classic-combo-box-item-hover-bg-color)}li.highlighted{background-color:var(--ez-classic-combo-box-highlighted-bg-color)}li.selected{background-color:var(--ez-classic-combo-box-selected-bg-color);color:var(--ez-classic-combo-box-selected-text-color);font-weight:var(--ez-classic-combo-box-selected-font-weight)}span.no-results{margin:var(--ez-classic-combo-box-no-results-margin);cursor:default;text-align:center;display:flex;align-items:center;justify-content:center}";export{c as ez_classic_combo_box}
1
+ import{r as i,c as t,h as s,H as o,g as e}from"./p-e4c7eb39.js";import{ElementIDUtils as h,KeyboardManager as a}from"@sankhyalabs/core";const c=class{constructor(s){i(this,s),this.ezChange=t(this,"ezChange",7),this.ezBlur=t(this,"ezBlur",7),this.iconClick=t(this,"iconClick",7),this.ezVisibilityChange=t(this,"ezVisibilityChange",7),this.ezType=t(this,"ezType",7),this._keyboardManager=void 0,this._boundHandleDocumentClick=this.handleDocumentClick.bind(this),this.popoverVisible=!1,this.hasSlotContent=!1,this.highlightedIndex=0,this.filteredOptions=[],this.inputValue="",this.value=null,this.label=void 0,this.placeholder=void 0,this.enabled=!0,this.required=!1,this.readonly=!1,this.name=void 0,this.state="default",this.size="default",this.helpText=void 0,this.errorMessage=void 0,this.iconName=void 0,this.titleIcon=void 0,this.iconClickable=!1,this.suppressSearch=!1,this.options=void 0,this.textEmptyOption=void 0,this.suppressEmptyOption=!1}async setFocus(i){var t;await(null===(t=this._inputElem)||void 0===t?void 0:t.setFocus(i))}async setBlur(){var i;await(null===(i=this._inputElem)||void 0===i?void 0:i.setBlur()),await this.hidePopover()}async showPopover(){var i,t,s;if(!this._popoverElem||!this._inputElem||this.popoverVisible)return;this.popoverVisible=!0;const o=null===(t=null===(i=this._inputElem)||void 0===i?void 0:i.shadowRoot)||void 0===t?void 0:t.querySelector(".input-container");await(null===(s=this._popoverElem)||void 0===s?void 0:s.showUnder(null!=o?o:this._inputElem))}async hidePopover(){var i;this.popoverVisible=!1,await(null===(i=this._popoverElem)||void 0===i?void 0:i.hide())}getFullOption(i){return"string"==typeof i?this.options.find((t=>t.value===i)):i}getOptionValue(i){return i?"string"==typeof i?i:i.value:null}compareOptionValues(i,t){return this.getOptionValue(i)===this.getOptionValue(t)}setEmptyValue(){this.value=null,this.inputValue=""}async setValue(i){if(!i||!this.options)return this.setEmptyValue(),void await this.hidePopover();this.compareOptionValues(this.value,i)||(this.getOptionValue(i)?(i=this.getFullOption(i),this.value=i,this.inputValue=i.label):this.setEmptyValue(),this.ezChange.emit(this.value)),await this.hidePopover()}async optionsChanged(){this.filterOptions("")}async valueChanged(i,t){var s;this.compareOptionValues(i,t)||(i?(this.value=this.getFullOption(i),this.inputValue=null===(s=this.value)||void 0===s?void 0:s.label,this.setHighlightedIndexToValue()):(this.inputValue="",this.highlightedIndex=0))}async handleIconClick(i){i.stopPropagation(),i.preventDefault(),"right"===i.detail.icon?this.popoverVisible?await this.hidePopover():await this.showPopover():this.iconClick.emit()}async handleEzChange(i){i.stopPropagation(),this.inputValue=i.detail,!this.popoverVisible&&this.inputValue.length>0&&await this.showPopover(),this.ezType.emit(this.inputValue),this.highlightedIndex=0,this.filterOptions(this.inputValue)}async handleEzBlur(i){i.stopPropagation();const t=this.getFullOption(this.value);(null==t?void 0:t.label)!==this.inputValue&&(this.inputValue=(null==t?void 0:t.label)||""),this.ezBlur.emit(t)}filterOptions(i){if(!this.options)return void(this.filteredOptions=[]);let t=[];if(i&&""!==i.trim()){const s=i.toLowerCase().trim();t=t.concat(this.options.filter((i=>i.label.toLowerCase().includes(s)||i.value.toLowerCase().includes(s))))}else t=t.concat([...this.options]);!this.suppressEmptyOption&&t.length>0&&(t=[{value:null,label:this.textEmptyOption||"Selecione um item"},...t]),this.filteredOptions=t,this.setHighlightedIndexToValue(),this.scrollToHighlightedOption()}scrollToHighlightedOption(){if(this.highlightedIndex<0||!this._listElem)return;const i=this._listElem.children[this.highlightedIndex];i&&i.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}async selectOption(i){i&&!this.readonly&&this.enabled&&await this.setValue(i)}async handleArrowUp(){var i;this.popoverVisible?((null===(i=this.filteredOptions)||void 0===i?void 0:i.length)||0)<=0||this.highlightedIndex<=0||(this.highlightedIndex=Math.max(0,this.highlightedIndex-1),this.scrollToHighlightedOption()):await this.showPopover()}handleArrowDown(){var i;if(!this.popoverVisible)return void this.showPopover();const t=(null===(i=this.filteredOptions)||void 0===i?void 0:i.length)||0;t<=0||(this.highlightedIndex=Math.min(t-1,this.highlightedIndex+1),this.scrollToHighlightedOption())}async selectCurrentItem(){!this.popoverVisible||this.highlightedIndex<0||(this.hasSlotContent||0===this.filteredOptions.length||this.readonly||!this.enabled?await this.hidePopover():this.filteredOptions&&this.filteredOptions[this.highlightedIndex]&&this.selectOption(this.filteredOptions[this.highlightedIndex]))}handleVisibilityChange(i){this.popoverVisible=i.detail,this.ezVisibilityChange.emit(this.popoverVisible)}checkSlotContent(){const i=this._element.querySelector("slot")||this._element;this.hasSlotContent=i instanceof HTMLSlotElement?i.assignedNodes().length>0:i.children.length>0}setHighlightedIndexToValue(){if(this.value&&this.filteredOptions){const i=this.filteredOptions.findIndex((i=>i.value===this.getOptionValue(this.value)));if(i>=0)return void(this.highlightedIndex=i);this.highlightedIndex=0}}async handleDocumentClick(i){const t=i.target;this._element.contains(t)||this._popoverElem.contains(t)||await this.hidePopover()}addInfoId(){const i={id:"embedded"};this._element&&h.addIDInfo(this._element),this._inputElem&&h.addIDInfo(this._inputElem,"classic-combo-box-input",i),this._popoverElem&&h.addIDInfo(this._popoverElem,"classic-combo-box-popover",i)}async initKeyboardManager(){this._keyboardManager=new a({element:this._element,propagate:!0}),this._keyboardManager.bind("ArrowUp",(()=>this.handleArrowUp()),{propagate:!1}).bind("ArrowDown",(()=>this.handleArrowDown()),{propagate:!1}).bind("Enter",(()=>this.selectCurrentItem()),{propagate:!1}).bind("Tab",(()=>this.selectCurrentItem())).bind("shift+Tab",(()=>this.selectCurrentItem())).bind("Escape",(()=>this.hidePopover()))}async connectedCallback(){await this.initKeyboardManager(),document.addEventListener("mouseup",this._boundHandleDocumentClick)}disconnectedCallback(){this._keyboardManager.unbindAllShortcutKeys(),document.removeEventListener("mouseup",this._boundHandleDocumentClick)}componentWillLoad(){this.filterOptions("")}componentDidLoad(){this.addInfoId(),this.checkSlotContent(),this.value&&(this.inputValue=this.getFullOption(this.value).label,this.setHighlightedIndexToValue())}render(){var i;return s(o,null,s("ez-classic-input",{ref:i=>this._inputElem=i,name:this.name,label:this.label,placeholder:this.placeholder,value:this.inputValue,state:this.state,enabled:this.enabled,required:this.required,size:this.size,readonly:this.readonly||this.suppressSearch,leftIconName:this.iconName,leftIconTooltip:this.titleIcon,leftIconClickable:this.iconClickable,rightIconClickable:!0,helpText:this.helpText,errorMessage:this.errorMessage,rightIconName:this.popoverVisible?"chevron-up":"chevron-down",onIconClick:this.handleIconClick.bind(this),onEzChange:this.handleEzChange.bind(this),onEzFocus:this.showPopover.bind(this),onEzBlur:this.handleEzBlur.bind(this)}),s("ez-popover-core",{ref:i=>this._popoverElem=i,useAnchorSize:!0,onEzVisibilityChange:this.handleVisibilityChange.bind(this),overlayType:"none",options:{verticalGap:2,horizontalGap:0},autoClose:!1},s("slot",{onSlotchange:this.checkSlotContent.bind(this)}),!this.hasSlotContent&&((null===(i=this.filteredOptions)||void 0===i?void 0:i.length)>0?s("ul",{ref:i=>this._listElem=i,tabIndex:-1},this.filteredOptions.map(((i,t)=>{var o;return s("li",{key:null!==(o=i.value)&&void 0!==o?o:"__empty__",value:i.value,class:{highlighted:this.highlightedIndex===t,selected:this.getOptionValue(this.value)===i.value},onMouseDown:()=>this.selectOption(i)},i.label)}))):s("span",{class:"no-results"},"Nenhum resultado encontrado"))))}get _element(){return e(this)}static get watchers(){return{options:["optionsChanged"],value:["valueChanged"]}}};c.style=":host{display:block;box-sizing:border-box;font-family:var(--font--pattern, 'Roboto', Arial, sans-serif);font-size:var(--font-size--default, 14px);color:var(--color--gray-500, #494A4E);--ez-classic-combo-box-highlighted-bg-color:var(--color--gray-90, #EAEAEA);--ez-classic-combo-box-max-height:180px;--ez-classic-combo-box-list-bg-color:var(--color--gray-70, #FFFFFF);--ez-classic-combo-box-item-hover-bg-color:var(--color--gray-100, #DEDEDE);--ez-classic-combo-box-selected-bg-color:var(--color--ocean-green-90, #E6F3EF);--ez-classic-combo-box-selected-text-color:var(--color--ocean-green-600, #008561);--ez-classic-combo-box-selected-font-weight:var(--font-weight--medium, 500);--ez-classic-combo-box-item-padding:var(--space--8, 8px) var(--space--4, 4px);--ez-classic-combo-box-item-border-radius:var(--border--radius-8, 8px);--ez-classic-combo-box-list-margin:var(--space--6, 6px);--ez-classic-combo-box-transition-duration:150ms;--ez-classic-combo-box-scrollbar-color:var(--color--gray-300, #C4C4C4);--ez-classic-combo-box-no-results-margin:var(--space--52, 52px) 0;--ez-classic-combo-box-item-text-color:inherit;--ez-classic-combo-box-item-min-height:auto;--ez-classic-combo-box-width:100%;width:var(--ez-classic-combo-box-width)}ul{list-style:none;padding:0;margin:var(--ez-classic-combo-box-list-margin);display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--ez-classic-combo-box-scrollbar-color) transparent;max-height:var(--ez-classic-combo-box-max-height);scroll-behavior:smooth;background-color:var(--ez-classic-combo-box-list-bg-color)}li{cursor:pointer;border-radius:var(--ez-classic-combo-box-item-border-radius);padding:var(--ez-classic-combo-box-item-padding);transition:var(--ez-classic-combo-box-transition-duration) background-color linear;color:var(--ez-classic-combo-box-item-text-color);min-height:var(--ez-classic-combo-box-item-min-height)}li:hover{background-color:var(--ez-classic-combo-box-item-hover-bg-color)}li.highlighted{background-color:var(--ez-classic-combo-box-highlighted-bg-color)}li.selected{background-color:var(--ez-classic-combo-box-selected-bg-color);color:var(--ez-classic-combo-box-selected-text-color);font-weight:var(--ez-classic-combo-box-selected-font-weight)}span.no-results{margin:var(--ez-classic-combo-box-no-results-margin);cursor:default;text-align:center;display:flex;align-items:center;justify-content:center}";export{c as ez_classic_combo_box}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as a}from"./p-23a36bb6.js";import{ElementIDUtils as o,StringUtils as r}from"@sankhyalabs/core";const n=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.setFocusedParam=t=>{if("Enter"===t.key){const i=this._processedTabs[this._focusedIndex];this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(i.index)}else if("ArrowLeft"===t.key||"ArrowRight"===t.key){let i;if("ArrowLeft"===t.key)i=!1;else{if("ArrowRight"!==t.key)return;i=!0}this._focusedIndex=void 0===this._focusedIndex?!1===i?void 0!==this.selectedIndex?this.selectedIndex-1:void 0:void 0!==this.selectedIndex?this.selectedIndex+1:void 0:!1===i?this._focusedIndex-1:this._focusedIndex+1,this._focusedIndex<0?this._focusedIndex=0:this._focusedIndex>this._processedTabs.length-1&&(this._focusedIndex=this._processedTabs.length-1),this.setFocusedBtn(!0,this._focusedIndex),this.setFocusedTab(this._focusedIndex)}else if("Tab"===t.key||"Escape"===t.key){const i=this._processedTabs[this.selectedIndex];this._focusedIndex=void 0,this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(this.selectedIndex)}},this._processedTabs=void 0,this.selectedIndex=void 0,this.selectedTab=void 0,this.tabs=void 0}observeTabs(t,i){t&&"string"!=typeof t?this._processedTabs=t:t!==i&&this.processesTabs()}async goToTab(t,i=!1){const s=this._processedTabs.find((i=>i.index===t));this.handleTabClick(s,!i)}handleTabClick(t,i=!0){this.selectedIndex=t.index,this._focusedIndex=void 0,this.selectedTab=t.tabKey,i&&this.ezChange.emit(t),this.setFocusedBtn(!1,t.index)}componentWillLoad(){this.processesTabs()}processesTabs(){this.tabs&&(Array.isArray(this.tabs)?this._processedTabs=[...this.tabs]:(this._processedTabs=[],this.tabs.split(",").forEach((t=>{t=t.trim(),this._processedTabs.push({label:t,tabKey:t,index:this._processedTabs.length}),this.buildElementIdTab(this._processedTabs)})))),this._hostElem.querySelectorAll("ez-tab").forEach((t=>{const i=t.getAttribute("tabKey"),s={label:t.getAttribute("label"),tabKey:i,leftIcon:t.getAttribute("leftIcon"),rightIcon:t.getAttribute("rightIcon"),index:this._processedTabs.length},e=t.firstChild;e&&(e.setAttribute("slot","tab"+s.index),this._hostElem.appendChild(e)),this._processedTabs.push(s),this.buildElementIdTab(this._processedTabs)}))}componentDidRender(){this.updateScroll()}componentDidLoad(){o.addIDInfo(this._hostElem,"itemsSelector"),this._hostElem.shadowRoot.querySelectorAll('button[name="tab-button"]').forEach((t=>{var i;const s=null===(i=t.querySelector("span.tab-label"))||void 0===i?void 0:i.innerText,e={id:`${r.toCamelCase(s)}`};o.addIDInfo(t,"itemSelector",e)}))}handleSlotChange(t){const i=t.target.assignedElements()[0];i&&(i.style.marginLeft="6px")}scrollBackward(){const t=this._scrollContainer;t&&(t.scrollLeft-=t.clientWidth)}scrollFoward(){const t=this._scrollContainer;if(t){let i=null;t.querySelectorAll(".tab").forEach((s=>{s.getBoundingClientRect().right<t.clientWidth&&(i=s)})),t.scrollLeft=i.offsetLeft+i.offsetWidth}}updateScroll(){const t=this._scrollContainer;if(t){const{scrollWidth:i,clientWidth:s,scrollLeft:e}=t,a=i-s-Math.ceil(e);this._startHidden=t.scrollLeft>0,this._endHidden=a>0,this._startHidden?this._backwardButton.classList.remove("hidden"):this._backwardButton.classList.add("hidden"),this._endHidden?this._forwardButton.classList.remove("hidden"):this._forwardButton.classList.add("hidden");const o=["","startHidden","endHidden","middle"],r=o[Number(this._startHidden)|Number(this._endHidden)<<1];o.forEach((i=>{i!==r&&t.classList.contains(i)&&t.classList.remove(i)})),r&&!t.classList.contains(r)&&t.classList.add(r)}}domScrollHandler(){window.clearTimeout(this._scrollCallBack),this._scrollCallBack=window.setTimeout((()=>{this.updateScroll()}),200)}setFocusedTab(t){window.clearTimeout(this._scrollCallBackTest),this._scrollCallBackTest=window.setTimeout((()=>{this._scrollContainer.querySelector(`#tab${t}`).scrollIntoView()}),200)}setFocusedBtn(t,i){this._scrollContainer.querySelectorAll(".tab").forEach((s=>{s.classList.remove("is-focused"),s.id==="tab"+i&&t&&s.classList.add("is-focused")}))}buildElementIdTab(t){t.forEach((t=>{if(!t.hasOwnProperty(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME)){const i=`${this._hostElem.getAttribute(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME)}_${r.toCamelCase(t.tabKey)}`;t[o.DATA_ELEMENT_ID_ATTRIBUTE_NAME]=i}}))}render(){return s(e,null,s("button",{class:"backward-button",ref:t=>this._backwardButton=t,onClick:()=>this.scrollBackward()}),s("div",{class:"scroll",ref:t=>this._scrollContainer=t,onScroll:()=>this.domScrollHandler(),onKeyDown:t=>this.setFocusedParam(t)},this._processedTabs.map(((t,i)=>{const e="tab"+i,a=i===this.selectedIndex||this.selectedTab&&t.tabKey===this.selectedTab;return a&&(this.selectedTab=t.tabKey,this.selectedIndex=i),s("button",{id:e,name:"tab-button",class:"tab"+(a?" is-active":""),onClick:()=>this.handleTabClick(t)},t.leftIcon&&s("ez-icon",{iconName:t.leftIcon,class:"left-icon"}),s("span",{class:"tab-label",title:t.label},t.label),t.rightIcon&&s("ez-icon",{iconName:t.rightIcon,class:"right-icon"}),s("slot",{name:e,onSlotchange:t=>{this.handleSlotChange(t)}}))}))),s("button",{class:"forward-button",ref:t=>this._forwardButton=t,onClick:()=>this.scrollFoward()}))}get _hostElem(){return a(this)}static get watchers(){return{tabs:["observeTabs"]}}};n.style='@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--tabselector--forward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.middle{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px, #000 calc(100% - 48px), transparent calc(100% - 20px))}.scroll.endHidden{-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 48px), transparent calc(100% - 20px))}.tab{display:flex;border:none;background-color:unset;min-width:100px;max-width:260px;cursor:pointer;padding:6px 12px;align-items:center;justify-content:center;color:var(--text--primary, #626e82);font-family:var(--font-pattern, "Roboto");font-size:var(--title--small, 14px);flex-shrink:0;margin-bottom:var(--space--extra-small, 3px)}.tab:focus,.forward-button,.backward-button{outline:none}.is-active{position:relative;color:var(--color--primary, #008561)}.is-active ez-icon{--ez-icon--color:var(--color--primary, #008561)}.is-active::after{content:"";position:absolute;width:100%;height:100%;background-color:var(--color--primary, #008561);clip-path:inset(calc(100% - 3px) 0px 0px 0px);animation:activate 0.25s ease-in-out}.is-focused{border:1px dashed var(--color--primary, #000000c5)}.tab-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:var(--text-shadow)}.forward-button,.backward-button{position:absolute;z-index:1;display:flex;box-sizing:border-box;padding:0px;top:0px;right:0px;width:16px;height:100%;border:none;background-color:unset;cursor:pointer;justify-content:center;align-items:center}.backward-button{left:0px}.forward-button::after,.backward-button::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:10px;height:16px}.forward-button::after{-webkit-mask-image:var(--tabselector--forward-icon);mask-image:var(--tabselector--forward-icon)}.backward-button::after{-webkit-mask-image:var(--tabselector--backward-icon);mask-image:var(--tabselector--backward-icon)}.forward-button:hover::after,.backward-button:hover::after{background-color:var(--color--primary, #4e4e4e)}.hidden{display:none}.scroll::-webkit-scrollbar{display:none}.left-icon{padding-right:var(--space--small)}.right-icon{padding-left:var(--space--small)}';export{n as ez_tabselector}
1
+ import{r as t,c as i,h as s,H as e,g as a}from"./p-e4c7eb39.js";import{ElementIDUtils as o,StringUtils as r}from"@sankhyalabs/core";const n=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.setFocusedParam=t=>{if("Enter"===t.key){const i=this._processedTabs[this._focusedIndex];this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(i.index)}else if("ArrowLeft"===t.key||"ArrowRight"===t.key){let i;if("ArrowLeft"===t.key)i=!1;else{if("ArrowRight"!==t.key)return;i=!0}this._focusedIndex=void 0===this._focusedIndex?!1===i?void 0!==this.selectedIndex?this.selectedIndex-1:void 0:void 0!==this.selectedIndex?this.selectedIndex+1:void 0:!1===i?this._focusedIndex-1:this._focusedIndex+1,this._focusedIndex<0?this._focusedIndex=0:this._focusedIndex>this._processedTabs.length-1&&(this._focusedIndex=this._processedTabs.length-1),this.setFocusedBtn(!0,this._focusedIndex),this.setFocusedTab(this._focusedIndex)}else if("Tab"===t.key||"Escape"===t.key){const i=this._processedTabs[this.selectedIndex];this._focusedIndex=void 0,this.handleTabClick(i),t.preventDefault(),this.setFocusedTab(this.selectedIndex)}},this._processedTabs=void 0,this.selectedIndex=void 0,this.selectedTab=void 0,this.tabs=void 0}observeTabs(t,i){t&&"string"!=typeof t?this._processedTabs=t:t!==i&&this.processesTabs()}async goToTab(t,i=!1){const s=this._processedTabs.find((i=>i.index===t));this.handleTabClick(s,!i)}handleTabClick(t,i=!0){this.selectedIndex=t.index,this._focusedIndex=void 0,this.selectedTab=t.tabKey,i&&this.ezChange.emit(t),this.setFocusedBtn(!1,t.index)}componentWillLoad(){this.processesTabs()}processesTabs(){this.tabs&&(Array.isArray(this.tabs)?this._processedTabs=[...this.tabs]:(this._processedTabs=[],this.tabs.split(",").forEach((t=>{t=t.trim(),this._processedTabs.push({label:t,tabKey:t,index:this._processedTabs.length}),this.buildElementIdTab(this._processedTabs)})))),this._hostElem.querySelectorAll("ez-tab").forEach((t=>{const i=t.getAttribute("tabKey"),s={label:t.getAttribute("label"),tabKey:i,leftIcon:t.getAttribute("leftIcon"),rightIcon:t.getAttribute("rightIcon"),index:this._processedTabs.length},e=t.firstChild;e&&(e.setAttribute("slot","tab"+s.index),this._hostElem.appendChild(e)),this._processedTabs.push(s),this.buildElementIdTab(this._processedTabs)}))}componentDidRender(){this.updateScroll()}componentDidLoad(){o.addIDInfo(this._hostElem,"itemsSelector"),this._hostElem.shadowRoot.querySelectorAll('button[name="tab-button"]').forEach((t=>{var i;const s=null===(i=t.querySelector("span.tab-label"))||void 0===i?void 0:i.innerText,e={id:`${r.toCamelCase(s)}`};o.addIDInfo(t,"itemSelector",e)}))}handleSlotChange(t){const i=t.target.assignedElements()[0];i&&(i.style.marginLeft="6px")}scrollBackward(){const t=this._scrollContainer;t&&(t.scrollLeft-=t.clientWidth)}scrollFoward(){const t=this._scrollContainer;if(t){let i=null;t.querySelectorAll(".tab").forEach((s=>{s.getBoundingClientRect().right<t.clientWidth&&(i=s)})),t.scrollLeft=i.offsetLeft+i.offsetWidth}}updateScroll(){const t=this._scrollContainer;if(t){const{scrollWidth:i,clientWidth:s,scrollLeft:e}=t,a=i-s-Math.ceil(e);this._startHidden=t.scrollLeft>0,this._endHidden=a>0,this._startHidden?this._backwardButton.classList.remove("hidden"):this._backwardButton.classList.add("hidden"),this._endHidden?this._forwardButton.classList.remove("hidden"):this._forwardButton.classList.add("hidden");const o=["","startHidden","endHidden","middle"],r=o[Number(this._startHidden)|Number(this._endHidden)<<1];o.forEach((i=>{i!==r&&t.classList.contains(i)&&t.classList.remove(i)})),r&&!t.classList.contains(r)&&t.classList.add(r)}}domScrollHandler(){window.clearTimeout(this._scrollCallBack),this._scrollCallBack=window.setTimeout((()=>{this.updateScroll()}),200)}setFocusedTab(t){window.clearTimeout(this._scrollCallBackTest),this._scrollCallBackTest=window.setTimeout((()=>{this._scrollContainer.querySelector(`#tab${t}`).scrollIntoView()}),200)}setFocusedBtn(t,i){this._scrollContainer.querySelectorAll(".tab").forEach((s=>{s.classList.remove("is-focused"),s.id==="tab"+i&&t&&s.classList.add("is-focused")}))}buildElementIdTab(t){t.forEach((t=>{if(!t.hasOwnProperty(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME)){const i=`${this._hostElem.getAttribute(o.DATA_ELEMENT_ID_ATTRIBUTE_NAME)}_${r.toCamelCase(t.tabKey)}`;t[o.DATA_ELEMENT_ID_ATTRIBUTE_NAME]=i}}))}render(){return s(e,null,s("button",{class:"backward-button",ref:t=>this._backwardButton=t,onClick:()=>this.scrollBackward()}),s("div",{class:"scroll",ref:t=>this._scrollContainer=t,onScroll:()=>this.domScrollHandler(),onKeyDown:t=>this.setFocusedParam(t)},this._processedTabs.map(((t,i)=>{const e="tab"+i,a=i===this.selectedIndex||this.selectedTab&&t.tabKey===this.selectedTab;return a&&(this.selectedTab=t.tabKey,this.selectedIndex=i),s("button",{id:e,name:"tab-button",class:"tab"+(a?" is-active":""),onClick:()=>this.handleTabClick(t)},t.leftIcon&&s("ez-icon",{iconName:t.leftIcon,class:"left-icon"}),s("span",{class:"tab-label",title:t.label},t.label),t.rightIcon&&s("ez-icon",{iconName:t.rightIcon,class:"right-icon"}),s("slot",{name:e,onSlotchange:t=>{this.handleSlotChange(t)}}))}))),s("button",{class:"forward-button",ref:t=>this._forwardButton=t,onClick:()=>this.scrollFoward()}))}get _hostElem(){return a(this)}static get watchers(){return{tabs:["observeTabs"]}}};n.style='@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>\');--tabselector--forward-icon:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>\')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.middle{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px, #000 calc(100% - 48px), transparent calc(100% - 20px))}.scroll.endHidden{-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 48px), transparent calc(100% - 20px))}.tab{display:flex;border:none;background-color:unset;min-width:100px;max-width:260px;cursor:pointer;padding:6px 12px;align-items:center;justify-content:center;color:var(--text--primary, #626e82);font-family:var(--font-pattern, "Roboto");font-size:var(--title--small, 14px);flex-shrink:0;margin-bottom:var(--space--extra-small, 3px)}.tab:focus,.forward-button,.backward-button{outline:none}.is-active{position:relative;color:var(--color--primary, #008561)}.is-active ez-icon{--ez-icon--color:var(--color--primary, #008561)}.is-active::after{content:"";position:absolute;width:100%;height:100%;background-color:var(--color--primary, #008561);clip-path:inset(calc(100% - 3px) 0px 0px 0px);animation:activate 0.25s ease-in-out}.is-focused{border:1px dashed var(--color--primary, #000000c5)}.tab-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:var(--text-shadow)}.forward-button,.backward-button{position:absolute;z-index:1;display:flex;box-sizing:border-box;padding:0px;top:0px;right:0px;width:16px;height:100%;border:none;background-color:unset;cursor:pointer;justify-content:center;align-items:center}.backward-button{left:0px}.forward-button::after,.backward-button::after{content:\'\';display:flex;background-color:var(--text--primary, #008561);width:10px;height:16px}.forward-button::after{-webkit-mask-image:var(--tabselector--forward-icon);mask-image:var(--tabselector--forward-icon)}.backward-button::after{-webkit-mask-image:var(--tabselector--backward-icon);mask-image:var(--tabselector--backward-icon)}.forward-button:hover::after,.backward-button:hover::after{background-color:var(--color--primary, #4e4e4e)}.hidden{display:none}.scroll::-webkit-scrollbar{display:none}.left-icon{padding-right:var(--space--small)}.right-icon{padding-left:var(--space--small)}';export{n as ez_tabselector}
@@ -1 +1 @@
1
- import{r as t,c as d,h as i,H as o,g as e}from"./p-23a36bb6.js";import{FloatingManager as l,KeyboardManager as a}from"@sankhyalabs/core";import{i as n}from"./p-42e1e733.js";const s=class{constructor(i){t(this,i),this.ezCloseModal=d(this,"ezCloseModal",7),this.ezOpenModal=d(this,"ezOpenModal",7),this.ezModalAction=d(this,"ezModalAction",7),this.modalSize=void 0,this.align=void 0,this.heightMode="regular",this.opened=!0,this.closeEsc=!1,this.closeOutsideClick=!1,this.closeOutsideLeave=!1,this.scrim="medium"}observeOpened(){this.opened?this._overlayId=l.subscribeOverlayControl(this._modalRef):l.unsubscribeOverlayControl(this._modalRef||this._overlayId)}closeModal(){this.opened=!1,this.ezCloseModal.emit(this.opened)}async componentWillLoad(){this.i18n=await n()}componentDidLoad(){this.observeOpened(),this._keyboardManager=new a({propagate:!1,element:this._element,enableShadowDom:!0}).bind("Enter",this.ezModalAction.emit.bind("OK")).bind("Escape",(()=>this.closeModal())).bind("Esc",(()=>this.closeModal()))}componentDidRender(){this.modalFocus()}disconnectedCallback(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}modalFocus(){this.opened&&requestAnimationFrame((()=>{const t=this._element.shadowRoot.querySelector("ez-modal-container");this._modalRef&&null===t&&this._modalRef.focus()}))}onMouseDownHandler(t){this.closeOutsideClick&&t.target===this._overlay&&this.closeModal()}onMouseLeaveHandler(){this.closeOutsideLeave&&this.closeModal()}render(){const t="left"===this.align?"left":"right",d="regular"===this.heightMode?`modal__content--${t}`:"";return i(o,null,this.opened?i("div",{ref:t=>this._modalRef=t,class:`modal modal__screen-${this.scrim} ${"regular"===this.heightMode?"modal__vertical-padding":""}`,onMouseDown:t=>this.onMouseDownHandler(t),tabIndex:-1,"aria-label":this.i18n("ez-modal.close")},i("div",{class:`modal__container modal__container--${t}`,ref:t=>this._overlay=t},i("div",{onMouseLeave:()=>this.onMouseLeaveHandler(),class:`modal__content ${d} ${this.modalSize}`},i("slot",null)))):void 0)}get _element(){return e(this)}static get watchers(){return{opened:["observeOpened"]}}};s.style=":host{--ez-modal-z-index:var(--elevation--22, 22);--ez-modal-vertical-padding:var(--space--large, 24px);--ez-modal-content-padding:24px;display:block;--ez-modal-content-min-width:auto}.modal{position:fixed;display:flex;top:0px;z-index:var(--ez-modal-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;outline:none}.modal__screen-light{background:rgba(0, 4, 12, 0.1)}.modal__screen-none{background:none}.modal__screen-medium{backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.modal__vertical-padding{padding:var(--ez-modal-vertical-padding) 0}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;height:100%;box-sizing:border-box;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;box-sizing:border-box;max-height:100%;min-width:var(--ez-modal-content-min-width);height:100%;overflow-y:auto;background-color:rgb(255, 255, 255);padding:var(--ez-modal-content-padding);box-shadow:rgb(0 38 111 / 12%) 0px 0px 16px 0px}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";export{s as ez_modal}
1
+ import{r as t,c as d,h as i,H as o,g as e}from"./p-e4c7eb39.js";import{FloatingManager as l,KeyboardManager as a}from"@sankhyalabs/core";import{i as n}from"./p-42e1e733.js";const s=class{constructor(i){t(this,i),this.ezCloseModal=d(this,"ezCloseModal",7),this.ezOpenModal=d(this,"ezOpenModal",7),this.ezModalAction=d(this,"ezModalAction",7),this.modalSize=void 0,this.align=void 0,this.heightMode="regular",this.opened=!0,this.closeEsc=!1,this.closeOutsideClick=!1,this.closeOutsideLeave=!1,this.scrim="medium"}observeOpened(){this.opened?this._overlayId=l.subscribeOverlayControl(this._modalRef):l.unsubscribeOverlayControl(this._modalRef||this._overlayId)}closeModal(){this.opened=!1,this.ezCloseModal.emit(this.opened)}async componentWillLoad(){this.i18n=await n()}componentDidLoad(){this.observeOpened(),this._keyboardManager=new a({propagate:!1,element:this._element,enableShadowDom:!0}).bind("Enter",this.ezModalAction.emit.bind("OK")).bind("Escape",(()=>this.closeModal())).bind("Esc",(()=>this.closeModal()))}componentDidRender(){this.modalFocus()}disconnectedCallback(){var t;null===(t=this._keyboardManager)||void 0===t||t.unbindAllShortcutKeys()}modalFocus(){this.opened&&requestAnimationFrame((()=>{const t=this._element.shadowRoot.querySelector("ez-modal-container");this._modalRef&&null===t&&this._modalRef.focus()}))}onMouseDownHandler(t){this.closeOutsideClick&&t.target===this._overlay&&this.closeModal()}onMouseLeaveHandler(){this.closeOutsideLeave&&this.closeModal()}render(){const t="left"===this.align?"left":"right",d="regular"===this.heightMode?`modal__content--${t}`:"";return i(o,null,this.opened?i("div",{ref:t=>this._modalRef=t,class:`modal modal__screen-${this.scrim} ${"regular"===this.heightMode?"modal__vertical-padding":""}`,onMouseDown:t=>this.onMouseDownHandler(t),tabIndex:-1,"aria-label":this.i18n("ez-modal.close")},i("div",{class:`modal__container modal__container--${t}`,ref:t=>this._overlay=t},i("div",{onMouseLeave:()=>this.onMouseLeaveHandler(),class:`modal__content ${d} ${this.modalSize}`},i("slot",null)))):void 0)}get _element(){return e(this)}static get watchers(){return{opened:["observeOpened"]}}};s.style=":host{--ez-modal-z-index:var(--elevation--22, 22);--ez-modal-vertical-padding:var(--space--large, 24px);--ez-modal-content-padding:24px;display:block;--ez-modal-content-min-width:auto}.modal{position:fixed;display:flex;top:0px;z-index:var(--ez-modal-z-index);left:0px;width:100%;box-sizing:border-box;height:100vh;outline:none}.modal__screen-light{background:rgba(0, 4, 12, 0.1)}.modal__screen-none{background:none}.modal__screen-medium{backdrop-filter:blur(4px);background:rgba(0, 4, 12, 0.4)}.modal__vertical-padding{padding:var(--ez-modal-vertical-padding) 0}@keyframes expand-modal--left{from{transform:translate(-100%)}}@keyframes expand-modal--right{from{transform:translate(100%)}}.modal__container{display:flex;flex-wrap:wrap;height:100%;box-sizing:border-box;width:100%;align-items:flex-start}.modal__container--right{animation:expand-modal--right .2s ease-in-out 1;justify-content:flex-end}.modal__container--left{animation:expand-modal--left .2s ease-in-out 1;justify-content:flex-start}.modal__content{display:flex;flex-wrap:wrap;box-sizing:border-box;max-height:100%;min-width:var(--ez-modal-content-min-width);height:100%;overflow-y:auto;background-color:rgb(255, 255, 255);padding:var(--ez-modal-content-padding);box-shadow:rgb(0 38 111 / 12%) 0px 0px 16px 0px}.modal__content--right{border-radius:12px 0px 0px 12px}.modal__content--left{border-radius:0px 12px 12px 0px}.modal__box__container{display:flex;flex-wrap:wrap;background-color:#fff;width:100%;border-radius:12px}.row{width:100%;display:flex;flex-wrap:wrap}.col{display:flex;flex-wrap:wrap;align-self:flex-start;box-sizing:border-box}.col--stretch{align-self:stretch}.col--undefined{width:unset}.col--nowrap{flex-wrap:nowrap}@media screen and (min-width: 320px){.col--sd-1{width:8.33333%}.col--sd-2{width:16.66667%}.col--sd-3{width:25%}.col--sd-4{width:33.33333%}.col--sd-5{width:41.66667%}.col--sd-6{width:50%}.col--sd-7{width:58.33333%}.col--sd-8{width:66.66667%}.col--sd-9{width:75%}.col--sd-10{width:83.33333%}.col--sd-11{width:91.66667%}.col--sd-12{width:100%}}@media screen and (min-width: 480px){.col--pn-1{width:8.33333%}.col--pn-2{width:16.66667%}.col--pn-3{width:25%}.col--pn-4{width:33.33333%}.col--pn-5{width:41.66667%}.col--pn-6{width:50%}.col--pn-7{width:58.33333%}.col--pn-8{width:66.66667%}.col--pn-9{width:75%}.col--pn-10{width:83.33333%}.col--pn-11{width:91.66667%}.col--pn-12{width:100%}}@media screen and (min-width: 768px){.col--tb-1{width:8.33333%}.col--tb-2{width:16.66667%}.col--tb-3{width:25%}.col--tb-4{width:33.33333%}.col--tb-5{width:41.66667%}.col--tb-6{width:50%}.col--tb-7{width:58.33333%}.col--tb-8{width:66.66667%}.col--tb-9{width:75%}.col--tb-10{width:83.33333%}.col--tb-11{width:91.66667%}.col--tb-12{width:100%}}@media screen and (min-width: 992px){.col--md-1{width:8.33333%}.col--md-2{width:16.66667%}.col--md-3{width:25%}.col--md-4{width:33.33333%}.col--md-5{width:41.66667%}.col--md-6{width:50%}.col--md-7{width:58.33333%}.col--md-8{width:66.66667%}.col--md-9{width:75%}.col--md-10{width:83.33333%}.col--md-11{width:91.66667%}.col--md-12{width:100%}}@media screen and (min-width: 1200px){.col--ld-1{width:8.33333%}.col--ld-2{width:16.66667%}.col--ld-3{width:25%}.col--ld-4{width:33.33333%}.col--ld-5{width:41.66667%}.col--ld-6{width:50%}.col--ld-7{width:58.33333%}.col--ld-8{width:66.66667%}.col--ld-9{width:75%}.col--ld-10{width:83.33333%}.col--ld-11{width:91.66667%}.col--ld-12{width:100%}}";export{s as ez_modal}
@@ -0,0 +1 @@
1
+ import{r as i,c as t,h as e,H as s,a,g as o}from"./p-e4c7eb39.js";import{StringUtils as r,ElementIDUtils as l,ObjectUtils as c,HTMLBuilder as n,KeyboardManager as h}from"@sankhyalabs/core";import{a as d,r as m}from"./p-88a115b3.js";import{i as b}from"./p-42e1e733.js";import{C as u}from"./p-5895e687.js";import{R as p,a as v}from"./p-3e767a74.js";import{p as g}from"./p-dff9862b.js";import{A as _}from"./p-ad5e263d.js";import"./p-ab574d59.js";import"./p-b853763b.js";import"./p-47e4a8ce.js";import"./p-112455b1.js";const z=class{constructor(e){i(this,e),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 i=void 0===this.preSelection?0:Math.min(this.preSelection+1,this.visibleOptions.length-1);this.changePreSelection.emit(i),this.scrollToOption(this.visibleOptions[i])}async previousOption(){const i=void 0===this.preSelection?0:Math.max(this.preSelection-1,0);this.changePreSelection.emit(i),this.scrollToOption(this.visibleOptions[i])}selectOption(i){const t=Object.assign(Object.assign({},i),{value:d(null==i?void 0:i.value),label:d(null==i?void 0:i.label)}),e=Object.assign(Object.assign({},t),{value:m(null==t?void 0:t.value),label:m(null==t?void 0:t.label)});this.changeValue.emit(e)}createOption(i){let{key:t,title:e}=i;const s=new RegExp(this._startHighlightTag,"g"),a=new RegExp(this._endHighlightTag,"g");e=r.decodeHtmlEntities(e);const o={value:null==t?void 0:t.replace(s,"").replace(a,""),label:null==e?void 0:e.replace(s,"").replace(a,"")};this.selectOption(o)}scrollToOption(i){window.requestAnimationFrame((()=>{const t=(null==i?void 0:i.value)?this._optionsList.querySelector(`div#item_${i.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g,"\\$1")}`):void 0;t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})}))}buildItem(i,t){i.label=i.label||i.value;const s={key:i.value,title:i.label,details:i.details};return e("div",{style:{height:"100%"},class:t===this.preSelection?"item preselected":"item",id:`item_${i.value}`,onMouseDown:()=>this.createOption(s),onMouseOver:()=>this.changePreSelection.emit(t)},e("ez-card-item",{item:s,compacted:!0,enableKey:this.showOptionValue}))}componentDidLoad(){this._optionsList&&(this._optionsList.style.maxHeight=`${this.MAX_HEIGHT}px`)}componentDidUpdate(){if(this._optionsList){const i=this._optionsList.getBoundingClientRect();window.innerHeight-i.bottom<0&&this.adjustMaxHeight(i)}}adjustMaxHeight(i){if(this._optionsList){const t=Math.min(i.top-this.HEADER_MENU_HEIGHT,this.MAX_HEIGHT);this._optionsList.style.maxHeight=`${t}px`}}cleanEmptyObjectArray(i){return i.filter((i=>void 0!==(null==i?void 0:i.value)))}render(){return e(s,null,e("ul",{class:"list-options",ref:i=>this._optionsList=i},!this.showLoading&&0===this.cleanEmptyObjectArray(this.visibleOptions).length&&e("div",{class:"message"},e("span",{class:"message__no-result"},this.textEmptyList)),this.showLoading&&e("div",{class:"message"},e("div",{class:"message__loading"})),this.canShowListOptions&&this.visibleOptions.map(((i,t)=>this.buildItem(i,t)))))}};z.style=":host{--ez-classic-search__list-title--primary:var(--title--primary, #2B3A54);--ez-classic-search__list-text--primary:var(--text--primary, #626e82);--ez-classic-search__list-height:calc(var(--ez-classic-search--font-size) + var(--ez-classic-search--space--medium) + 4px);--ez-classic-search__list-min-width:64px;--ez-classic-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-classic-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-classic-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-classic-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-classic-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-classic-search__scrollbar--width:var(--space--small, 6px);--ez-classic-search--border-radius-small:var(--border--radius-small, 6px);--ez-classic-search--font-size:var(--text--medium, 14px);--ez-classic-search--font-family:var(--font-pattern, Arial);--ez-classic-search--font-weight--large:var(--text-weight--large, 500);--ez-classic-search--font-weight--medium:var(--text-weight--medium, 400);--ez-classic-search--background-medium:var(--background--medium, #f0f3f7);--ez-classic-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-classic-search__scrollbar--color-clicked) var(--ez-classic-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-classic-search__scrollbar--color-background);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-classic-search__scrollbar--color-default);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-classic-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-classic-search__scrollbar--color-clicked)}.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-classic-search__list-height)}.message__no-result{color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-classic-search__list-title--primary);border-top:3px solid transparent}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size);line-height:var(--ez-classic-search--line-height)}.item__label{font-weight:var(--ez-classic-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-classic-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-classic-search__list-text--primary);font-weight:var(--ez-classic-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-classic-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-classic-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}}";const x=class{constructor(e){i(this,e),this.changeValue=t(this,"changeValue",7),this._startHighlightTag="<span class='card-item__highlight'>",this._endHighlightTag="</span>",this.showLoading=void 0,this.visibleOptions=[],this.value=void 0,this.showOptionValue=!0,this._preSelection=void 0}observerVisivleOptions(i){i.length&&this.preSelectItemByIndex(0)}async nextOption(){const i=void 0===this._preSelection?0:Math.min(this._preSelection+1,this.visibleOptions.length-1);this.preSelectItemByIndex(i)}async previousOption(){const i=void 0===this._preSelection?0:Math.max(this._preSelection-1,0);this.preSelectItemByIndex(i)}preSelectItemByIndex(i){this._preSelection=i,this.scrollToOption(this.visibleOptions[i])}selectOption(i){const t=Object.assign(Object.assign({},i),{value:null==i?void 0:i.value,label:null==i?void 0:i.label}),e=Object.assign(Object.assign({},t),{value:this.removeHighLight(null==t?void 0:t.value),label:this.removeHighLight(null==t?void 0:t.label)});this.changeValue.emit(e)}removeHighLight(i){if(!i||"string"!=typeof i)return i;const t=new RegExp(this._startHighlightTag,"g"),e=new RegExp(this._endHighlightTag,"g");return i.replace(t,"").replace(e,"")}createAndSelectOption(i){let{key:t,title:e}=i;t=String(null!=t?t:""),e=r.decodeHtmlEntities(e);const s={value:this.removeHighLight(t),label:this.removeHighLight(e)};this.selectOption(s)}scrollToOption(i){(null==i?void 0:i.value)&&this._optionsList&&window.requestAnimationFrame((()=>{var t;const e=String(null!==(t=null==i?void 0:i.value)&&void 0!==t?t:""),s=e?this._optionsList.querySelector(`div#item_${e.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g,"\\$1")}`):void 0;s&&s.scrollIntoView({behavior:"smooth",block:"nearest"})}))}buildItem(i,t){var s;i.label=i.label||i.value;const a={key:String(null!==(s=i.presentationValue)&&void 0!==s?s:""),title:i.presentationLabel,details:i.details};return e("div",{style:{height:"100%"},class:t===this._preSelection?"item preselected":"item",id:`item_${i.value}`,onMouseDown:()=>this.createAndSelectOption(a),onMouseOver:()=>{this._preSelection=t}},e("ez-card-item",{item:a,compacted:!0,enableKey:this.showOptionValue}))}async selectCurrentItem(){this.selectOption(this.visibleOptions[this._preSelection])}async cancelSelection(){this.cancelPreselection()}cancelPreselection(){this._preSelection=void 0}canShowListOptions(){return!this.showLoading&&this.visibleOptions.length>0}async componentWillLoad(){this.i18n=await b()}render(){return e(s,null,e("ul",{class:"list-options",ref:i=>this._optionsList=i},!this.showLoading&&0===this.visibleOptions.length&&e("div",{class:"message"},e("span",{class:"message__no-result"},this.i18n("ez-classic-search-plus.emptyList"))),this.showLoading&&e("div",{class:"loading__container"},e("ez-skeleton",{count:4,height:"20px"})),this.canShowListOptions()&&this.visibleOptions.map(((i,t)=>this.buildItem(i,t)))))}static get watchers(){return{visibleOptions:["observerVisivleOptions"]}}};x.style=":host{--ez-classic-search__list-title--primary:var(--title--primary, #2B3A54);--ez-classic-search__list-text--primary:var(--text--primary, #626e82);--ez-classic-search__list-height:calc(var(--ez-classic-search--font-size) + var(--ez-classic-search--space--medium) + 4px);--ez-classic-search__list-min-width:64px;--ez-classic-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-classic-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-classic-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-classic-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-classic-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-classic-search__scrollbar--width:var(--space--small, 6px);--ez-classic-search--border-radius-small:var(--border--radius-small, 6px);--ez-classic-search--font-size:var(--text--medium, 14px);--ez-classic-search--font-family:var(--font-pattern, Arial);--ez-classic-search--font-weight--large:var(--text-weight--large, 500);--ez-classic-search--font-weight--medium:var(--text-weight--medium, 400);--ez-classic-search--background-medium:var(--background--medium, #f0f3f7);--ez-classic-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-classic-search__scrollbar--color-clicked) var(--ez-classic-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-classic-search__scrollbar--color-background);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-classic-search__scrollbar--color-default);border-radius:var(--ez-classic-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-classic-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-classic-search__scrollbar--color-clicked)}.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-classic-search__list-height)}.message__no-result{color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size)}.loading__container{display:flex;flex-direction:column;margin:var(--space--small)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-classic-search__list-title--primary);font-family:var(--ez-classic-search--font-family);font-size:var(--ez-classic-search--font-size);line-height:var(--ez-classic-search--line-height)}.item__label{font-weight:var(--ez-classic-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-classic-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-classic-search__list-text--primary);font-weight:var(--ez-classic-search--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.item__list>li:hover{background-color:var(--ez-classic-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-classic-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}}";const f=class{constructor(t){i(this,t),this.showLoading=void 0,this.visibleOptions=void 0,this.textEmptyList=void 0,this.showOptionValue=void 0,this.preSelection=void 0,this.maxWidth=void 0,this.width=void 0,this.onOptionSelect=void 0,this.onOptionHover=void 0}async nextOption(){var i,t;(null===(i=this.visibleOptions)||void 0===i?void 0:i.length)&&(void 0!==this.preSelection&&this.preSelection>=this.visibleOptions.length-1||(this.preSelection=void 0===this.preSelection?0:this.preSelection+1,this.scrollToOption(this.visibleOptions[this.preSelection]),null===(t=this.onOptionHover)||void 0===t||t.call(this,this.preSelection)))}async previousOption(){var i,t;(null===(i=this.visibleOptions)||void 0===i?void 0:i.length)&&(void 0!==this.preSelection&&this.preSelection<=0||(this.preSelection=void 0===this.preSelection?this.visibleOptions.length-1:this.preSelection-1,this.scrollToOption(this.visibleOptions[this.preSelection]),null===(t=this.onOptionHover)||void 0===t||t.call(this,this.preSelection)))}async selectCurrentOption(){void 0!==this.preSelection&&(this.onOptionSelect(this.visibleOptions[this.preSelection]),this.preSelection=void 0)}observeWidth(i,t){i!==t&&this._listWrapper&&(this._listWrapper.style.width=`${this.width}px`)}observeMaxWidth(i,t){i!==t&&this._listWrapper&&(this._listWrapper.style.maxWidth=this.maxWidth?`${this.maxWidth}px`:"")}handleKeyDown(i){switch(i.key){case"ArrowDown":i.preventDefault(),i.stopPropagation(),this.nextOption();break;case"ArrowUp":i.preventDefault(),i.stopPropagation(),this.previousOption();break;case"Enter":this.selectCurrentOption();break;case"Escape":this.preSelection=void 0}}buildItem(i,t){const s=this.showOptionValue&&this.maxWidth>0?`${this.maxWidth}px`:"";return i.label=i.label||i.value,e("li",{tabIndex:1,class:t===this.preSelection?"item preselected":"item",id:`item_${i.value}_${t}`,key:`item_${i.value}_${t}`,onMouseDown:()=>this.onOptionSelect(i),onMouseOver:()=>this.preSelection=t},this.showOptionValue?e("span",{class:"item__value",title:i.value,style:{width:s,minWidth:s,maxWidth:s}},i.value):void 0,e("span",{class:"item__label "+(this.showOptionValue?"item__label--bold":""),title:i.label},i.label))}scrollToOption(i){if(!(null==i?void 0:i.value)||!this._optionsList)return;const t=this.visibleOptions.indexOf(i);if(-1===t)return;const e=this._optionsList.querySelector(`li#item_${CSS.escape(i.value)}_${CSS.escape(String(t))}`);e&&e.scrollIntoView({behavior:"smooth",block:"nearest"})}async componentWillLoad(){this.i18n=await b()}componentDidLoad(){this._listWrapper.style.width=`${this.width}px`,this._listWrapper.style.maxWidth=this.maxWidth?`${this.maxWidth}px`:""}componentDidRender(){var i;null===(i=this._optionsList)||void 0===i||i.querySelectorAll(".item").forEach((i=>{l.addIDInfoIfNotExists(i,"itemComboBox")}))}render(){return e("section",{class:"list-container"},e("div",{class:"list-wrapper",ref:i=>this._listWrapper=i},e("ul",{class:"list-options",ref:i=>this._optionsList=i},!this.showLoading&&0===this.visibleOptions.length&&e("div",{class:"message"},e("span",{class:"message__no-result"},this.textEmptyList||this.i18n("ez-combo-box.noResults"))),this.showLoading&&e("div",{class:"message"},e("div",{class:"message__loading"})),this.showOptionValue&&e("span",{class:"item__value item__value--hidden"}),!this.showLoading&&this.visibleOptions.length>0&&this.visibleOptions.map(((i,t)=>this.buildItem(i,t))))))}static get watchers(){return{width:["observeWidth"],maxWidth:["observeMaxWidth"]}}};f.style=":host{--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--font-weight--large:var(--text-weight--large, 500);--ez-combo-box--font-weight--medium:var(--text-weight--medium, 400);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box--background-medium:var(--background--medium, #f0f3f7);--ez-combo-box--line-height:calc(var(--text--medium, 14px) + 4px);--ez-combo-box__list-title--primary:var(--title--primary, #2B3A54);--ez-combo-box__list-text--primary:var(--text--primary, #626e82);--ez-combo-box__list-height:calc(var(--ez-combo-box--font-size) + var(--ez-combo-box--space--medium) + 4px);--ez-combo-box--space--medium:var(--space--medium, 12px);--ez-combo-box--space--small:var(--space--small, 6px);--ez-combo-box__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-combo-box__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-combo-box__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-combo-box__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-combo-box__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-combo-box__scrollbar--width:var(--space--medium, 12px);--ez-combo-box__list-container--padding:var(--space--extra-small, 3px)}.list-container{padding-top:var(--ez-combo-box__list-container--padding)}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:calc(4*var(--ez-combo-box__list-height) + 2*var(--ez-combo-box--space--small) + 9px);background-color:var(--ez-combo-box--background-color--xlight);border-radius:var(--ez-combo-box--border-radius);box-shadow:var(--shadow--medium, 0 8px 24px 0 rgba(43, 58, 84, 0.10));padding:var(--ez-combo-box--space--small)}.list-options{box-sizing:border-box;width:100%;height:100%;padding:0;margin:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow:auto;scrollbar-width:thin;gap:3px;scrollbar-color:var(--ez-combo-box__scrollbar--color-clicked) var(--ez-combo-box__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-combo-box__scrollbar--color-background);width:var(--ez-combo-box__scrollbar--width);max-width:var(--ez-combo-box__scrollbar--width);min-width:var(--ez-combo-box__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-combo-box__scrollbar--color-background);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-combo-box__scrollbar--color-default);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-combo-box__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-combo-box__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-combo-box--border-radius-small);padding:var(--ez-combo-box--space--small);min-height:var(--ez-combo-box__list-height);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size);line-height:var(--ez-combo-box--line-height)}.item__label{font-weight:var(--ez-combo-box--font-weight--medium)}.item__label--bold{font-weight:var(--ez-combo-box--font-weight--large)}.item__value{text-align:center;color:var(--ez-combo-box__list-text--primary);font-weight:var(--ez-combo-box--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-combo-box__list-height)}.message__no-result{color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--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-combo-box__list-title--primary);border-top:3px solid transparent}li:hover{background-color:var(--ez-combo-box--background-medium)}.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)}}";const w=class{constructor(t){i(this,t),this.gui=void 0,this.customEditor=void 0,this.formViewField=void 0,this.value=void 0,this.detailContext=void 0,this.builderFallback=void 0,this.selectedRecord=void 0}async setFocus(){var i,t;null===(t=null===(i=this.gui)||void 0===i?void 0:i.setFocus)||void 0===t||t.call(i)}async setBlur(){var i,t;null===(t=null===(i=this.gui)||void 0===i?void 0:i.setBlur)||void 0===t||t.call(i)}async isInvalid(){var i,t;return(null===(t=null===(i=this.gui)||void 0===i?void 0:i.isInvalid)||void 0===t?void 0:t.call(i))||!1}watchValue(){this.handleValue(this.gui)}watchCustomEditor(){this.getContent()}watchFormViewField(i,t){c.equals(i,t)||this.getContent()}watchDetailContext(){this.getContent()}watchBuilderFallback(){this.getContent()}watchSelectedRecord(i,t){(null==i?void 0:i.__record__id__)!==(null==t?void 0:t.__record__id__)&&this.getContent()}getContent(){var i,t,s,o,l;const c=new Map;for(const i in this.formViewField.props)c.set(i,this.formViewField.props[i]);const h={value:this.value,name:this.formViewField.name,currentEditor:this.builderFallback(this.formViewField),setValue:i=>this.setValue(i),getValue:this.getValue,record:this.selectedRecord,editorMetadata:{label:this.formViewField.label,hidden:!1===(null===(i=this.formViewField.props)||void 0===i?void 0:i.visible),userInterface:this.formViewField.userInterface,options:null===(t=this.formViewField.props)||void 0===t?void 0:t.options,props:this.formViewField.props?c:void 0,optionLoader:this.formViewField.optionLoader},source:u.FORM,detailContext:this.detailContext};let d=this.customEditor.getEditorElement(h);if(!d)return d=this.builderFallback(this.formViewField),this.handleValue(d),void(this.gui=d);if(!(d instanceof a)&&"string"!=typeof d)return this.handleValue(d),void(this.gui=d);"string"==typeof d&&(d=n.parseElement(d));const m=null!==(l=null!==(o=null===(s=this.value)||void 0===s?void 0:s.value)&&void 0!==o?o:this.value)&&void 0!==l?l:"";d.setAttribute("value",m),this.gui=e("div",{key:r.generateUUID(),ref:i=>i&&i.appendChild(d)})}setValue(i){this.value=i}getValue(){return this.value}handleValue(i){var t;null===(t=i.i)||void 0===t||t.forEach((i=>{i.t.value=this.value}))}componentWillLoad(){this.getContent()}render(){return e(s,null,this.gui)}static get watchers(){return{value:["watchValue"],customEditor:["watchCustomEditor"],formViewField:["watchFormViewField"],detailContext:["watchDetailContext"],builderFallback:["watchBuilderFallback"],selectedRecord:["watchSelectedRecord"]}}},y=class{constructor(e){i(this,e),this.ezChange=t(this,"ezChange",7),this.ezError=t(this,"ezError",7),this.handleFileSelect=i=>{const t=i.target;t.files&&t.files[0]&&this.processFile(t.files[0])},this.handleDrop=i=>{var t;if(i.preventDefault(),i.stopPropagation(),this._isDragging=!1,!this.enabled)return;const e=null===(t=i.dataTransfer)||void 0===t?void 0:t.files;e&&e[0]&&this.processFile(e[0])},this.handleDragOver=i=>{i.preventDefault(),i.stopPropagation(),this.enabled&&(this._isDragging=!0)},this.handleDragLeave=i=>{i.preventDefault(),i.stopPropagation(),this._isDragging=!1},this.handleRemoveImage=i=>{i.stopPropagation(),this.value=void 0,this._hasImage=!1,this._inputElem&&(this._inputElem.value=""),this.ezChange.emit("")},this.handleEditImage=i=>{var t;i.stopPropagation(),null===(t=this._inputElem)||void 0===t||t.click()},this.handleClickDropZone=()=>{var i;this.enabled&&!this._hasImage&&(null===(i=this._inputElem)||void 0===i||i.click())},this.handleImageClick=i=>{i.stopPropagation(),this._hasImage&&this.value&&(this._showImagePopup=!0)},this.handlePopupAction=i=>{const t=i.detail;"CANCEL"!==t&&"OK"!==t||this.handleClosePopup()},this.handleClosePopup=()=>{this._showImagePopup=!1},this.enabled=!0,this.label=void 0,this.name=void 0,this.value=void 0,this.maxFileSize=20971520,this.accept="image/*",this.loading=!1,this._hasImage=!1,this._isDragging=!1,this._showImagePopup=!1}onValueChange(i,t){i!==t&&(this._hasImage=!!i),!i&&this._inputElem&&(this._inputElem.value="")}addInfoId(){this._element&&l.addIDInfo(this._element),this._inputElem&&l.addIDInfo(this._inputElem,"image-input",{id:"embedded"})}processFile(i){if(!i.type.startsWith("image/")){const i=this.i18n("ez-image-input.invalidFileType");return void this.ezError.emit(i)}if(this.maxFileSize&&i.size>this.maxFileSize){const i=(this.maxFileSize/1048576).toFixed(2),t=this.i18n("ez-image-input.fileTooLarge",{maxSize:`${i}MB`});return void this.ezError.emit(t)}const t=new FileReader;t.onload=i=>{var t;const e=null===(t=i.target)||void 0===t?void 0:t.result;this.value=e,this._hasImage=!0,this.ezChange.emit(e)},t.readAsDataURL(i)}async componentWillLoad(){this.i18n=await b(),this._hasImage=!!this.value}componentDidLoad(){this.addInfoId()}render(){if(this.loading)return e(s,null,e("ez-skeleton",{width:"280px",height:"200px"}));const i=this.label||this.i18n("ez-image-input.defaultLabel");return e(s,null,e("div",{class:{"image-input__container":!0,"image-input__container--disabled":!this.enabled,"image-input__container--dragging":this._isDragging,"image-input__container--has-image":this._hasImage},"data-enabled":this.enabled.toString(),"data-has-image":this._hasImage.toString(),onClick:this.handleClickDropZone,onDrop:this.handleDrop,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,role:"button","aria-label":i,tabindex:this.enabled?0:-1},e("input",{ref:i=>this._inputElem=i,type:"file",accept:this.accept,name:this.name,disabled:!this.enabled,onChange:this.handleFileSelect,class:"image-input__file-input","aria-hidden":"true"}),this._hasImage&&this.value?e("div",{class:"image-input__preview"},e("img",{src:this.value,alt:this.i18n("ez-image-input.imageAlt"),class:"image-input__image",onClick:this.handleImageClick}),this.enabled&&e("div",{class:"image-input__actions"},e("ez-button",{class:"image-input__remove-button",variant:"primary",type:"button",mode:"icon",size:"small",iconName:"trash-alt",onClick:this.handleRemoveImage,"aria-label":this.i18n("ez-image-input.removeImage"),title:this.i18n("ez-image-input.removeImage")}),e("ez-button",{class:"image-input__edit-button",variant:"secondary",type:"button",mode:"icon",size:"small",iconName:"edit",onClick:this.handleEditImage,"aria-label":this.i18n("ez-image-input.editImage"),title:this.i18n("ez-image-input.editImage")}))):e("div",{class:"image-input__dropzone"},e("ez-icon",{iconName:"image",size:"x-large"}),e("span",{class:"image-input__label"},i))),e("ez-popup",{opened:this._showImagePopup,ezTitle:this.i18n("ez-image-input.imagePreview"),size:"large",heightMode:"auto",onEzPopupAction:this.handlePopupAction,onEzClosePopup:this.handleClosePopup},e("div",{class:"image-input__popup-content"},e("img",{src:this.value,alt:this.i18n("ez-image-input.imageAlt"),class:"image-input__popup-image"}))))}get _element(){return o(this)}static get watchers(){return{value:["onValueChange"]}}};y.style=":host{display:block;--ez-image-input--container-height:200px;--ez-image-input--container-width:280px;--ez-image-input--background-color:var(--color--gray-80);--ez-image-input--border-color:var(--color--gray-200);--ez-image-input--border-color-hover:var(--color--ocean-green-600);--ez-image-input--border-color-dragging:var(--color--ocean-green-500);--ez-image-input--border-color-disabled:var(--color--gray-200);--ez-image-input--label-color:var(--color--petroleum-900);--ez-image-input--icon-color:var(--color--gray-400);--ez-image-input--border-radius:var(--border--radius-24);--ez-image-input--border-width:2px;--ez-image-input--remove-button-bg:var(--color--red-600);--ez-image-input--remove-button-bg-hover:var(--color--red-700);--ez-image-input--remove-button-color:var(--color--gray-70);--ez-image-input--remove-button-border:1px solid var(--color--red-700)}.image-input__container{display:flex;align-items:center;justify-content:center;position:relative;height:var(--ez-image-input--container-height);width:var(--ez-image-input--container-width);border:var(--ez-image-input--border-width) dashed var(--ez-image-input--border-color);border-radius:var(--ez-image-input--border-radius);background-color:var(--ez-image-input--background-color);cursor:pointer;transition:all 0.3s ease;overflow:hidden}.image-input__container:hover:not(.image-input__container--disabled){border-color:var(--ez-image-input--border-color-hover)}.image-input__container--dragging{border-color:var(--ez-image-input--border-color-dragging);background-color:var(--color--ocean-green-90)}.image-input__container--disabled{cursor:not-allowed;opacity:0.6;border-color:var(--ez-image-input--border-color-disabled)}.image-input__container--has-image{border-style:solid;padding:var(--space--0)}.image-input__file-input{display:none}.image-input__dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space--16);padding:var(--space--24);text-align:center}.image-input__dropzone ez-icon{color:var(--ez-image-input--icon-color)}.image-input__label{font-family:var(--font--pattern);font-size:var(--font-size--default);font-weight:var(--font-weight--medium);color:var(--ez-image-input--label-color);line-height:var(--line-height--20)}.image-input__preview{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.image-input__image{height:100%;object-fit:cover;border-radius:calc(var(--ez-image-input--border-radius) - var(--ez-image-input--border-width))}.image-input__actions{position:absolute;top:var(--space--8);right:var(--space--8);display:flex;flex-direction:column;gap:var(--space--4);opacity:0;transition:opacity 0.2s ease}.image-input__container:hover .image-input__actions{opacity:1}.image-input__remove-button{--ez-button--background-color:var(--ez-image-input--remove-button-bg);--ez-button--hover--background-color:var(--ez-image-input--remove-button-bg-hover);--ez-button--color:var(--ez-image-input--remove-button-color);--ez-button--border:var(--ez-image-input--remove-button-border);--ez-button--hover--border:var(--ez-image-input--remove-button-border)}.image-input__edit-button{--ez-button--background-color:var(--ez-image-input--edit-button-bg);--ez-button--hover--background-color:var(--ez-image-input--edit-button-bg-hover);--ez-button--color:var(--ez-image-input--edit-button-color);--ez-button--border:var(--ez-image-input--edit-button-border);--ez-button--hover--border:var(--ez-image-input--edit-button-border);--ez-button--left-icon--color:var(--ez-image-input--edit-button-color);--ez-button--right-icon--color:var(--ez-image-input--edit-button-color)}.image-input__popup-content{display:flex;align-items:center;justify-content:center;padding:var(--space--16);height:100%}.image-input__popup-image{max-width:100%;max-height:70vh;object-fit:contain;border-radius:var(--border--radius-8)}.image-input__image{height:100%;object-fit:cover;border-radius:calc(var(--ez-image-input--border-radius) - var(--ez-image-input--border-width));cursor:pointer;transition:transform 0.2s ease}.image-input__image:hover{transform:scale(1.02)}ez-skeleton{--skeleton-width:var(--ez-image-input--container-width);--skeleton-height:var(--ez-image-input--container-height)}";const k=class{constructor(e){i(this,e),this.ezChange=t(this,"ezChange",7),this.historyStack=[],this.historyIndex=-1,this.previewMode=!1,this.showPreview=!0,this.value=void 0,this.label=void 0,this.mode="regular",this.enabled=!0,this.rows=6,this.errorMessage=void 0,this.canShowError=!0,this.showConfigs=!0,this.showTextFormat=!0,this.showUndoRedo=!0}observeValue(i,t){c.equals(i,t)||this.ezChange.emit(i)}observeErrorMessage(i){i&&this.previewMode&&(this.previewMode=!1)}async handleExecuteToolbarCommand(i){const{command:t,value:e}=i.detail;await this.executeCommand(t,e)}async setFocus(){this.handleFocus()}async setBlur(){var i;await(null===(i=this.textAreaRef)||void 0===i?void 0:i.setBlur())}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}bindPreview(){this._keyboardManager&&this.showPreview&&this._keyboardManager.bind("ctrl + p",(async()=>{await this.togglePreview()}),{description:"Entra em modo de pré visualização.",element:this.element})}bindConfigs(){this._keyboardManager&&this.showConfigs&&this._keyboardManager.bind("ctrl + l",(async()=>{await this.handleFormatSelection(p.LIST)}),{description:this.i18n("ez-rich-text.listShortcut"),element:this.element}).bind("ctrl + k",(async()=>{await this.handleLink()}),{description:this.i18n("ez-rich-text.linkShortcut"),element:this.element}).bind("ctrl + o",(async()=>{await this.handleImage()}),{description:this.i18n("ez-rich-text.imageShortcut"),element:this.element})}bindTextFormat(){this._keyboardManager&&this.showTextFormat&&this._keyboardManager.bind("ctrl + b",(async()=>{await this.handleFormatSelection(p.BOLD)}),{description:this.i18n("ez-rich-text.boldShortcut"),element:this.element}).bind("ctrl + i",(async()=>{await this.handleFormatSelection(p.ITALIC)}),{description:this.i18n("ez-rich-text.italicShortcut"),element:this.element}).bind("ctrl + u",(async()=>{await this.handleFormatSelection(p.UNDERLINE)}),{description:this.i18n("ez-rich-text.underlineShortcut"),element:this.element})}initKeyboardManager(){this._keyboardManager=new h({propagate:!1,element:this.element}),this._keyboardManager.bind("ctrl + Enter",(async()=>{await this.handleFormatSelection(p.BREAK_LINE)}),{description:this.i18n("ez-rich-text.breakLineShortcut"),element:this.element}).bind("ctrl + z",(async()=>{await this.handleUndo()}),{description:this.i18n("ez-rich-text.undoShortcut"),element:this.element}).bind("ctrl + x",(async()=>{await this.handleRedo()}),{description:this.i18n("ez-rich-text.redoShortcut"),element:this.element}),this.bindPreview(),this.bindConfigs(),this.bindTextFormat()}async executeCommand(i,t){switch(i){case v.FOCUS:this.handleFocus();break;case v.PREVIEW:await this.togglePreview();break;case v.FORMAT:await this.handleFormatSelection(t);break;case v.UNDO:await this.handleUndo();break;case v.REDO:await this.handleRedo();break;case v.LINK:await this.handleLink();break;case v.IMAGE:await this.handleImage()}}handleFocus(){this.previewMode=!1,requestAnimationFrame((async()=>{await this.textAreaRef.setFocus()}))}async handleLink(){this.previewMode=!1,requestAnimationFrame((async()=>{await this.linkBuilderRef.show(this.getSelectedText())}))}async handleImage(){this.previewMode=!1,await this.imageUploaderRef.show()}async handleRedo(){this.previewMode=!1,requestAnimationFrame((async()=>{this.redo(),await this.textAreaRef.setFocus()}))}async handleUndo(){this.previewMode=!1,requestAnimationFrame((async()=>{this.undo(),await this.textAreaRef.setFocus()}))}async handleFormatSelection(i){i&&(this.previewMode=!1,requestAnimationFrame((async()=>{await this.formatSelection(i),await this.textAreaRef.setFocus()})))}async togglePreview(){this.previewMode=!this.previewMode,this.previewMode&&await this.textAreaRef.setFocus()}getSelectedText(){const i=this.getTextAreaElement();if(i)return(this.textAreaRef.value||"").substring(i.selectionStart,i.selectionEnd)}getTextAreaElement(){return this.element.querySelector("ez-text-area").shadowRoot.querySelector("textarea")}async formatSelection(i){if(!this.textAreaRef)return;const t=i.replace("$selection",this.getSelectedText()||"");await this.textAreaRef.appendTextToSelection(t),this.value=this.textAreaRef.value,this.addToHistory(this.value)}addToHistory(i){this.historyIndex>=0&&i===this.historyStack[this.historyIndex]||(this.historyStack.length>=50&&this.historyStack.splice(0,this.historyStack.length-49),this.historyStack.push(i),this.historyIndex=this.historyStack.length-1)}undo(){if(!this.canExecuteUndo())return;this.historyIndex--;const i=this.historyStack[this.historyIndex];this.value=i,this.textAreaRef.value=i}canExecuteUndo(){return this.historyIndex>0}redo(){this.canExecuteRedo()&&(this.historyIndex++,this.getValueFromHistory())}canExecuteRedo(){return this.historyIndex<this.historyStack.length-1}getValueFromHistory(){const i=this.historyStack[this.historyIndex];this.value=i,this.textAreaRef.value=i}handleTextAreaChanged(i){this.value=i.detail,this.addToHistory(this.value)}async removeShortcuts(){var i;null===(i=this._keyboardManager)||void 0===i||i.unbindAllShortcutKeys()}async componentWillLoad(){this.i18n=await b()}componentDidLoad(){this.initKeyboardManager(),this.addToHistory(this.value)}async disconnectedCallback(){await this.removeShortcuts()}getSanitizedValue(){return g.sanitize(this.value,{ADD_ATTR:["target","rel"]})}renderContent(){return this.previewMode?e("div",{id:"rich-text-preview-container",class:"preview",innerHTML:this.getSanitizedValue()}):e("ez-text-area",{ref:i=>this.textAreaRef=i,label:this.label,value:this.value,enabled:this.enabled,rows:this.rows,mode:this.mode,canShowError:this.canShowError,errorMessage:this.errorMessage,onEzChange:this.handleTextAreaChanged.bind(this)})}render(){return e(s,null,e("div",{class:"editor-container bordered"},e("ez-rich-toolbar",{isPreviewMode:this.previewMode,showPreview:this.showPreview,showConfigs:this.showConfigs&&this.enabled,showTextFormat:this.showTextFormat&&this.enabled,showUndoRedo:this.showUndoRedo&&this.enabled}),this.renderContent()),e("ez-link-builder",{ref:i=>this.linkBuilderRef=i}),e("ez-simple-image-uploader",{ref:i=>this.imageUploaderRef=i}))}get element(){return o(this)}static get watchers(){return{value:["observeValue"],errorMessage:["observeErrorMessage"]}}};k.style=".sc-ez-rich-text-h{display:block;width:100%;font-family:Roboto;--ez-rich-text--box-shadow:0 0 3px 0 #DCE0E8;--ez-rich-text--shadow--outline:var(--shadow--outline) var(--color--strokes)}.editor-container.sc-ez-rich-text{width:100%;overflow:hidden;border-radius:12px;border:1px solid #DCE0E8}ez-text-area.sc-ez-rich-text{--text-area__input--border:1px solid}.preview.sc-ez-rich-text{min-height:20px;padding:12px;resize:both;overflow:auto;max-width:100%;border-top:1px solid #DCE0E8}";const E=class{constructor(e){i(this,e),this.saveEdition=t(this,"saveEdition",7),this.cancelEdition=t(this,"cancelEdition",7),this._newValue=void 0,this.value=void 0,this.styled=void 0}async applyFocusSelect(){this.calcSizeInput(this.value,!0)}calcSizeInput(i,t=!1){var e,s;const a=null===(s=null===(e=this._inputElement)||void 0===e?void 0:e.shadowRoot)||void 0===s?void 0:s.querySelector("input");if(null!=a){const e=this.getWidthValue(i);a.style.width=e+"px",t&&setTimeout((()=>a.select()),100)}}getWidthValue(i){if(null!=this._valueBasis){const t=this._valueBasis;if(null!=i){const e=2;return t.innerHTML=i,t.clientWidth>0?t.clientWidth+e:e}t.innerHTML=""}return 0}setStyledInput(){var i,t;let e="",s="",a="";null!=this.styled&&(e=this.styled.fontSize,s=this.styled.fontWeight,a=this.styled.fontFamily);const o=null===(t=null===(i=this._inputElement)||void 0===i?void 0:i.shadowRoot)||void 0===t?void 0:t.querySelector("input");null!=o&&(o.style.fontSize=e,o.style.fontWeight=s,o.style.fontFamily=a);const r=this._valueBasis;null!=r&&(r.style.fontSize=e,r.style.fontWeight=s,r.style.fontFamily=a)}handleSaveEdition(){this._newValue?this.saveEdition.emit({value:this.value,newValue:this._newValue}):_.alert(this.i18n("app.warning"),this.i18n("ez-text-edit.emptyFieldWarning")).then((()=>{this.setNewValue(this.value,!0)}))}handleCancelEdition(){this.cancelEdition.emit()}setNewValue(i,t=!1){this._newValue=i,this.calcSizeInput(this._newValue,t)}async componentWillLoad(){this.i18n=await b()}componentDidLoad(){this.applyFocusSelect(),this.setNewValue(this.value)}componentDidRender(){this.setStyledInput()}render(){return l.addIDInfoIfNotExists(this._element,"input"),e(s,null,e("span",{class:"text-edit__hidden-value",ref:i=>this._valueBasis=i}),e("ez-text-input",{"data-element-id":l.getInternalIDInfo("textInput"),onInput:()=>{this.calcSizeInput(this._newValue)},class:"text-edit__form-input",value:this._newValue,ref:i=>this._inputElement=i,mode:"slim",onEzChange:i=>this.setNewValue(null==i?void 0:i.detail),noBorder:!0}),e("ez-button",{class:"text-edit__icon-check",mode:"icon",iconName:"check",size:"small",onClick:()=>{this.handleSaveEdition()}}),e("ez-button",{class:"text-edit__icon-close",mode:"icon",iconName:"close",size:"small",onClick:()=>{this.handleCancelEdition()}}))}get _element(){return o(this)}};E.style=":host{display:flex;align-items:center;gap:5px}.text-edit__form-input{width:auto;--ez-text-input__input--padding:0px}.text-edit__hidden-value{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}";export{z as classic_search_list,x as ez_classic_search_result_list,f as ez_combo_box_list,w as ez_custom_form_input,y as ez_image_input,k as ez_rich_text,E as ez_text_edit}
@@ -1 +1 @@
1
- import{r as s,c as t,h as i,g as e}from"./p-23a36bb6.js";import{ElementIDUtils as h}from"@sankhyalabs/core";import{C as r}from"./p-ec7db713.js";const a=class{constructor(i){s(this,i),this.ezChange=t(this,"ezChange",7),this.ezSearching=t(this,"ezSearching",7),this.ezFocusIn=t(this,"ezFocusIn",7),this._searchingText="",this.handleFocus=()=>{this._textInput.value=""===this._searchingText?"":this._searchingText,this.ezFocusIn.emit()},this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.restrict=void 0,this.mode="regular",this.asyncSearch=!1,this.canShowError=!0,this.autoFocus=!1}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){this._textInput&&(this._textInput.errorMessage=this.errorMessage)}observeValue(s,t){this._textInput&&s!=t&&(this._textInput.value=s,this.ezChange.emit(s))}async setFocus(s){this._textInput.setFocus(s)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async setValue(s){this.asyncSearch&&null!=this._textInput&&(s!==this.value?(this.value=s,this._searchingText=""):this._textInput.value=s)}async endSearch(){this.asyncSearch&&null!=this._textInput&&this._textInput.value!==this.value&&(this._textInput.value=this.value)}handleChange(s){const t=s.detail;this.errorMessage="",this.asyncSearch?(this._searchingText=t,this.ezSearching.emit(t)):t!==this.value&&(this.value=t)}componentDidLoad(){r.applyVarsTextInput(this._elem,this._textInput),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return h.addIDInfoIfNotExists(this._elem,"input"),i("ez-text-input",{"data-element-id":h.getInternalIDInfo("textInput"),ref:s=>this._textInput=s,label:this.label,onEzChange:s=>this.handleChange(s),value:this.value,enabled:this.enabled,errorMessage:this.errorMessage,restrict:this.restrict,mode:this.mode,onFocusin:this.handleFocus,canShowError:this.canShowError},i("ez-icon",{slot:"leftIcon",iconName:"search"}))}get _elem(){return e(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};a.style=":host{display:block;width:100%}";export{a as ez_filter_input}
1
+ import{r as s,c as t,h as i,g as e}from"./p-e4c7eb39.js";import{ElementIDUtils as h}from"@sankhyalabs/core";import{C as r}from"./p-ec7db713.js";const a=class{constructor(i){s(this,i),this.ezChange=t(this,"ezChange",7),this.ezSearching=t(this,"ezSearching",7),this.ezFocusIn=t(this,"ezFocusIn",7),this._searchingText="",this.handleFocus=()=>{this._textInput.value=""===this._searchingText?"":this._searchingText,this.ezFocusIn.emit()},this.label=void 0,this.value=void 0,this.enabled=!0,this.errorMessage=void 0,this.restrict=void 0,this.mode="regular",this.asyncSearch=!1,this.canShowError=!0,this.autoFocus=!1}observeLabel(){this._textInput&&(this._textInput.label=this.label)}observeErrorMessage(){this._textInput&&(this._textInput.errorMessage=this.errorMessage)}observeValue(s,t){this._textInput&&s!=t&&(this._textInput.value=s,this.ezChange.emit(s))}async setFocus(s){this._textInput.setFocus(s)}async setBlur(){this._textInput.setBlur()}async isInvalid(){return"string"==typeof this.errorMessage&&""!==this.errorMessage.trim()}async setValue(s){this.asyncSearch&&null!=this._textInput&&(s!==this.value?(this.value=s,this._searchingText=""):this._textInput.value=s)}async endSearch(){this.asyncSearch&&null!=this._textInput&&this._textInput.value!==this.value&&(this._textInput.value=this.value)}handleChange(s){const t=s.detail;this.errorMessage="",this.asyncSearch?(this._searchingText=t,this.ezSearching.emit(t)):t!==this.value&&(this.value=t)}componentDidLoad(){r.applyVarsTextInput(this._elem,this._textInput),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}render(){return h.addIDInfoIfNotExists(this._elem,"input"),i("ez-text-input",{"data-element-id":h.getInternalIDInfo("textInput"),ref:s=>this._textInput=s,label:this.label,onEzChange:s=>this.handleChange(s),value:this.value,enabled:this.enabled,errorMessage:this.errorMessage,restrict:this.restrict,mode:this.mode,onFocusin:this.handleFocus,canShowError:this.canShowError},i("ez-icon",{slot:"leftIcon",iconName:"search"}))}get _elem(){return e(this)}static get watchers(){return{label:["observeLabel"],errorMessage:["observeErrorMessage"],value:["observeValue"]}}};a.style=":host{display:block;width:100%}";export{a as ez_filter_input}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as o,g as e}from"./p-23a36bb6.js";import{ObjectUtils as h,ElementIDUtils as r}from"@sankhyalabs/core";import"./p-ad5e263d.js";import{C as n}from"./p-ec7db713.js";import"./p-ab574d59.js";import"./p-b853763b.js";import{i as a}from"./p-42e1e733.js";import"./p-5895e687.js";import"./p-47e4a8ce.js";const l=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this._changeDeboucingTimeout=null,this._deboucingTime=300,this._maxWidthValue=0,this._tabPressed=!1,this._lookupMode=!1,this.isOpen=!1,this._preSelection=void 0,this._visibleOptions=void 0,this._startLoading=!1,this._showLoading=!0,this._criteria=void 0,this.limitCharsToSearch=3,this.value=void 0,this.label=void 0,this.enabled=!0,this.options=void 0,this.errorMessage=void 0,this.showSelectedValue=!1,this.showOptionValue=!1,this.suppressSearch=!1,this.optionLoader=void 0,this.suppressEmptyOption=!1,this.stopPropagateEnterKeyEvent=!0,this.canShowError=!0,this.mode="regular",this.hideErrorOnFocusOut=!0,this.listOptionsPosition=void 0,this.isTextSearch=!1,this.autoFocus=!1,this.preventAutoFocus=!1,this.alternativePlaceholder=void 0,this.textEmptyOption=void 0}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,i){if(this._textInput&&t!=i)try{if("string"==typeof t)return void this.setInputValue();const s=this.getSelectedOption(t),o=this.getSelectedOption(i),e=this.getSelectedOption(this.value);this.isDifferentValues(e,s)&&(this.value=s),this.isDifferentValues(s,o)&&(this.setInputValue(),this._lookupMode||this.ezChange.emit(null===s?void 0:s)),this.resetOptions()}finally{this._lookupMode=!1}}observeOptions(t,i){h.equals(t,i)||this.loadOptions(d.PRELOAD)}async getValueAsync(){return new Promise(this._showLoading?t=>{let i=setInterval((()=>{this._showLoading||(clearInterval(i),t(this.sanitizeValue(this.value)))}),100)}:t=>t(this.sanitizeValue(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()}isDifferentValues(t,i){return h.objectToString(t||{})!==h.objectToString(i||{})}getFormattedText(t){if(null!=t)return this.showSelectedValue&&null!=t.value?t.label?`${t.value} - ${t.label}`:t.value:t.label}getText(){const t=this.getSelectedOption(this.sanitizeValue(this.value)),i=this.getFormattedText(t);if(null!=i)return String(i).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"')}getSelectedOption(t){return"string"==typeof t||t instanceof String?this._visibleOptions.find((i=>i.value===t)):t}updateVisibleOptions(){let t=this._source||[];if(this._criteria){const i=this._criteria.toUpperCase();t=t.filter((t=>t.label.toLocaleUpperCase().indexOf(i)>-1))}this.hasToAddEmptyoption(t)&&(t=[{value:void 0,label:this.textEmptyOption||this.i18n("ez-combo-box.placeholder")}].concat(t)),this._visibleOptions=t,this._maxWidthValue=this.getMaxWidthValue()}hasToAddEmptyoption(t){return!this.suppressEmptyOption&&!t.filter((t=>!t.value)).length}getMaxWidthValue(){var t;if(this.showOptionValue){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}return 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}async showOptions(){var t,i;if(!this.enabled)return;await this.openPopover();const s=null!==(i=null===(t=this.value)||void 0===t?void 0:t.value)&&void 0!==i?i:this.value,o=this._visibleOptions.findIndex((t=>t.value===s));this._preSelection=-1===o?0:o,this._resizeObserver&&this._resizeObserver.observe(this._textInput),this.preventAutoFocus||await this.setFocus()}hideOptions(){var t;null===(t=this._popover)||void 0===t||t.hide(),this._resizeObserver&&this._resizeObserver.unobserve(this._textInput)}updateSource(t){this._startLoading=!1,t instanceof Promise?(this._showLoading=!0,t.then((t=>{this._showLoading=!1,this.updateSource(t)})).catch((()=>this._showLoading=!1)),this.updateVisibleOptions()):(this._showLoading=!1,Array.isArray(t)?(this._source=t,this.updateVisibleOptions(),this._tabPressed&&(this._tabPressed=!1)):this.selectOption(t))}selectOption(t,i=!0){var s,o,e;const h=this.getSelectedOption(this.value);(null===(s=null==h?void 0:h.value)||void 0===s?void 0:s.toString())!==(null===(o=null==t?void 0:t.value)||void 0===o?void 0:o.toString())||null==h&&null!=t&&"value"in t?(this.value=(null==t?void 0:t.value)?t:void 0,null===(e=this._popover)||void 0===e||e.hide()):this.resetOptions(),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.options)}cancelPreselection(){!this._textInput.value&&this.sanitizeValue(this.value)?this.selectOption(void 0):window.setTimeout((()=>{this.setInputValue(!1)}),this._deboucingTime)}setInputValue(t=!0){const i=this.getText();(this._textInput.value||"")!==i&&(this._textInput.value=i,t&&(this.errorMessage=null))}clearSearch(){this.value=null}resetOptions(){this.hideOptions(),this._criteria=void 0,this._preSelection=void 0,this.updateVisibleOptions()}sanitizeValue(t){if("undefined"!==t&&"null"!==t)return t}async componentWillLoad(){if(this.i18n=await a(),void 0===this.options){this.options=[];const t=this.el.querySelectorAll("option");t&&t.forEach((t=>{let i=t.innerText,s=t.getAttribute("value");s||(s=i),this.options.push({label:i,value:s}),t.hidden=!0}))}this.loadOptions(d.PRELOAD)}setResizeObserver(){this._resizeObserver=new ResizeObserver((t=>{window.requestAnimationFrame((()=>{Array.isArray(t)&&t.length&&this._textInput&&this._comboBoxList&&(this._comboBoxList.width=this._textInput.clientWidth)}))}))}connectedCallback(){this._resizeObserver||this.setResizeObserver()}componentDidLoad(){n.applyVarsTextInput(this.el,this._textInput),this.setInputValue(!1),this.setResizeObserver(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}disconnectedCallback(){var t;null===(t=this._popover)||void 0===t||t.remove(),this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}handlerIconClick(){this.showOptions()}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();this._criteria||(this._textInput.value=t.data||s),this._criteria=s,s?(this.updateVisibleOptions(),this.showOptions()):(this._preSelection=void 0,this.updateVisibleOptions())}clearDeboucingTimeout(){this._changeDeboucingTimeout&&(window.clearTimeout(this._changeDeboucingTimeout),this._changeDeboucingTimeout=null)}onTextInputClickHandler(){this.showOptions()}keyDownHandler(t){var i,s,o,e,h,r;if(t.ctrlKey&&("f"===t.key||"F"===t.key))return this.loadOptions(d.ADVANCED),t.preventDefault(),void t.stopPropagation();switch(t.key){case"ArrowDown":t.preventDefault(),this.canShowListOptions()&&(this.showOptions(),null===(i=this._comboBoxList)||void 0===i||i.nextOption());break;case"ArrowUp":t.preventDefault(),this.canShowListOptions()&&(this.showOptions(),null===(s=this._comboBoxList)||void 0===s||s.previousOption());break;case"Enter":this.isOpen&&(t.preventDefault(),null===(o=this._comboBoxList)||void 0===o||o.selectCurrentOption());break;case"Escape":this.isOpen&&(t.preventDefault(),null===(e=this._popover)||void 0===e||e.hide());break;case"Tab":this._tabPressed=!0,this.isOpen&&(null===(h=this._comboBoxList)||void 0===h||h.selectCurrentOption(),null===(r=this._popover)||void 0===r||r.hide())}}onTextInputFocusOutHandler(){this.hideErrorOnFocusOut&&this.cancelPreselection()}canShowListOptions(){return!this._showLoading&&this._visibleOptions.length>0}async openPopover(){var t;this.isOpen=!0,await(null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput))}render(){var t;return r.addIDInfoIfNotExists(this.el,"input"),s(o,null,s("ez-text-input",{"data-element-id":r.getInternalIDInfo("textInput"),class:"text-input-slot-container "+(this.suppressSearch?"suppressed-search-input":""),ref:t=>this._textInput=t,"data-slave-mode":"true",enabled:this.enabled&&!this.suppressSearch,onInput:t=>this.onTextInputChangeHandler(t),onClick:()=>this.onTextInputClickHandler(),onFocusout:()=>this.onTextInputFocusOutHandler(),onKeyDown:t=>this.keyDownHandler(t),label:this.label,canShowError:this.canShowError,errorMessage:this.errorMessage,mode:this.mode,alternativePlaceholder:this.alternativePlaceholder||this.i18n("ez-combo-box.placeholder")},s("button",{class:"btn",slot:"rightIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.handlerIconClick()},s("ez-icon",{iconName:"chevron-down"}))),s("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none",onEzVisibilityChange:t=>this.isOpen=t.detail,"data-element-id":this.el.getAttribute("data-element-id")},s("ez-combo-box-list",{ref:t=>this._comboBoxList=t,showLoading:this._showLoading,visibleOptions:this._visibleOptions,textEmptyList:this.i18n("ez-combo-box.noResults"),showOptionValue:this.showOptionValue,preSelection:this._preSelection,maxWidth:this._maxWidthValue,width:null===(t=this._textInput)||void 0===t?void 0:t.clientWidth,onOptionSelect:t=>this.selectOption(t),onOptionHover:t=>this._preSelection=t})))}get el(){return e(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],value:["observeValue"],options:["observeOptions"]}}};var d;!function(t){t.ADVANCED="ADVANCED",t.PRELOAD="PRELOAD",t.PREDICTIVE="PREDICTIVE"}(d||(d={})),l.style=":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box__input--background-color:var(--background--medium, #e0e0e0);--ez-combo-box__input--border:var(--border--medium, 2px solid);--ez-combo-box__input--border-color:var(--ez-combo-box__input--background-color);--ez-combo-box__input--focus--border-color:var(--color--primary, #008561);--ez-combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn--color:var(--title--primary, #2B3A54);--ez-combo-box__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn-hover--color:var(--color--primary, #4e4e4e);width:var(--ez-combo-box--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;padding:0px;color:var(--ez-combo-box__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-combo-box__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-combo-box__btn-disabled--color)}.btn:hover{color:var(--ez-combo-box__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}.text-input-slot-container{--ez-text-input__icon--width:32px;--ez-text-input__min-width:var(--ez-combo-box__min-width);--ez-text-input__max-width:var(--ez-combo-box__max-width)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";export{l as ez_combo_box}
1
+ import{r as t,c as i,h as s,H as o,g as e}from"./p-e4c7eb39.js";import{ObjectUtils as h,ElementIDUtils as r}from"@sankhyalabs/core";import"./p-ad5e263d.js";import{C as n}from"./p-ec7db713.js";import"./p-ab574d59.js";import"./p-b853763b.js";import{i as a}from"./p-42e1e733.js";import"./p-5895e687.js";import"./p-47e4a8ce.js";const l=class{constructor(s){t(this,s),this.ezChange=i(this,"ezChange",7),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this._changeDeboucingTimeout=null,this._deboucingTime=300,this._maxWidthValue=0,this._tabPressed=!1,this._lookupMode=!1,this.isOpen=!1,this._preSelection=void 0,this._visibleOptions=void 0,this._startLoading=!1,this._showLoading=!0,this._criteria=void 0,this.limitCharsToSearch=3,this.value=void 0,this.label=void 0,this.enabled=!0,this.options=void 0,this.errorMessage=void 0,this.showSelectedValue=!1,this.showOptionValue=!1,this.suppressSearch=!1,this.optionLoader=void 0,this.suppressEmptyOption=!1,this.stopPropagateEnterKeyEvent=!0,this.canShowError=!0,this.mode="regular",this.hideErrorOnFocusOut=!0,this.listOptionsPosition=void 0,this.isTextSearch=!1,this.autoFocus=!1,this.preventAutoFocus=!1,this.alternativePlaceholder=void 0,this.textEmptyOption=void 0}observeErrorMessage(){var t;this._textInput&&(this._textInput.errorMessage=this.errorMessage,(null===(t=this.errorMessage)||void 0===t?void 0:t.trim())||this.setInputValue())}observeValue(t,i){if(this._textInput&&t!=i)try{if("string"==typeof t)return void this.setInputValue();const s=this.getSelectedOption(t),o=this.getSelectedOption(i),e=this.getSelectedOption(this.value);this.isDifferentValues(e,s)&&(this.value=s),this.isDifferentValues(s,o)&&(this.setInputValue(),this._lookupMode||this.ezChange.emit(null===s?void 0:s)),this.resetOptions()}finally{this._lookupMode=!1}}observeOptions(t,i){h.equals(t,i)||this.loadOptions(d.PRELOAD)}async getValueAsync(){return new Promise(this._showLoading?t=>{let i=setInterval((()=>{this._showLoading||(clearInterval(i),t(this.sanitizeValue(this.value)))}),100)}:t=>t(this.sanitizeValue(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()}isDifferentValues(t,i){return h.objectToString(t||{})!==h.objectToString(i||{})}getFormattedText(t){if(null!=t)return this.showSelectedValue&&null!=t.value?t.label?`${t.value} - ${t.label}`:t.value:t.label}getText(){const t=this.getSelectedOption(this.sanitizeValue(this.value)),i=this.getFormattedText(t);if(null!=i)return String(i).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"')}getSelectedOption(t){return"string"==typeof t||t instanceof String?this._visibleOptions.find((i=>i.value===t)):t}updateVisibleOptions(){let t=this._source||[];if(this._criteria){const i=this._criteria.toUpperCase();t=t.filter((t=>t.label.toLocaleUpperCase().indexOf(i)>-1))}this.hasToAddEmptyoption(t)&&(t=[{value:void 0,label:this.textEmptyOption||this.i18n("ez-combo-box.placeholder")}].concat(t)),this._visibleOptions=t,this._maxWidthValue=this.getMaxWidthValue()}hasToAddEmptyoption(t){return!this.suppressEmptyOption&&!t.filter((t=>!t.value)).length}getMaxWidthValue(){var t;if(this.showOptionValue){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}return 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}async showOptions(){var t,i;if(!this.enabled)return;await this.openPopover();const s=null!==(i=null===(t=this.value)||void 0===t?void 0:t.value)&&void 0!==i?i:this.value,o=this._visibleOptions.findIndex((t=>t.value===s));this._preSelection=-1===o?0:o,this._resizeObserver&&this._resizeObserver.observe(this._textInput),this.preventAutoFocus||await this.setFocus()}hideOptions(){var t;null===(t=this._popover)||void 0===t||t.hide(),this._resizeObserver&&this._resizeObserver.unobserve(this._textInput)}updateSource(t){this._startLoading=!1,t instanceof Promise?(this._showLoading=!0,t.then((t=>{this._showLoading=!1,this.updateSource(t)})).catch((()=>this._showLoading=!1)),this.updateVisibleOptions()):(this._showLoading=!1,Array.isArray(t)?(this._source=t,this.updateVisibleOptions(),this._tabPressed&&(this._tabPressed=!1)):this.selectOption(t))}selectOption(t,i=!0){var s,o,e;const h=this.getSelectedOption(this.value);(null===(s=null==h?void 0:h.value)||void 0===s?void 0:s.toString())!==(null===(o=null==t?void 0:t.value)||void 0===o?void 0:o.toString())||null==h&&null!=t&&"value"in t?(this.value=(null==t?void 0:t.value)?t:void 0,null===(e=this._popover)||void 0===e||e.hide()):this.resetOptions(),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.options)}cancelPreselection(){!this._textInput.value&&this.sanitizeValue(this.value)?this.selectOption(void 0):window.setTimeout((()=>{this.setInputValue(!1)}),this._deboucingTime)}setInputValue(t=!0){const i=this.getText();(this._textInput.value||"")!==i&&(this._textInput.value=i,t&&(this.errorMessage=null))}clearSearch(){this.value=null}resetOptions(){this.hideOptions(),this._criteria=void 0,this._preSelection=void 0,this.updateVisibleOptions()}sanitizeValue(t){if("undefined"!==t&&"null"!==t)return t}async componentWillLoad(){if(this.i18n=await a(),void 0===this.options){this.options=[];const t=this.el.querySelectorAll("option");t&&t.forEach((t=>{let i=t.innerText,s=t.getAttribute("value");s||(s=i),this.options.push({label:i,value:s}),t.hidden=!0}))}this.loadOptions(d.PRELOAD)}setResizeObserver(){this._resizeObserver=new ResizeObserver((t=>{window.requestAnimationFrame((()=>{Array.isArray(t)&&t.length&&this._textInput&&this._comboBoxList&&(this._comboBoxList.width=this._textInput.clientWidth)}))}))}connectedCallback(){this._resizeObserver||this.setResizeObserver()}componentDidLoad(){n.applyVarsTextInput(this.el,this._textInput),this.setInputValue(!1),this.setResizeObserver(),this.autoFocus&&requestAnimationFrame((()=>{this.setFocus({selectText:!0})}))}disconnectedCallback(){var t;null===(t=this._popover)||void 0===t||t.remove(),this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}handlerIconClick(){this.showOptions()}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();this._criteria||(this._textInput.value=t.data||s),this._criteria=s,s?(this.updateVisibleOptions(),this.showOptions()):(this._preSelection=void 0,this.updateVisibleOptions())}clearDeboucingTimeout(){this._changeDeboucingTimeout&&(window.clearTimeout(this._changeDeboucingTimeout),this._changeDeboucingTimeout=null)}onTextInputClickHandler(){this.showOptions()}keyDownHandler(t){var i,s,o,e,h,r;if(t.ctrlKey&&("f"===t.key||"F"===t.key))return this.loadOptions(d.ADVANCED),t.preventDefault(),void t.stopPropagation();switch(t.key){case"ArrowDown":t.preventDefault(),this.canShowListOptions()&&(this.showOptions(),null===(i=this._comboBoxList)||void 0===i||i.nextOption());break;case"ArrowUp":t.preventDefault(),this.canShowListOptions()&&(this.showOptions(),null===(s=this._comboBoxList)||void 0===s||s.previousOption());break;case"Enter":this.isOpen&&(t.preventDefault(),null===(o=this._comboBoxList)||void 0===o||o.selectCurrentOption());break;case"Escape":this.isOpen&&(t.preventDefault(),null===(e=this._popover)||void 0===e||e.hide());break;case"Tab":this._tabPressed=!0,this.isOpen&&(null===(h=this._comboBoxList)||void 0===h||h.selectCurrentOption(),null===(r=this._popover)||void 0===r||r.hide())}}onTextInputFocusOutHandler(){this.hideErrorOnFocusOut&&this.cancelPreselection()}canShowListOptions(){return!this._showLoading&&this._visibleOptions.length>0}async openPopover(){var t;this.isOpen=!0,await(null===(t=this._popover)||void 0===t?void 0:t.showUnder(this._textInput))}render(){var t;return r.addIDInfoIfNotExists(this.el,"input"),s(o,null,s("ez-text-input",{"data-element-id":r.getInternalIDInfo("textInput"),class:"text-input-slot-container "+(this.suppressSearch?"suppressed-search-input":""),ref:t=>this._textInput=t,"data-slave-mode":"true",enabled:this.enabled&&!this.suppressSearch,onInput:t=>this.onTextInputChangeHandler(t),onClick:()=>this.onTextInputClickHandler(),onFocusout:()=>this.onTextInputFocusOutHandler(),onKeyDown:t=>this.keyDownHandler(t),label:this.label,canShowError:this.canShowError,errorMessage:this.errorMessage,mode:this.mode,alternativePlaceholder:this.alternativePlaceholder||this.i18n("ez-combo-box.placeholder")},s("button",{class:"btn",slot:"rightIcon",disabled:!this.enabled,tabindex:-1,onClick:()=>this.handlerIconClick()},s("ez-icon",{iconName:"chevron-down"}))),s("ez-popover-plus",{ref:t=>this._popover=t,anchorElement:this._textInput,autoClose:!0,boxWidth:"fit-content",overlayType:"none",onEzVisibilityChange:t=>this.isOpen=t.detail,"data-element-id":this.el.getAttribute("data-element-id")},s("ez-combo-box-list",{ref:t=>this._comboBoxList=t,showLoading:this._showLoading,visibleOptions:this._visibleOptions,textEmptyList:this.i18n("ez-combo-box.noResults"),showOptionValue:this.showOptionValue,preSelection:this._preSelection,maxWidth:this._maxWidthValue,width:null===(t=this._textInput)||void 0===t?void 0:t.clientWidth,onOptionSelect:t=>this.selectOption(t),onOptionHover:t=>this._preSelection=t})))}get el(){return e(this)}static get watchers(){return{errorMessage:["observeErrorMessage"],value:["observeValue"],options:["observeOptions"]}}};var d;!function(t){t.ADVANCED="ADVANCED",t.PRELOAD="PRELOAD",t.PREDICTIVE="PREDICTIVE"}(d||(d={})),l.style=":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box__input--background-color:var(--background--medium, #e0e0e0);--ez-combo-box__input--border:var(--border--medium, 2px solid);--ez-combo-box__input--border-color:var(--ez-combo-box__input--background-color);--ez-combo-box__input--focus--border-color:var(--color--primary, #008561);--ez-combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn--color:var(--title--primary, #2B3A54);--ez-combo-box__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn-hover--color:var(--color--primary, #4e4e4e);width:var(--ez-combo-box--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;padding:0px;color:var(--ez-combo-box__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-combo-box__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-combo-box__btn-disabled--color)}.btn:hover{color:var(--ez-combo-box__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}.text-input-slot-container{--ez-text-input__icon--width:32px;--ez-text-input__min-width:var(--ez-combo-box__min-width);--ez-text-input__max-width:var(--ez-combo-box__max-width)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";export{l as ez_combo_box}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,g as n}from"./p-23a36bb6.js";import{FloatingManager as a,ElementIDUtils as o}from"@sankhyalabs/core";import{i as l}from"./p-42e1e733.js";const r=class{constructor(e){t(this,e),this._container=void 0,this.alerts=[],this.enableDragAndDrop=void 0,this.enableExpand=!0,this.itemRightSlotBuilder=void 0,this.opened=!0,this.expanded=!1}observeOpened(){this.opened&&this.manageOverlay()}alertId(t,e){return`alert-${e}-${(t=>{var e;return null!==(e=null==t?void 0:t.split(" ").join("-"))&&void 0!==e?e:""})(t)}`}getAlertTitle(t){var e;return null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t)))||void 0===e?void 0:e.title}getLinkActionClick(t){var e;return(null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t.id)))||void 0===e?void 0:e.onClickLink)||(()=>{})}getTitleText(t){var e;const i=null!==(e=this.getAlertTitle(t.id))&&void 0!==e?e:"";return`${i}${i&&t.label?":":""}`}toggleExpandContainer(){this.enableExpand&&(this.expanded=!this.expanded,this._container.classList.toggle("expanded",this.expanded),this.expanded?this.updatePosition(this.getBoundingRight(),this.getBoundingBottom()):this.updatePosition("10px","10px"))}manageOverlay(){if(this.opened&&this._container)this._overlayId=a.float(this._container,this._overlayRef,this.getFloatOptions());else{if(void 0===this._overlayId)return;a.close(this._overlayId),this._overlayId=void 0}}updatePosition(t,e){this.opened&&a.updateFloatPosition(this._container,this._overlayRef,Object.assign(Object.assign({},this.getFloatOptions()),{right:t,bottom:e}))}getFloatOptions(){return{autoClose:!1,isFixed:!0,bottom:"10px",right:"10px"}}getBoundingRight(){return(document.body.clientWidth-this._container.getBoundingClientRect().width)/2+"px"}getBoundingBottom(){return(document.body.clientHeight-this._container.getBoundingClientRect().height)/2+"px"}componentDidLoad(){this.manageOverlay(),this.opened&&this._container&&this._container.focus()}async componentWillLoad(){this.dataElementId=o.addIDInfo(this._element,"EzAlertList"),this.i18n=await l()}render(){return e(i,Object.assign({},{[o.DATA_ELEMENT_ID_ATTRIBUTE_NAME]:this.dataElementId}),this.opened?e("div",{ref:t=>this._overlayRef=t},e("div",{class:"alert-list__container "+(this.expanded?"expanded":""),ref:t=>this._container=t},e("div",{class:"alert-list__content"},e("div",{class:"alert-list__header"},e("div",{class:"alert-list__title"},`${this.i18n("app.alerts")} (${this.alerts.length})`),e("div",{class:"alert-list__header__buttons"},this.enableExpand&&e("ez-button",{mode:"icon",size:"small",iconName:"expand",onClick:()=>this.toggleExpandContainer(),"data-element-id":o.getInternalIDInfo("expandButton"),title:this.i18n(this.expanded?"app.collapse":"app.expand")}),e("ez-button",{mode:"icon",size:"small",iconName:"close","data-element-id":o.getInternalIDInfo("closeButton"),onClick:()=>{this.opened=!1},title:this.i18n("app.close")}))),e("div",{class:"alert-list__expandable-content"},e("ez-list",{itemSlotBuilder:this.itemRightSlotBuilder,hoverFeedback:!0,itemLeftSlotBuilder:t=>e("a",{onClick:this.getLinkActionClick(t),style:{fontFamily:"var(--font-pattern, 'Roboto')",fontSize:"var(--text--medium, 14px)",fontWeight:"var(--text-weight--medium, 400)",color:"var(--color--primary, #008561)",marginRight:"4px",cursor:"pointer",display:"flex",width:"max-content",textDecoration:"none"}},this.getTitleText(t)),dataSource:this.alerts.map(((t,e)=>{var i;return{id:this.alertId(t.title,e),label:null!==(i=t.detail)&&void 0!==i?i:""}}))}))))):null)}get _element(){return n(this)}static get watchers(){return{_container:["observeOpened"]}}};r.style=':host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, "Roboto");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n';export{r as ez_alert_list}
1
+ import{r as t,h as e,H as i,g as n}from"./p-e4c7eb39.js";import{FloatingManager as a,ElementIDUtils as o}from"@sankhyalabs/core";import{i as l}from"./p-42e1e733.js";const r=class{constructor(e){t(this,e),this._container=void 0,this.alerts=[],this.enableDragAndDrop=void 0,this.enableExpand=!0,this.itemRightSlotBuilder=void 0,this.opened=!0,this.expanded=!1}observeOpened(){this.opened&&this.manageOverlay()}alertId(t,e){return`alert-${e}-${(t=>{var e;return null!==(e=null==t?void 0:t.split(" ").join("-"))&&void 0!==e?e:""})(t)}`}getAlertTitle(t){var e;return null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t)))||void 0===e?void 0:e.title}getLinkActionClick(t){var e;return(null===(e=this.alerts.find(((e,i)=>this.alertId(e.title,i)===t.id)))||void 0===e?void 0:e.onClickLink)||(()=>{})}getTitleText(t){var e;const i=null!==(e=this.getAlertTitle(t.id))&&void 0!==e?e:"";return`${i}${i&&t.label?":":""}`}toggleExpandContainer(){this.enableExpand&&(this.expanded=!this.expanded,this._container.classList.toggle("expanded",this.expanded),this.expanded?this.updatePosition(this.getBoundingRight(),this.getBoundingBottom()):this.updatePosition("10px","10px"))}manageOverlay(){if(this.opened&&this._container)this._overlayId=a.float(this._container,this._overlayRef,this.getFloatOptions());else{if(void 0===this._overlayId)return;a.close(this._overlayId),this._overlayId=void 0}}updatePosition(t,e){this.opened&&a.updateFloatPosition(this._container,this._overlayRef,Object.assign(Object.assign({},this.getFloatOptions()),{right:t,bottom:e}))}getFloatOptions(){return{autoClose:!1,isFixed:!0,bottom:"10px",right:"10px"}}getBoundingRight(){return(document.body.clientWidth-this._container.getBoundingClientRect().width)/2+"px"}getBoundingBottom(){return(document.body.clientHeight-this._container.getBoundingClientRect().height)/2+"px"}componentDidLoad(){this.manageOverlay(),this.opened&&this._container&&this._container.focus()}async componentWillLoad(){this.dataElementId=o.addIDInfo(this._element,"EzAlertList"),this.i18n=await l()}render(){return e(i,Object.assign({},{[o.DATA_ELEMENT_ID_ATTRIBUTE_NAME]:this.dataElementId}),this.opened?e("div",{ref:t=>this._overlayRef=t},e("div",{class:"alert-list__container "+(this.expanded?"expanded":""),ref:t=>this._container=t},e("div",{class:"alert-list__content"},e("div",{class:"alert-list__header"},e("div",{class:"alert-list__title"},`${this.i18n("app.alerts")} (${this.alerts.length})`),e("div",{class:"alert-list__header__buttons"},this.enableExpand&&e("ez-button",{mode:"icon",size:"small",iconName:"expand",onClick:()=>this.toggleExpandContainer(),"data-element-id":o.getInternalIDInfo("expandButton"),title:this.i18n(this.expanded?"app.collapse":"app.expand")}),e("ez-button",{mode:"icon",size:"small",iconName:"close","data-element-id":o.getInternalIDInfo("closeButton"),onClick:()=>{this.opened=!1},title:this.i18n("app.close")}))),e("div",{class:"alert-list__expandable-content"},e("ez-list",{itemSlotBuilder:this.itemRightSlotBuilder,hoverFeedback:!0,itemLeftSlotBuilder:t=>e("a",{onClick:this.getLinkActionClick(t),style:{fontFamily:"var(--font-pattern, 'Roboto')",fontSize:"var(--text--medium, 14px)",fontWeight:"var(--text-weight--medium, 400)",color:"var(--color--primary, #008561)",marginRight:"4px",cursor:"pointer",display:"flex",width:"max-content",textDecoration:"none"}},this.getTitleText(t)),dataSource:this.alerts.map(((t,e)=>{var i;return{id:this.alertId(t.title,e),label:null!==(i=t.detail)&&void 0!==i?i:""}}))}))))):null)}get _element(){return n(this)}static get watchers(){return{_container:["observeOpened"]}}};r.style=':host {\n display: flex;\n\n /* Alert List */\n \n /*@doc Define a largura da lista minimizado */\n --ez-alert-list__container--width: 680px;\n /*@doc Define a altura da lista minimizado */\n --ez-alert-list__container--height: 220px;\n \n /*@doc Define a largura da lista maximizada */\n --ez-alert-list__container--width--expanded: 920px;\n /*@doc Define a altura da lista maximizada */\n --ez-alert-list__container--height--expanded: 540px;\n\n /* Title */\n /*@doc Define a fonte do título do componente */\n --ez-alert-list__title--font-family: var(--font-pattern, "Roboto");\n /*@doc Define o tamanho da fonte do título do popup.*/\n --ez-alert-list__title--font-size: var(--title--large, 20px);\n /*@doc Define a cor da fonte do título do popup.*/\n --ez-alert-list__title--color: var(--title--primary, #2b3a54);\n /*@doc Define o peso da fonte do título do popup.*/\n --ez-alert-list__title--font-weight: var(--text-weight--extra-large, 700);\n\n /* @doc Define a borda inferior do item da lista. */\n --ez-list__item--border-bottom: var(--border--small, 1px solid);\n\n /* @doc Define a cor da borda inferior do item da lista. */\n --ez-list__item--border-bottom-color: var(--color--strokes, #DCE0E8);\n\n /* @doc Define o tipo da quebra de linha do item da lista. */\n --ez-list__item--white-space: break-space;\n}\n\n.alert-list__content {\n display: flex;\n flex-direction: column;\n \n gap: var(--space--xs);\n margin: var(--space--large, 24px);\n width: 100%;\n}\n\n.alert-list__container {\n z-index: var(--ez-elevation--8, 8);\n display: flex;\n height: var(--ez-alert-list__container--height);\n width: var(--ez-alert-list__container--width);\n border-radius: var(--border--radius-medium);\n background-color: var(--background--xlight);\n box-shadow: var(--shadow--medium);\n\n &.expanded {\n height: var(--ez-alert-list__container--height--expanded);\n width: var(--ez-alert-list__container--width--expanded);\n }\n\n @media (max-height: 640px) {\n max-height: calc(100vh - var(--space--3xl));\n } \n}\n\n.alert-list__header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.alert-list__title {\n font-family: var(--ez-alert-list__title--font-family);\n font-size: var(--ez-alert-list__title--font-size);\n font-weight: var(--ez-alert-list__title--font-weight);\n color: var(--ez-alert-list__title--color);\n}\n\n.alert-list__header__buttons {\n display: flex;\n gap: var(--space--xs);\n}\n\n.alert-list__expandable-content {\n overflow-y: auto;\n scrollbar-width: thin;\n}\n\n';export{r as ez_alert_list}