@sankhyalabs/ezui 1.1.71 → 1.1.74

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 (84) hide show
  1. package/dist/assets/actions-sprite.svg +257 -0
  2. package/dist/cjs/CSSVarsUtils-f8827674.js +18 -0
  3. package/dist/cjs/ez-action-chip.cjs.entry.js +2 -2
  4. package/dist/cjs/ez-button_16.cjs.entry.js +12 -8
  5. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  6. package/dist/cjs/ez-label-chip.cjs.entry.js +12 -12
  7. package/dist/cjs/ez-list.cjs.entry.js +174 -0
  8. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-time-input.cjs.entry.js +7 -70
  13. package/dist/cjs/ez-toast.cjs.entry.js +5 -2
  14. package/dist/cjs/ezui.cjs.js +2 -2
  15. package/dist/cjs/{index-0f668cc5.js → index-4d2896bb.js} +10 -1
  16. package/dist/cjs/loader.cjs.js +2 -2
  17. package/dist/collection/collection-manifest.json +1 -0
  18. package/dist/collection/components/assets/actions-sprite.svg +257 -0
  19. package/dist/collection/components/ez-action-chip/ez-action-chip.css +21 -21
  20. package/dist/collection/components/ez-action-chip/ez-action-chip.js +1 -1
  21. package/dist/collection/components/ez-date-input/ez-date-input.css +0 -9
  22. package/dist/collection/components/ez-date-input/ez-date-input.js +5 -1
  23. package/dist/collection/components/ez-form/subcomponents/structure/Field.js +1 -1
  24. package/dist/collection/components/ez-label-chip/ez-label-chip.css +49 -49
  25. package/dist/collection/components/ez-label-chip/ez-label-chip.js +11 -11
  26. package/dist/collection/components/ez-list/ez-list.css +131 -0
  27. package/dist/collection/components/ez-list/ez-list.js +252 -0
  28. package/dist/collection/components/ez-search/ez-search.js +9 -9
  29. package/dist/collection/components/ez-text-area/ez-text-area.css +48 -48
  30. package/dist/collection/components/ez-time-input/ez-time-input.css +0 -168
  31. package/dist/collection/components/ez-time-input/ez-time-input.js +8 -75
  32. package/dist/collection/components/ez-toast/ez-toast.css +9 -9
  33. package/dist/collection/components/ez-toast/ez-toast.js +4 -1
  34. package/dist/collection/utils/CSSVarsUtils.js +14 -0
  35. package/dist/custom-elements/index.d.ts +6 -0
  36. package/dist/custom-elements/index.js +220 -92
  37. package/dist/esm/CSSVarsUtils-e0128b01.js +16 -0
  38. package/dist/esm/ez-action-chip.entry.js +2 -2
  39. package/dist/esm/ez-button_16.entry.js +12 -8
  40. package/dist/esm/ez-dialog.entry.js +1 -1
  41. package/dist/esm/ez-label-chip.entry.js +12 -12
  42. package/dist/esm/ez-list.entry.js +170 -0
  43. package/dist/esm/ez-modal.entry.js +1 -1
  44. package/dist/esm/ez-number-input.entry.js +1 -1
  45. package/dist/esm/ez-popover.entry.js +1 -1
  46. package/dist/esm/ez-popup.entry.js +1 -1
  47. package/dist/esm/ez-time-input.entry.js +7 -70
  48. package/dist/esm/ez-toast.entry.js +5 -2
  49. package/dist/esm/ezui.js +2 -2
  50. package/dist/esm/{index-89fc9bfd.js → index-33153059.js} +10 -2
  51. package/dist/esm/loader.js +2 -2
  52. package/dist/ezui/ezui.esm.js +1 -1
  53. package/dist/ezui/p-061d21ba.entry.js +1 -0
  54. package/dist/ezui/p-0d476efb.entry.js +1 -0
  55. package/dist/ezui/{p-a88ee12f.entry.js → p-15743b09.entry.js} +1 -1
  56. package/dist/ezui/p-25953d44.entry.js +1 -0
  57. package/dist/ezui/p-34d288d0.entry.js +1 -0
  58. package/dist/ezui/p-47406a6e.entry.js +1 -0
  59. package/dist/ezui/p-4df6f855.js +1 -0
  60. package/dist/ezui/{p-a7e23f65.entry.js → p-50464bdf.entry.js} +1 -1
  61. package/dist/ezui/{p-1bc9ddad.entry.js → p-67410dfa.entry.js} +1 -1
  62. package/dist/ezui/{p-74e4415e.entry.js → p-7f3bc6d9.entry.js} +1 -1
  63. package/dist/ezui/{p-b692a0ab.entry.js → p-8818da66.entry.js} +1 -1
  64. package/dist/ezui/p-907de194.entry.js +1 -0
  65. package/dist/ezui/p-d1889704.js +1 -0
  66. package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +2 -2
  67. package/dist/types/components/ez-date-input/ez-date-input.d.ts +1 -0
  68. package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +2 -2
  69. package/dist/types/components/ez-list/ez-list.d.ts +34 -0
  70. package/dist/types/components/ez-search/ez-search.d.ts +5 -5
  71. package/dist/types/components/ez-time-input/ez-time-input.d.ts +1 -8
  72. package/dist/types/components/ez-toast/ez-toast.d.ts +3 -0
  73. package/dist/types/components.d.ts +51 -6
  74. package/dist/types/utils/CSSVarsUtils.d.ts +4 -0
  75. package/package.json +1 -1
  76. package/react/components.d.ts +1 -0
  77. package/react/components.js +1 -0
  78. package/react/components.js.map +1 -1
  79. package/dist/ezui/p-1c33a56d.entry.js +0 -1
  80. package/dist/ezui/p-5aa8871e.entry.js +0 -1
  81. package/dist/ezui/p-762ac7a0.js +0 -1
  82. package/dist/ezui/p-8d547517.entry.js +0 -1
  83. package/dist/ezui/p-9702db61.entry.js +0 -1
  84. package/dist/ezui/p-f7d7fb7f.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Prop, h, Method, Watch, Event } from '@stencil/core';
1
+ import { Component, Prop, h, Method, Watch, Event } from "@stencil/core";
2
2
  export class EzLabelChip {
3
3
  constructor() {
4
4
  /**
@@ -34,7 +34,7 @@ export class EzLabelChip {
34
34
  //---------------------------------------------
35
35
  handleClick(ev) {
36
36
  const target = ev.target;
37
- if (target.assignedSlot === null && !target.classList.contains('label__icon')) {
37
+ if (target.assignedSlot === null && !target.classList.contains("label__icon")) {
38
38
  this.valueChange.emit(this.value);
39
39
  this.swichState();
40
40
  }
@@ -46,13 +46,13 @@ export class EzLabelChip {
46
46
  }
47
47
  reflectChange() {
48
48
  if (this._divElem) {
49
- this._divElem.classList.remove('label__container--active');
50
- this._divElem.classList.remove('label__container');
49
+ this._divElem.classList.remove("label__container--active");
50
+ this._divElem.classList.remove("label__container");
51
51
  if (this.value) {
52
- this._divElem.classList.add('label__container--active');
52
+ this._divElem.classList.add("label__container--active");
53
53
  }
54
54
  else {
55
- this._divElem.classList.add('label__container');
55
+ this._divElem.classList.add("label__container");
56
56
  }
57
57
  }
58
58
  }
@@ -62,7 +62,7 @@ export class EzLabelChip {
62
62
  componentDidLoad() {
63
63
  if (this._divElem) {
64
64
  if (this.value) {
65
- this._divElem.classList.add('label__container--active');
65
+ this._divElem.classList.add("label__container--active");
66
66
  }
67
67
  else {
68
68
  this.handleEnabledState();
@@ -70,12 +70,12 @@ export class EzLabelChip {
70
70
  }
71
71
  }
72
72
  handleEnabledState() {
73
- this._divElem.classList.remove('label__container--disabled');
73
+ this._divElem.classList.remove("label__container--disabled");
74
74
  if (!this.enabled) {
75
- this._divElem.classList.remove('label__container');
76
- this._divElem.classList.add('label__container--disabled');
75
+ this._divElem.classList.remove("label__container");
76
+ this._divElem.classList.add("label__container--disabled");
77
77
  if (this._labelElem) {
78
- this._labelElem.style.cursor = 'default';
78
+ this._labelElem.style.cursor = "default";
79
79
  }
80
80
  }
81
81
  }
@@ -0,0 +1,131 @@
1
+ :host {
2
+
3
+ /* @doc Define o raio da borda do componente. */
4
+ --list__host--border-radius: var(--border--radius-medium, 12px);
5
+ /* @doc Define o espaçamento entre a lista e o componente. */
6
+ --list__host--padding: var(--space--medium, 12px);
7
+ /* @doc Define o espaçamento interno do ícone. */
8
+ --list__icon__padding: var(--space--small, 6px);
9
+ /* --list__item__padding: var(--space--small, 6px); */
10
+ /* @doc Define o espaçamento externo do item da lista. */
11
+ --list__item__margin: 0 var(--space--small, 6px);
12
+ /* @doc Define a cor do texto do item da lista. */
13
+ --list__item--color: var(--title--primary, #2b3a54);
14
+ /* @doc Define o estilo borda inferior do item da lista. */
15
+ --list__item--border-bottom: var(--border--small, 1px solid);
16
+ /* @doc Define a cor da borda inferior do item da lista. */
17
+ --list__item--border-color: var(--title--primary, #2b3a54);
18
+ /* @doc Define o estilo do texto do item da lista. */
19
+ --list__item--font-family: var(--font-pattern, #2b3a54);
20
+ /* @doc Define o tamanho do texto do item da lista. */
21
+ --list__item--font-size: var(--text--medium, 14px);
22
+ /* @doc Define a imagem do ícone de drag. */
23
+ --list__draggable__icon--image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m 12,16 a 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 m 0,-6 a 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 m 0,-6 a 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 z"/></svg>');
24
+
25
+ border-radius: var(--list__host--border-radius);
26
+ padding: var(--list__host--padding);
27
+ max-height: 100%;
28
+ width: 100%;
29
+ background-color: #fff;
30
+ display: flex;
31
+ }
32
+
33
+ .draggable {
34
+ cursor: pointer;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: flex-start;
38
+ /* padding: 0 var(--list__item__padding); */
39
+ flex: 1;
40
+ }
41
+
42
+ .draggable-list {
43
+ color: var(--text-color);
44
+ padding: 0;
45
+ margin: 0;
46
+ width: 100%;
47
+ max-height: 100%;
48
+ overflow-y: auto;
49
+ }
50
+
51
+ .draggable-list li {
52
+ background-color: #fff;
53
+ display: flex;
54
+ margin: var(--list__item__margin);
55
+ font-family: var(--list__item--font-family);
56
+ font-size: var(--list__item--font-size);
57
+ color: var(--list__item--color);
58
+ }
59
+
60
+ .draggable-list li:not(:last-of-type) {
61
+ border-bottom: var(--list__item--border-bottom);
62
+ }
63
+
64
+ .draggable-list li.over .draggable {
65
+ background-color: var(--background--strong);
66
+ }
67
+
68
+ .draggable:hover {
69
+ background-color: var(--background--medium);
70
+ }
71
+
72
+ .draggable-selected {
73
+ background-color: var(--background--strong) !important;
74
+ }
75
+
76
+ .draggable-selected div:hover {
77
+ background-color: var(--background--strong) !important;
78
+ }
79
+
80
+
81
+ /* Precisamos dos tokens do scrollbar */
82
+ .draggable-list::-webkit-scrollbar-track {
83
+ background-color: #f0f2f5;
84
+ }
85
+
86
+ .draggable-list::-webkit-scrollbar-thumb {
87
+ background-color: var(--title--primary);
88
+ border-radius: var(--space--extra-small);
89
+ }
90
+
91
+ .draggable-list::-webkit-scrollbar {
92
+ background-color: #f0f2f5;
93
+ height: 6px;
94
+ max-height: 6px;
95
+ min-height: 6px;
96
+ width: 6px;
97
+ max-width: 6px;
98
+ min-width: 6px;
99
+ }
100
+
101
+ .draggable-icon {
102
+ align-items: flex-start;
103
+ display: flex;
104
+ outline: none;
105
+ border: none;
106
+ background-color: unset;
107
+ }
108
+
109
+ .draggable-icon::after {
110
+ content: '';
111
+ display: flex;
112
+ background-color: var(--list__item--color);
113
+ width: 24px;
114
+ height: 24px;
115
+ -webkit-mask-image: var(--list__draggable__icon--image);
116
+ mask-image: var(--list__draggable__icon--image);
117
+ }
118
+
119
+ * {
120
+ box-sizing: border-box;
121
+ }
122
+
123
+ .checkbox {
124
+ width: fit-content;
125
+ }
126
+
127
+ .text--ellipsis {
128
+ white-space: nowrap;
129
+ overflow: hidden;
130
+ text-overflow: ellipsis;
131
+ }
@@ -0,0 +1,252 @@
1
+ import { Component, Host, h, Prop, Method } from '@stencil/core';
2
+ ;
3
+ export class EzList {
4
+ constructor() {
5
+ this._listItems = [];
6
+ /**
7
+ * Define a lista inicial do componente.
8
+ */
9
+ this.initialList = [];
10
+ /**
11
+ * Define se o componente terá o comportamento de arrasto de linhas.
12
+ */
13
+ this.draggable = true;
14
+ /**
15
+ * Define se é possível selecionar mais de um registro.
16
+ */
17
+ this.isMultipleSelection = true;
18
+ }
19
+ createList() {
20
+ [...this.initialList]
21
+ .forEach((item, index) => {
22
+ const listItem = document.createElement('li');
23
+ listItem.setAttribute('data-index', index.toString());
24
+ if (!this.isMultipleSelection)
25
+ listItem.onclick = this.selectLine.bind(this);
26
+ listItem.innerHTML = `
27
+ <div class="draggable" ${this.draggable ? "draggable=true" : ""}>
28
+
29
+ ${this.draggable ? '<span class="draggable-icon"></span>' : ""}
30
+
31
+ ${this.isMultipleSelection ? `<ez-check class='checkbox' value=${item.checked}></ez-check>` : ''}
32
+ <p title="${item.value}" class="person-name text--ellipsis">${item.value}</p>
33
+
34
+ </div>
35
+ `;
36
+ this._listItems.push(listItem);
37
+ this._draggableList.appendChild(listItem);
38
+ });
39
+ if (this.draggable) {
40
+ this.handleEventListeners(this._listItems, this._draggableList, this._hostElement, false);
41
+ }
42
+ }
43
+ selectLine(e) {
44
+ var _a, _b, _c;
45
+ this._listItems.forEach(item => { item.classList.remove('draggable-selected'); });
46
+ if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === 'SPAN') {
47
+ const span = e.target;
48
+ this._selectedItem = { value: span.parentElement.getElementsByTagName('p')[0].textContent };
49
+ span.parentElement.parentElement.classList.add('draggable-selected');
50
+ }
51
+ else if (((_b = e.target) === null || _b === void 0 ? void 0 : _b.tagName) === 'P') {
52
+ const paragraph = e.target;
53
+ this._selectedItem = { value: paragraph.textContent };
54
+ paragraph.parentElement.parentElement.classList.add('draggable-selected');
55
+ }
56
+ else if (((_c = e.target) === null || _c === void 0 ? void 0 : _c.tagName) === 'DIV') {
57
+ const draggable = e.target;
58
+ this._selectedItem = { value: draggable.getElementsByTagName('p')[0].textContent };
59
+ draggable.parentElement.classList.add('draggable-selected');
60
+ }
61
+ }
62
+ handleEventListeners(listItems, dragableList, hostElement, removeEvents) {
63
+ let _dragStartIndex;
64
+ let _isItemOut = false;
65
+ function dragStart(item) {
66
+ _dragStartIndex = item.parentElement.getAttribute('data-index');
67
+ }
68
+ function dragEnter(item) {
69
+ item.classList.add('over');
70
+ }
71
+ function dragLeave(item) {
72
+ item.classList.remove('over');
73
+ }
74
+ function dragOver(e) {
75
+ e.preventDefault();
76
+ }
77
+ function dragDrop(item) {
78
+ if (_isItemOut) {
79
+ let index = +item.getAttribute('data-index');
80
+ const itemRemoved = listItems[index].querySelector('.draggable');
81
+ listItems[index].removeChild(itemRemoved);
82
+ }
83
+ const dragEndIndex = +item.getAttribute('data-index');
84
+ swapItems(+_dragStartIndex, dragEndIndex);
85
+ item.classList.remove('over');
86
+ }
87
+ function swapItems(fromIndex, toIndex) {
88
+ const itemOne = listItems[fromIndex].querySelector('.draggable');
89
+ const itemTwo = listItems[toIndex].querySelector('.draggable');
90
+ listItems[fromIndex].appendChild(itemTwo);
91
+ listItems[toIndex].appendChild(itemOne);
92
+ return listItems;
93
+ }
94
+ if (!removeEvents) {
95
+ hostElement.addEventListener('dragenter', function () { _isItemOut = false; });
96
+ hostElement.addEventListener('dragleave', function () { _isItemOut = true; });
97
+ const draggables = dragableList.querySelectorAll("div.draggable");
98
+ draggables.forEach(draggable => {
99
+ draggable.addEventListener('dragstart', function () { dragStart(draggable); });
100
+ });
101
+ listItems.forEach(item => {
102
+ item.addEventListener('dragover', function (event) { dragOver(event); });
103
+ item.addEventListener('drop', function () { dragDrop(item); });
104
+ item.addEventListener('dragenter', function () { dragEnter(item); });
105
+ item.addEventListener('dragleave', function () { dragLeave(item); });
106
+ });
107
+ }
108
+ else {
109
+ hostElement.removeEventListener('dragenter', function () { _isItemOut = false; });
110
+ hostElement.removeEventListener('dragleave', function () { _isItemOut = true; });
111
+ const draggables = dragableList.querySelectorAll("div.draggable");
112
+ draggables.forEach(draggable => {
113
+ draggable.removeEventListener('dragstart', function () { dragStart(draggable); });
114
+ });
115
+ listItems.forEach(item => {
116
+ item.removeEventListener('dragover', function (event) { dragOver(event); });
117
+ item.removeEventListener('drop', function () { dragDrop(item); });
118
+ item.removeEventListener('dragenter', function () { dragEnter(item); });
119
+ item.removeEventListener('dragleave', function () { dragLeave(item); });
120
+ });
121
+ }
122
+ }
123
+ /**
124
+ * Retorna uma promessa com o estado da atual lista composta por objetos do tipo {value: string, checked: boolean}.
125
+ */
126
+ async getState() {
127
+ let emitionList = [];
128
+ this._listItems.forEach(item => {
129
+ let emitionItem = {
130
+ value: this.getValueItem(item),
131
+ checked: this.getChecked(item)
132
+ };
133
+ emitionList.push(emitionItem);
134
+ });
135
+ return emitionList;
136
+ }
137
+ getChecked(item) {
138
+ if (this.isMultipleSelection) {
139
+ return item.children[0].children[1].value;
140
+ }
141
+ else {
142
+ if (!this._selectedItem)
143
+ return false;
144
+ return (item.children[0].children[1].textContent === this._selectedItem.value);
145
+ }
146
+ }
147
+ getValueItem(item) {
148
+ if (this.isMultipleSelection) {
149
+ return item.children[0].children[2].textContent;
150
+ }
151
+ return item.children[0].children[1].textContent;
152
+ }
153
+ componentDidLoad() {
154
+ this.createList();
155
+ }
156
+ disconnectedCallback() {
157
+ if (this.draggable) {
158
+ this.handleEventListeners(this._listItems, this._draggableList, this._hostElement, true);
159
+ }
160
+ }
161
+ render() {
162
+ return (h(Host, { ref: (el) => this._hostElement = el },
163
+ h("ul", { ref: (el) => this._draggableList = el, class: "draggable-list", id: "draggable-list" })));
164
+ }
165
+ static get is() { return "ez-list"; }
166
+ static get encapsulation() { return "shadow"; }
167
+ static get originalStyleUrls() { return {
168
+ "$": ["ez-list.css"]
169
+ }; }
170
+ static get styleUrls() { return {
171
+ "$": ["ez-list.css"]
172
+ }; }
173
+ static get properties() { return {
174
+ "initialList": {
175
+ "type": "unknown",
176
+ "mutable": true,
177
+ "complexType": {
178
+ "original": "ListItem[]",
179
+ "resolved": "ListItem[]",
180
+ "references": {
181
+ "ListItem": {
182
+ "location": "local"
183
+ }
184
+ }
185
+ },
186
+ "required": false,
187
+ "optional": false,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": "Define a lista inicial do componente."
191
+ },
192
+ "defaultValue": "[]"
193
+ },
194
+ "draggable": {
195
+ "type": "boolean",
196
+ "mutable": false,
197
+ "complexType": {
198
+ "original": "boolean",
199
+ "resolved": "boolean",
200
+ "references": {}
201
+ },
202
+ "required": false,
203
+ "optional": false,
204
+ "docs": {
205
+ "tags": [],
206
+ "text": "Define se o componente ter\u00E1 o comportamento de arrasto de linhas."
207
+ },
208
+ "attribute": "draggable",
209
+ "reflect": false,
210
+ "defaultValue": "true"
211
+ },
212
+ "isMultipleSelection": {
213
+ "type": "boolean",
214
+ "mutable": true,
215
+ "complexType": {
216
+ "original": "boolean",
217
+ "resolved": "boolean",
218
+ "references": {}
219
+ },
220
+ "required": false,
221
+ "optional": false,
222
+ "docs": {
223
+ "tags": [],
224
+ "text": "Define se \u00E9 poss\u00EDvel selecionar mais de um registro."
225
+ },
226
+ "attribute": "is-multiple-selection",
227
+ "reflect": true,
228
+ "defaultValue": "true"
229
+ }
230
+ }; }
231
+ static get methods() { return {
232
+ "getState": {
233
+ "complexType": {
234
+ "signature": "() => Promise<ListItem[]>",
235
+ "parameters": [],
236
+ "references": {
237
+ "Promise": {
238
+ "location": "global"
239
+ },
240
+ "ListItem": {
241
+ "location": "local"
242
+ }
243
+ },
244
+ "return": "Promise<ListItem[]>"
245
+ },
246
+ "docs": {
247
+ "text": "Retorna uma promessa com o estado da atual lista composta por objetos do tipo {value: string, checked: boolean}.",
248
+ "tags": []
249
+ }
250
+ }
251
+ }; }
252
+ }
@@ -1,4 +1,4 @@
1
- import { Component, Event, h, Prop, Watch } from '@stencil/core';
1
+ import { Component, Event, h, Prop, Watch } from "@stencil/core";
2
2
  export class EzSearch {
3
3
  constructor() {
4
4
  /**
@@ -8,11 +8,11 @@ export class EzSearch {
8
8
  /**
9
9
  * Ajusta a opção de mostrar o "value" ao selecionar uma opção.
10
10
  */
11
- this.showselectedvalue = true;
11
+ this.showSelectedValue = true;
12
12
  /**
13
13
  * Ajusta a opção de mostrar o "value" para cada opção.
14
14
  */
15
- this.showoptionvalue = true;
15
+ this.showOptionValue = true;
16
16
  }
17
17
  updateValue() {
18
18
  if (this._comboElement) {
@@ -25,7 +25,7 @@ export class EzSearch {
25
25
  this.ezChange.emit(evt.detail);
26
26
  }
27
27
  render() {
28
- return (h("ez-combo-box", { ref: elem => this._comboElement = elem, value: this.value, label: this.label, enabled: this.enabled, errorMessage: this.errorMessage, optionLoader: this.optionloader, searchMode: true, onEzChange: evt => this.onComboChange(evt), showSelectedValue: this.showselectedvalue, showOptionValue: this.showoptionvalue }));
28
+ return (h("ez-combo-box", { ref: elem => this._comboElement = elem, value: this.value, label: this.label, enabled: this.enabled, errorMessage: this.errorMessage, optionLoader: this.optionLoader, searchMode: true, onEzChange: evt => this.onComboChange(evt), showSelectedValue: this.showSelectedValue, showOptionValue: this.showOptionValue }));
29
29
  }
30
30
  ;
31
31
  static get is() { return "ez-search"; }
@@ -111,7 +111,7 @@ export class EzSearch {
111
111
  "attribute": "error-message",
112
112
  "reflect": true
113
113
  },
114
- "optionloader": {
114
+ "optionLoader": {
115
115
  "type": "unknown",
116
116
  "mutable": false,
117
117
  "complexType": {
@@ -130,7 +130,7 @@ export class EzSearch {
130
130
  "text": "Fun\u00E7\u00E3o respons\u00E1vel por carregar as op\u00E7\u00F5es dinamicamente"
131
131
  }
132
132
  },
133
- "showselectedvalue": {
133
+ "showSelectedValue": {
134
134
  "type": "boolean",
135
135
  "mutable": false,
136
136
  "complexType": {
@@ -144,11 +144,11 @@ export class EzSearch {
144
144
  "tags": [],
145
145
  "text": "Ajusta a op\u00E7\u00E3o de mostrar o \"value\" ao selecionar uma op\u00E7\u00E3o."
146
146
  },
147
- "attribute": "showselectedvalue",
147
+ "attribute": "show-selected-value",
148
148
  "reflect": false,
149
149
  "defaultValue": "true"
150
150
  },
151
- "showoptionvalue": {
151
+ "showOptionValue": {
152
152
  "type": "boolean",
153
153
  "mutable": false,
154
154
  "complexType": {
@@ -162,7 +162,7 @@ export class EzSearch {
162
162
  "tags": [],
163
163
  "text": "Ajusta a op\u00E7\u00E3o de mostrar o \"value\" para cada op\u00E7\u00E3o."
164
164
  },
165
- "attribute": "showoptionvalue",
165
+ "attribute": "show-option-value",
166
166
  "reflect": false,
167
167
  "defaultValue": "true"
168
168
  }