@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
@@ -21,16 +21,19 @@
21
21
  --ez-list__item--color: var(--title--primary, #2b3a54);
22
22
 
23
23
  /* @doc Define o estilo borda inferior do item da lista. */
24
- --ez-list__item--border-bottom: var(--border--small, 1px solid);
24
+ --ez-list__item--border-bottom;
25
25
 
26
26
  /* @doc Define a cor da borda inferior do item da lista. */
27
- --ez-list__item--border-color: var(--title--primary, #2b3a54);
27
+ --ez-list__item--border-bottom-color;
28
28
 
29
29
  /* @doc Define o estilo do texto do item da lista. */
30
30
  --ez-list__item--font-family: var(--font-pattern, "Roboto");
31
31
 
32
32
  /* @doc Define o tamanho do texto do item da lista. */
33
33
  --ez-list__item--font-size: var(--text--medium, 14px);
34
+
35
+ /* @doc Define o tipo da quebra de linha do item da lista. */
36
+ --ez-list__item--white-space: var(--ez-list__item--white-space, nowrap);
34
37
 
35
38
  /* @doc Define o espaçamento lateral direito para items selecionados. */
36
39
  --ez-list__selectable--padding-right: var(--space--small, 6px);
@@ -146,7 +149,6 @@ p {
146
149
  display: flex;
147
150
  overflow: hidden;
148
151
  justify-content: flex-start;
149
- align-items: center;
150
152
  width: 100%;
151
153
  }
152
154
 
@@ -156,7 +158,7 @@ p {
156
158
  width: 100%;
157
159
  max-height: 100%;
158
160
  scrollbar-width: thin;
159
-
161
+
160
162
  /*public*/
161
163
  color: var(--text-color);
162
164
  scrollbar-color: var(--ez-list__scrollbar--color-clicked) var(--ez-list__scrollbar--color-background);
@@ -164,13 +166,14 @@ p {
164
166
 
165
167
  .draggable-list li {
166
168
  display: flex;
167
- height: 32px;
168
-
169
+
169
170
  /*public*/
171
+ padding: var(--space--2xs, 8px) var(--space--3xs, 4px);
170
172
  margin: var(--ez-list__item--margin);
171
173
  font-family: var(--ez-list__item--font-family);
172
174
  font-size: var(--ez-list__item--font-size);
173
175
  color: var(--ez-list__item--color);
176
+ border-bottom: var(--ez-list__item--border-bottom, none) var(--ez-list__item--border-bottom-color);
174
177
  }
175
178
 
176
179
  .over {
@@ -254,9 +257,11 @@ p {
254
257
  }
255
258
 
256
259
  .text--ellipsis {
257
- white-space: nowrap;
258
260
  overflow: hidden;
259
261
  text-overflow: ellipsis;
262
+
263
+ /*public*/
264
+ white-space: var(--ez-list__item--white-space);
260
265
  }
261
266
 
262
267
  .group-container {
@@ -434,7 +434,9 @@ export class EzList {
434
434
  this.setSelection(previousItem, true);
435
435
  }
436
436
  keyDownHandler(event) {
437
- event.preventDefault();
437
+ if (!event.ctrlKey) {
438
+ event.preventDefault();
439
+ }
438
440
  this.getSelection().then(selectedItem => {
439
441
  if (selectedItem) {
440
442
  switch (event.key) {
@@ -1,6 +1,6 @@
1
1
  :host {
2
2
  /*@doc Define a camada em que o componente será exibido.*/
3
- --ez-modal-z-index: var(--most-visible, 3);
3
+ --ez-modal-z-index: var(--elevation--12, 12);;
4
4
  /*@doc Define o espaçamento vertical do conteúdo do modal.*/
5
5
  --ez-modal-vertical-padding: var(--space--large, 24px);
6
6
  /*@doc Define o padding entre o conteúdo e o modal */
@@ -14,6 +14,7 @@ export class EzMuiltiSelectionList {
14
14
  this.dataSource = undefined;
15
15
  this.useOptions = false;
16
16
  this.options = undefined;
17
+ this.isTextSearch = false;
17
18
  this.filteredOptions = undefined;
18
19
  this.displayOptions = undefined;
19
20
  this.viewScenario = undefined;
@@ -51,8 +52,18 @@ export class EzMuiltiSelectionList {
51
52
  ordenationByCheckStateAndAlphabetically(filteredOptions) {
52
53
  const listWithSelectChecked = [];
53
54
  const listWithNotSelectChecked = [];
54
- filteredOptions.forEach(item => (item.check ? listWithSelectChecked.push(item) : listWithNotSelectChecked.push(item)));
55
- return [...ArrayUtils.sortAlphabetically(listWithSelectChecked), ...ArrayUtils.sortAlphabetically(listWithNotSelectChecked)];
55
+ let emptyElement;
56
+ filteredOptions.forEach(item => {
57
+ if (item.value == undefined || item.label === "") {
58
+ emptyElement = Object.assign(Object.assign({}, item), { label: "(Vazio)" });
59
+ }
60
+ else {
61
+ (item.check ? listWithSelectChecked.push(item) : listWithNotSelectChecked.push(item));
62
+ }
63
+ });
64
+ return (emptyElement == undefined ? [] : [emptyElement])
65
+ .concat(this.dataSource == undefined ? ArrayUtils.sortAlphabetically(listWithSelectChecked) : this.dataSource.sortItems(this.columnName, listWithSelectChecked))
66
+ .concat(this.dataSource == undefined ? ArrayUtils.sortAlphabetically(listWithNotSelectChecked) : this.dataSource.sortItems(this.columnName, listWithNotSelectChecked));
56
67
  }
57
68
  changeCheckAllValeuFromFilteredOptions() {
58
69
  var _a, _b, _c, _d;
@@ -96,6 +107,7 @@ export class EzMuiltiSelectionList {
96
107
  this.filteredOptions = this.ordenationByCheckStateAndAlphabetically([...optionsToSort, event.detail]);
97
108
  }
98
109
  this.viewScenario = ViewScenarios.DATASOURCE_RESULTS;
110
+ this.searchInput.value = "";
99
111
  }
100
112
  handleRemoveItemFromOptions(item) {
101
113
  this.filteredOptions = this.ordenationByCheckStateAndAlphabetically(this.filteredOptions.filter(i => i.value !== item.value));
@@ -150,16 +162,17 @@ export class EzMuiltiSelectionList {
150
162
  }
151
163
  scenarioToDisplay(view) {
152
164
  const scenarios = {
153
- [ViewScenarios.DATASOURCE_INIT]: this.buildInitViewWithDataSource(),
154
- [ViewScenarios.DATASOURCE_RESULTS]: this.buildViewList(true),
155
- [ViewScenarios.DATASOURCE_RESULTS_EMPTY]: this.buildViewEmptyResults(),
156
- [ViewScenarios.OPTIONS_EMPTY]: this.buildViewEmptyResults(),
157
- [ViewScenarios.OPTIONS]: this.buildViewList(false),
165
+ [ViewScenarios.DATASOURCE_INIT]: () => this.buildInitViewWithDataSource(),
166
+ [ViewScenarios.DATASOURCE_RESULTS]: () => this.buildViewList(true),
167
+ [ViewScenarios.DATASOURCE_RESULTS_EMPTY]: () => this.buildViewEmptyResults(),
168
+ [ViewScenarios.OPTIONS_EMPTY]: () => this.buildViewEmptyResults(),
169
+ [ViewScenarios.OPTIONS]: () => this.buildViewList(false),
158
170
  };
159
- return scenarios[view];
171
+ const scenarioBuilder = scenarios[view];
172
+ return scenarioBuilder ? scenarioBuilder() : undefined;
160
173
  }
161
174
  render() {
162
- return (h(Host, null, h("div", { class: "multi-selection" }, this.useOptions ? (h("ez-filter-input", { ref: (element) => (this.filterInput = element), label: `Buscar..`, onEzChange: this.handleSearchOnOption.bind(this) })) : (h("ez-search", { class: "multi-selection__input", label: `Buscar...`, ref: (element) => (this.searchInput = element), suppressEmptyOption: true, showOptionValue: false, showSelectedValue: false, optionLoader: (search) => this.searchWithDataSource(search, this.columnName), onEzChange: this.handleSearchOnDataSource.bind(this) })), h("ez-scroll", { class: "multi-selection__content-options" }, this.scenarioToDisplay(this.viewScenario)))));
175
+ return (h(Host, null, h("div", { class: "multi-selection" }, this.useOptions ? (h("ez-filter-input", { ref: (element) => (this.filterInput = element), label: `Buscar..`, onEzChange: this.handleSearchOnOption.bind(this) })) : (h("ez-search", { class: "multi-selection__input", label: `Buscar...`, ref: (element) => (this.searchInput = element), suppressEmptyOption: true, showOptionValue: false, showSelectedValue: false, optionLoader: (search) => this.searchWithDataSource(search, this.columnName), onEzChange: this.handleSearchOnDataSource.bind(this), isTextSearch: this.isTextSearch })), h("ez-scroll", { class: "multi-selection__content-options" }, this.scenarioToDisplay(this.viewScenario)))));
163
176
  }
164
177
  static get is() { return "ez-multi-selection-list"; }
165
178
  static get encapsulation() { return "scoped"; }
@@ -232,7 +245,7 @@ export class EzMuiltiSelectionList {
232
245
  },
233
246
  "options": {
234
247
  "type": "unknown",
235
- "mutable": false,
248
+ "mutable": true,
236
249
  "complexType": {
237
250
  "original": "IMultiSelectionOption[]",
238
251
  "resolved": "IMultiSelectionOption[]",
@@ -249,6 +262,24 @@ export class EzMuiltiSelectionList {
249
262
  "tags": [],
250
263
  "text": "Op\u00E7\u00F5es de filtros a serem exibidas na listagem."
251
264
  }
265
+ },
266
+ "isTextSearch": {
267
+ "type": "boolean",
268
+ "mutable": false,
269
+ "complexType": {
270
+ "original": "boolean",
271
+ "resolved": "boolean",
272
+ "references": {}
273
+ },
274
+ "required": false,
275
+ "optional": false,
276
+ "docs": {
277
+ "tags": [],
278
+ "text": "Informa se a pesquisa \u00E9 do tipo texto."
279
+ },
280
+ "attribute": "is-text-search",
281
+ "reflect": false,
282
+ "defaultValue": "false"
252
283
  }
253
284
  };
254
285
  }
@@ -2,7 +2,7 @@
2
2
  display: flex;
3
3
  /* General */
4
4
  /*@doc Define a camada em que o componente será exibido.*/
5
- --ez-popup-z-index: var(--most-visible, 3);
5
+ --ez-popup-z-index: var(--elevation--24, 24);
6
6
 
7
7
  /* Popup */
8
8
  /*@doc Define a cor do texto do container do popup.*/
@@ -36,7 +36,7 @@
36
36
  position: fixed;
37
37
  display: flex;
38
38
  top: 0px;
39
- z-index: var(--ez-popup-z-index);
39
+ z-index: var(--ez-popup-z-index, 24);
40
40
  left: 0px;
41
41
  width: 100%;
42
42
  align-items: center;
@@ -1,3 +1,333 @@
1
1
  :host {
2
+ /* dimensions */
3
+ /*@doc Define altura do input.*/
4
+ --ez-search--height: 42px;
5
+ /*@doc Define largura do input.*/
6
+ --ez-search--width: 100%;
7
+ /*@doc Define largura do slot do ícone do input.*/
8
+ --ez-search__icon--width: 48px;
9
+
10
+ /* general */
11
+ /*@doc Define o raio da borda do input.*/
12
+ --ez-search--border-radius: var(--border--radius-medium, 12px);
13
+ /*@doc Define o raio da borda do input quando pequeno.*/
14
+ --ez-search--border-radius-small: var(--border--radius-small, 6px);
15
+ /*@doc Define o tamanho da fonte dentro do input.*/
16
+ --ez-search--font-size: var(--text--medium, 14px);
17
+ /*@doc Define a família da fonte dentro do input.*/
18
+ --ez-search--font-family: var(--font-pattern, Arial);
19
+ /*@doc Define o peso da fonte dentro do input quando pesada.*/
20
+ --ez-search--font-weight--large: var(--text-weight--large, 500);
21
+ /*@doc Define o peso da fonte dentro do input quando média.*/
22
+ --ez-search--font-weight--medium: var(--text-weight--medium, 400);
23
+ /*@doc Define a cor de fundo da lista de opções.*/
24
+ --ez-search--background-color--xlight: var(--background--xlight, #fff);
25
+ /*@doc Define a cor de fundo dos itens da lista de opções.*/
26
+ --ez-search--background-medium: var(--background--medium, #f0f3f7);
27
+ /*@doc Define a altura da linha do texto dentro do input.*/
28
+ --ez-search--line-height: calc(var(--text--medium, 14px) + 4px);
29
+
30
+ /* input */
31
+ /*@doc Define a cor de fundo do input.*/
32
+ --ez-search__input--background-color: var(--background--medium, #e0e0e0);
33
+ /*@doc Define o estilo da borda do input.*/
34
+ --ez-search__input--border: var(--border--medium, 2px solid);
35
+ /*@doc Define a cor da borda do input.*/
36
+ --ez-search__input--border-color: var(--ez-search__input--background-color);
37
+ /*no modo normal usamos a borda com a mesma cor do bg*/
38
+ /*@doc Define a cor da borda do input quando focado.*/
39
+ --ez-search__input--focus--border-color: var(--color--primary, #008561);
40
+ /*@doc Define a cor de fundo do input quando desabilitado.*/
41
+ --ez-search__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
42
+ /*@doc Define a cor do texto dentro do input quando desabilitado.*/
43
+ --ez-search__input--disabled--color: var(--text--disable, #AFB6C0);
44
+ /*@doc Define a cor da borda do input quando com erro.*/
45
+ --ez-search__input--error--border-color: #CC2936;
46
+
47
+ /* buttons */
48
+ /*@doc Define a cor do botão de pesquisa do componente.*/
49
+ --ez-search__btn--color: var(--title--primary, #2B3A54);
50
+ /*@doc Define a cor do botão de pesquisa do componente quando desabilitado.*/
51
+ --ez-search__btn-disabled--color: var(--text--disable, #AFB6C0);
52
+ /*@doc Define a cor do botão de pesquisa do componente quando o mouse está sobre ele.*/
53
+ --ez-search__btn-hover--color: var(--color--primary, #4e4e4e);
54
+
55
+ /* label */
56
+ /*@doc Define a cor do label.*/
57
+ --ez-search__label--color: var(--title--primary, #2B3A54);
58
+
59
+ /* list */
60
+ /*@doc Define a cor do texto da lista de opções.*/
61
+ --ez-search__list-title--primary: var(--title--primary, #2B3A54);
62
+ /*@doc Define a cor do texto do value da lista de opções.*/
63
+ --ez-search__list-text--primary: var(--text--primary, #626e82);
64
+ /*@doc Define a altura do box da lista de opções.*/
65
+ --ez-search__list-height: calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);
66
+ /*@doc Define a largura mínima da lista de opções.*/
67
+ --ez-search__list-min-width: 64px;
68
+
69
+ /* espaçamento */
70
+ /*@doc Define um espaçamento mediano entre elementos do componente.*/
71
+ --ez-search--space--medium: var(--space--medium, 12px);
72
+ /*@doc Define um espaçamento pequeno entre elementos do componente.*/
73
+ --ez-search--space--small: var(--space--small, 6px);
74
+
75
+ /* scrollbar */
76
+ /*@doc Define a cor da barra de rolagem do componente.*/
77
+ --ez-search__scrollbar--color-default: var(--scrollbar--default, #626e82);
78
+ /*@doc Define a cor de fundo da barra de rolagem do componente.*/
79
+ --ez-search__scrollbar--color-background: var(--scrollbar--background, #E5EAF0);
80
+ /*@doc Define a cor do hover na barra de rolagem do componente.*/
81
+ --ez-search__scrollbar--color-hover: var(--scrollbar--hover, #2B3A54);
82
+ /*@doc Define a cor do active na barra de rolagem do componente.*/
83
+ --ez-search__scrollbar--color-clicked: var(--scrollbar--clicked, #a2abb9);
84
+ /*@doc Define o raio da borda da barra de rolagem do componente.*/
85
+ --ez-search__scrollbar--border-radius: var(--border--radius-small, 6px);
86
+ /*@doc Define a largura da barra de rolagem do componente.*/
87
+ --ez-search__scrollbar--width: var(--space--medium, 12px);
88
+
89
+ /***************
90
+ host style
91
+ ***************/
92
+ /*private*/
93
+ display: flex;
94
+ flex-wrap: wrap;
95
+ position: relative;
96
+
97
+ /*public*/
98
+ width: var(--ez-search--width);
99
+ }
100
+
101
+ ez-icon {
102
+ --ez-icon--color: inherit;
103
+
104
+ /*public*/
105
+ font-weight: var(--text-weight--large, 600);
106
+ }
107
+
108
+ .suppressed-search-input{
109
+ /*public*/
110
+ --ez-text-input__input--border-color: var(--color--strokes, #dce0e8);
111
+ --ez-text-input__input--disabled--background-color: var(--background--xlight, #fff);
112
+ --ez-text-input__input--disabled--color: var(--title--primary, #2B3A54);
113
+ }
114
+
115
+ .list-container {
116
+ /*public*/
117
+ min-width: var(--ez-search__list-min-width);
118
+
119
+ /*private*/
120
+ position: relative;
2
121
  width: 100%;
122
+ }
123
+
124
+ .list-wrapper {
125
+ display: flex;
126
+ flex-direction: column;
127
+ box-sizing: border-box;
128
+ width: 0;
129
+
130
+ /*public*/
131
+ z-index: var(--more-visible, 2);
132
+ max-height: 350px;
133
+ background-color: var(--ez-search--background-color--xlight);
134
+ border-radius: var(--ez-search--border-radius);
135
+ box-shadow: var(--shadow, 0px 0px 16px 0px #000);
136
+ padding: var(--ez-search--space--small);
137
+ }
138
+
139
+ .list-options {
140
+ box-sizing: border-box;
141
+ width: 100%;
142
+ height: 100%;
143
+ padding: 0;
144
+ display: flex;
145
+ flex-direction: column;
146
+ scroll-behavior: smooth;
147
+ overflow: auto;
148
+ scrollbar-width: thin;
149
+ gap: 3px;
150
+
151
+ /*public*/
152
+ scrollbar-color: var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background);
153
+ }
154
+
155
+ .list-options::-webkit-scrollbar {
156
+ /*public*/
157
+ background-color: var(--ez-search__scrollbar--color-background);
158
+ width: var(--ez-search__scrollbar--width);
159
+ max-width: var(--ez-search__scrollbar--width);
160
+ min-width: var(--ez-search__scrollbar--width);
161
+ }
162
+
163
+ .list-options::-webkit-scrollbar-track {
164
+ /*public*/
165
+ background-color: var(--ez-search__scrollbar--color-background);
166
+ border-radius: var(--ez-search__scrollbar--border-radius);
167
+ }
168
+
169
+ .list-options::-webkit-scrollbar-thumb {
170
+ /*public*/
171
+ background-color: var(--ez-search__scrollbar--color-default);
172
+ border-radius: var(--ez-search__scrollbar--border-radius);
173
+ }
174
+
175
+ .list-options::-webkit-scrollbar-thumb:vertical:hover,
176
+ .list-options::-webkit-scrollbar-thumb:horizontal:hover {
177
+ /*public*/
178
+ background-color: var(--ez-search__scrollbar--color-hover);
179
+ }
180
+
181
+ .list-options::-webkit-scrollbar-thumb:vertical:active,
182
+ .list-options::-webkit-scrollbar-thumb:horizontal:active {
183
+ /*public*/
184
+ background-color: var(--ez-search__scrollbar--color-clicked);
185
+ }
186
+
187
+ .item {
188
+ display: flex;
189
+ align-items: center;
190
+ width: 100%;
191
+ box-sizing: border-box;
192
+ list-style-type: none;
193
+ cursor: pointer;
194
+
195
+ /*public*/
196
+ border-radius: var(--ez-search--border-radius-small);
197
+ padding: var(--ez-search--space--small);
198
+ min-height: var(--ez-search__list-height);
199
+ gap: var(--space--small, 6px);
200
+ }
201
+
202
+ .item__value,
203
+ .item__label {
204
+ flex-basis: auto;
205
+ white-space: nowrap;
206
+ overflow: hidden;
207
+ text-overflow: ellipsis;
208
+
209
+ /*public*/
210
+ color: var(--ez-search__list-title--primary);
211
+ font-family: var(--ez-search--font-family);
212
+ font-size: var(--ez-search--font-size);
213
+ line-height: var(--ez-search--line-height);
214
+ }
215
+
216
+ .item__label {
217
+ /*public*/
218
+ font-weight: var(--ez-search--font-weight--medium);
219
+ }
220
+
221
+ .item__label--bold {
222
+ /*public*/
223
+ font-weight: var(--ez-search--font-weight--large);
224
+ }
225
+
226
+ .item__value {
227
+ text-align: center;
228
+
229
+ /*public*/
230
+ color: var(--ez-search__list-text--primary);
231
+ font-weight: var(--ez-search--font-weight--large);
232
+ }
233
+
234
+ .item__value--hidden {
235
+ visibility: hidden;
236
+ position: absolute;
237
+ white-space: nowrap;
238
+ z-index: -1;
239
+ top: 0;
240
+ left: 0;
241
+ }
242
+
243
+ .item__label {
244
+ text-align: left;
245
+ }
246
+
247
+ .message {
248
+ text-align: center;
249
+ display: flex;
250
+ justify-content: center;
251
+ align-items: center;
252
+ list-style-type: none;
253
+
254
+ /*public*/
255
+ min-height: var(--ez-search__list-height);
256
+ }
257
+
258
+ .message__no-result {
259
+ /*public*/
260
+ color: var(--ez-search__list-title--primary);
261
+ font-family: var(--ez-search--font-family);
262
+ font-size: var(--ez-search--font-size);
263
+ }
264
+
265
+ .message__loading {
266
+ border-radius: 50%;
267
+ width: 14px;
268
+ height: 14px;
269
+ -webkit-animation: spin 1s linear infinite;
270
+ animation: spin 1s linear infinite;
271
+
272
+ /*public*/
273
+ border: 3px solid var(--ez-search__list-title--primary);
274
+ border-top: 3px solid transparent;
275
+ }
276
+
277
+ .item__list > li:hover {
278
+ /*public*/
279
+ background-color: var(--ez-search--background-medium);
280
+ }
281
+
282
+ .preselected {
283
+ /*public*/
284
+ background-color: var(--background--medium);
285
+ }
286
+
287
+ .btn {
288
+ outline: none;
289
+ border: none;
290
+ background: none;
291
+ cursor: pointer;
292
+
293
+ /*public*/
294
+ color: var(--ez-search__btn--color);
295
+ }
296
+
297
+ .btn:disabled {
298
+ cursor: unset;
299
+
300
+ /*public*/
301
+ color: var(--ez-search__btn-disabled--color);
302
+ }
303
+
304
+ .btn:disabled:hover {
305
+ cursor: unset;
306
+
307
+ /*public*/
308
+ color: var(--ez-search__btn-disabled--color);
309
+ }
310
+
311
+ .btn:hover {
312
+ /*public*/
313
+ color: var(--ez-search__btn-hover--color);
314
+ }
315
+
316
+ .btn__close {
317
+ visibility: hidden;
318
+ }
319
+
320
+ ez-text-input:hover .btn__close, ez-text-input:focus .btn__close {
321
+ visibility: visible;
322
+ }
323
+
324
+
325
+ @-webkit-keyframes spin {
326
+ 0% { -webkit-transform: rotate(0deg); }
327
+ 100% { -webkit-transform: rotate(360deg); }
328
+ }
329
+
330
+ @keyframes spin {
331
+ 0% { transform: rotate(0deg); }
332
+ 100% { transform: rotate(360deg); }
3
333
  }