@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
|
@@ -4,15 +4,15 @@ import CSSVarsUtils from "../../utils/CSSVarsUtils";
|
|
|
4
4
|
export class EzTimeInput {
|
|
5
5
|
constructor() {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Se false o usuário não pode interagir com o campo.
|
|
8
8
|
*/
|
|
9
9
|
this.enabled = true;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Se true considera segundos.
|
|
12
12
|
*/
|
|
13
13
|
this.showSeconds = false;
|
|
14
14
|
/**
|
|
15
|
-
* Define o
|
|
15
|
+
* Define o tamanho do campo.
|
|
16
16
|
*/
|
|
17
17
|
this.mode = "regular";
|
|
18
18
|
}
|
|
@@ -93,19 +93,19 @@ export class EzTimeInput {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Aplica o foco no campo.
|
|
97
97
|
*/
|
|
98
98
|
async setFocus() {
|
|
99
99
|
this._textInput.setFocus();
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
|
-
* Remove o foco
|
|
102
|
+
* Remove o foco do campo.
|
|
103
103
|
*/
|
|
104
104
|
async setBlur() {
|
|
105
105
|
this._textInput.setBlur();
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
* Retorna
|
|
108
|
+
* Retorna se o conteúdo é inválido.
|
|
109
109
|
*/
|
|
110
110
|
async isInvalid() {
|
|
111
111
|
return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
|
|
@@ -169,7 +169,7 @@ export class EzTimeInput {
|
|
|
169
169
|
"optional": false,
|
|
170
170
|
"docs": {
|
|
171
171
|
"tags": [],
|
|
172
|
-
"text": "
|
|
172
|
+
"text": "Texto a ser apresentado como t\u00EDtulo do campo."
|
|
173
173
|
},
|
|
174
174
|
"attribute": "label",
|
|
175
175
|
"reflect": true
|
|
@@ -186,7 +186,7 @@ export class EzTimeInput {
|
|
|
186
186
|
"optional": false,
|
|
187
187
|
"docs": {
|
|
188
188
|
"tags": [],
|
|
189
|
-
"text": "
|
|
189
|
+
"text": "Define o valor do campo."
|
|
190
190
|
},
|
|
191
191
|
"attribute": "value",
|
|
192
192
|
"reflect": false
|
|
@@ -203,7 +203,7 @@ export class EzTimeInput {
|
|
|
203
203
|
"optional": false,
|
|
204
204
|
"docs": {
|
|
205
205
|
"tags": [],
|
|
206
|
-
"text": "
|
|
206
|
+
"text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o campo."
|
|
207
207
|
},
|
|
208
208
|
"attribute": "enabled",
|
|
209
209
|
"reflect": true,
|
|
@@ -221,7 +221,7 @@ export class EzTimeInput {
|
|
|
221
221
|
"optional": false,
|
|
222
222
|
"docs": {
|
|
223
223
|
"tags": [],
|
|
224
|
-
"text": "
|
|
224
|
+
"text": "Define uma mensagem de orienta\u00E7\u00E3o ao usu\u00E1rio, colocando o campo em modo inv\u00E1lido."
|
|
225
225
|
},
|
|
226
226
|
"attribute": "error-message",
|
|
227
227
|
"reflect": true
|
|
@@ -238,7 +238,7 @@ export class EzTimeInput {
|
|
|
238
238
|
"optional": false,
|
|
239
239
|
"docs": {
|
|
240
240
|
"tags": [],
|
|
241
|
-
"text": "
|
|
241
|
+
"text": "Se true considera segundos."
|
|
242
242
|
},
|
|
243
243
|
"attribute": "show-seconds",
|
|
244
244
|
"reflect": true,
|
|
@@ -248,15 +248,15 @@ export class EzTimeInput {
|
|
|
248
248
|
"type": "string",
|
|
249
249
|
"mutable": false,
|
|
250
250
|
"complexType": {
|
|
251
|
-
"original": "
|
|
252
|
-
"resolved": "
|
|
251
|
+
"original": "\"slim\" | \"regular\"",
|
|
252
|
+
"resolved": "\"regular\" | \"slim\"",
|
|
253
253
|
"references": {}
|
|
254
254
|
},
|
|
255
255
|
"required": false,
|
|
256
256
|
"optional": false,
|
|
257
257
|
"docs": {
|
|
258
258
|
"tags": [],
|
|
259
|
-
"text": "Define o
|
|
259
|
+
"text": "Define o tamanho do campo."
|
|
260
260
|
},
|
|
261
261
|
"attribute": "mode",
|
|
262
262
|
"reflect": true,
|
|
@@ -271,7 +271,7 @@ export class EzTimeInput {
|
|
|
271
271
|
"composed": true,
|
|
272
272
|
"docs": {
|
|
273
273
|
"tags": [],
|
|
274
|
-
"text": "
|
|
274
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de valor do campo."
|
|
275
275
|
},
|
|
276
276
|
"complexType": {
|
|
277
277
|
"original": "number",
|
|
@@ -286,7 +286,7 @@ export class EzTimeInput {
|
|
|
286
286
|
"composed": true,
|
|
287
287
|
"docs": {
|
|
288
288
|
"tags": [],
|
|
289
|
-
"text": "
|
|
289
|
+
"text": "Emitido ao iniciar a altera\u00E7\u00E3o (digita\u00E7\u00E3o incompleta)."
|
|
290
290
|
},
|
|
291
291
|
"complexType": {
|
|
292
292
|
"original": "WaitingChange",
|
|
@@ -306,7 +306,7 @@ export class EzTimeInput {
|
|
|
306
306
|
"composed": true,
|
|
307
307
|
"docs": {
|
|
308
308
|
"tags": [],
|
|
309
|
-
"text": "
|
|
309
|
+
"text": "Emitido quando n\u00E3o foi poss\u00EDvel completar a altera\u00E7\u00E3o entre o evento ezStartChange e ezChange."
|
|
310
310
|
},
|
|
311
311
|
"complexType": {
|
|
312
312
|
"original": "void",
|
|
@@ -327,7 +327,7 @@ export class EzTimeInput {
|
|
|
327
327
|
"return": "Promise<void>"
|
|
328
328
|
},
|
|
329
329
|
"docs": {
|
|
330
|
-
"text": "
|
|
330
|
+
"text": "Aplica o foco no campo.",
|
|
331
331
|
"tags": []
|
|
332
332
|
}
|
|
333
333
|
},
|
|
@@ -343,7 +343,7 @@ export class EzTimeInput {
|
|
|
343
343
|
"return": "Promise<void>"
|
|
344
344
|
},
|
|
345
345
|
"docs": {
|
|
346
|
-
"text": "Remove o foco
|
|
346
|
+
"text": "Remove o foco do campo.",
|
|
347
347
|
"tags": []
|
|
348
348
|
}
|
|
349
349
|
},
|
|
@@ -359,7 +359,7 @@ export class EzTimeInput {
|
|
|
359
359
|
"return": "Promise<boolean>"
|
|
360
360
|
},
|
|
361
361
|
"docs": {
|
|
362
|
-
"text": "Retorna
|
|
362
|
+
"text": "Retorna se o conte\u00FAdo \u00E9 inv\u00E1lido.",
|
|
363
363
|
"tags": []
|
|
364
364
|
}
|
|
365
365
|
}
|
|
@@ -7,21 +7,21 @@ export class EzToast {
|
|
|
7
7
|
this._lastTimeOut = undefined;
|
|
8
8
|
this._lang = "pt"; // Controla qual idioma será usado para definir a regras de hifenização.
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Define o tempo de exibição em milissegundos.
|
|
11
11
|
*/
|
|
12
12
|
this.fadeTime = 5000;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Se true permite a utilização do slot de ícone.
|
|
15
15
|
*/
|
|
16
16
|
this.useIcon = false;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Se false, o usuário não consegue fechar.
|
|
19
19
|
*/
|
|
20
20
|
this.canClose = true;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
* Exibe o ez-toast.
|
|
24
|
+
*/
|
|
25
25
|
async show(message, fadeTime, useIcon, canClose) {
|
|
26
26
|
return new Promise(resolve => {
|
|
27
27
|
var _a;
|
|
@@ -99,7 +99,7 @@ export class EzToast {
|
|
|
99
99
|
"optional": false,
|
|
100
100
|
"docs": {
|
|
101
101
|
"tags": [],
|
|
102
|
-
"text": "Mensagem exibida no componente."
|
|
102
|
+
"text": "Mensagem a ser exibida no componente."
|
|
103
103
|
},
|
|
104
104
|
"attribute": "message",
|
|
105
105
|
"reflect": false
|
|
@@ -116,7 +116,7 @@ export class EzToast {
|
|
|
116
116
|
"optional": false,
|
|
117
117
|
"docs": {
|
|
118
118
|
"tags": [],
|
|
119
|
-
"text": "
|
|
119
|
+
"text": "Define o tempo de exibi\u00E7\u00E3o em milissegundos."
|
|
120
120
|
},
|
|
121
121
|
"attribute": "fade-time",
|
|
122
122
|
"reflect": false,
|
|
@@ -134,7 +134,7 @@ export class EzToast {
|
|
|
134
134
|
"optional": false,
|
|
135
135
|
"docs": {
|
|
136
136
|
"tags": [],
|
|
137
|
-
"text": "
|
|
137
|
+
"text": "Se true permite a utiliza\u00E7\u00E3o do slot de \u00EDcone."
|
|
138
138
|
},
|
|
139
139
|
"attribute": "use-icon",
|
|
140
140
|
"reflect": false,
|
|
@@ -152,7 +152,7 @@ export class EzToast {
|
|
|
152
152
|
"optional": false,
|
|
153
153
|
"docs": {
|
|
154
154
|
"tags": [],
|
|
155
|
-
"text": "
|
|
155
|
+
"text": "Se false, o usu\u00E1rio n\u00E3o consegue fechar."
|
|
156
156
|
},
|
|
157
157
|
"attribute": "can-close",
|
|
158
158
|
"reflect": false,
|
|
@@ -162,7 +162,7 @@ export class EzToast {
|
|
|
162
162
|
static get methods() { return {
|
|
163
163
|
"show": {
|
|
164
164
|
"complexType": {
|
|
165
|
-
"signature": "(message: string, fadeTime: number, useIcon: boolean, canClose?: boolean) => Promise<
|
|
165
|
+
"signature": "(message: string, fadeTime: number, useIcon: boolean, canClose?: boolean) => Promise<void>",
|
|
166
166
|
"parameters": [{
|
|
167
167
|
"tags": [],
|
|
168
168
|
"text": ""
|
|
@@ -181,10 +181,10 @@ export class EzToast {
|
|
|
181
181
|
"location": "global"
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
|
-
"return": "Promise<
|
|
184
|
+
"return": "Promise<void>"
|
|
185
185
|
},
|
|
186
186
|
"docs": {
|
|
187
|
-
"text": "Exibe o
|
|
187
|
+
"text": "Exibe o ez-toast.",
|
|
188
188
|
"tags": []
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -6,7 +6,7 @@ export class EzUpload {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
this._filePointers = new Map();
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Se false o usuário não pode interagir com o campo.
|
|
10
10
|
*/
|
|
11
11
|
this.enabled = true;
|
|
12
12
|
}
|
|
@@ -45,8 +45,8 @@ export class EzUpload {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
* Adiciona arquivos.
|
|
49
|
+
*/
|
|
50
50
|
async addFiles(files) {
|
|
51
51
|
if (this.maxFiles > 0) {
|
|
52
52
|
let countDistinctFiles = this._filePointers.size;
|
|
@@ -63,13 +63,13 @@ export class EzUpload {
|
|
|
63
63
|
Array.prototype.forEach.call(files, this.addFile.bind(this));
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Aplica o foco no campo.
|
|
67
67
|
*/
|
|
68
68
|
async setFocus() {
|
|
69
69
|
this._fileInput.focus();
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* Remove o foco
|
|
72
|
+
* Remove o foco do campo.
|
|
73
73
|
*/
|
|
74
74
|
async setBlur() {
|
|
75
75
|
this._fileInput.blur();
|
|
@@ -305,7 +305,7 @@ export class EzUpload {
|
|
|
305
305
|
"optional": false,
|
|
306
306
|
"docs": {
|
|
307
307
|
"tags": [],
|
|
308
|
-
"text": "
|
|
308
|
+
"text": "Texto a ser apresentado como t\u00EDtulo do campo."
|
|
309
309
|
},
|
|
310
310
|
"attribute": "label",
|
|
311
311
|
"reflect": false
|
|
@@ -322,7 +322,7 @@ export class EzUpload {
|
|
|
322
322
|
"optional": false,
|
|
323
323
|
"docs": {
|
|
324
324
|
"tags": [],
|
|
325
|
-
"text": "
|
|
325
|
+
"text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o campo."
|
|
326
326
|
},
|
|
327
327
|
"attribute": "enabled",
|
|
328
328
|
"reflect": false,
|
|
@@ -432,7 +432,7 @@ export class EzUpload {
|
|
|
432
432
|
"optional": false,
|
|
433
433
|
"docs": {
|
|
434
434
|
"tags": [],
|
|
435
|
-
"text": "
|
|
435
|
+
"text": "Define o valor do campo."
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
}; }
|
|
@@ -444,7 +444,7 @@ export class EzUpload {
|
|
|
444
444
|
"composed": true,
|
|
445
445
|
"docs": {
|
|
446
446
|
"tags": [],
|
|
447
|
-
"text": "
|
|
447
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de valor do campo."
|
|
448
448
|
},
|
|
449
449
|
"complexType": {
|
|
450
450
|
"original": "Array<EzFile>",
|
|
@@ -466,7 +466,7 @@ export class EzUpload {
|
|
|
466
466
|
"composed": true,
|
|
467
467
|
"docs": {
|
|
468
468
|
"tags": [],
|
|
469
|
-
"text": "
|
|
469
|
+
"text": "Emitido ao iniciar a altera\u00E7\u00E3o (remover ou adicionar um arquivo)."
|
|
470
470
|
},
|
|
471
471
|
"complexType": {
|
|
472
472
|
"original": "WaitingChange",
|
|
@@ -486,7 +486,7 @@ export class EzUpload {
|
|
|
486
486
|
"composed": true,
|
|
487
487
|
"docs": {
|
|
488
488
|
"tags": [],
|
|
489
|
-
"text": "
|
|
489
|
+
"text": "Emitido quando n\u00E3o foi poss\u00EDvel completar a altera\u00E7\u00E3o entre o evento ezStartChange e ezChange."
|
|
490
490
|
},
|
|
491
491
|
"complexType": {
|
|
492
492
|
"original": "void",
|
|
@@ -516,7 +516,7 @@ export class EzUpload {
|
|
|
516
516
|
"return": "Promise<void>"
|
|
517
517
|
},
|
|
518
518
|
"docs": {
|
|
519
|
-
"text": "
|
|
519
|
+
"text": "Adiciona arquivos.",
|
|
520
520
|
"tags": []
|
|
521
521
|
}
|
|
522
522
|
},
|
|
@@ -532,7 +532,7 @@ export class EzUpload {
|
|
|
532
532
|
"return": "Promise<void>"
|
|
533
533
|
},
|
|
534
534
|
"docs": {
|
|
535
|
-
"text": "
|
|
535
|
+
"text": "Aplica o foco no campo.",
|
|
536
536
|
"tags": []
|
|
537
537
|
}
|
|
538
538
|
},
|
|
@@ -548,7 +548,7 @@ export class EzUpload {
|
|
|
548
548
|
"return": "Promise<void>"
|
|
549
549
|
},
|
|
550
550
|
"docs": {
|
|
551
|
-
"text": "Remove o foco
|
|
551
|
+
"text": "Remove o foco do campo.",
|
|
552
552
|
"tags": []
|
|
553
553
|
}
|
|
554
554
|
}
|
|
@@ -8,7 +8,7 @@ export class EzViewStack {
|
|
|
8
8
|
this._dataKey = 'id_'.concat(Date.now().toString());
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* Exibe a
|
|
11
|
+
* Exibe a visão de acordo com o índice.
|
|
12
12
|
*/
|
|
13
13
|
async show(index) {
|
|
14
14
|
if (index !== this._focusedIndex && 0 <= index && index < this._totalStackItems) {
|
|
@@ -18,7 +18,7 @@ export class EzViewStack {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Obtem o índice selecionado.
|
|
22
22
|
*/
|
|
23
23
|
async getSelectedIndex() {
|
|
24
24
|
return this._focusedIndex;
|
|
@@ -94,7 +94,7 @@ export class EzViewStack {
|
|
|
94
94
|
"return": "Promise<void>"
|
|
95
95
|
},
|
|
96
96
|
"docs": {
|
|
97
|
-
"text": "Exibe a
|
|
97
|
+
"text": "Exibe a vis\u00E3o de acordo com o \u00EDndice.",
|
|
98
98
|
"tags": []
|
|
99
99
|
}
|
|
100
100
|
},
|
|
@@ -110,7 +110,7 @@ export class EzViewStack {
|
|
|
110
110
|
"return": "Promise<number>"
|
|
111
111
|
},
|
|
112
112
|
"docs": {
|
|
113
|
-
"text": "
|
|
113
|
+
"text": "Obtem o \u00EDndice selecionado.",
|
|
114
114
|
"tags": []
|
|
115
115
|
}
|
|
116
116
|
}
|