@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-6165.0 → 0.0.0-bugfix-dev-KB-17130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/README.md +8 -10
  2. package/dist/cjs/{ApplicationUtils-2e444734.js → ApplicationUtils-c9d1205c.js} +56 -6
  3. package/dist/cjs/{RecordValidationProcessor-edd23705.js → RecordValidationProcessor-4c893e04.js} +1 -1
  4. package/dist/cjs/{constants-3a1d64fb.js → constants-2714478b.js} +2 -0
  5. package/dist/cjs/ez-actions-button.cjs.entry.js +56 -28
  6. package/dist/cjs/ez-alert-list.cjs.entry.js +148 -0
  7. package/dist/cjs/ez-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-card-item_3.cjs.entry.js +182 -0
  14. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-chip.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-collapsible-box.cjs.entry.js +3 -4
  17. package/dist/cjs/ez-combo-box.cjs.entry.js +17 -152
  18. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-dialog.cjs.entry.js +31 -5
  21. package/dist/cjs/ez-dropdown.cjs.entry.js +12 -6
  22. package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-form-view.cjs.entry.js +44 -3
  24. package/dist/cjs/ez-form.cjs.entry.js +36 -4
  25. package/dist/cjs/ez-grid.cjs.entry.js +246 -64
  26. package/dist/cjs/ez-guide-navigator.cjs.entry.js +7 -1
  27. package/dist/cjs/ez-icon.cjs.entry.js +2 -2
  28. package/dist/cjs/ez-list.cjs.entry.js +5 -3
  29. package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-modal.cjs.entry.js +2 -2
  32. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +23 -10
  33. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  34. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  35. package/dist/cjs/ez-popup.cjs.entry.js +2 -2
  36. package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
  37. package/dist/cjs/ez-scroller_3.cjs.entry.js +8 -6
  38. package/dist/cjs/ez-search.cjs.entry.js +615 -32
  39. package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
  40. package/dist/cjs/ez-split-item.cjs.entry.js +19 -0
  41. package/dist/cjs/ez-split-panel.cjs.entry.js +776 -0
  42. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  43. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-text-edit.cjs.entry.js +2 -2
  45. package/dist/cjs/ez-text-input.cjs.entry.js +3 -2
  46. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  47. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  48. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  49. package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
  50. package/dist/cjs/ezui.cjs.js +2 -2
  51. package/dist/cjs/filter-column.cjs.entry.js +47 -12
  52. package/dist/cjs/{index-1064511f.js → index-a7b0c73d.js} +16 -6
  53. package/dist/cjs/loader.cjs.js +2 -2
  54. package/dist/collection/collection-manifest.json +6 -3
  55. package/dist/collection/components/ez-actions-button/ez-actions-button.css +17 -3
  56. package/dist/collection/components/ez-actions-button/ez-actions-button.js +105 -27
  57. package/dist/collection/components/ez-alert-list/ez-alert-list.css +87 -0
  58. package/dist/collection/components/ez-alert-list/ez-alert-list.js +268 -0
  59. package/dist/collection/components/ez-card-item/ez-card-item.css +17 -0
  60. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +1 -1
  61. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +0 -1
  62. package/dist/collection/components/ez-combo-box/ez-combo-box.js +71 -169
  63. package/dist/collection/components/ez-dialog/ez-dialog.css +1 -1
  64. package/dist/collection/components/ez-dialog/ez-dialog.js +39 -4
  65. package/dist/collection/components/ez-dropdown/ez-dropdown.css +4 -3
  66. package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -4
  67. package/dist/collection/components/ez-form/ez-form.js +93 -0
  68. package/dist/collection/components/ez-form-view/ez-form-view.js +23 -0
  69. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +4 -1
  70. package/dist/collection/components/ez-form-view/structure/index.js +34 -0
  71. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +21 -9
  72. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +23 -1
  73. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
  74. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js +1 -1
  75. package/dist/collection/components/ez-grid/ez-grid.css +1 -4
  76. package/dist/collection/components/ez-grid/ez-grid.js +91 -51
  77. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js +1 -0
  78. package/dist/collection/components/ez-grid/interfaces/index.js +1 -0
  79. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +66 -12
  80. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js +62 -0
  81. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +94 -0
  82. package/dist/collection/components/ez-grid/utils/index.js +1 -0
  83. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +22 -0
  84. package/dist/collection/components/ez-icon/ez-icon.css +148 -139
  85. package/dist/collection/components/ez-list/ez-list.css +12 -7
  86. package/dist/collection/components/ez-list/ez-list.js +3 -1
  87. package/dist/collection/components/ez-modal/ez-modal.css +1 -1
  88. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +41 -10
  89. package/dist/collection/components/ez-popup/ez-popup.css +2 -2
  90. package/dist/collection/components/ez-search/ez-search.css +330 -0
  91. package/dist/collection/components/ez-search/ez-search.js +746 -55
  92. package/dist/collection/components/ez-split-panel/ez-split-panel.css +8 -0
  93. package/dist/collection/components/ez-split-panel/ez-split-panel.js +122 -0
  94. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +12 -0
  95. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +17 -0
  96. package/dist/collection/components/ez-text-input/ez-text-input.js +20 -1
  97. package/dist/collection/components/ez-tree/ez-tree.css +33 -0
  98. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  99. package/dist/collection/utils/ApplicationUtils.js +56 -6
  100. package/dist/collection/utils/constants.js +1 -0
  101. package/dist/collection/utils/form/DataBinder.js +12 -1
  102. package/dist/collection/utils/interfaces/IAction.js +1 -0
  103. package/dist/custom-elements/index.d.ts +18 -0
  104. package/dist/custom-elements/index.js +2138 -339
  105. package/dist/esm/{ApplicationUtils-d9a34a16.js → ApplicationUtils-eaf91331.js} +56 -6
  106. package/dist/esm/{RecordValidationProcessor-abc814af.js → RecordValidationProcessor-b00b8b77.js} +1 -1
  107. package/dist/esm/constants-4e0d35b7.js +5 -0
  108. package/dist/esm/ez-actions-button.entry.js +56 -28
  109. package/dist/esm/ez-alert-list.entry.js +144 -0
  110. package/dist/esm/ez-alert.entry.js +1 -1
  111. package/dist/esm/ez-application.entry.js +1 -1
  112. package/dist/esm/ez-badge.entry.js +1 -1
  113. package/dist/esm/ez-breadcrumb.entry.js +1 -1
  114. package/dist/esm/ez-button.entry.js +1 -1
  115. package/dist/esm/ez-calendar.entry.js +1 -1
  116. package/dist/esm/ez-card-item_3.entry.js +176 -0
  117. package/dist/esm/ez-check.entry.js +1 -1
  118. package/dist/esm/ez-chip.entry.js +1 -1
  119. package/dist/esm/ez-collapsible-box.entry.js +3 -4
  120. package/dist/esm/ez-combo-box.entry.js +18 -153
  121. package/dist/esm/ez-date-input.entry.js +1 -1
  122. package/dist/esm/ez-date-time-input.entry.js +1 -1
  123. package/dist/esm/ez-dialog.entry.js +31 -5
  124. package/dist/esm/ez-dropdown.entry.js +12 -6
  125. package/dist/esm/ez-file-item.entry.js +1 -1
  126. package/dist/esm/ez-form-view.entry.js +44 -3
  127. package/dist/esm/ez-form.entry.js +36 -4
  128. package/dist/esm/ez-grid.entry.js +247 -65
  129. package/dist/esm/ez-guide-navigator.entry.js +7 -1
  130. package/dist/esm/ez-icon.entry.js +2 -2
  131. package/dist/esm/ez-list.entry.js +5 -3
  132. package/dist/esm/ez-loading-bar.entry.js +1 -1
  133. package/dist/esm/ez-modal-container.entry.js +1 -1
  134. package/dist/esm/ez-modal.entry.js +2 -2
  135. package/dist/esm/ez-multi-selection-list.entry.js +23 -10
  136. package/dist/esm/ez-number-input.entry.js +1 -1
  137. package/dist/esm/ez-popover.entry.js +1 -1
  138. package/dist/esm/ez-popup.entry.js +2 -2
  139. package/dist/esm/ez-radio-button.entry.js +1 -1
  140. package/dist/esm/ez-scroller_3.entry.js +8 -6
  141. package/dist/esm/ez-search.entry.js +616 -33
  142. package/dist/esm/ez-skeleton.entry.js +1 -1
  143. package/dist/esm/ez-split-item.entry.js +15 -0
  144. package/dist/esm/ez-split-panel.entry.js +772 -0
  145. package/dist/esm/ez-tabselector.entry.js +1 -1
  146. package/dist/esm/ez-text-area.entry.js +1 -1
  147. package/dist/esm/ez-text-edit.entry.js +2 -2
  148. package/dist/esm/ez-text-input.entry.js +3 -2
  149. package/dist/esm/ez-time-input.entry.js +1 -1
  150. package/dist/esm/ez-toast.entry.js +1 -1
  151. package/dist/esm/ez-upload.entry.js +2 -2
  152. package/dist/esm/ez-view-stack.entry.js +1 -1
  153. package/dist/esm/ezui.js +3 -3
  154. package/dist/esm/filter-column.entry.js +47 -12
  155. package/dist/esm/{index-296b8458.js → index-baa5e267.js} +16 -6
  156. package/dist/esm/loader.js +3 -3
  157. package/dist/ezui/ezui.esm.js +1 -1
  158. package/dist/ezui/{p-5cef0264.entry.js → p-0306dff7.entry.js} +1 -1
  159. package/dist/ezui/p-0447d17c.entry.js +1 -0
  160. package/dist/ezui/{p-86a2036d.js → p-04f24913.js} +1 -1
  161. package/dist/ezui/p-05e1f4e7.js +1 -0
  162. package/dist/ezui/p-072e6347.entry.js +1 -0
  163. package/dist/ezui/p-133fae4a.entry.js +1 -0
  164. package/dist/ezui/{p-f4208819.entry.js → p-17be134a.entry.js} +1 -1
  165. package/dist/ezui/{p-cd19a6f8.entry.js → p-1e7a8633.entry.js} +1 -1
  166. package/dist/ezui/{p-60ba28ea.entry.js → p-1f50fa05.entry.js} +1 -1
  167. package/dist/ezui/{p-a5e09759.entry.js → p-20ec22c0.entry.js} +1 -1
  168. package/dist/ezui/p-2187f86c.js +1 -0
  169. package/dist/ezui/{p-e318d280.js → p-23a36bb6.js} +1 -1
  170. package/dist/ezui/{p-ce035beb.entry.js → p-24d3fede.entry.js} +1 -1
  171. package/dist/ezui/p-2a1a0e04.entry.js +1 -0
  172. package/dist/ezui/p-40f72de4.entry.js +1 -0
  173. package/dist/ezui/p-43b03119.entry.js +1 -0
  174. package/dist/ezui/{p-9b347f04.entry.js → p-44caad9a.entry.js} +1 -1
  175. package/dist/ezui/p-49456b34.entry.js +1 -0
  176. package/dist/ezui/p-4a7f113d.entry.js +1 -0
  177. package/dist/ezui/p-51c5e071.entry.js +1 -0
  178. package/dist/ezui/{p-ccb4ccd9.entry.js → p-555c9018.entry.js} +1 -1
  179. package/dist/ezui/{p-d43b22f3.entry.js → p-596634e9.entry.js} +1 -1
  180. package/dist/ezui/p-5bd5e68f.entry.js +1 -0
  181. package/dist/ezui/{p-a01068e1.entry.js → p-5d692ed1.entry.js} +1 -1
  182. package/dist/ezui/{p-95426f93.entry.js → p-5d86cca9.entry.js} +1 -1
  183. package/dist/ezui/p-5e1d036e.entry.js +1 -0
  184. package/dist/ezui/{p-7525e604.entry.js → p-5ed81457.entry.js} +1 -1
  185. package/dist/ezui/{p-c49dbf23.entry.js → p-650e4b6d.entry.js} +1 -1
  186. package/dist/ezui/{p-fd54b5b4.entry.js → p-6e2f8e6b.entry.js} +2 -2
  187. package/dist/ezui/p-6e429cff.entry.js +1 -0
  188. package/dist/ezui/p-76ba9d67.entry.js +1 -0
  189. package/dist/ezui/{p-37673563.entry.js → p-77a4bd35.entry.js} +1 -1
  190. package/dist/ezui/p-796c1a88.entry.js +1 -0
  191. package/dist/ezui/{p-5d6f2550.entry.js → p-85c8baae.entry.js} +1 -1
  192. package/dist/ezui/{p-fa571a4e.entry.js → p-8becebf8.entry.js} +1 -1
  193. package/dist/ezui/p-8defa6d3.entry.js +1 -0
  194. package/dist/ezui/{p-391de0e4.entry.js → p-9050d2cd.entry.js} +1 -1
  195. package/dist/ezui/{p-028f264f.entry.js → p-9cad9b6e.entry.js} +1 -1
  196. package/dist/ezui/{p-b11f035c.entry.js → p-9f5fa3f9.entry.js} +1 -1
  197. package/dist/ezui/p-a08b309b.entry.js +1 -0
  198. package/dist/ezui/{p-2da09f70.entry.js → p-a80b1287.entry.js} +1 -1
  199. package/dist/ezui/p-af15c277.entry.js +1 -0
  200. package/dist/ezui/{p-32b4163f.entry.js → p-b041333c.entry.js} +1 -1
  201. package/dist/ezui/p-ba875f37.entry.js +1 -0
  202. package/dist/ezui/p-bc2f844e.entry.js +1 -0
  203. package/dist/ezui/{p-e2dfd935.entry.js → p-c0f1715f.entry.js} +1 -1
  204. package/dist/ezui/{p-83885b21.entry.js → p-cc2dc4f4.entry.js} +1 -1
  205. package/dist/ezui/p-d6ffe679.entry.js +1 -0
  206. package/dist/ezui/p-eb36f072.entry.js +1 -0
  207. package/dist/ezui/p-f56dd1da.entry.js +1 -0
  208. package/dist/types/components/ez-actions-button/ez-actions-button.d.ts +15 -7
  209. package/dist/types/components/ez-alert-list/ez-alert-list.d.ts +76 -0
  210. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +12 -15
  211. package/dist/types/components/ez-dialog/ez-dialog.d.ts +8 -2
  212. package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +5 -0
  213. package/dist/types/components/ez-form/ez-form.d.ts +19 -1
  214. package/dist/types/components/ez-form-view/ez-form-view.d.ts +5 -0
  215. package/dist/types/components/ez-form-view/structure/index.d.ts +15 -0
  216. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +9 -6
  217. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +2 -3
  218. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
  219. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  220. package/dist/types/components/ez-grid/ez-grid.d.ts +13 -5
  221. package/dist/types/components/ez-grid/interfaces/IColumnFilter.d.ts +4 -0
  222. package/dist/types/components/ez-grid/interfaces/index.d.ts +1 -0
  223. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +8 -0
  224. package/dist/types/components/ez-grid/utils/ColumnFilterManager.d.ts +9 -0
  225. package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +19 -0
  226. package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
  227. package/dist/types/components/ez-guide-navigator/ez-guide-navigator.d.ts +4 -0
  228. package/dist/types/components/ez-guide-navigator/interfaces/IGuideItem.d.ts +1 -0
  229. package/dist/types/components/ez-multi-selection-list/ez-multi-selection-list.d.ts +4 -0
  230. package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -0
  231. package/dist/types/components/ez-search/ez-search.d.ts +112 -10
  232. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +3 -0
  233. package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
  234. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  235. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  236. package/dist/types/components.d.ts +236 -17
  237. package/dist/types/utils/ApplicationUtils.d.ts +24 -0
  238. package/dist/types/utils/constants.d.ts +1 -0
  239. package/dist/types/utils/form/DataBinder.d.ts +1 -0
  240. package/dist/types/utils/index.d.ts +1 -0
  241. package/dist/types/utils/interfaces/AbstractFieldMetadata.d.ts +2 -1
  242. package/dist/types/utils/interfaces/IAction.d.ts +7 -0
  243. package/package.json +4 -3
  244. package/react/components.d.ts +3 -0
  245. package/react/components.js +3 -0
  246. package/react/components.js.map +1 -1
  247. package/dist/cjs/ez-card-item.cjs.entry.js +0 -52
  248. package/dist/cjs/ez-filter-input_2.cjs.entry.js +0 -137
  249. package/dist/esm/constants-6dab64f7.js +0 -4
  250. package/dist/esm/ez-card-item.entry.js +0 -48
  251. package/dist/esm/ez-filter-input_2.entry.js +0 -132
  252. package/dist/ezui/p-050247dc.entry.js +0 -1
  253. package/dist/ezui/p-1e7c4986.entry.js +0 -1
  254. package/dist/ezui/p-244dfe8a.entry.js +0 -1
  255. package/dist/ezui/p-27a01a26.js +0 -1
  256. package/dist/ezui/p-2a0e1679.entry.js +0 -1
  257. package/dist/ezui/p-4535da17.entry.js +0 -1
  258. package/dist/ezui/p-4c8b029b.entry.js +0 -1
  259. package/dist/ezui/p-4e31b69b.entry.js +0 -1
  260. package/dist/ezui/p-5495fa45.entry.js +0 -1
  261. package/dist/ezui/p-5ce6548c.entry.js +0 -1
  262. package/dist/ezui/p-68352e41.entry.js +0 -1
  263. package/dist/ezui/p-87e85160.entry.js +0 -1
  264. package/dist/ezui/p-8bd3903b.entry.js +0 -1
  265. package/dist/ezui/p-90fa4cb3.entry.js +0 -1
  266. package/dist/ezui/p-9285b53e.entry.js +0 -1
  267. package/dist/ezui/p-a510a4c5.entry.js +0 -1
  268. package/dist/ezui/p-d51aa09b.entry.js +0 -1
  269. package/dist/ezui/p-db528b31.entry.js +0 -1
  270. package/dist/ezui/p-e67d0bd5.entry.js +0 -1
  271. package/dist/ezui/p-e7fa0ad6.entry.js +0 -1
  272. package/dist/ezui/p-f15ec3bb.js +0 -1
  273. package/dist/ezui/p-ff82b176.entry.js +0 -1
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1064511f.js');
5
+ const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const DataUnit = require('@sankhyalabs/core/dist/dataunit/DataUnit');
8
- const constants = require('./constants-3a1d64fb.js');
9
- const RecordValidationProcessor = require('./RecordValidationProcessor-edd23705.js');
10
- const ApplicationUtils = require('./ApplicationUtils-2e444734.js');
8
+ const constants = require('./constants-2714478b.js');
9
+ const RecordValidationProcessor = require('./RecordValidationProcessor-4c893e04.js');
10
+ const ApplicationUtils = require('./ApplicationUtils-c9d1205c.js');
11
11
  require('./DialogType-2114c337.js');
12
12
  require('./CheckMode-ecb90b87.js');
13
13
 
@@ -118832,6 +118832,19 @@ var AllEnterpriseModules = [
118832
118832
  ModuleRegistry.registerModules(AllEnterpriseModules);
118833
118833
 
118834
118834
  class DataSource {
118835
+ isSilentChange(action) {
118836
+ //TODO: Provisorio p/ não atualizar a grade quando a alteração for apenas de campos transisntes
118837
+ var _a, _b;
118838
+ if (!(action === null || action === void 0 ? void 0 : action.payload)) {
118839
+ return false;
118840
+ }
118841
+ if (action.type === core.Action.DATA_CHANGED) {
118842
+ return ((_a = Object.keys(action === null || action === void 0 ? void 0 : action.payload)) === null || _a === void 0 ? void 0 : _a.filter(changeName => changeName.startsWith("transient.") || changeName === "records").length) > 0;
118843
+ }
118844
+ if (action.type === core.Action.EDITION_CANCELED) {
118845
+ return ((_b = action === null || action === void 0 ? void 0 : action.payload) === null || _b === void 0 ? void 0 : _b.silent) === true;
118846
+ }
118847
+ }
118835
118848
  constructor(dataUnit, controller, options) {
118836
118849
  this.RECORD_ARCHIVE = "__RECORD_ARCHIVE__";
118837
118850
  this.duObserver = (action) => {
@@ -118851,11 +118864,19 @@ class DataSource {
118851
118864
  }
118852
118865
  this.updateSelection();
118853
118866
  break;
118867
+ case core.Action.PAGINATION_UPDATED:
118868
+ if (this._options) {
118869
+ this._options.onPaginationUpdate(this._dataUnit.getPaginationInfo());
118870
+ }
118871
+ break;
118854
118872
  case core.Action.RECORDS_REMOVED:
118855
118873
  case core.Action.DATA_SAVED:
118856
118874
  case core.Action.EDITION_CANCELED:
118857
118875
  case core.Action.DATA_CHANGED:
118858
118876
  case core.Action.DATA_RESOLVED:
118877
+ if (this.isSilentChange(action)) {
118878
+ return;
118879
+ }
118859
118880
  this._controller.refresh();
118860
118881
  break;
118861
118882
  case core.Action.SELECTION_CHANGED:
@@ -118883,7 +118904,7 @@ class DataSource {
118883
118904
  getRows(params) {
118884
118905
  if (this.needReload(params)) {
118885
118906
  this._lastLoadingParams = params;
118886
- this._dataUnit.loadData(this.quickFilter).then(() => this.updateSelection());
118907
+ this._dataUnit.loadData(this.quickFilter, undefined, true, constants.EZ_GRID_LOADING_SOURCE).then(() => this.updateSelection());
118887
118908
  }
118888
118909
  else {
118889
118910
  this._lastLoadingParams = params;
@@ -118978,7 +118999,7 @@ class EzGridCustomHeader {
118978
118999
  onClickFilter() {
118979
119000
  var _a;
118980
119001
  const iconLeft = (_a = this.filterButton) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().left;
118981
- this.params.showColumnFilter(`${calcFilterColumnLeftPosition(iconLeft)}px`);
119002
+ this.params.showColumnFilter(`${calcFilterColumnLeftPosition(iconLeft)}px`, true);
118982
119003
  }
118983
119004
  configSortIcon() {
118984
119005
  this.sortDownIcon.style.display = this.params.column.isSortDescending() ? 'flex' : 'none';
@@ -119039,7 +119060,7 @@ class CellRendererStatus {
119039
119060
  }
119040
119061
  refresh(params) {
119041
119062
  this.renderStatus(params);
119042
- return true;
119063
+ return false;
119043
119064
  }
119044
119065
  destroy() {
119045
119066
  this._eGui = undefined;
@@ -119635,7 +119656,7 @@ class AgGridController {
119635
119656
  const applied = event.detail;
119636
119657
  this._filteredColumns.set(applied.field, applied.values);
119637
119658
  this._gridOptions.api.refreshHeader();
119638
- this._dataUnit.loadData();
119659
+ this._dataUnit.loadData(undefined, undefined, undefined, constants.EZ_GRID_LOADING_SOURCE);
119639
119660
  }
119640
119661
  showFilterColumn(configs) {
119641
119662
  var _a;
@@ -119647,7 +119668,7 @@ class AgGridController {
119647
119668
  this.CHECK_BOX_COL_ID = 'checkBoxColumn';
119648
119669
  this.STATUS_COL_ID = 'statusColumn';
119649
119670
  this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
119650
- this.BLOCK_LOAD_DEBOUNCE = 400;
119671
+ this.BLOCK_LOAD_DEBOUNCE = 100;
119651
119672
  this.DEFAULT_FONT_SIZE = 14;
119652
119673
  this.DEFAULT_ICON_SIZE = 12;
119653
119674
  this.DEFAULT_MAX_SIZE = 200;
@@ -119661,10 +119682,10 @@ class AgGridController {
119661
119682
  getGridConfig() {
119662
119683
  return this._gridConfig;
119663
119684
  }
119664
- getGridApi() {
119665
- return this._gridOptions.api;
119685
+ locateColumn(columnName) {
119686
+ this._gridOptions.api.ensureColumnVisible(columnName);
119666
119687
  }
119667
- getSort() {
119688
+ getSort(_dataUnitName, defaultSorting) {
119668
119689
  const sortedColumns = [];
119669
119690
  this._gridOptions.columnApi
119670
119691
  .getColumnState()
@@ -119677,7 +119698,7 @@ class AgGridController {
119677
119698
  sortedColumns.push(sortField);
119678
119699
  }
119679
119700
  });
119680
- return sortedColumns;
119701
+ return sortedColumns.length === 0 && this._gridConfig === undefined ? defaultSorting : sortedColumns;
119681
119702
  }
119682
119703
  getFilter() {
119683
119704
  if (!this._filteredColumns || this._filteredColumns.size === 0) {
@@ -119748,6 +119769,7 @@ class AgGridController {
119748
119769
  height: '100%'
119749
119770
  }
119750
119771
  },
119772
+ suppressFieldDotNotation: true,
119751
119773
  components: Object.assign({ ezGridHeaderComponent: SelectionHeader, ezGridCustomHeader: EzGridCustomHeader }, this._editionManager.getComponents()),
119752
119774
  context: {
119753
119775
  editionManager: this._editionManager,
@@ -119766,6 +119788,10 @@ class AgGridController {
119766
119788
  else {
119767
119789
  this._grid = new Grid(container, this._gridOptions);
119768
119790
  }
119791
+ container.addEventListener('focusout', (event) => {
119792
+ if (!container.contains(event.relatedTarget))
119793
+ this._gridOptions.api.clearFocusedCell();
119794
+ });
119769
119795
  const selection = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getSelectionInfo();
119770
119796
  if (selection === null || selection === void 0 ? void 0 : selection.isAllRecords()) {
119771
119797
  this.selectAll(true);
@@ -120041,7 +120067,7 @@ class AgGridController {
120041
120067
  if (this._grid === undefined) {
120042
120068
  throw new Error('Erro interno: Grid ainda não inicializado.');
120043
120069
  }
120044
- this._gridOptions.api.refreshServerSide({ purge: false });
120070
+ this._gridOptions.api.refreshServerSide({ purge: true });
120045
120071
  }
120046
120072
  setFocusFirstRow() {
120047
120073
  const firstRow = this._gridOptions.api.getDisplayedRowAtIndex(0);
@@ -120220,7 +120246,7 @@ class AgGridController {
120220
120246
  tooltip: tooltip,
120221
120247
  isSortable: propSortable,
120222
120248
  hasFilter: () => this.hasFilterColumn(source.name),
120223
- showColumnFilter: (leftPosition) => this.showFilterColumn({ columnName: source.name, columnLabel: source.label, leftPosition, filteredOptions: this._filteredColumns.get(source.name) }),
120249
+ showColumnFilter: (leftPosition, fromIcon) => this.showFilterColumn({ columnName: source.name, columnLabel: source.label, leftPosition, filteredOptions: this._filteredColumns.get(source.name), fromIcon }),
120224
120250
  },
120225
120251
  valueFormatter: params => {
120226
120252
  if (params.value == undefined) {
@@ -120315,6 +120341,13 @@ class AgGridController {
120315
120341
  return maskFormatter.format(formattedValue);
120316
120342
  }
120317
120343
  }
120344
+ if ((source === null || source === void 0 ? void 0 : source.userInterface) === core.UserInterface.FILE) {
120345
+ if (!params.value || !Array.isArray(params.value))
120346
+ return '';
120347
+ if (params.value.length === 1)
120348
+ return params.value[0].name;
120349
+ return `${params.value.length} arquivos`;
120350
+ }
120318
120351
  }
120319
120352
  onCallStateChange(type, e) {
120320
120353
  const finished = !('finished' in e) || e['finished'];
@@ -120443,9 +120476,169 @@ function getElementID(sufix) {
120443
120476
  };
120444
120477
  }
120445
120478
 
120446
- const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:0 0 16px 0 rgb(0 38 111 / 12%)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF);z-index:var(--more-visible, 2)}.grid__container.sc-ez-grid{padding-top:15px;margin-top:-12px;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color)}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s;z-index:var(--ez-grid__selection-counter--z-index)}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}";
120479
+ const COLUMN_FILTER_PATTERN = /FILTRO_COLUNA_(.+)/;
120480
+ class ColumnFilterManager {
120481
+ static getColumnFilters(filters, fieldName) {
120482
+ const columnFilters = new Map();
120483
+ if (filters == undefined || filters.length == 0) {
120484
+ return columnFilters;
120485
+ }
120486
+ filters.forEach(filter => {
120487
+ const result = COLUMN_FILTER_PATTERN.exec(filter.name);
120488
+ if (result) {
120489
+ if (fieldName !== result[1]) {
120490
+ columnFilters.set(filter.name, Object.assign({ columnName: result[1] }, filter));
120491
+ }
120492
+ }
120493
+ });
120494
+ return columnFilters;
120495
+ }
120496
+ static getFilterFunction(dataUnit, filters) {
120497
+ if (filters != undefined && filters.length > 0) {
120498
+ return record => {
120499
+ for (const filter of filters) {
120500
+ if (!ColumnFilterManager.recordMatchesFilter(dataUnit, record, filter)) {
120501
+ return false;
120502
+ }
120503
+ }
120504
+ return true;
120505
+ };
120506
+ }
120507
+ return undefined;
120508
+ }
120509
+ static recordMatchesFilter(dataUnit, record, columnFilter) {
120510
+ const fieldValue = record[columnFilter.columnName];
120511
+ for (let param of columnFilter.params) {
120512
+ const paramValue = dataUnit.valueFromString(columnFilter.columnName, param.value);
120513
+ if (core.FieldComparator.compareValues(dataUnit.getField(columnFilter.columnName), fieldValue, paramValue) === 0) {
120514
+ return true;
120515
+ }
120516
+ }
120517
+ return false;
120518
+ }
120519
+ static compileDistinct(fieldName, dataUnit) {
120520
+ const request = dataUnit.getLastLoadRequest();
120521
+ let list = dataUnit.records;
120522
+ if (request != undefined) {
120523
+ const columnFilters = Array.from(ColumnFilterManager.getColumnFilters(request.filters, fieldName).values());
120524
+ const filterFunciton = ColumnFilterManager.getFilterFunction(dataUnit, columnFilters);
120525
+ if (filterFunciton != undefined) {
120526
+ list = list.filter(filterFunciton);
120527
+ }
120528
+ }
120529
+ const distinct = new Map(list.map(record => {
120530
+ const fieldValue = record[fieldName];
120531
+ if (fieldValue == undefined) {
120532
+ return [null, { label: null, value: null, check: true }];
120533
+ }
120534
+ const item = { label: dataUnit.getFormattedValue(fieldName, fieldValue), value: fieldValue, check: true };
120535
+ return [item.label, item];
120536
+ }));
120537
+ return Array.from(distinct.values());
120538
+ }
120539
+ }
120540
+
120541
+ class InMemoryFilterColumnDataSource {
120542
+ constructor(dataUnit) {
120543
+ var _a;
120544
+ this.onDataUnitAction = (action) => {
120545
+ if (action.type === core.Action.DATA_SAVED || action.type === core.Action.RECORDS_REMOVED) {
120546
+ this.originalRecords = this.dataUnit.records;
120547
+ }
120548
+ };
120549
+ this.dataUnit = dataUnit;
120550
+ this.originalRecords = (_a = this.dataUnit.records) !== null && _a !== void 0 ? _a : [];
120551
+ this.dataUnit.subscribe(this.onDataUnitAction);
120552
+ }
120553
+ getStaticOptions(fieldName) {
120554
+ return Promise.resolve(ColumnFilterManager.compileDistinct(fieldName, this.dataUnit));
120555
+ }
120556
+ fetchData(filterTerm, fieldName) {
120557
+ return new Promise(resolve => {
120558
+ const filteredRecords = this.originalRecords.filter(record => this.includesSearchTerm(record, fieldName, filterTerm));
120559
+ const options = filteredRecords.map(item => this.buildFieldOption(item, fieldName));
120560
+ resolve(this.removeDuplicatedOptions(options));
120561
+ });
120562
+ }
120563
+ sortItems(fieldName, items) {
120564
+ return InMemoryFilterColumnDataSource.defaultSorterMultSelectionOption(this.dataUnit, fieldName, items);
120565
+ }
120566
+ buildFieldOption(item, fieldName) {
120567
+ return {
120568
+ value: this.buildValue(item, fieldName),
120569
+ label: this.formatLabel(fieldName, item[fieldName]),
120570
+ check: true,
120571
+ };
120572
+ }
120573
+ buildValue(item, fieldName) {
120574
+ var _a;
120575
+ let value = item[fieldName];
120576
+ if (((_a = this.dataUnit.getField(fieldName)) === null || _a === void 0 ? void 0 : _a.dataType) === core.DataType.OBJECT) {
120577
+ value = value.value;
120578
+ }
120579
+ return value === null || value === void 0 ? void 0 : value.toString();
120580
+ }
120581
+ removeDuplicatedOptions(options) {
120582
+ const noDuplicatedOptions = [];
120583
+ options.forEach(option => {
120584
+ if (!noDuplicatedOptions.find(({ label }) => label === option.label)) {
120585
+ noDuplicatedOptions.push(option);
120586
+ }
120587
+ });
120588
+ return noDuplicatedOptions;
120589
+ }
120590
+ includesSearchTerm(record, fieldName, filterTerm) {
120591
+ let label = this.buildLabel(fieldName, record[fieldName]);
120592
+ return label.toLowerCase().includes(filterTerm.toLowerCase());
120593
+ }
120594
+ buildLabel(fieldName, value) {
120595
+ var _a;
120596
+ const { dataType } = this.dataUnit.getField(fieldName);
120597
+ if (dataType === core.DataType.NUMBER) {
120598
+ return value === null || value === void 0 ? void 0 : value.toString().replace('.', ',');
120599
+ }
120600
+ if (dataType === core.DataType.DATE) {
120601
+ return (typeof value === 'object')
120602
+ ? (_a = core.DateUtils.formatDate(this.dataUnit.valueFromString(fieldName, value))) === null || _a === void 0 ? void 0 : _a.toString()
120603
+ : value === null || value === void 0 ? void 0 : value.toString();
120604
+ }
120605
+ if (dataType === core.DataType.OBJECT) {
120606
+ return `${value === null || value === void 0 ? void 0 : value.value} - ${value === null || value === void 0 ? void 0 : value.label}`;
120607
+ }
120608
+ return value === null || value === void 0 ? void 0 : value.toString();
120609
+ }
120610
+ formatLabel(fieldName, value) {
120611
+ var _a, _b;
120612
+ const { userInterface, dataType } = this.dataUnit.getField(fieldName);
120613
+ if (dataType === core.DataType.DATE) {
120614
+ return (typeof value === 'object')
120615
+ ? core.DateUtils.formatDate(this.dataUnit.valueFromString(fieldName, value))
120616
+ : value === null || value === void 0 ? void 0 : value.toString();
120617
+ }
120618
+ if (dataType === core.DataType.NUMBER && userInterface !== core.UserInterface.DECIMALNUMBER) {
120619
+ return (_a = parseInt(this.dataUnit.getFormattedValue(fieldName, value))) === null || _a === void 0 ? void 0 : _a.toString();
120620
+ }
120621
+ return (_b = this.dataUnit.getFormattedValue(fieldName, value)) === null || _b === void 0 ? void 0 : _b.toString();
120622
+ }
120623
+ static defaultSorterMultSelectionOption(dataUnit, fieldName, items) {
120624
+ const fieldDescriptor = dataUnit.getField(fieldName);
120625
+ if (fieldDescriptor == undefined) {
120626
+ return core.ArrayUtils.sortAlphabetically(items);
120627
+ }
120628
+ return items.sort((itemA, itemB) => {
120629
+ return core.FieldComparator.compareValues(fieldDescriptor, itemA.value, itemB.value);
120630
+ });
120631
+ }
120632
+ }
120633
+
120634
+ const ezGridCss = ".sc-ez-grid-h{display:grid;grid-template-rows:auto 1fr auto;height:100%;width:100%;--ez-grid__header--background-color:var(--background--xlight, #FFF);--ez-grid__selection-counter--z-index:var(--visible, 1);--ez-grid__container--shadow:0 0 16px 0 rgb(0 38 111 / 12%)}.grid-header.sc-ez-grid{display:grid;justify-content:space-between;align-items:center;grid-row-start:1;grid-template-columns:1fr;background-color:var(--ez-grid__header--background-color, #FFF)}.grid__container.sc-ez-grid{padding-top:15px;margin-top:-12px;box-shadow:var(--ez-grid__container--shadow);background-color:var(--ez-grid__header--background-color)}.grid-header__popover.sc-ez-grid{position:relative;top:var(--space--sm, 16px)}.grid-header__container.sc-ez-grid{display:flex;align-items:center}.grid-header__position.sc-ez-grid{display:flex;align-items:center;justify-content:space-between}.grid__selection-counter.sc-ez-grid{position:fixed;white-space:nowrap;transform:translate(-50%, 0px);left:50%;opacity:0;bottom:-100%;transition:opacity 0.1s, bottom 0.5s}.grid__selection-counter--opened.sc-ez-grid{opacity:1;bottom:0px}.grid__btn-close.sc-ez-grid{display:flex;align-items:center;justify-content:center;padding:0;outline:none;width:20px;height:20px;border:none;background-color:unset;cursor:pointer}.grid__btn-clear.sc-ez-grid{--ez-button--link-color:var(--color--alert-warning-900, #8C6B00);--ez-button--link--hover-color:var(--color--alert-warning-900, #8C6B00)}[no-header].sc-ez-grid-h .grid-header.sc-ez-grid{height:0;padding:0}";
120447
120635
 
120448
120636
  const windowInstace = window;
120637
+ const matches = (text, filter) => {
120638
+ const normalizedText = core.StringUtils.replaceAccentuatedCharsLower(text.toLocaleLowerCase());
120639
+ const normalizedFilter = core.StringUtils.replaceAccentuatedCharsLower(filter.toLocaleLowerCase());
120640
+ return normalizedText.includes(normalizedFilter);
120641
+ };
120449
120642
  const EzGrid = class {
120450
120643
  constructor(hostRef) {
120451
120644
  index.registerInstance(this, hostRef);
@@ -120456,18 +120649,13 @@ const EzGrid = class {
120456
120649
  this.componentReady = index.createEvent(this, "componentReady", 7);
120457
120650
  this._gridController = new AgGridController(false);
120458
120651
  this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
120459
- this.onDataUnitAction = (action) => {
120460
- if (action.type === core.Action.DATA_SAVED || action.type === core.Action.RECORDS_REMOVED) {
120461
- this._originalRecords = this.dataUnit.records;
120462
- }
120463
- };
120464
120652
  this._paginationInfo = undefined;
120465
120653
  this._paginationChangedByKeyboard = true;
120466
120654
  this._showSelectionCounter = false;
120467
120655
  this._isAllSelection = false;
120468
120656
  this._currentPageSelected = undefined;
120469
120657
  this._selectionCount = undefined;
120470
- this._originalRecords = [];
120658
+ this._hasLeftButtons = false;
120471
120659
  this.multipleSelection = undefined;
120472
120660
  this.config = undefined;
120473
120661
  this.selectionToastConfig = undefined;
@@ -120527,6 +120715,18 @@ const EzGrid = class {
120527
120715
  async quickFilter(term) {
120528
120716
  this._gridController.quickFilter(term);
120529
120717
  }
120718
+ /**
120719
+ * Localiza determinada coluna tornando-a visível.
120720
+ */
120721
+ async locateColumn(columnName) {
120722
+ this._gridController.locateColumn(columnName);
120723
+ }
120724
+ /**
120725
+ * Usa um argumento para filtrar as colunas po label
120726
+ */
120727
+ async filterColumns(search) {
120728
+ return Promise.resolve(this._gridController.getColumnsState().filter(col => matches(col.label, search)));
120729
+ }
120530
120730
  observeConfig(config) {
120531
120731
  this._gridController.setColumnsState(config.columns);
120532
120732
  }
@@ -120668,21 +120868,26 @@ const EzGrid = class {
120668
120868
  }
120669
120869
  previousPage() {
120670
120870
  if (this.dataUnit) {
120671
- this.dataUnit.previousPage();
120672
- this._paginationChangedByKeyboard = false;
120871
+ this.dataUnit.previousPage()
120872
+ .then(() => this.resetPaginationState());
120673
120873
  }
120674
120874
  }
120675
120875
  nextPage() {
120676
120876
  if (this.dataUnit) {
120677
- this.dataUnit.nextPage();
120678
- this._paginationChangedByKeyboard = false;
120877
+ this.dataUnit.nextPage()
120878
+ .then(() => this.resetPaginationState());
120679
120879
  }
120680
120880
  }
120881
+ resetPaginationState() {
120882
+ var _a;
120883
+ this._paginationChangedByKeyboard = false;
120884
+ (_a = this._gridApi) === null || _a === void 0 ? void 0 : _a.clearRangeSelection();
120885
+ }
120681
120886
  getPaginationControl() {
120682
120887
  if (this._paginationInfo) {
120683
- const { firstRecord, lastRecord, total, currentPage, hasMore } = this._paginationInfo;
120888
+ const { firstRecord, lastRecord, total, count, currentPage, hasMore } = this._paginationInfo;
120684
120889
  return [
120685
- index.h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" }, index.h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, `${firstRecord}-${lastRecord}`), ` de ${total}`),
120890
+ index.h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" }, index.h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, `${firstRecord}-${lastRecord}`), total == undefined ? ` de ${count + 1} ou mais` : ` de ${total}`),
120686
120891
  index.h("ez-button", { size: "small", iconName: "chevron-left", class: "ez-margin-right--medium", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }),
120687
120892
  index.h("ez-button", { size: "small", iconName: "chevron-right", class: "ez-margin-right--medium", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" }),
120688
120893
  ];
@@ -120704,6 +120909,9 @@ const EzGrid = class {
120704
120909
  }
120705
120910
  this._paginationInfo = paginationInfo;
120706
120911
  },
120912
+ onPaginationUpdate: (paginationInfo) => {
120913
+ this._paginationInfo = paginationInfo;
120914
+ },
120707
120915
  onDoubleClick: (row) => {
120708
120916
  this.ezDoubleClick.emit(row);
120709
120917
  },
@@ -120718,15 +120926,13 @@ const EzGrid = class {
120718
120926
  if (this.config) {
120719
120927
  this.observeConfig(this.config);
120720
120928
  }
120929
+ if (this.dataUnit != undefined) {
120930
+ this._paginationInfo = this.dataUnit.getPaginationInfo();
120931
+ }
120721
120932
  this.buildDataElementId();
120722
120933
  this.setEvents();
120723
120934
  this.componentReady.emit();
120724
120935
  this._gridController.configFilterColumn(this._filterColumn);
120725
- this._container.addEventListener('focusout', (event) => {
120726
- const api = this._gridController.getGridApi();
120727
- if (api && !this._container.contains(event.relatedTarget))
120728
- api.clearFocusedCell();
120729
- });
120730
120936
  }
120731
120937
  componentWillRender() {
120732
120938
  this.configSelectionCounter();
@@ -120737,46 +120943,22 @@ const EzGrid = class {
120737
120943
  });
120738
120944
  }
120739
120945
  componentWillLoad() {
120946
+ this._hasLeftButtons = !!this._element.querySelector('[slot="leftButtons"]');
120740
120947
  if (!this.dataUnit.name.includes("InMemoryDataUnit"))
120741
120948
  return;
120742
- this.dataUnit.subscribe(this.onDataUnitAction);
120743
120949
  }
120744
120950
  getDataSource() {
120745
- return this.columnfilterDataSource ? this.columnfilterDataSource : this.buildDefaultDataSource();
120746
- }
120747
- buildDefaultDataSource() {
120748
- var _a, _b;
120749
- if (this._originalRecords.length === 0) {
120750
- this._originalRecords = (_b = (_a = this.dataUnit) === null || _a === void 0 ? void 0 : _a.records) !== null && _b !== void 0 ? _b : [];
120751
- }
120752
- return {
120753
- fetchData: (filterTerm, fieldName) => {
120754
- return new Promise(resolve => {
120755
- const filteredRecords = this._originalRecords.filter(record => {
120756
- var _a, _b;
120757
- const label = typeof record[fieldName] === "object" ? `${(_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.value} - ${(_b = record[fieldName]) === null || _b === void 0 ? void 0 : _b.label}` : record[fieldName];
120758
- return label === null || label === void 0 ? void 0 : label.toString().toLowerCase().includes(filterTerm.toLowerCase());
120759
- });
120760
- const options = filteredRecords.map(item => {
120761
- return { value: item[fieldName].toString(), label: this.formatLabel(fieldName, item[fieldName]), check: true };
120762
- });
120763
- resolve(options);
120764
- });
120765
- }
120766
- };
120951
+ var _a;
120952
+ return (_a = this.columnfilterDataSource) !== null && _a !== void 0 ? _a : new InMemoryFilterColumnDataSource(this.dataUnit);
120767
120953
  }
120768
- formatLabel(fieldName, value) {
120769
- const { userInterface } = this.dataUnit.getField(fieldName);
120770
- if (userInterface === core.UserInterface.DATETIME) {
120771
- return core.DateUtils.formatDate(this.dataUnit.valueFromString(fieldName, value));
120772
- }
120773
- return String(this.dataUnit.getFormattedValue(fieldName, value));
120954
+ hideHeader() {
120955
+ return (!!this._element.getAttribute("no-header") && !this._paginationInfo);
120774
120956
  }
120775
120957
  render() {
120776
120958
  var _a;
120777
- return (index.h(index.Host, null, index.h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, index.h("filter-column", { class: "grid-header__popover", dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: !!this._element.getAttribute("no-header"), ref: (element) => (this._filterColumn = element) }), index.h("div", { class: "grid-header__position" }, index.h("div", { class: "grid-header__container" }, index.h("slot", { name: "leftButtons" })), index.h("div", { class: "grid-header__container", ref: ref => (this._refPaginationControl = ref) }, this.getPaginationControl()))), index.h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter
120959
+ return (index.h(index.Host, { "no-header": this.hideHeader() }, index.h("div", { class: "grid__container ez-grid", ref: elem => (this._container = elem) }), index.h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, index.h("filter-column", { class: "grid-header__popover", noHeaderTaskBar: !this._hasLeftButtons, dataSource: this.getDataSource(), dataUnit: this.dataUnit, gridHeaderHidden: this.hideHeader(), ref: (element) => (this._filterColumn = element) }), index.h("div", { class: "grid-header__position" }, index.h("div", { class: "grid-header__container" }, index.h("slot", { name: "leftButtons" })), index.h("div", { class: "grid-header__container", ref: ref => (this._refPaginationControl = ref) }, this.getPaginationControl()))), index.h("div", { ref: (ref) => (this._gridSelectionCounter = ref), class: `grid__selection-counter ez-elevation--4
120778
120960
  ${this._showSelectionCounter ? 'grid__selection-counter--opened' : ''}
120779
- ` }, index.h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), index.h("div", { class: "grid__container ez-grid", ref: elem => (this._container = elem) }), index.h("div", { class: "grid__footer" }, index.h("slot", { name: "footer" }))));
120961
+ ` }, index.h(SelectionCounter, { selectionCount: this._selectionCount, currentPageSelected: this._currentPageSelected, paginationInfo: this._paginationInfo, canSelectAll: (_a = this.selectionToastConfig) === null || _a === void 0 ? void 0 : _a.canSelectAll, allRecordSelected: this._isAllSelection, onSelectAll: () => this.onSelectAllRecords(), onSelectPage: () => this.onSelectPageRecords(), onClearAll: () => this.onClearSelectedRecords(), onClose: () => (this._showSelectionCounter = false) })), index.h("div", { class: "grid__footer" }, index.h("slot", { name: "footer" }))));
120780
120962
  }
120781
120963
  static get assetsDirs() { return ["../assets"]; }
120782
120964
  get _element() { return index.getElement(this); }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1064511f.js');
5
+ const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
  const EzScrollDirection = require('./EzScrollDirection-b2c99895.js');
8
8
 
@@ -25,6 +25,12 @@ const EzGuideNavigator = class {
25
25
  async disableItem(id) {
26
26
  [].concat(id).forEach(item => this._tree.disableItem(item));
27
27
  }
28
+ /**
29
+ * Abre o navegador de Guia
30
+ */
31
+ async openGuideNavidator() {
32
+ this.open = true;
33
+ }
28
34
  /**
29
35
  * Habilita um ou mais itens.
30
36
  */
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1064511f.js');
5
+ const index = require('./index-a7b0c73d.js');
6
6
  const core = require('@sankhyalabs/core');
7
7
 
8
- const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height: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:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-acao:before{content:\"\\ea03\"}.ez-icon-account-outline:before{content:\"\\ea04\"}.ez-icon-account:before{content:\"\\ea05\"}.ez-icon-actions-sprite-v1:before{content:\"\\ea06\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea07\"}.ez-icon-alert-circle:before{content:\"\\ea08\"}.ez-icon-alert-mail:before{content:\"\\ea09\"}.ez-icon-alert-popup:before{content:\"\\ea0a\"}.ez-icon-anexo:before{content:\"\\ea0b\"}.ez-icon-antecipação:before{content:\"\\ea0c\"}.ez-icon-apps:before{content:\"\\ea0d\"}.ez-icon-arrow_back:before{content:\"\\ea0e\"}.ez-icon-arrow_downward:before{content:\"\\ea0f\"}.ez-icon-baixa:before{content:\"\\ea10\"}.ez-icon-balance:before{content:\"\\ea11\"}.ez-icon-bell-inverted:before{content:\"\\ea12\"}.ez-icon-bell:before{content:\"\\ea13\"}.ez-icon-boleto:before{content:\"\\ea14\"}.ez-icon-boolean:before{content:\"\\ea15\"}.ez-icon-business-center:before{content:\"\\ea16\"}.ez-icon-calendar-clock:before{content:\"\\ea17\"}.ez-icon-calendar:before{content:\"\\ea18\"}.ez-icon-cash-remove:before{content:\"\\ea19\"}.ez-icon-check-circle-inverted:before{content:\"\\ea1a\"}.ez-icon-check-circle:before{content:\"\\ea1b\"}.ez-icon-check:before{content:\"\\ea1c\"}.ez-icon-chevron-down:before{content:\"\\ea1d\"}.ez-icon-chevron-left:before{content:\"\\ea1e\"}.ez-icon-chevron-right:before{content:\"\\ea1f\"}.ez-icon-chevron-up:before{content:\"\\ea20\"}.ez-icon-circle--medium:before{content:\"\\ea21\"}.ez-icon-circle:before{content:\"\\ea22\"}.ez-icon-cleaning:before{content:\"\\ea23\"}.ez-icon-clipboard:before{content:\"\\ea24\"}.ez-icon-close:before{content:\"\\ea25\"}.ez-icon-cobrar:before{content:\"\\ea26\"}.ez-icon-code:before{content:\"\\ea27\"}.ez-icon-configuration:before{content:\"\\ea28\"}.ez-icon-copy:before{content:\"\\ea29\"}.ez-icon-credit_card:before{content:\"\\ea2a\"}.ez-icon-crop:before{content:\"\\ea2b\"}.ez-icon-custom:before{content:\"\\ea2c\"}.ez-icon-delete:before{content:\"\\ea2d\"}.ez-icon-description:before{content:\"\\ea2e\"}.ez-icon-dividir:before{content:\"\\ea2f\"}.ez-icon-docx:before{content:\"\\ea30\"}.ez-icon-dot-notification:before{content:\"\\ea31\"}.ez-icon-dots-horizontal:before{content:\"\\ea32\"}.ez-icon-dots-vertical:before{content:\"\\ea33\"}.ez-icon-drag-indicator:before{content:\"\\ea34\"}.ez-icon-dual-chevron-down:before{content:\"\\ea35\"}.ez-icon-dual-chevron-up:before{content:\"\\ea36\"}.ez-icon-edit-file:before{content:\"\\ea37\"}.ez-icon-edit-table:before{content:\"\\ea38\"}.ez-icon-edit-time:before{content:\"\\ea39\"}.ez-icon-edit:before{content:\"\\ea3a\"}.ez-icon-email:before{content:\"\\ea3b\"}.ez-icon-estorno:before{content:\"\\ea3c\"}.ez-icon-exe:before{content:\"\\ea3d\"}.ez-icon-expand:before{content:\"\\ea3e\"}.ez-icon-expandir_card:before{content:\"\\ea3f\"}.ez-icon-extrato:before{content:\"\\ea40\"}.ez-icon-eye-off:before{content:\"\\ea41\"}.ez-icon-eye:before{content:\"\\ea42\"}.ez-icon-favorite:before{content:\"\\ea43\"}.ez-icon-figma:before{content:\"\\ea44\"}.ez-icon-file-download:before{content:\"\\ea45\"}.ez-icon-file-upload:before{content:\"\\ea46\"}.ez-icon-filter:before{content:\"\\ea47\"}.ez-icon-find-file:before{content:\"\\ea48\"}.ez-icon-find-page:before{content:\"\\ea49\"}.ez-icon-format-color-fill:before{content:\"\\ea4a\"}.ez-icon-generic:before{content:\"\\ea4b\"}.ez-icon-gif:before{content:\"\\ea4c\"}.ez-icon-graph_bar:before{content:\"\\ea4d\"}.ez-icon-handshake:before{content:\"\\ea4e\"}.ez-icon-help-inverted:before{content:\"\\ea4f\"}.ez-icon-help:before{content:\"\\ea50\"}.ez-icon-hide_menu:before{content:\"\\ea51\"}.ez-icon-home:before{content:\"\\ea52\"}.ez-icon-icons104:before{content:\"\\ea53\"}.ez-icon-language:before{content:\"\\ea54\"}.ez-icon-launch:before{content:\"\\ea55\"}.ez-icon-lightbulb:before{content:\"\\ea56\"}.ez-icon-list:before{content:\"\\ea57\"}.ez-icon-location:before{content:\"\\ea58\"}.ez-icon-lock-outline:before{content:\"\\ea59\"}.ez-icon-lock:before{content:\"\\ea5a\"}.ez-icon-menu:before{content:\"\\ea5b\"}.ez-icon-mid:before{content:\"\\ea5c\"}.ez-icon-minus:before{content:\"\\ea5d\"}.ez-icon-money-off:before{content:\"\\ea5e\"}.ez-icon-money:before{content:\"\\ea5f\"}.ez-icon-more:before{content:\"\\ea60\"}.ez-icon-mp3:before{content:\"\\ea61\"}.ez-icon-mp4:before{content:\"\\ea62\"}.ez-icon-north-west:before{content:\"\\ea63\"}.ez-icon-number:before{content:\"\\ea64\"}.ez-icon-ordem-ascendente:before{content:\"\\ea65\"}.ez-icon-ordem-descendente:before{content:\"\\ea66\"}.ez-icon-parcelar:before{content:\"\\ea67\"}.ez-icon-pause:before{content:\"\\ea68\"}.ez-icon-payments:before{content:\"\\ea69\"}.ez-icon-pdf:before{content:\"\\ea6a\"}.ez-icon-play:before{content:\"\\ea6b\"}.ez-icon-plus:before{content:\"\\ea6c\"}.ez-icon-png:before{content:\"\\ea6d\"}.ez-icon-power:before{content:\"\\ea6e\"}.ez-icon-pptx:before{content:\"\\ea6f\"}.ez-icon-print:before{content:\"\\ea70\"}.ez-icon-push-pin:before{content:\"\\ea71\"}.ez-icon-rateio:before{content:\"\\ea72\"}.ez-icon-receipt:before{content:\"\\ea73\"}.ez-icon-recolher_card:before{content:\"\\ea74\"}.ez-icon-restore:before{content:\"\\ea75\"}.ez-icon-return:before{content:\"\\ea76\"}.ez-icon-save:before{content:\"\\ea77\"}.ez-icon-search:before{content:\"\\ea78\"}.ez-icon-settings-inverted:before{content:\"\\ea79\"}.ez-icon-settings:before{content:\"\\ea7a\"}.ez-icon-share:before{content:\"\\ea7b\"}.ez-icon-shield:before{content:\"\\ea7c\"}.ez-icon-show_menu:before{content:\"\\ea7d\"}.ez-icon-south-east:before{content:\"\\ea7e\"}.ez-icon-sync:before{content:\"\\ea7f\"}.ez-icon-table:before{content:\"\\ea80\"}.ez-icon-tag_code:before{content:\"\\ea81\"}.ez-icon-text:before{content:\"\\ea82\"}.ez-icon-timeline:before{content:\"\\ea83\"}.ez-icon-timer-outline:before{content:\"\\ea84\"}.ez-icon-tune:before{content:\"\\ea85\"}.ez-icon-txt:before{content:\"\\ea86\"}.ez-icon-un-pin:before{content:\"\\ea87\"}.ez-icon-unfold_less:before{content:\"\\ea88\"}.ez-icon-unfold_more:before{content:\"\\ea89\"}.ez-icon-user-circle:before{content:\"\\ea8a\"}.ez-icon-warning-outline:before{content:\"\\ea8b\"}.ez-icon-warning_triangle:before{content:\"\\ea8c\"}.ez-icon-whatshot:before{content:\"\\ea8d\"}.ez-icon-xlsx:before{content:\"\\ea8e\"}.ez-icon-zip:before{content:\"\\ea8f\"}.x-small--font{font-size:12px}.small--font{font-size:16px}.medium--font{font-size:20px}.large--font{font-size:24px}.x-large--font{font-size:30px}";
8
+ const ezIconCss = ":host{display:flex;overflow:hidden;position:relative;--ez-icon--color:var(--icon--color, #ffffff)}svg{display:flex;justify-content:center;align-items:center;fill:var(--ez-icon--color)}.x-small{width:12px;height:12px}.small{width:16px;height:16px}.medium{width:20px;height:20px}.large{width:24px;height:24px}.x-large{width:30px;height: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:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-icon-2chevron-down:before{content:\"\\ea01\"}.ez-icon-2chevron-up:before{content:\"\\ea02\"}.ez-icon-acao:before{content:\"\\ea03\"}.ez-icon-account-outline:before{content:\"\\ea04\"}.ez-icon-account:before{content:\"\\ea05\"}.ez-icon-alert-circle-inverted:before{content:\"\\ea06\"}.ez-icon-alert-circle:before{content:\"\\ea07\"}.ez-icon-alert-mail:before{content:\"\\ea08\"}.ez-icon-alert-popup:before{content:\"\\ea09\"}.ez-icon-anexo:before{content:\"\\ea0a\"}.ez-icon-antecipação:before{content:\"\\ea0b\"}.ez-icon-apps:before{content:\"\\ea0c\"}.ez-icon-arrow-forward:before{content:\"\\ea0d\"}.ez-icon-arrow-upward:before{content:\"\\ea0e\"}.ez-icon-arrow_back:before{content:\"\\ea0f\"}.ez-icon-arrow_downward:before{content:\"\\ea10\"}.ez-icon-baixa:before{content:\"\\ea11\"}.ez-icon-balance:before{content:\"\\ea12\"}.ez-icon-bell-inverted:before{content:\"\\ea13\"}.ez-icon-bell:before{content:\"\\ea14\"}.ez-icon-boleto:before{content:\"\\ea15\"}.ez-icon-boolean:before{content:\"\\ea16\"}.ez-icon-business-center:before{content:\"\\ea17\"}.ez-icon-calendar-clock:before{content:\"\\ea18\"}.ez-icon-calendar:before{content:\"\\ea19\"}.ez-icon-cash-remove:before{content:\"\\ea1a\"}.ez-icon-check-circle-inverted:before{content:\"\\ea1b\"}.ez-icon-check-circle:before{content:\"\\ea1c\"}.ez-icon-check:before{content:\"\\ea1d\"}.ez-icon-chevron-down:before{content:\"\\ea1e\"}.ez-icon-chevron-left:before{content:\"\\ea1f\"}.ez-icon-chevron-right:before{content:\"\\ea20\"}.ez-icon-chevron-up:before{content:\"\\ea21\"}.ez-icon-circle--medium:before{content:\"\\ea22\"}.ez-icon-circle:before{content:\"\\ea23\"}.ez-icon-cleaning:before{content:\"\\ea24\"}.ez-icon-clipboard:before{content:\"\\ea25\"}.ez-icon-close:before{content:\"\\ea26\"}.ez-icon-cobrar:before{content:\"\\ea27\"}.ez-icon-code:before{content:\"\\ea28\"}.ez-icon-configuration:before{content:\"\\ea29\"}.ez-icon-content-cut:before{content:\"\\ea2a\"}.ez-icon-copy:before{content:\"\\ea2b\"}.ez-icon-credit_card:before{content:\"\\ea2c\"}.ez-icon-crop:before{content:\"\\ea2d\"}.ez-icon-custom:before{content:\"\\ea2e\"}.ez-icon-delete-file:before{content:\"\\ea2f\"}.ez-icon-delete:before{content:\"\\ea30\"}.ez-icon-description:before{content:\"\\ea31\"}.ez-icon-dividir:before{content:\"\\ea32\"}.ez-icon-docx:before{content:\"\\ea33\"}.ez-icon-dot-notification:before{content:\"\\ea34\"}.ez-icon-dots-horizontal:before{content:\"\\ea35\"}.ez-icon-dots-vertical:before{content:\"\\ea36\"}.ez-icon-drag-indicator:before{content:\"\\ea37\"}.ez-icon-dual-chevron-down:before{content:\"\\ea38\"}.ez-icon-dual-chevron-left:before{content:\"\\ea39\"}.ez-icon-dual-chevron-right:before{content:\"\\ea3a\"}.ez-icon-dual-chevron-up:before{content:\"\\ea3b\"}.ez-icon-edit-file:before{content:\"\\ea3c\"}.ez-icon-edit-table:before{content:\"\\ea3d\"}.ez-icon-edit-time:before{content:\"\\ea3e\"}.ez-icon-edit-value:before{content:\"\\ea3f\"}.ez-icon-edit:before{content:\"\\ea40\"}.ez-icon-email:before{content:\"\\ea41\"}.ez-icon-estorno:before{content:\"\\ea42\"}.ez-icon-exe:before{content:\"\\ea43\"}.ez-icon-expand:before{content:\"\\ea44\"}.ez-icon-expandir_card:before{content:\"\\ea45\"}.ez-icon-extrato:before{content:\"\\ea46\"}.ez-icon-eye-off:before{content:\"\\ea47\"}.ez-icon-eye:before{content:\"\\ea48\"}.ez-icon-favorite:before{content:\"\\ea49\"}.ez-icon-figma:before{content:\"\\ea4a\"}.ez-icon-file-download:before{content:\"\\ea4b\"}.ez-icon-file-upload:before{content:\"\\ea4c\"}.ez-icon-filter:before{content:\"\\ea4d\"}.ez-icon-find-file:before{content:\"\\ea4e\"}.ez-icon-find-page:before{content:\"\\ea4f\"}.ez-icon-format-color-fill:before{content:\"\\ea50\"}.ez-icon-generic:before{content:\"\\ea51\"}.ez-icon-gif:before{content:\"\\ea52\"}.ez-icon-graph_bar:before{content:\"\\ea53\"}.ez-icon-handshake:before{content:\"\\ea54\"}.ez-icon-help-inverted:before{content:\"\\ea55\"}.ez-icon-help:before{content:\"\\ea56\"}.ez-icon-hide_menu:before{content:\"\\ea57\"}.ez-icon-home:before{content:\"\\ea58\"}.ez-icon-icons104:before{content:\"\\ea59\"}.ez-icon-language:before{content:\"\\ea5a\"}.ez-icon-launch:before{content:\"\\ea5b\"}.ez-icon-lightbulb:before{content:\"\\ea5c\"}.ez-icon-list:before{content:\"\\ea5d\"}.ez-icon-location:before{content:\"\\ea5e\"}.ez-icon-lock-outline:before{content:\"\\ea5f\"}.ez-icon-lock:before{content:\"\\ea60\"}.ez-icon-menu:before{content:\"\\ea61\"}.ez-icon-mid:before{content:\"\\ea62\"}.ez-icon-minus:before{content:\"\\ea63\"}.ez-icon-money-off:before{content:\"\\ea64\"}.ez-icon-money:before{content:\"\\ea65\"}.ez-icon-more:before{content:\"\\ea66\"}.ez-icon-mp3:before{content:\"\\ea67\"}.ez-icon-mp4:before{content:\"\\ea68\"}.ez-icon-multiple-files:before{content:\"\\ea69\"}.ez-icon-north-west:before{content:\"\\ea6a\"}.ez-icon-number:before{content:\"\\ea6b\"}.ez-icon-ordem-ascendente:before{content:\"\\ea6c\"}.ez-icon-ordem-descendente:before{content:\"\\ea6d\"}.ez-icon-parcelar:before{content:\"\\ea6e\"}.ez-icon-pause:before{content:\"\\ea6f\"}.ez-icon-payments:before{content:\"\\ea70\"}.ez-icon-pdf:before{content:\"\\ea71\"}.ez-icon-play:before{content:\"\\ea72\"}.ez-icon-plus:before{content:\"\\ea73\"}.ez-icon-png:before{content:\"\\ea74\"}.ez-icon-power:before{content:\"\\ea75\"}.ez-icon-pptx:before{content:\"\\ea76\"}.ez-icon-preview:before{content:\"\\ea77\"}.ez-icon-print:before{content:\"\\ea78\"}.ez-icon-push-pin:before{content:\"\\ea79\"}.ez-icon-rateio:before{content:\"\\ea7a\"}.ez-icon-receipt:before{content:\"\\ea7b\"}.ez-icon-recolher_card:before{content:\"\\ea7c\"}.ez-icon-restore:before{content:\"\\ea7d\"}.ez-icon-return:before{content:\"\\ea7e\"}.ez-icon-sankhya-place:before{content:\"\\ea7f\"}.ez-icon-save:before{content:\"\\ea80\"}.ez-icon-search:before{content:\"\\ea81\"}.ez-icon-settings-inverted:before{content:\"\\ea82\"}.ez-icon-settings:before{content:\"\\ea83\"}.ez-icon-share:before{content:\"\\ea84\"}.ez-icon-shield:before{content:\"\\ea85\"}.ez-icon-show_menu:before{content:\"\\ea86\"}.ez-icon-south-east:before{content:\"\\ea87\"}.ez-icon-sync:before{content:\"\\ea88\"}.ez-icon-table:before{content:\"\\ea89\"}.ez-icon-tag_code:before{content:\"\\ea8a\"}.ez-icon-text:before{content:\"\\ea8b\"}.ez-icon-timeline:before{content:\"\\ea8c\"}.ez-icon-timer-outline:before{content:\"\\ea8d\"}.ez-icon-trending-up:before{content:\"\\ea8e\"}.ez-icon-tune:before{content:\"\\ea8f\"}.ez-icon-txt:before{content:\"\\ea90\"}.ez-icon-un-pin:before{content:\"\\ea91\"}.ez-icon-unfold_less:before{content:\"\\ea92\"}.ez-icon-unfold_more:before{content:\"\\ea93\"}.ez-icon-user-circle:before{content:\"\\ea94\"}.ez-icon-warning-outline:before{content:\"\\ea95\"}.ez-icon-warning_triangle:before{content:\"\\ea96\"}.ez-icon-whatshot:before{content:\"\\ea97\"}.ez-icon-xlsx:before{content:\"\\ea98\"}.ez-icon-zip:before{content:\"\\ea99\"}.x-small--font{font-size:12px}.small--font{font-size:16px}.medium--font{font-size:20px}.large--font{font-size:24px}.x-large--font{font-size:30px}";
9
9
 
10
10
  const EzIcon = class {
11
11
  constructor(hostRef) {