@sankhyalabs/ezui 2.3.1 → 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 +3 -6
- package/dist/cjs/ez-grid.cjs.entry.js +16 -17
- 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 +7 -42
- package/dist/collection/components/ez-grid/ez-grid.js +41 -42
- 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 +265 -279
- 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 +3 -6
- package/dist/esm/ez-grid.entry.js +16 -17
- 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-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 +2 -2
- package/dist/types/components/ez-grid/ez-grid.d.ts +37 -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-89b2a151.entry.js +0 -1
- package/dist/ezui/p-8c2105a5.entry.js +0 -1
- package/dist/ezui/p-ed2135a5.entry.js +0 -1
- package/dist/ezui/p-f6afdc4d.entry.js +0 -1
|
@@ -15,15 +15,15 @@ let EzTimeInput = class {
|
|
|
15
15
|
this.ezStartChange = index.createEvent(this, "ezStartChange", 7);
|
|
16
16
|
this.ezCancelWaitingChange = index.createEvent(this, "ezCancelWaitingChange", 7);
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Se false o usuário não pode interagir com o campo.
|
|
19
19
|
*/
|
|
20
20
|
this.enabled = true;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Se true considera segundos.
|
|
23
23
|
*/
|
|
24
24
|
this.showSeconds = false;
|
|
25
25
|
/**
|
|
26
|
-
* Define o
|
|
26
|
+
* Define o tamanho do campo.
|
|
27
27
|
*/
|
|
28
28
|
this.mode = "regular";
|
|
29
29
|
}
|
|
@@ -104,19 +104,19 @@ let EzTimeInput = class {
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Aplica o foco no campo.
|
|
108
108
|
*/
|
|
109
109
|
async setFocus() {
|
|
110
110
|
this._textInput.setFocus();
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* Remove o foco
|
|
113
|
+
* Remove o foco do campo.
|
|
114
114
|
*/
|
|
115
115
|
async setBlur() {
|
|
116
116
|
this._textInput.setBlur();
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
|
-
* Retorna
|
|
119
|
+
* Retorna se o conteúdo é inválido.
|
|
120
120
|
*/
|
|
121
121
|
async isInvalid() {
|
|
122
122
|
return typeof this.errorMessage === "string" && this.errorMessage.trim() !== "";
|
|
@@ -15,21 +15,21 @@ let EzToast = class {
|
|
|
15
15
|
this._lastTimeOut = undefined;
|
|
16
16
|
this._lang = "pt"; // Controla qual idioma será usado para definir a regras de hifenização.
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Define o tempo de exibição em milissegundos.
|
|
19
19
|
*/
|
|
20
20
|
this.fadeTime = 5000;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Se true permite a utilização do slot de ícone.
|
|
23
23
|
*/
|
|
24
24
|
this.useIcon = false;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Se false, o usuário não consegue fechar.
|
|
27
27
|
*/
|
|
28
28
|
this.canClose = true;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
* Exibe o ez-toast.
|
|
32
|
+
*/
|
|
33
33
|
async show(message, fadeTime, useIcon, canClose) {
|
|
34
34
|
return new Promise(resolve => {
|
|
35
35
|
var _a;
|
|
@@ -112,7 +112,7 @@ let EzUpload = class {
|
|
|
112
112
|
this.ezCancelWaitingChange = index.createEvent(this, "ezCancelWaitingChange", 7);
|
|
113
113
|
this._filePointers = new Map();
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Se false o usuário não pode interagir com o campo.
|
|
116
116
|
*/
|
|
117
117
|
this.enabled = true;
|
|
118
118
|
}
|
|
@@ -151,8 +151,8 @@ let EzUpload = class {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
* Adiciona arquivos.
|
|
155
|
+
*/
|
|
156
156
|
async addFiles(files) {
|
|
157
157
|
if (this.maxFiles > 0) {
|
|
158
158
|
let countDistinctFiles = this._filePointers.size;
|
|
@@ -169,13 +169,13 @@ let EzUpload = class {
|
|
|
169
169
|
Array.prototype.forEach.call(files, this.addFile.bind(this));
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
|
-
*
|
|
172
|
+
* Aplica o foco no campo.
|
|
173
173
|
*/
|
|
174
174
|
async setFocus() {
|
|
175
175
|
this._fileInput.focus();
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
|
-
* Remove o foco
|
|
178
|
+
* Remove o foco do campo.
|
|
179
179
|
*/
|
|
180
180
|
async setBlur() {
|
|
181
181
|
this._fileInput.blur();
|
|
@@ -16,7 +16,7 @@ let EzViewStack = class {
|
|
|
16
16
|
this._dataKey = 'id_'.concat(Date.now().toString());
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Exibe a
|
|
19
|
+
* Exibe a visão de acordo com o índice.
|
|
20
20
|
*/
|
|
21
21
|
async show(index) {
|
|
22
22
|
if (index !== this._focusedIndex && 0 <= index && index < this._totalStackItems) {
|
|
@@ -26,7 +26,7 @@ let EzViewStack = class {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Obtem o índice selecionado.
|
|
30
30
|
*/
|
|
31
31
|
async getSelectedIndex() {
|
|
32
32
|
return this._focusedIndex;
|
package/dist/cjs/ezui.cjs.js
CHANGED
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"
|
|
18
|
+
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]}]]],["ez-modal-container.cjs",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-chip.cjs",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-card-item.cjs",[[1,"ez-card-item",{"item":[16]}]]],["ez-list.cjs",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar.cjs",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button.cjs",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller.cjs",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack.cjs",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box.cjs",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search.cjs",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input.cjs",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input.cjs",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector.cjs",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check.cjs",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area.cjs",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload.cjs",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit.cjs",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box.cjs",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar.cjs",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon.cjs",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button.cjs",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form.cjs",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
|
|
19
19
|
});
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"
|
|
17
|
+
return index.bootstrapLazy([["ez-actions-button.cjs",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]}]]],["ez-modal-container.cjs",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["ez-chip.cjs",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-card-item.cjs",[[1,"ez-card-item",{"item":[16]}]]],["ez-list.cjs",[[1,"ez-list",{"dataSource":[1040],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-loading-bar.cjs",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-popover.cjs",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"top":[1537],"left":[1537],"bottom":[1537],"right":[1537],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"updatePosition":[64],"show":[64],"hide":[64]}]]],["ez-popup.cjs",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["ez-radio-button.cjs",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["ez-scroller.cjs",[[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isFirefox":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["ez-view-stack.cjs",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-collapsible-box.cjs",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["ez-search.cjs",[[1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-input.cjs",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-date-time-input.cjs",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-number-input.cjs",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-tabselector.cjs",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["ez-check.cjs",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[516],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-text-area.cjs",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-upload.cjs",[[1,"ez-upload",{"label":[1],"enabled":[4],"maxFileSize":[2,"max-file-size"],"maxFiles":[2,"max-files"],"requestHeaders":[8,"request-headers"],"urlUpload":[1,"url-upload"],"urlDelete":[1,"url-delete"],"value":[1040],"addFiles":[64],"setFocus":[64],"setBlur":[64]}]]],["ez-text-edit.cjs",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["ez-combo-box.cjs",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["ez-calendar.cjs",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-icon.cjs",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-button.cjs",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-form.cjs",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -4,23 +4,27 @@ import { CSSVarsUtils } from '../../utils';
|
|
|
4
4
|
export class EzActionsButton {
|
|
5
5
|
constructor() {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Se false o usuário não pode interagir com o componente.
|
|
8
8
|
*/
|
|
9
9
|
this.enabled = true;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Determina o tamanho do ez-action-button.
|
|
12
|
+
*/
|
|
13
|
+
this.size = "medium";
|
|
14
|
+
/**
|
|
15
|
+
* Se true o label será apresentado.
|
|
12
16
|
*/
|
|
13
17
|
this.showLabel = false;
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Se true o check será apresentado para os itens.
|
|
16
20
|
*/
|
|
17
21
|
this.checkOption = false;
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
23
|
+
* Se true o background será transparent.
|
|
20
24
|
*/
|
|
21
25
|
this.isTransparent = false;
|
|
22
26
|
/**
|
|
23
|
-
*
|
|
27
|
+
* Se true a seta de ordenação será apresentada.
|
|
24
28
|
*/
|
|
25
29
|
this.arrowActive = false;
|
|
26
30
|
this.innerClickCheck = (floatingContainer, node) => {
|
|
@@ -40,7 +44,7 @@ export class EzActionsButton {
|
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
46
|
/**
|
|
43
|
-
* Oculta a lista de ações
|
|
47
|
+
* Oculta a lista de ações.
|
|
44
48
|
*/
|
|
45
49
|
async hideActions() {
|
|
46
50
|
if (this._floatingID != undefined) {
|
|
@@ -49,7 +53,7 @@ export class EzActionsButton {
|
|
|
49
53
|
this._floatingID = undefined;
|
|
50
54
|
}
|
|
51
55
|
/**
|
|
52
|
-
* Verifica se a lista de ações está
|
|
56
|
+
* Verifica se a lista de ações está aberta.
|
|
53
57
|
*/
|
|
54
58
|
async isOpened() {
|
|
55
59
|
return this._floatingID != undefined;
|
|
@@ -133,7 +137,7 @@ export class EzActionsButton {
|
|
|
133
137
|
var _a;
|
|
134
138
|
return (h(Host, null,
|
|
135
139
|
h("ez-button", { ref: elem => this._button = elem, class: (this.isTransparent ? "ez-actions-button__btn-transparent" : "") +
|
|
136
|
-
(this.showLabel ? " ez-actions-button__btn-label" : ""), label: this.showLabel && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.label), enabled: this.enabled, mode: this.showLabel ?
|
|
140
|
+
(this.showLabel ? " ez-actions-button__btn-label" : ""), label: this.showLabel && ((_a = this._selectedAction) === null || _a === void 0 ? void 0 : _a.label), enabled: this.enabled, mode: this.showLabel ? undefined : "icon", iconName: this.showLabel ? "" : this.displayIcon || "dots-vertical", size: this.size, onClick: () => this.handlerButtonClick() }, this.showLabel &&
|
|
137
141
|
h("ez-icon", { class: "ez-actions-button__icon-right", slot: "rightIcon", iconName: this.displayIcon || "dots-vertical" })),
|
|
138
142
|
h("section", { class: "ez-actions-button__list-container", ref: elem => this._listContainer = elem },
|
|
139
143
|
this.arrowActive &&
|
|
@@ -171,7 +175,7 @@ export class EzActionsButton {
|
|
|
171
175
|
"optional": false,
|
|
172
176
|
"docs": {
|
|
173
177
|
"tags": [],
|
|
174
|
-
"text": "
|
|
178
|
+
"text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o componente."
|
|
175
179
|
},
|
|
176
180
|
"attribute": "enabled",
|
|
177
181
|
"reflect": true,
|
|
@@ -196,14 +200,14 @@ export class EzActionsButton {
|
|
|
196
200
|
"optional": false,
|
|
197
201
|
"docs": {
|
|
198
202
|
"tags": [],
|
|
199
|
-
"text": "
|
|
203
|
+
"text": "Define a lista de a\u00E7\u00F5es. Os elementos devem obedecer\no formato: `{value: string, label: string}`."
|
|
200
204
|
}
|
|
201
205
|
},
|
|
202
206
|
"size": {
|
|
203
207
|
"type": "string",
|
|
204
208
|
"mutable": false,
|
|
205
209
|
"complexType": {
|
|
206
|
-
"original": "\"small\" | \"medium\" | \"large\"
|
|
210
|
+
"original": "\"small\" | \"medium\" | \"large\"",
|
|
207
211
|
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
208
212
|
"references": {}
|
|
209
213
|
},
|
|
@@ -211,10 +215,11 @@ export class EzActionsButton {
|
|
|
211
215
|
"optional": false,
|
|
212
216
|
"docs": {
|
|
213
217
|
"tags": [],
|
|
214
|
-
"text": "
|
|
218
|
+
"text": "Determina o tamanho do ez-action-button."
|
|
215
219
|
},
|
|
216
220
|
"attribute": "size",
|
|
217
|
-
"reflect": true
|
|
221
|
+
"reflect": true,
|
|
222
|
+
"defaultValue": "\"medium\""
|
|
218
223
|
},
|
|
219
224
|
"showLabel": {
|
|
220
225
|
"type": "boolean",
|
|
@@ -228,7 +233,7 @@ export class EzActionsButton {
|
|
|
228
233
|
"optional": false,
|
|
229
234
|
"docs": {
|
|
230
235
|
"tags": [],
|
|
231
|
-
"text": "
|
|
236
|
+
"text": "Se true o label ser\u00E1 apresentado."
|
|
232
237
|
},
|
|
233
238
|
"attribute": "show-label",
|
|
234
239
|
"reflect": true,
|
|
@@ -246,7 +251,7 @@ export class EzActionsButton {
|
|
|
246
251
|
"optional": false,
|
|
247
252
|
"docs": {
|
|
248
253
|
"tags": [],
|
|
249
|
-
"text": "
|
|
254
|
+
"text": "Define o \u00EDcone do componente."
|
|
250
255
|
},
|
|
251
256
|
"attribute": "display-icon",
|
|
252
257
|
"reflect": true
|
|
@@ -263,7 +268,7 @@ export class EzActionsButton {
|
|
|
263
268
|
"optional": false,
|
|
264
269
|
"docs": {
|
|
265
270
|
"tags": [],
|
|
266
|
-
"text": "
|
|
271
|
+
"text": "Se true o check ser\u00E1 apresentado para os itens."
|
|
267
272
|
},
|
|
268
273
|
"attribute": "check-option",
|
|
269
274
|
"reflect": true,
|
|
@@ -281,7 +286,7 @@ export class EzActionsButton {
|
|
|
281
286
|
"optional": false,
|
|
282
287
|
"docs": {
|
|
283
288
|
"tags": [],
|
|
284
|
-
"text": "Define
|
|
289
|
+
"text": "Define o valor do componente."
|
|
285
290
|
},
|
|
286
291
|
"attribute": "value",
|
|
287
292
|
"reflect": true
|
|
@@ -298,7 +303,7 @@ export class EzActionsButton {
|
|
|
298
303
|
"optional": false,
|
|
299
304
|
"docs": {
|
|
300
305
|
"tags": [],
|
|
301
|
-
"text": "
|
|
306
|
+
"text": "Se true o background ser\u00E1 transparent."
|
|
302
307
|
},
|
|
303
308
|
"attribute": "is-transparent",
|
|
304
309
|
"reflect": true,
|
|
@@ -316,7 +321,7 @@ export class EzActionsButton {
|
|
|
316
321
|
"optional": false,
|
|
317
322
|
"docs": {
|
|
318
323
|
"tags": [],
|
|
319
|
-
"text": "
|
|
324
|
+
"text": "Se true a seta de ordena\u00E7\u00E3o ser\u00E1 apresentada."
|
|
320
325
|
},
|
|
321
326
|
"attribute": "arrow-active",
|
|
322
327
|
"reflect": true,
|
|
@@ -334,7 +339,7 @@ export class EzActionsButton {
|
|
|
334
339
|
"composed": true,
|
|
335
340
|
"docs": {
|
|
336
341
|
"tags": [],
|
|
337
|
-
"text": "
|
|
342
|
+
"text": "Emitido ao acionar uma a\u00E7\u00E3o."
|
|
338
343
|
},
|
|
339
344
|
"complexType": {
|
|
340
345
|
"original": "IAction",
|
|
@@ -359,7 +364,7 @@ export class EzActionsButton {
|
|
|
359
364
|
"return": "Promise<void>"
|
|
360
365
|
},
|
|
361
366
|
"docs": {
|
|
362
|
-
"text": "Oculta a lista de a\u00E7\u00F5es",
|
|
367
|
+
"text": "Oculta a lista de a\u00E7\u00F5es.",
|
|
363
368
|
"tags": []
|
|
364
369
|
}
|
|
365
370
|
},
|
|
@@ -375,7 +380,7 @@ export class EzActionsButton {
|
|
|
375
380
|
"return": "Promise<boolean>"
|
|
376
381
|
},
|
|
377
382
|
"docs": {
|
|
378
|
-
"text": "Verifica se a lista de a\u00E7\u00F5es est\u00E1
|
|
383
|
+
"text": "Verifica se a lista de a\u00E7\u00F5es est\u00E1 aberta.",
|
|
379
384
|
"tags": []
|
|
380
385
|
}
|
|
381
386
|
}
|
|
@@ -3,22 +3,22 @@ import { Component, h, Prop, Method, Element } from "@stencil/core";
|
|
|
3
3
|
export class EzButton {
|
|
4
4
|
constructor() {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Se false o usuário não pode interagir com o botão.
|
|
7
7
|
*/
|
|
8
8
|
this.enabled = true;
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* Define o modo de uso do botão.
|
|
11
|
+
*/
|
|
12
12
|
this.mode = "regular";
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Aplica o foco no botão.
|
|
16
16
|
*/
|
|
17
17
|
async setFocus() {
|
|
18
18
|
this._button.focus();
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Remove o foco
|
|
21
|
+
* Remove o foco do botão.
|
|
22
22
|
*/
|
|
23
23
|
async setBlur() {
|
|
24
24
|
this._button.blur();
|
|
@@ -102,7 +102,7 @@ export class EzButton {
|
|
|
102
102
|
"optional": false,
|
|
103
103
|
"docs": {
|
|
104
104
|
"tags": [],
|
|
105
|
-
"text": "Texto
|
|
105
|
+
"text": "Texto a ser apresentado como t\u00EDtulo do bot\u00E3o."
|
|
106
106
|
},
|
|
107
107
|
"attribute": "label",
|
|
108
108
|
"reflect": true
|
|
@@ -119,7 +119,7 @@ export class EzButton {
|
|
|
119
119
|
"optional": false,
|
|
120
120
|
"docs": {
|
|
121
121
|
"tags": [],
|
|
122
|
-
"text": "
|
|
122
|
+
"text": "Se false o usu\u00E1rio n\u00E3o pode interagir com o bot\u00E3o."
|
|
123
123
|
},
|
|
124
124
|
"attribute": "enabled",
|
|
125
125
|
"reflect": true,
|
|
@@ -129,15 +129,15 @@ export class EzButton {
|
|
|
129
129
|
"type": "string",
|
|
130
130
|
"mutable": false,
|
|
131
131
|
"complexType": {
|
|
132
|
-
"original": "
|
|
133
|
-
"resolved": "
|
|
132
|
+
"original": "\"regular\" | \"icon\" | \"link\" | \"label-icon\"",
|
|
133
|
+
"resolved": "\"icon\" | \"label-icon\" | \"link\" | \"regular\"",
|
|
134
134
|
"references": {}
|
|
135
135
|
},
|
|
136
136
|
"required": false,
|
|
137
137
|
"optional": false,
|
|
138
138
|
"docs": {
|
|
139
139
|
"tags": [],
|
|
140
|
-
"text": "Define o modo de uso do bot\u00E3o
|
|
140
|
+
"text": "Define o modo de uso do bot\u00E3o."
|
|
141
141
|
},
|
|
142
142
|
"attribute": "mode",
|
|
143
143
|
"reflect": true,
|
|
@@ -155,7 +155,7 @@ export class EzButton {
|
|
|
155
155
|
"optional": false,
|
|
156
156
|
"docs": {
|
|
157
157
|
"tags": [],
|
|
158
|
-
"text": "Define o
|
|
158
|
+
"text": "Define o caminho usado nos modos `icon` e `label-icon` para imagens n\u00E3o contempladas na biblioteca de \u00EDcones."
|
|
159
159
|
},
|
|
160
160
|
"attribute": "image",
|
|
161
161
|
"reflect": true
|
|
@@ -172,7 +172,7 @@ export class EzButton {
|
|
|
172
172
|
"optional": false,
|
|
173
173
|
"docs": {
|
|
174
174
|
"tags": [],
|
|
175
|
-
"text": "
|
|
175
|
+
"text": "Define o \u00EDcone a ser usado da biblioteca de \u00EDcones: [ez-icons](https://sankhyalabs-storybook.herokuapp.com/themes/default/icons/fonts/index.html)"
|
|
176
176
|
},
|
|
177
177
|
"attribute": "icon-name",
|
|
178
178
|
"reflect": true
|
|
@@ -189,7 +189,7 @@ export class EzButton {
|
|
|
189
189
|
"optional": false,
|
|
190
190
|
"docs": {
|
|
191
191
|
"tags": [],
|
|
192
|
-
"text": "
|
|
192
|
+
"text": "Define o tamanho do ez-button."
|
|
193
193
|
},
|
|
194
194
|
"attribute": "size",
|
|
195
195
|
"reflect": true
|
|
@@ -208,7 +208,7 @@ export class EzButton {
|
|
|
208
208
|
"return": "Promise<void>"
|
|
209
209
|
},
|
|
210
210
|
"docs": {
|
|
211
|
-
"text": "
|
|
211
|
+
"text": "Aplica o foco no bot\u00E3o.",
|
|
212
212
|
"tags": []
|
|
213
213
|
}
|
|
214
214
|
},
|
|
@@ -224,7 +224,7 @@ export class EzButton {
|
|
|
224
224
|
"return": "Promise<void>"
|
|
225
225
|
},
|
|
226
226
|
"docs": {
|
|
227
|
-
"text": "Remove o foco
|
|
227
|
+
"text": "Remove o foco do bot\u00E3o.",
|
|
228
228
|
"tags": []
|
|
229
229
|
}
|
|
230
230
|
}
|