@sankhyalabs/ezui 2.3.0 → 2.3.2
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.
- package/README.md +1 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +12 -8
- package/dist/cjs/ez-button.cjs.entry.js +5 -5
- package/dist/cjs/ez-calendar.cjs.entry.js +10 -13
- package/dist/cjs/ez-check.cjs.entry.js +5 -8
- package/dist/cjs/ez-chip.cjs.entry.js +4 -4
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +14 -14
- package/dist/cjs/ez-combo-box.cjs.entry.js +11 -11
- package/dist/cjs/ez-date-input.cjs.entry.js +5 -5
- package/dist/cjs/ez-date-time-input.cjs.entry.js +7 -7
- package/dist/cjs/ez-dialog.cjs.entry.js +4 -7
- package/dist/cjs/ez-filter-input.cjs.entry.js +6 -6
- package/dist/cjs/ez-form.cjs.entry.js +4 -7
- package/dist/cjs/ez-grid.cjs.entry.js +93 -19
- package/dist/cjs/ez-icon.cjs.entry.js +3 -3
- package/dist/cjs/ez-list.cjs.entry.js +71 -71
- package/dist/cjs/ez-loading-bar.cjs.entry.js +8 -4
- package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal.cjs.entry.js +6 -6
- package/dist/cjs/ez-number-input.cjs.entry.js +5 -5
- package/dist/cjs/ez-popover.cjs.entry.js +8 -10
- package/dist/cjs/ez-popup.cjs.entry.js +4 -5
- package/dist/cjs/ez-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/ez-scroller.cjs.entry.js +2 -7
- package/dist/cjs/ez-search.cjs.entry.js +13 -14
- package/dist/cjs/ez-text-area.cjs.entry.js +7 -7
- package/dist/cjs/ez-text-edit.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-input.cjs.entry.js +7 -7
- package/dist/cjs/ez-time-input.cjs.entry.js +6 -6
- package/dist/cjs/ez-toast.cjs.entry.js +5 -5
- package/dist/cjs/ez-upload.cjs.entry.js +5 -5
- package/dist/cjs/ez-view-stack.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +27 -22
- package/dist/collection/components/ez-button/ez-button.js +15 -15
- package/dist/collection/components/ez-calendar/ez-calendar.js +18 -21
- package/dist/collection/components/ez-card-item/ez-card-item.js +2 -2
- package/dist/collection/components/ez-check/ez-check.js +28 -22
- package/dist/collection/components/ez-chip/ez-chip.js +15 -15
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +28 -28
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +42 -33
- package/dist/collection/components/ez-date-input/ez-date-input.js +18 -18
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +21 -21
- package/dist/collection/components/ez-dialog/ez-dialog.js +13 -35
- package/dist/collection/components/ez-filter-input/ez-filter-input.js +18 -35
- package/dist/collection/components/ez-form/ez-form.js +8 -43
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +63 -1
- package/dist/collection/components/ez-grid/ez-grid.js +57 -44
- package/dist/collection/components/ez-icon/ez-icon.js +11 -11
- package/dist/collection/components/ez-list/ez-list.js +112 -93
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js +10 -6
- package/dist/collection/components/ez-modal/ez-modal.js +14 -14
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +16 -16
- package/dist/collection/components/ez-number-input/ez-number-input.js +20 -20
- package/dist/collection/components/ez-popover/ez-popover.js +22 -24
- package/dist/collection/components/ez-popup/ez-popup.js +16 -17
- package/dist/collection/components/ez-radio-button/ez-radio-button.js +8 -8
- package/dist/collection/components/ez-scroller/ez-scroller.js +6 -12
- package/dist/collection/components/ez-search/ez-search.js +42 -46
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +2 -2
- package/dist/collection/components/ez-text-area/ez-text-area.js +20 -37
- package/dist/collection/components/ez-text-edit/ez-text-edit.js +6 -6
- package/dist/collection/components/ez-text-input/ez-text-input.js +21 -38
- package/dist/collection/components/ez-time-input/ez-time-input.js +20 -20
- package/dist/collection/components/ez-toast/ez-toast.js +12 -12
- package/dist/collection/components/ez-upload/ez-upload.js +14 -14
- package/dist/collection/components/ez-view-stack/ez-view-stack.js +4 -4
- package/dist/custom-elements/index.js +344 -283
- package/dist/esm/ez-actions-button.entry.js +12 -8
- package/dist/esm/ez-button.entry.js +5 -5
- package/dist/esm/ez-calendar.entry.js +10 -13
- package/dist/esm/ez-check.entry.js +5 -8
- package/dist/esm/ez-chip.entry.js +4 -4
- package/dist/esm/ez-collapsible-box.entry.js +14 -14
- package/dist/esm/ez-combo-box.entry.js +11 -11
- package/dist/esm/ez-date-input.entry.js +5 -5
- package/dist/esm/ez-date-time-input.entry.js +7 -7
- package/dist/esm/ez-dialog.entry.js +4 -7
- package/dist/esm/ez-filter-input.entry.js +6 -6
- package/dist/esm/ez-form.entry.js +4 -7
- package/dist/esm/ez-grid.entry.js +93 -19
- package/dist/esm/ez-icon.entry.js +3 -3
- package/dist/esm/ez-list.entry.js +71 -71
- package/dist/esm/ez-loading-bar.entry.js +8 -4
- package/dist/esm/ez-modal-container.entry.js +2 -2
- package/dist/esm/ez-modal.entry.js +6 -6
- package/dist/esm/ez-number-input.entry.js +5 -5
- package/dist/esm/ez-popover.entry.js +8 -10
- package/dist/esm/ez-popup.entry.js +4 -5
- package/dist/esm/ez-radio-button.entry.js +3 -3
- package/dist/esm/ez-scroller.entry.js +2 -7
- package/dist/esm/ez-search.entry.js +13 -14
- package/dist/esm/ez-text-area.entry.js +7 -7
- package/dist/esm/ez-text-edit.entry.js +1 -1
- package/dist/esm/ez-text-input.entry.js +7 -7
- package/dist/esm/ez-time-input.entry.js +6 -6
- package/dist/esm/ez-toast.entry.js +5 -5
- package/dist/esm/ez-upload.entry.js +5 -5
- package/dist/esm/ez-view-stack.entry.js +2 -2
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-1214c5ce.entry.js +1 -0
- package/dist/ezui/{p-77b7b623.entry.js → p-19a38745.entry.js} +1 -1
- package/dist/ezui/p-2af9fe67.entry.js +1 -0
- package/dist/ezui/p-642c530f.entry.js +1 -0
- package/dist/ezui/p-96265e26.entry.js +1 -0
- package/dist/ezui/p-b47eb5d4.entry.js +1 -0
- package/dist/ezui/{p-855f99f8.entry.js → p-ccbe8272.entry.js} +1 -1
- package/dist/ezui/p-e60e7308.entry.js +1 -0
- package/dist/ezui/p-ede1328a.entry.js +1 -0
- package/dist/ezui/p-f6111077.entry.js +1 -0
- package/dist/types/components/ez-actions-button/ez-actions-button.d.ts +15 -14
- package/dist/types/components/ez-button/ez-button.d.ts +10 -10
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +11 -14
- package/dist/types/components/ez-card-item/ez-card-item.d.ts +7 -0
- package/dist/types/components/ez-check/ez-check.d.ts +11 -13
- package/dist/types/components/ez-chip/ez-chip.d.ts +15 -14
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +25 -25
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +21 -20
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +16 -17
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +18 -19
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +13 -16
- package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +12 -17
- package/dist/types/components/ez-form/ez-form.d.ts +7 -5
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +10 -2
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +4 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +38 -39
- package/dist/types/components/ez-icon/ez-icon.d.ts +4 -4
- package/dist/types/components/ez-list/ez-list.d.ts +29 -32
- package/dist/types/components/ez-loading-bar/ez-loading-bar.d.ts +6 -0
- package/dist/types/components/ez-modal/ez-modal.d.ts +15 -15
- package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +10 -10
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +18 -24
- package/dist/types/components/ez-popover/ez-popover.d.ts +13 -16
- package/dist/types/components/ez-popup/ez-popup.d.ts +12 -13
- package/dist/types/components/ez-radio-button/ez-radio-button.d.ts +8 -8
- package/dist/types/components/ez-scroller/ez-scroller.d.ts +3 -4
- package/dist/types/components/ez-search/ez-search.d.ts +27 -31
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +4 -7
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +12 -16
- package/dist/types/components/ez-text-edit/ez-text-edit.d.ts +5 -5
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +14 -19
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +16 -17
- package/dist/types/components/ez-toast/ez-toast.d.ts +7 -7
- package/dist/types/components/ez-upload/ez-upload.d.ts +11 -12
- package/dist/types/components/ez-view-stack/ez-view-stack.d.ts +2 -2
- package/dist/types/components.d.ts +514 -529
- package/package.json +2 -2
- package/dist/ezui/p-0fb5f4be.entry.js +0 -1
- package/dist/ezui/p-1ba371a3.entry.js +0 -1
- package/dist/ezui/p-42c6493e.entry.js +0 -1
- package/dist/ezui/p-6700360e.entry.js +0 -1
- package/dist/ezui/p-8c2105a5.entry.js +0 -1
- package/dist/ezui/p-cba61296.entry.js +0 -1
- package/dist/ezui/p-ed2135a5.entry.js +0 -1
- package/dist/ezui/p-f6afdc4d.entry.js +0 -1
|
@@ -5,45 +5,45 @@ export class EzCollapsibleBox {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this._activeEditText = false;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Define o valor do componente.
|
|
9
9
|
*/
|
|
10
10
|
this.value = false;
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* Define o tamanho do texto e do ícone.
|
|
13
|
+
*/
|
|
14
14
|
this.headerSize = "small";
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
* Define o posicionamento do ícone.
|
|
17
|
+
*/
|
|
18
18
|
this.iconPlacement = "left";
|
|
19
19
|
/**
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
* Se true o título irá ocupar toda a largura do componente.
|
|
21
|
+
*/
|
|
22
22
|
this.stretchTitle = false;
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
* Se true mostra o ícone para remoção do componente.
|
|
25
|
+
*/
|
|
26
26
|
this.removable = false;
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
* Se true mostra o ícone para edição do componente.
|
|
29
|
+
*/
|
|
30
30
|
this.editable = false;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Oculta/mostra o conteúdo do ez-collapsible-box.
|
|
34
34
|
*/
|
|
35
35
|
async showHide() {
|
|
36
36
|
this.value = !this.value;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
-
* Aplica
|
|
39
|
+
* Aplica o foco no campo de edição de título.
|
|
40
40
|
*/
|
|
41
41
|
async applyFocusTextEdit() {
|
|
42
42
|
var _a;
|
|
43
43
|
(_a = this._refTextEdit) === null || _a === void 0 ? void 0 : _a.applyFocusSelect();
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Cancela a edição de título.
|
|
47
47
|
*/
|
|
48
48
|
async cancelEdition() {
|
|
49
49
|
this._activeEditText = false;
|
|
@@ -149,7 +149,7 @@ export class EzCollapsibleBox {
|
|
|
149
149
|
"optional": false,
|
|
150
150
|
"docs": {
|
|
151
151
|
"tags": [],
|
|
152
|
-
"text": "
|
|
152
|
+
"text": "Define o valor do componente."
|
|
153
153
|
},
|
|
154
154
|
"attribute": "value",
|
|
155
155
|
"reflect": true,
|
|
@@ -167,7 +167,7 @@ export class EzCollapsibleBox {
|
|
|
167
167
|
"optional": false,
|
|
168
168
|
"docs": {
|
|
169
169
|
"tags": [],
|
|
170
|
-
"text": "
|
|
170
|
+
"text": "Texto a ser apresentado como t\u00EDtulo do componente."
|
|
171
171
|
},
|
|
172
172
|
"attribute": "label",
|
|
173
173
|
"reflect": true
|
|
@@ -184,7 +184,7 @@ export class EzCollapsibleBox {
|
|
|
184
184
|
"optional": false,
|
|
185
185
|
"docs": {
|
|
186
186
|
"tags": [],
|
|
187
|
-
"text": "Define o tamanho do texto e do \u00EDcone
|
|
187
|
+
"text": "Define o tamanho do texto e do \u00EDcone."
|
|
188
188
|
},
|
|
189
189
|
"attribute": "header-size",
|
|
190
190
|
"reflect": true,
|
|
@@ -202,7 +202,7 @@ export class EzCollapsibleBox {
|
|
|
202
202
|
"optional": false,
|
|
203
203
|
"docs": {
|
|
204
204
|
"tags": [],
|
|
205
|
-
"text": "Define o
|
|
205
|
+
"text": "Define o posicionamento do \u00EDcone."
|
|
206
206
|
},
|
|
207
207
|
"attribute": "icon-placement",
|
|
208
208
|
"reflect": true,
|
|
@@ -220,7 +220,7 @@ export class EzCollapsibleBox {
|
|
|
220
220
|
"optional": false,
|
|
221
221
|
"docs": {
|
|
222
222
|
"tags": [],
|
|
223
|
-
"text": "
|
|
223
|
+
"text": "Se true o t\u00EDtulo ir\u00E1 ocupar toda a largura do componente."
|
|
224
224
|
},
|
|
225
225
|
"attribute": "stretch-title",
|
|
226
226
|
"reflect": true,
|
|
@@ -238,7 +238,7 @@ export class EzCollapsibleBox {
|
|
|
238
238
|
"optional": false,
|
|
239
239
|
"docs": {
|
|
240
240
|
"tags": [],
|
|
241
|
-
"text": "
|
|
241
|
+
"text": "Se true mostra o \u00EDcone para remo\u00E7\u00E3o do componente."
|
|
242
242
|
},
|
|
243
243
|
"attribute": "removable",
|
|
244
244
|
"reflect": true,
|
|
@@ -256,7 +256,7 @@ export class EzCollapsibleBox {
|
|
|
256
256
|
"optional": false,
|
|
257
257
|
"docs": {
|
|
258
258
|
"tags": [],
|
|
259
|
-
"text": "
|
|
259
|
+
"text": "Se true mostra o \u00EDcone para edi\u00E7\u00E3o do componente."
|
|
260
260
|
},
|
|
261
261
|
"attribute": "editable",
|
|
262
262
|
"reflect": true,
|
|
@@ -293,7 +293,7 @@ export class EzCollapsibleBox {
|
|
|
293
293
|
"composed": true,
|
|
294
294
|
"docs": {
|
|
295
295
|
"tags": [],
|
|
296
|
-
"text": "
|
|
296
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de valor do componente."
|
|
297
297
|
},
|
|
298
298
|
"complexType": {
|
|
299
299
|
"original": "boolean",
|
|
@@ -308,7 +308,7 @@ export class EzCollapsibleBox {
|
|
|
308
308
|
"composed": true,
|
|
309
309
|
"docs": {
|
|
310
310
|
"tags": [],
|
|
311
|
-
"text": "
|
|
311
|
+
"text": "Emitido ao remover o componente (onEzRemove)."
|
|
312
312
|
},
|
|
313
313
|
"complexType": {
|
|
314
314
|
"original": "EzCollapsibleBox",
|
|
@@ -327,7 +327,7 @@ export class EzCollapsibleBox {
|
|
|
327
327
|
"composed": true,
|
|
328
328
|
"docs": {
|
|
329
329
|
"tags": [],
|
|
330
|
-
"text": "
|
|
330
|
+
"text": "Emitido ao concluir edi\u00E7\u00E3o da label (onEzSaveEditLabel)."
|
|
331
331
|
},
|
|
332
332
|
"complexType": {
|
|
333
333
|
"original": "CustomEvent",
|
|
@@ -346,7 +346,7 @@ export class EzCollapsibleBox {
|
|
|
346
346
|
"composed": true,
|
|
347
347
|
"docs": {
|
|
348
348
|
"tags": [],
|
|
349
|
-
"text": "
|
|
349
|
+
"text": "Emitido quando o modo de edi\u00E7\u00E3o da label for aberto e fechado (onEzEditLabelMode)."
|
|
350
350
|
},
|
|
351
351
|
"complexType": {
|
|
352
352
|
"original": "boolean",
|
|
@@ -367,7 +367,7 @@ export class EzCollapsibleBox {
|
|
|
367
367
|
"return": "Promise<void>"
|
|
368
368
|
},
|
|
369
369
|
"docs": {
|
|
370
|
-
"text": "
|
|
370
|
+
"text": "Oculta/mostra o conte\u00FAdo do ez-collapsible-box.",
|
|
371
371
|
"tags": []
|
|
372
372
|
}
|
|
373
373
|
},
|
|
@@ -383,7 +383,7 @@ export class EzCollapsibleBox {
|
|
|
383
383
|
"return": "Promise<void>"
|
|
384
384
|
},
|
|
385
385
|
"docs": {
|
|
386
|
-
"text": "Aplica
|
|
386
|
+
"text": "Aplica o foco no campo de edi\u00E7\u00E3o de t\u00EDtulo.",
|
|
387
387
|
"tags": []
|
|
388
388
|
}
|
|
389
389
|
},
|
|
@@ -399,7 +399,7 @@ export class EzCollapsibleBox {
|
|
|
399
399
|
"return": "Promise<void>"
|
|
400
400
|
},
|
|
401
401
|
"docs": {
|
|
402
|
-
"text": "
|
|
402
|
+
"text": "Cancela a edi\u00E7\u00E3o de t\u00EDtulo.",
|
|
403
403
|
"tags": []
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -12,31 +12,31 @@ export class EzComboBox {
|
|
|
12
12
|
this._startLoading = false;
|
|
13
13
|
this._showLoading = true;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Se false o usuário não pode interagir com o campo.
|
|
16
16
|
*/
|
|
17
17
|
this.enabled = true;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Se true a opção selecionada exibe o `value` junto com `label`.
|
|
20
20
|
*/
|
|
21
21
|
this.showSelectedValue = false;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Se true cada opção na lista exibe o `value` junto com `label`.
|
|
24
24
|
*/
|
|
25
25
|
this.showOptionValue = false;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
* Se true desabilita a digitação dentro do componente.
|
|
28
|
+
*/
|
|
29
29
|
this.suppressSearch = false;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Se true remove a opção vazia da lista.
|
|
32
32
|
*/
|
|
33
33
|
this.suppressEmptyOption = false;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Se false deixa de exibir a mensagem de erro dentro do campo.
|
|
36
36
|
*/
|
|
37
37
|
this.canShowError = true;
|
|
38
38
|
/**
|
|
39
|
-
* Define o
|
|
39
|
+
* Define o tamanho do campo.
|
|
40
40
|
*/
|
|
41
41
|
this.mode = "regular";
|
|
42
42
|
}
|
|
@@ -70,19 +70,19 @@ export class EzComboBox {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Aplica o foco no campo.
|
|
74
74
|
*/
|
|
75
75
|
async setFocus() {
|
|
76
76
|
this._textInput.setFocus();
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Remove o foco
|
|
79
|
+
* Remove o foco do campo.
|
|
80
80
|
*/
|
|
81
81
|
async setBlur() {
|
|
82
82
|
this._textInput.setBlur();
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
* Retorna
|
|
85
|
+
* Retorna se o conteúdo é inválido.
|
|
86
86
|
*/
|
|
87
87
|
async isInvalid() {
|
|
88
88
|
return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
|
|
@@ -487,7 +487,7 @@ export class EzComboBox {
|
|
|
487
487
|
"optional": false,
|
|
488
488
|
"docs": {
|
|
489
489
|
"tags": [],
|
|
490
|
-
"text": "
|
|
490
|
+
"text": "Define o valor do campo."
|
|
491
491
|
},
|
|
492
492
|
"attribute": "value",
|
|
493
493
|
"reflect": true
|
|
@@ -504,7 +504,7 @@ export class EzComboBox {
|
|
|
504
504
|
"optional": false,
|
|
505
505
|
"docs": {
|
|
506
506
|
"tags": [],
|
|
507
|
-
"text": "
|
|
507
|
+
"text": "Texto a ser apresentado como t\u00EDtulo do campo."
|
|
508
508
|
},
|
|
509
509
|
"attribute": "label",
|
|
510
510
|
"reflect": true
|
|
@@ -521,7 +521,7 @@ export class EzComboBox {
|
|
|
521
521
|
"optional": false,
|
|
522
522
|
"docs": {
|
|
523
523
|
"tags": [],
|
|
524
|
-
"text": "
|
|
524
|
+
"text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o campo."
|
|
525
525
|
},
|
|
526
526
|
"attribute": "enabled",
|
|
527
527
|
"reflect": true,
|
|
@@ -546,7 +546,7 @@ export class EzComboBox {
|
|
|
546
546
|
"optional": false,
|
|
547
547
|
"docs": {
|
|
548
548
|
"tags": [],
|
|
549
|
-
"text": "Array no formato
|
|
549
|
+
"text": "Array com as op\u00E7\u00F5es do ez-combo-box. Os elementos devem obedecer\no formato: `{value: string, label: string}`."
|
|
550
550
|
}
|
|
551
551
|
},
|
|
552
552
|
"errorMessage": {
|
|
@@ -561,7 +561,7 @@ export class EzComboBox {
|
|
|
561
561
|
"optional": false,
|
|
562
562
|
"docs": {
|
|
563
563
|
"tags": [],
|
|
564
|
-
"text": "
|
|
564
|
+
"text": "Define uma mensagem de orienta\u00E7\u00E3o ao usu\u00E1rio, colocando o campo em modo inv\u00E1lido."
|
|
565
565
|
},
|
|
566
566
|
"attribute": "error-message",
|
|
567
567
|
"reflect": true
|
|
@@ -578,7 +578,7 @@ export class EzComboBox {
|
|
|
578
578
|
"optional": false,
|
|
579
579
|
"docs": {
|
|
580
580
|
"tags": [],
|
|
581
|
-
"text": "
|
|
581
|
+
"text": "Se true ativa o modo pesquisa do ez-combo-box."
|
|
582
582
|
},
|
|
583
583
|
"attribute": "search-mode",
|
|
584
584
|
"reflect": false
|
|
@@ -595,7 +595,7 @@ export class EzComboBox {
|
|
|
595
595
|
"optional": false,
|
|
596
596
|
"docs": {
|
|
597
597
|
"tags": [],
|
|
598
|
-
"text": "
|
|
598
|
+
"text": "Se true a op\u00E7\u00E3o selecionada exibe o `value` junto com `label`."
|
|
599
599
|
},
|
|
600
600
|
"attribute": "show-selected-value",
|
|
601
601
|
"reflect": false,
|
|
@@ -613,7 +613,7 @@ export class EzComboBox {
|
|
|
613
613
|
"optional": false,
|
|
614
614
|
"docs": {
|
|
615
615
|
"tags": [],
|
|
616
|
-
"text": "
|
|
616
|
+
"text": "Se true cada op\u00E7\u00E3o na lista exibe o `value` junto com `label`."
|
|
617
617
|
},
|
|
618
618
|
"attribute": "show-option-value",
|
|
619
619
|
"reflect": false,
|
|
@@ -631,7 +631,7 @@ export class EzComboBox {
|
|
|
631
631
|
"optional": false,
|
|
632
632
|
"docs": {
|
|
633
633
|
"tags": [],
|
|
634
|
-
"text": "
|
|
634
|
+
"text": "Se true desabilita a digita\u00E7\u00E3o dentro do componente."
|
|
635
635
|
},
|
|
636
636
|
"attribute": "suppress-search",
|
|
637
637
|
"reflect": false,
|
|
@@ -641,11 +641,20 @@ export class EzComboBox {
|
|
|
641
641
|
"type": "unknown",
|
|
642
642
|
"mutable": false,
|
|
643
643
|
"complexType": {
|
|
644
|
-
"original": "
|
|
645
|
-
"resolved": "
|
|
644
|
+
"original": "(argument: ISearchArgument) => Promise<Array<IOption>> | Array<IOption> | IOption",
|
|
645
|
+
"resolved": "(argument: ISearchArgument) => IOption | IOption[] | Promise<IOption[]>",
|
|
646
646
|
"references": {
|
|
647
|
-
"
|
|
647
|
+
"ISearchArgument": {
|
|
648
|
+
"location": "local"
|
|
649
|
+
},
|
|
650
|
+
"Promise": {
|
|
651
|
+
"location": "global"
|
|
652
|
+
},
|
|
653
|
+
"Array": {
|
|
648
654
|
"location": "global"
|
|
655
|
+
},
|
|
656
|
+
"IOption": {
|
|
657
|
+
"location": "local"
|
|
649
658
|
}
|
|
650
659
|
}
|
|
651
660
|
},
|
|
@@ -653,7 +662,7 @@ export class EzComboBox {
|
|
|
653
662
|
"optional": false,
|
|
654
663
|
"docs": {
|
|
655
664
|
"tags": [],
|
|
656
|
-
"text": "
|
|
665
|
+
"text": "Carrega as op\u00E7\u00F5es dinamicamente."
|
|
657
666
|
}
|
|
658
667
|
},
|
|
659
668
|
"suppressEmptyOption": {
|
|
@@ -668,7 +677,7 @@ export class EzComboBox {
|
|
|
668
677
|
"optional": false,
|
|
669
678
|
"docs": {
|
|
670
679
|
"tags": [],
|
|
671
|
-
"text": "
|
|
680
|
+
"text": "Se true remove a op\u00E7\u00E3o vazia da lista."
|
|
672
681
|
},
|
|
673
682
|
"attribute": "suppress-empty-option",
|
|
674
683
|
"reflect": false,
|
|
@@ -686,7 +695,7 @@ export class EzComboBox {
|
|
|
686
695
|
"optional": false,
|
|
687
696
|
"docs": {
|
|
688
697
|
"tags": [],
|
|
689
|
-
"text": "
|
|
698
|
+
"text": "Se false deixa de exibir a mensagem de erro dentro do campo."
|
|
690
699
|
},
|
|
691
700
|
"attribute": "can-show-error",
|
|
692
701
|
"reflect": true,
|
|
@@ -696,15 +705,15 @@ export class EzComboBox {
|
|
|
696
705
|
"type": "string",
|
|
697
706
|
"mutable": false,
|
|
698
707
|
"complexType": {
|
|
699
|
-
"original": "
|
|
700
|
-
"resolved": "
|
|
708
|
+
"original": "\"slim\" | \"regular\"",
|
|
709
|
+
"resolved": "\"regular\" | \"slim\"",
|
|
701
710
|
"references": {}
|
|
702
711
|
},
|
|
703
712
|
"required": false,
|
|
704
713
|
"optional": false,
|
|
705
714
|
"docs": {
|
|
706
715
|
"tags": [],
|
|
707
|
-
"text": "Define o
|
|
716
|
+
"text": "Define o tamanho do campo."
|
|
708
717
|
},
|
|
709
718
|
"attribute": "mode",
|
|
710
719
|
"reflect": true,
|
|
@@ -726,7 +735,7 @@ export class EzComboBox {
|
|
|
726
735
|
"composed": true,
|
|
727
736
|
"docs": {
|
|
728
737
|
"tags": [],
|
|
729
|
-
"text": "
|
|
738
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de valor do campo."
|
|
730
739
|
},
|
|
731
740
|
"complexType": {
|
|
732
741
|
"original": "IOption",
|
|
@@ -751,7 +760,7 @@ export class EzComboBox {
|
|
|
751
760
|
"return": "Promise<void>"
|
|
752
761
|
},
|
|
753
762
|
"docs": {
|
|
754
|
-
"text": "
|
|
763
|
+
"text": "Aplica o foco no campo.",
|
|
755
764
|
"tags": []
|
|
756
765
|
}
|
|
757
766
|
},
|
|
@@ -767,7 +776,7 @@ export class EzComboBox {
|
|
|
767
776
|
"return": "Promise<void>"
|
|
768
777
|
},
|
|
769
778
|
"docs": {
|
|
770
|
-
"text": "Remove o foco
|
|
779
|
+
"text": "Remove o foco do campo.",
|
|
771
780
|
"tags": []
|
|
772
781
|
}
|
|
773
782
|
},
|
|
@@ -783,7 +792,7 @@ export class EzComboBox {
|
|
|
783
792
|
"return": "Promise<boolean>"
|
|
784
793
|
},
|
|
785
794
|
"docs": {
|
|
786
|
-
"text": "Retorna
|
|
795
|
+
"text": "Retorna se o conte\u00FAdo \u00E9 inv\u00E1lido.",
|
|
787
796
|
"tags": []
|
|
788
797
|
}
|
|
789
798
|
}
|
|
@@ -5,11 +5,11 @@ export class EzDateInput {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this._focused = false;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Se false o usuário não pode interagir com o campo.
|
|
9
9
|
*/
|
|
10
10
|
this.enabled = true;
|
|
11
11
|
/**
|
|
12
|
-
* Define o
|
|
12
|
+
* Define o tamanho do campo.
|
|
13
13
|
*/
|
|
14
14
|
this.mode = "regular";
|
|
15
15
|
}
|
|
@@ -45,19 +45,19 @@ export class EzDateInput {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Aplica o foco no campo.
|
|
49
49
|
*/
|
|
50
50
|
async setFocus() {
|
|
51
51
|
this._textInput.setFocus();
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Remove o foco
|
|
54
|
+
* Remove o foco do campo.
|
|
55
55
|
*/
|
|
56
56
|
async setBlur() {
|
|
57
57
|
this._textInput.setBlur();
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Retorna
|
|
60
|
+
* Retorna se o conteúdo é inválido.
|
|
61
61
|
*/
|
|
62
62
|
async isInvalid() {
|
|
63
63
|
return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
|
|
@@ -160,7 +160,7 @@ export class EzDateInput {
|
|
|
160
160
|
"optional": false,
|
|
161
161
|
"docs": {
|
|
162
162
|
"tags": [],
|
|
163
|
-
"text": "
|
|
163
|
+
"text": "Texto a ser apresentado como t\u00EDtulo do campo."
|
|
164
164
|
},
|
|
165
165
|
"attribute": "label",
|
|
166
166
|
"reflect": true
|
|
@@ -181,7 +181,7 @@ export class EzDateInput {
|
|
|
181
181
|
"optional": false,
|
|
182
182
|
"docs": {
|
|
183
183
|
"tags": [],
|
|
184
|
-
"text": "
|
|
184
|
+
"text": "Define o valor do campo."
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
"enabled": {
|
|
@@ -196,7 +196,7 @@ export class EzDateInput {
|
|
|
196
196
|
"optional": false,
|
|
197
197
|
"docs": {
|
|
198
198
|
"tags": [],
|
|
199
|
-
"text": "
|
|
199
|
+
"text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o campo."
|
|
200
200
|
},
|
|
201
201
|
"attribute": "enabled",
|
|
202
202
|
"reflect": true,
|
|
@@ -214,7 +214,7 @@ export class EzDateInput {
|
|
|
214
214
|
"optional": false,
|
|
215
215
|
"docs": {
|
|
216
216
|
"tags": [],
|
|
217
|
-
"text": "
|
|
217
|
+
"text": "Define uma mensagem de orienta\u00E7\u00E3o ao usu\u00E1rio, colocando o campo em modo inv\u00E1lido."
|
|
218
218
|
},
|
|
219
219
|
"attribute": "error-message",
|
|
220
220
|
"reflect": true
|
|
@@ -223,15 +223,15 @@ export class EzDateInput {
|
|
|
223
223
|
"type": "string",
|
|
224
224
|
"mutable": false,
|
|
225
225
|
"complexType": {
|
|
226
|
-
"original": "
|
|
227
|
-
"resolved": "
|
|
226
|
+
"original": "\"slim\" | \"regular\"",
|
|
227
|
+
"resolved": "\"regular\" | \"slim\"",
|
|
228
228
|
"references": {}
|
|
229
229
|
},
|
|
230
230
|
"required": false,
|
|
231
231
|
"optional": false,
|
|
232
232
|
"docs": {
|
|
233
233
|
"tags": [],
|
|
234
|
-
"text": "Define o
|
|
234
|
+
"text": "Define o tamanho do campo."
|
|
235
235
|
},
|
|
236
236
|
"attribute": "mode",
|
|
237
237
|
"reflect": true,
|
|
@@ -246,7 +246,7 @@ export class EzDateInput {
|
|
|
246
246
|
"composed": true,
|
|
247
247
|
"docs": {
|
|
248
248
|
"tags": [],
|
|
249
|
-
"text": "
|
|
249
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de valor do campo."
|
|
250
250
|
},
|
|
251
251
|
"complexType": {
|
|
252
252
|
"original": "Date",
|
|
@@ -265,7 +265,7 @@ export class EzDateInput {
|
|
|
265
265
|
"composed": true,
|
|
266
266
|
"docs": {
|
|
267
267
|
"tags": [],
|
|
268
|
-
"text": "
|
|
268
|
+
"text": "Emitido ao iniciar a altera\u00E7\u00E3o (digita\u00E7\u00E3o incompleta)."
|
|
269
269
|
},
|
|
270
270
|
"complexType": {
|
|
271
271
|
"original": "WaitingChange",
|
|
@@ -285,7 +285,7 @@ export class EzDateInput {
|
|
|
285
285
|
"composed": true,
|
|
286
286
|
"docs": {
|
|
287
287
|
"tags": [],
|
|
288
|
-
"text": "
|
|
288
|
+
"text": "Emitido quando n\u00E3o foi poss\u00EDvel completar a altera\u00E7\u00E3o entre o evento ezStartChange e ezChange."
|
|
289
289
|
},
|
|
290
290
|
"complexType": {
|
|
291
291
|
"original": "void",
|
|
@@ -306,7 +306,7 @@ export class EzDateInput {
|
|
|
306
306
|
"return": "Promise<void>"
|
|
307
307
|
},
|
|
308
308
|
"docs": {
|
|
309
|
-
"text": "
|
|
309
|
+
"text": "Aplica o foco no campo.",
|
|
310
310
|
"tags": []
|
|
311
311
|
}
|
|
312
312
|
},
|
|
@@ -322,7 +322,7 @@ export class EzDateInput {
|
|
|
322
322
|
"return": "Promise<void>"
|
|
323
323
|
},
|
|
324
324
|
"docs": {
|
|
325
|
-
"text": "Remove o foco
|
|
325
|
+
"text": "Remove o foco do campo.",
|
|
326
326
|
"tags": []
|
|
327
327
|
}
|
|
328
328
|
},
|
|
@@ -338,7 +338,7 @@ export class EzDateInput {
|
|
|
338
338
|
"return": "Promise<boolean>"
|
|
339
339
|
},
|
|
340
340
|
"docs": {
|
|
341
|
-
"text": "Retorna
|
|
341
|
+
"text": "Retorna se o conte\u00FAdo \u00E9 inv\u00E1lido.",
|
|
342
342
|
"tags": []
|
|
343
343
|
}
|
|
344
344
|
}
|