@sankhyalabs/ezui 5.13.0-dev.2 → 5.13.0-dev.4

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 (45) hide show
  1. package/dist/cjs/{constants-3a1d64fb.js → constants-2714478b.js} +2 -0
  2. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-form-view.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-grid.cjs.entry.js +24 -18
  5. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +7 -6
  7. package/dist/cjs/ezui.cjs.js +1 -1
  8. package/dist/cjs/filter-column.cjs.entry.js +16 -4
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +10 -9
  11. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +7 -1
  12. package/dist/collection/components/ez-grid/ez-grid.js +2 -8
  13. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +16 -4
  14. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js +6 -0
  15. package/dist/collection/components/ez-icon/ez-icon.css +150 -137
  16. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +8 -7
  17. package/dist/collection/utils/constants.js +1 -0
  18. package/dist/custom-elements/index.js +49 -29
  19. package/dist/esm/constants-4e0d35b7.js +5 -0
  20. package/dist/esm/ez-combo-box.entry.js +1 -1
  21. package/dist/esm/ez-form-view.entry.js +1 -1
  22. package/dist/esm/ez-grid.entry.js +24 -18
  23. package/dist/esm/ez-icon.entry.js +1 -1
  24. package/dist/esm/ez-multi-selection-list.entry.js +7 -6
  25. package/dist/esm/ezui.js +1 -1
  26. package/dist/esm/filter-column.entry.js +16 -4
  27. package/dist/esm/loader.js +1 -1
  28. package/dist/ezui/ezui.esm.js +1 -1
  29. package/dist/ezui/p-05e1f4e7.js +1 -0
  30. package/dist/ezui/{p-5e55a42b.entry.js → p-0c62cfda.entry.js} +1 -1
  31. package/dist/ezui/{p-b977d29c.entry.js → p-16b5126b.entry.js} +1 -1
  32. package/dist/ezui/{p-a0d8a94f.entry.js → p-214e748b.entry.js} +2 -2
  33. package/dist/ezui/{p-3078d25c.entry.js → p-7fd54841.entry.js} +1 -1
  34. package/dist/ezui/p-a42fe2ce.entry.js +1 -0
  35. package/dist/ezui/p-ee212571.entry.js +1 -0
  36. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +0 -5
  37. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -3
  38. package/dist/types/components/ez-grid/utils/InMemoryFilterColumnDataSource.d.ts +1 -0
  39. package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +1 -0
  40. package/dist/types/utils/constants.d.ts +1 -0
  41. package/package.json +1 -1
  42. package/dist/esm/constants-6dab64f7.js +0 -4
  43. package/dist/ezui/p-061f4d73.entry.js +0 -1
  44. package/dist/ezui/p-1e7c4986.entry.js +0 -1
  45. package/dist/ezui/p-27a01a26.js +0 -1
@@ -39,9 +39,9 @@ export class FilterColumn {
39
39
  await this.hide();
40
40
  this.fieldDescriptor = this.dataUnit.getField(configs.columnName);
41
41
  this.buildIsTextSearch();
42
- this.setOptions(configs.filteredOptions);
43
42
  this.columnName = configs.columnName;
44
43
  this.columnLabel = configs.columnLabel;
44
+ await this.setOptions(configs.filteredOptions);
45
45
  await this.ezPopoverElement.show(this.calcTopPosition(), this.calculateLeftPosition(configs));
46
46
  }
47
47
  }
@@ -106,10 +106,22 @@ export class FilterColumn {
106
106
  return this.fieldDescriptor.userInterface === UserInterface.SWITCH
107
107
  || this.fieldDescriptor.userInterface === UserInterface.CHECKBOX;
108
108
  }
109
- setOptions(selectedItems) {
109
+ async setOptions(selectedItems) {
110
110
  const validateFieldUserInterfaceOptionSelector = this.hasToUseOptions();
111
- this.useOptions = validateFieldUserInterfaceOptionSelector;
112
- this.options = validateFieldUserInterfaceOptionSelector ? this.buildOptions(selectedItems) : (selectedItems !== null && selectedItems !== void 0 ? selectedItems : null);
111
+ if (validateFieldUserInterfaceOptionSelector) {
112
+ this.useOptions = validateFieldUserInterfaceOptionSelector;
113
+ this.options = validateFieldUserInterfaceOptionSelector ? this.buildOptions(selectedItems) : (selectedItems !== null && selectedItems !== void 0 ? selectedItems : null);
114
+ return;
115
+ }
116
+ const options = await this.dataSource.getStaticOptions(this.columnName);
117
+ if (options != undefined) {
118
+ const selected = new Set((selectedItems || []).filter(item => item.check).map(item => item.label));
119
+ this.useOptions = true;
120
+ this.options = selected.size === 0 ? options : options.map(option => (Object.assign(Object.assign({}, option), { check: selected.has(option.label) })));
121
+ return;
122
+ }
123
+ this.useOptions = false;
124
+ this.options = null;
113
125
  }
114
126
  buildOptions(selectedItems) {
115
127
  var _a, _b;
@@ -11,6 +11,12 @@ export default class InMemoryFilterColumnDataSource {
11
11
  this.originalRecords = (_a = this.dataUnit.records) !== null && _a !== void 0 ? _a : [];
12
12
  this.dataUnit.subscribe(this.onDataUnitAction);
13
13
  }
14
+ getStaticOptions(fieldName) {
15
+ return new Promise(resolve => {
16
+ const options = this.originalRecords.map(item => this.buildFieldOption(item, fieldName));
17
+ resolve(this.removeDuplicatedOptions(options));
18
+ });
19
+ }
14
20
  fetchData(filterTerm, fieldName) {
15
21
  return new Promise(resolve => {
16
22
  const filteredRecords = this.originalRecords.filter(record => this.includesSearchTerm(record, fieldName, filterTerm));
@@ -54,149 +54,162 @@ svg {
54
54
  -moz-osx-font-smoothing: grayscale;
55
55
  }
56
56
 
57
+
57
58
  .ez-icon-2chevron-down:before { content: "\ea01"; }
58
59
  .ez-icon-2chevron-up:before { content: "\ea02"; }
59
60
  .ez-icon-acao:before { content: "\ea03"; }
60
61
  .ez-icon-account-outline:before { content: "\ea04"; }
61
62
  .ez-icon-account:before { content: "\ea05"; }
62
63
  .ez-icon-actions-sprite-v1:before { content: "\ea06"; }
63
- .ez-icon-alert-circle-inverted:before { content: "\ea07"; }
64
- .ez-icon-alert-circle:before { content: "\ea08"; }
65
- .ez-icon-alert-mail:before { content: "\ea09"; }
66
- .ez-icon-alert-popup:before { content: "\ea0a"; }
67
- .ez-icon-anexo:before { content: "\ea0b"; }
68
- .ez-icon-antecipação:before { content: "\ea0c"; }
69
- .ez-icon-apps:before { content: "\ea0d"; }
70
- .ez-icon-arrow_back:before { content: "\ea0e"; }
71
- .ez-icon-arrow_downward:before { content: "\ea0f"; }
72
- .ez-icon-baixa:before { content: "\ea10"; }
73
- .ez-icon-balance:before { content: "\ea11"; }
74
- .ez-icon-bell-inverted:before { content: "\ea12"; }
75
- .ez-icon-bell:before { content: "\ea13"; }
76
- .ez-icon-boleto:before { content: "\ea14"; }
77
- .ez-icon-boolean:before { content: "\ea15"; }
78
- .ez-icon-business-center:before { content: "\ea16"; }
79
- .ez-icon-calendar-clock:before { content: "\ea17"; }
80
- .ez-icon-calendar:before { content: "\ea18"; }
81
- .ez-icon-cash-remove:before { content: "\ea19"; }
82
- .ez-icon-check-circle-inverted:before { content: "\ea1a"; }
83
- .ez-icon-check-circle:before { content: "\ea1b"; }
84
- .ez-icon-check:before { content: "\ea1c"; }
85
- .ez-icon-chevron-down:before { content: "\ea1d"; }
86
- .ez-icon-chevron-left:before { content: "\ea1e"; }
87
- .ez-icon-chevron-right:before { content: "\ea1f"; }
88
- .ez-icon-chevron-up:before { content: "\ea20"; }
89
- .ez-icon-circle--medium:before { content: "\ea21"; }
90
- .ez-icon-circle:before { content: "\ea22"; }
91
- .ez-icon-cleaning:before { content: "\ea23"; }
92
- .ez-icon-clipboard:before { content: "\ea24"; }
93
- .ez-icon-close:before { content: "\ea25"; }
94
- .ez-icon-cobrar:before { content: "\ea26"; }
95
- .ez-icon-code:before { content: "\ea27"; }
96
- .ez-icon-configuration:before { content: "\ea28"; }
97
- .ez-icon-copy:before { content: "\ea29"; }
98
- .ez-icon-credit_card:before { content: "\ea2a"; }
99
- .ez-icon-crop:before { content: "\ea2b"; }
100
- .ez-icon-custom:before { content: "\ea2c"; }
101
- .ez-icon-delete:before { content: "\ea2d"; }
102
- .ez-icon-description:before { content: "\ea2e"; }
103
- .ez-icon-dividir:before { content: "\ea2f"; }
104
- .ez-icon-docx:before { content: "\ea30"; }
105
- .ez-icon-dot-notification:before { content: "\ea31"; }
106
- .ez-icon-dots-horizontal:before { content: "\ea32"; }
107
- .ez-icon-dots-vertical:before { content: "\ea33"; }
108
- .ez-icon-drag-indicator:before { content: "\ea34"; }
109
- .ez-icon-dual-chevron-down:before { content: "\ea35"; }
110
- .ez-icon-dual-chevron-up:before { content: "\ea36"; }
111
- .ez-icon-edit-file:before { content: "\ea37"; }
112
- .ez-icon-edit-table:before { content: "\ea38"; }
113
- .ez-icon-edit-time:before { content: "\ea39"; }
114
- .ez-icon-edit:before { content: "\ea3a"; }
115
- .ez-icon-email:before { content: "\ea3b"; }
116
- .ez-icon-estorno:before { content: "\ea3c"; }
117
- .ez-icon-exe:before { content: "\ea3d"; }
118
- .ez-icon-expand:before { content: "\ea3e"; }
119
- .ez-icon-expandir_card:before { content: "\ea3f"; }
120
- .ez-icon-extrato:before { content: "\ea40"; }
121
- .ez-icon-eye-off:before { content: "\ea41"; }
122
- .ez-icon-eye:before { content: "\ea42"; }
123
- .ez-icon-favorite:before { content: "\ea43"; }
124
- .ez-icon-figma:before { content: "\ea44"; }
125
- .ez-icon-file-download:before { content: "\ea45"; }
126
- .ez-icon-file-upload:before { content: "\ea46"; }
127
- .ez-icon-filter:before { content: "\ea47"; }
128
- .ez-icon-find-file:before { content: "\ea48"; }
129
- .ez-icon-find-page:before { content: "\ea49"; }
130
- .ez-icon-format-color-fill:before { content: "\ea4a"; }
131
- .ez-icon-generic:before { content: "\ea4b"; }
132
- .ez-icon-gif:before { content: "\ea4c"; }
133
- .ez-icon-graph_bar:before { content: "\ea4d"; }
134
- .ez-icon-handshake:before { content: "\ea4e"; }
135
- .ez-icon-help-inverted:before { content: "\ea4f"; }
136
- .ez-icon-help:before { content: "\ea50"; }
137
- .ez-icon-hide_menu:before { content: "\ea51"; }
138
- .ez-icon-home:before { content: "\ea52"; }
139
- .ez-icon-icons104:before { content: "\ea53"; }
140
- .ez-icon-language:before { content: "\ea54"; }
141
- .ez-icon-launch:before { content: "\ea55"; }
142
- .ez-icon-lightbulb:before { content: "\ea56"; }
143
- .ez-icon-list:before { content: "\ea57"; }
144
- .ez-icon-location:before { content: "\ea58"; }
145
- .ez-icon-lock-outline:before { content: "\ea59"; }
146
- .ez-icon-lock:before { content: "\ea5a"; }
147
- .ez-icon-menu:before { content: "\ea5b"; }
148
- .ez-icon-mid:before { content: "\ea5c"; }
149
- .ez-icon-minus:before { content: "\ea5d"; }
150
- .ez-icon-money-off:before { content: "\ea5e"; }
151
- .ez-icon-money:before { content: "\ea5f"; }
152
- .ez-icon-more:before { content: "\ea60"; }
153
- .ez-icon-mp3:before { content: "\ea61"; }
154
- .ez-icon-mp4:before { content: "\ea62"; }
155
- .ez-icon-north-west:before { content: "\ea63"; }
156
- .ez-icon-number:before { content: "\ea64"; }
157
- .ez-icon-ordem-ascendente:before { content: "\ea65"; }
158
- .ez-icon-ordem-descendente:before { content: "\ea66"; }
159
- .ez-icon-parcelar:before { content: "\ea67"; }
160
- .ez-icon-pause:before { content: "\ea68"; }
161
- .ez-icon-payments:before { content: "\ea69"; }
162
- .ez-icon-pdf:before { content: "\ea6a"; }
163
- .ez-icon-play:before { content: "\ea6b"; }
164
- .ez-icon-plus:before { content: "\ea6c"; }
165
- .ez-icon-png:before { content: "\ea6d"; }
166
- .ez-icon-power:before { content: "\ea6e"; }
167
- .ez-icon-pptx:before { content: "\ea6f"; }
168
- .ez-icon-print:before { content: "\ea70"; }
169
- .ez-icon-push-pin:before { content: "\ea71"; }
170
- .ez-icon-rateio:before { content: "\ea72"; }
171
- .ez-icon-receipt:before { content: "\ea73"; }
172
- .ez-icon-recolher_card:before { content: "\ea74"; }
173
- .ez-icon-restore:before { content: "\ea75"; }
174
- .ez-icon-return:before { content: "\ea76"; }
175
- .ez-icon-save:before { content: "\ea77"; }
176
- .ez-icon-search:before { content: "\ea78"; }
177
- .ez-icon-settings-inverted:before { content: "\ea79"; }
178
- .ez-icon-settings:before { content: "\ea7a"; }
179
- .ez-icon-share:before { content: "\ea7b"; }
180
- .ez-icon-shield:before { content: "\ea7c"; }
181
- .ez-icon-show_menu:before { content: "\ea7d"; }
182
- .ez-icon-south-east:before { content: "\ea7e"; }
183
- .ez-icon-sync:before { content: "\ea7f"; }
184
- .ez-icon-table:before { content: "\ea80"; }
185
- .ez-icon-tag_code:before { content: "\ea81"; }
186
- .ez-icon-text:before { content: "\ea82"; }
187
- .ez-icon-timeline:before { content: "\ea83"; }
188
- .ez-icon-timer-outline:before { content: "\ea84"; }
189
- .ez-icon-tune:before { content: "\ea85"; }
190
- .ez-icon-txt:before { content: "\ea86"; }
191
- .ez-icon-un-pin:before { content: "\ea87"; }
192
- .ez-icon-unfold_less:before { content: "\ea88"; }
193
- .ez-icon-unfold_more:before { content: "\ea89"; }
194
- .ez-icon-user-circle:before { content: "\ea8a"; }
195
- .ez-icon-warning-outline:before { content: "\ea8b"; }
196
- .ez-icon-warning_triangle:before { content: "\ea8c"; }
197
- .ez-icon-whatshot:before { content: "\ea8d"; }
198
- .ez-icon-xlsx:before { content: "\ea8e"; }
199
- .ez-icon-zip:before { content: "\ea8f"; }
64
+ .ez-icon-actions-sprite-v2:before { content: "\ea07"; }
65
+ .ez-icon-alert-circle-inverted:before { content: "\ea08"; }
66
+ .ez-icon-alert-circle:before { content: "\ea09"; }
67
+ .ez-icon-alert-mail:before { content: "\ea0a"; }
68
+ .ez-icon-alert-popup:before { content: "\ea0b"; }
69
+ .ez-icon-anexo:before { content: "\ea0c"; }
70
+ .ez-icon-antecipacao:before { content: "\ea0d"; }
71
+ .ez-icon-apps:before { content: "\ea0e"; }
72
+ .ez-icon-arrow-forward:before { content: "\ea0f"; }
73
+ .ez-icon-arrow-upward:before { content: "\ea10"; }
74
+ .ez-icon-arrow_back:before { content: "\ea11"; }
75
+ .ez-icon-arrow_downward:before { content: "\ea12"; }
76
+ .ez-icon-baixa:before { content: "\ea13"; }
77
+ .ez-icon-balance:before { content: "\ea14"; }
78
+ .ez-icon-bell-inverted:before { content: "\ea15"; }
79
+ .ez-icon-bell:before { content: "\ea16"; }
80
+ .ez-icon-boleto:before { content: "\ea17"; }
81
+ .ez-icon-boolean:before { content: "\ea18"; }
82
+ .ez-icon-business-center:before { content: "\ea19"; }
83
+ .ez-icon-calendar-clock:before { content: "\ea1a"; }
84
+ .ez-icon-calendar:before { content: "\ea1b"; }
85
+ .ez-icon-cash-remove:before { content: "\ea1c"; }
86
+ .ez-icon-check-circle-inverted:before { content: "\ea1d"; }
87
+ .ez-icon-check-circle:before { content: "\ea1e"; }
88
+ .ez-icon-check:before { content: "\ea1f"; }
89
+ .ez-icon-chevron-down:before { content: "\ea20"; }
90
+ .ez-icon-chevron-left:before { content: "\ea21"; }
91
+ .ez-icon-chevron-right:before { content: "\ea22"; }
92
+ .ez-icon-chevron-up:before { content: "\ea23"; }
93
+ .ez-icon-circle--medium:before { content: "\ea24"; }
94
+ .ez-icon-circle:before { content: "\ea25"; }
95
+ .ez-icon-cleaning:before { content: "\ea26"; }
96
+ .ez-icon-clipboard:before { content: "\ea27"; }
97
+ .ez-icon-close:before { content: "\ea28"; }
98
+ .ez-icon-cobrar:before { content: "\ea29"; }
99
+ .ez-icon-code:before { content: "\ea2a"; }
100
+ .ez-icon-configuration:before { content: "\ea2b"; }
101
+ .ez-icon-content-cut:before { content: "\ea2c"; }
102
+ .ez-icon-copy:before { content: "\ea2d"; }
103
+ .ez-icon-credit_card:before { content: "\ea2e"; }
104
+ .ez-icon-crop:before { content: "\ea2f"; }
105
+ .ez-icon-custom:before { content: "\ea30"; }
106
+ .ez-icon-delete-file:before { content: "\ea31"; }
107
+ .ez-icon-delete:before { content: "\ea32"; }
108
+ .ez-icon-description:before { content: "\ea33"; }
109
+ .ez-icon-dividir:before { content: "\ea34"; }
110
+ .ez-icon-docx:before { content: "\ea35"; }
111
+ .ez-icon-dot-notification:before { content: "\ea36"; }
112
+ .ez-icon-dots-horizontal:before { content: "\ea37"; }
113
+ .ez-icon-dots-vertical:before { content: "\ea38"; }
114
+ .ez-icon-drag-indicator:before { content: "\ea39"; }
115
+ .ez-icon-dual-chevron-down:before { content: "\ea3a"; }
116
+ .ez-icon-dual-chevron-left:before { content: "\ea3b"; }
117
+ .ez-icon-dual-chevron-right:before { content: "\ea3c"; }
118
+ .ez-icon-dual-chevron-up:before { content: "\ea3d"; }
119
+ .ez-icon-edit-file:before { content: "\ea3e"; }
120
+ .ez-icon-edit-table:before { content: "\ea3f"; }
121
+ .ez-icon-edit-time:before { content: "\ea40"; }
122
+ .ez-icon-edit-value:before { content: "\ea41"; }
123
+ .ez-icon-edit:before { content: "\ea42"; }
124
+ .ez-icon-email:before { content: "\ea43"; }
125
+ .ez-icon-estorno:before { content: "\ea44"; }
126
+ .ez-icon-exe:before { content: "\ea45"; }
127
+ .ez-icon-expand:before { content: "\ea46"; }
128
+ .ez-icon-expandir_card:before { content: "\ea47"; }
129
+ .ez-icon-extrato:before { content: "\ea48"; }
130
+ .ez-icon-eye-off:before { content: "\ea49"; }
131
+ .ez-icon-eye:before { content: "\ea4a"; }
132
+ .ez-icon-favorite:before { content: "\ea4b"; }
133
+ .ez-icon-figma:before { content: "\ea4c"; }
134
+ .ez-icon-file-download:before { content: "\ea4d"; }
135
+ .ez-icon-file-upload:before { content: "\ea4e"; }
136
+ .ez-icon-filter:before { content: "\ea4f"; }
137
+ .ez-icon-find-file:before { content: "\ea50"; }
138
+ .ez-icon-find-page:before { content: "\ea51"; }
139
+ .ez-icon-format-color-fill:before { content: "\ea52"; }
140
+ .ez-icon-generic:before { content: "\ea53"; }
141
+ .ez-icon-gif:before { content: "\ea54"; }
142
+ .ez-icon-graph_bar:before { content: "\ea55"; }
143
+ .ez-icon-handshake:before { content: "\ea56"; }
144
+ .ez-icon-help-inverted:before { content: "\ea57"; }
145
+ .ez-icon-help:before { content: "\ea58"; }
146
+ .ez-icon-hide_menu:before { content: "\ea59"; }
147
+ .ez-icon-home:before { content: "\ea5a"; }
148
+ .ez-icon-icons104:before { content: "\ea5b"; }
149
+ .ez-icon-language:before { content: "\ea5c"; }
150
+ .ez-icon-launch:before { content: "\ea5d"; }
151
+ .ez-icon-lightbulb:before { content: "\ea5e"; }
152
+ .ez-icon-list:before { content: "\ea5f"; }
153
+ .ez-icon-location:before { content: "\ea60"; }
154
+ .ez-icon-lock-outline:before { content: "\ea61"; }
155
+ .ez-icon-lock:before { content: "\ea62"; }
156
+ .ez-icon-menu:before { content: "\ea63"; }
157
+ .ez-icon-mid:before { content: "\ea64"; }
158
+ .ez-icon-minus:before { content: "\ea65"; }
159
+ .ez-icon-money-off:before { content: "\ea66"; }
160
+ .ez-icon-money:before { content: "\ea67"; }
161
+ .ez-icon-more:before { content: "\ea68"; }
162
+ .ez-icon-mp3:before { content: "\ea69"; }
163
+ .ez-icon-mp4:before { content: "\ea6a"; }
164
+ .ez-icon-multiple-files:before { content: "\ea6b"; }
165
+ .ez-icon-north-west:before { content: "\ea6c"; }
166
+ .ez-icon-number:before { content: "\ea6d"; }
167
+ .ez-icon-ordem-ascendente:before { content: "\ea6e"; }
168
+ .ez-icon-ordem-descendente:before { content: "\ea6f"; }
169
+ .ez-icon-parcelar:before { content: "\ea70"; }
170
+ .ez-icon-pause:before { content: "\ea71"; }
171
+ .ez-icon-payments:before { content: "\ea72"; }
172
+ .ez-icon-pdf:before { content: "\ea73"; }
173
+ .ez-icon-play:before { content: "\ea74"; }
174
+ .ez-icon-plus:before { content: "\ea75"; }
175
+ .ez-icon-png:before { content: "\ea76"; }
176
+ .ez-icon-power:before { content: "\ea77"; }
177
+ .ez-icon-pptx:before { content: "\ea78"; }
178
+ .ez-icon-preview:before { content: "\ea79"; }
179
+ .ez-icon-print:before { content: "\ea7a"; }
180
+ .ez-icon-push-pin:before { content: "\ea7b"; }
181
+ .ez-icon-rateio:before { content: "\ea7c"; }
182
+ .ez-icon-receipt:before { content: "\ea7d"; }
183
+ .ez-icon-recolher_card:before { content: "\ea7e"; }
184
+ .ez-icon-restore:before { content: "\ea7f"; }
185
+ .ez-icon-return:before { content: "\ea80"; }
186
+ .ez-icon-sankhya-place:before { content: "\ea81"; }
187
+ .ez-icon-save:before { content: "\ea82"; }
188
+ .ez-icon-search:before { content: "\ea83"; }
189
+ .ez-icon-settings-inverted:before { content: "\ea84"; }
190
+ .ez-icon-settings:before { content: "\ea85"; }
191
+ .ez-icon-share:before { content: "\ea86"; }
192
+ .ez-icon-shield:before { content: "\ea87"; }
193
+ .ez-icon-show_menu:before { content: "\ea88"; }
194
+ .ez-icon-south-east:before { content: "\ea89"; }
195
+ .ez-icon-sync:before { content: "\ea8a"; }
196
+ .ez-icon-table:before { content: "\ea8b"; }
197
+ .ez-icon-tag_code:before { content: "\ea8c"; }
198
+ .ez-icon-text:before { content: "\ea8d"; }
199
+ .ez-icon-timeline:before { content: "\ea8e"; }
200
+ .ez-icon-timer-outline:before { content: "\ea8f"; }
201
+ .ez-icon-trending-up:before { content: "\ea90"; }
202
+ .ez-icon-tune:before { content: "\ea91"; }
203
+ .ez-icon-txt:before { content: "\ea92"; }
204
+ .ez-icon-un-pin:before { content: "\ea93"; }
205
+ .ez-icon-unfold_less:before { content: "\ea94"; }
206
+ .ez-icon-unfold_more:before { content: "\ea95"; }
207
+ .ez-icon-user-circle:before { content: "\ea96"; }
208
+ .ez-icon-warning-outline:before { content: "\ea97"; }
209
+ .ez-icon-warning_triangle:before { content: "\ea98"; }
210
+ .ez-icon-whatshot:before { content: "\ea99"; }
211
+ .ez-icon-xlsx:before { content: "\ea9a"; }
212
+ .ez-icon-zip:before { content: "\ea9b"; }
200
213
 
201
214
  /*
202
215
  END CSS GENERATED BY EZ-DESIGN ICONS
@@ -152,13 +152,14 @@ export class EzMuiltiSelectionList {
152
152
  }
153
153
  scenarioToDisplay(view) {
154
154
  const scenarios = {
155
- [ViewScenarios.DATASOURCE_INIT]: this.buildInitViewWithDataSource(),
156
- [ViewScenarios.DATASOURCE_RESULTS]: this.buildViewList(true),
157
- [ViewScenarios.DATASOURCE_RESULTS_EMPTY]: this.buildViewEmptyResults(),
158
- [ViewScenarios.OPTIONS_EMPTY]: this.buildViewEmptyResults(),
159
- [ViewScenarios.OPTIONS]: this.buildViewList(false),
155
+ [ViewScenarios.DATASOURCE_INIT]: () => this.buildInitViewWithDataSource(),
156
+ [ViewScenarios.DATASOURCE_RESULTS]: () => this.buildViewList(true),
157
+ [ViewScenarios.DATASOURCE_RESULTS_EMPTY]: () => this.buildViewEmptyResults(),
158
+ [ViewScenarios.OPTIONS_EMPTY]: () => this.buildViewEmptyResults(),
159
+ [ViewScenarios.OPTIONS]: () => this.buildViewList(false),
160
160
  };
161
- return scenarios[view];
161
+ const scenarioBuilder = scenarios[view];
162
+ return scenarioBuilder ? scenarioBuilder() : undefined;
162
163
  }
163
164
  render() {
164
165
  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)))));
@@ -234,7 +235,7 @@ export class EzMuiltiSelectionList {
234
235
  },
235
236
  "options": {
236
237
  "type": "unknown",
237
- "mutable": false,
238
+ "mutable": true,
238
239
  "complexType": {
239
240
  "original": "IMultiSelectionOption[]",
240
241
  "resolved": "IMultiSelectionOption[]",
@@ -1,3 +1,4 @@
1
1
  export const REQUIRED_INFO = " (obrigatório) *";
2
2
  export const ALL_RECORD = "ALL_RECORD";
3
3
  export const DISTINCT_FILTER_NAME_PREFIX = 'FILTRO_COLUNA_';
4
+ export const EZ_GRID_LOADING_SOURCE = "EZ_GRID_LOADING_SOURCE";