@sankhyalabs/ezui 3.0.1 → 3.0.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/dist/cjs/ez-actions-button.cjs.entry.js +12 -26
- package/dist/cjs/ez-alert.cjs.entry.js +2 -5
- package/dist/cjs/ez-application.cjs.entry.js +2 -2
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +2 -5
- package/dist/cjs/ez-button.cjs.entry.js +6 -8
- package/dist/cjs/ez-calendar.cjs.entry.js +2 -14
- package/dist/cjs/ez-card-item.cjs.entry.js +3 -2
- package/dist/cjs/ez-check.cjs.entry.js +5 -8
- package/dist/cjs/ez-chip.cjs.entry.js +5 -8
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -20
- package/dist/cjs/ez-combo-box.cjs.entry.js +11 -23
- package/dist/cjs/ez-date-input.cjs.entry.js +5 -8
- package/dist/cjs/ez-date-time-input.cjs.entry.js +5 -11
- package/dist/cjs/ez-dialog.cjs.entry.js +7 -9
- package/dist/cjs/ez-dropdown.cjs.entry.js +4 -5
- package/dist/cjs/ez-file-item.cjs.entry.js +5 -8
- package/dist/cjs/ez-filter-input_4.cjs.entry.js +14 -23
- package/dist/cjs/ez-form-view.cjs.entry.js +3 -2
- package/dist/cjs/ez-form.cjs.entry.js +26 -20
- package/dist/cjs/ez-grid.cjs.entry.js +11110 -6777
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +3 -11
- package/dist/cjs/ez-icon.cjs.entry.js +4 -5
- package/dist/cjs/ez-list.cjs.entry.js +4 -15
- package/dist/cjs/ez-loading-bar.cjs.entry.js +2 -2
- package/dist/cjs/ez-modal-container.cjs.entry.js +8 -5
- package/dist/cjs/ez-modal.cjs.entry.js +7 -14
- package/dist/cjs/ez-number-input.cjs.entry.js +7 -8
- package/dist/cjs/ez-popover.cjs.entry.js +11 -30
- package/dist/cjs/ez-popup.cjs.entry.js +3 -14
- package/dist/cjs/ez-radio-button.cjs.entry.js +4 -11
- package/dist/cjs/ez-search.cjs.entry.js +6 -17
- package/dist/cjs/ez-tabselector.cjs.entry.js +6 -2
- package/dist/cjs/ez-text-area.cjs.entry.js +5 -14
- package/dist/cjs/ez-text-edit.cjs.entry.js +5 -2
- package/dist/cjs/ez-text-input.cjs.entry.js +7 -14
- package/dist/cjs/ez-time-input.cjs.entry.js +5 -11
- package/dist/cjs/ez-toast.cjs.entry.js +3 -11
- package/dist/cjs/ez-upload.cjs.entry.js +9 -5
- package/dist/cjs/ez-view-stack.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +6 -2
- package/dist/cjs/{index-5e208fa5.js → index-892780f1.js} +588 -248
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/ez-actions-button/ez-actions-button.js +248 -256
- package/dist/collection/components/ez-alert/ez-alert.js +34 -36
- package/dist/collection/components/ez-application/ez-application.js +29 -23
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js +61 -60
- package/dist/collection/components/ez-button/ez-button.js +159 -159
- package/dist/collection/components/ez-calendar/ez-calendar.js +214 -244
- package/dist/collection/components/ez-card-item/ez-card-item.js +60 -58
- package/dist/collection/components/ez-check/ez-check.js +164 -157
- package/dist/collection/components/ez-chip/ez-chip.js +190 -186
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +282 -293
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +348 -361
- package/dist/collection/components/ez-date-input/ez-date-input.js +213 -207
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +233 -228
- package/dist/collection/components/ez-dialog/ez-dialog.js +203 -209
- package/dist/collection/components/ez-dropdown/ez-dropdown.js +128 -127
- package/dist/collection/components/ez-dropdown/structure/DropdownItem.js +1 -4
- package/dist/collection/components/ez-file-item/ez-file-item.js +144 -142
- package/dist/collection/components/ez-filter-input/ez-filter-input.js +197 -188
- package/dist/collection/components/ez-form/DataBinder.js +12 -6
- package/dist/collection/components/ez-form/ez-form.js +191 -177
- package/dist/collection/components/ez-form-view/ez-form-view.js +38 -29
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +3 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +1 -2
- package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js +1 -1
- package/dist/collection/components/ez-grid/ez-grid.js +365 -351
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js +120 -125
- package/dist/collection/components/ez-icon/ez-icon.js +68 -64
- package/dist/collection/components/ez-list/ez-list.js +246 -266
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js +49 -42
- package/dist/collection/components/ez-modal/ez-modal.js +143 -143
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +153 -155
- package/dist/collection/components/ez-number-input/ez-number-input.js +246 -233
- package/dist/collection/components/ez-popover/ez-popover.js +273 -283
- package/dist/collection/components/ez-popup/ez-popup.js +121 -133
- package/dist/collection/components/ez-radio-button/ez-radio-button.js +123 -126
- package/dist/collection/components/ez-scroller/ez-scroller.js +104 -100
- package/dist/collection/components/ez-search/ez-search.js +260 -259
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +30 -25
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +115 -106
- package/dist/collection/components/ez-text-area/ez-text-area.js +217 -218
- package/dist/collection/components/ez-text-edit/ez-text-edit.js +109 -96
- package/dist/collection/components/ez-text-input/ez-text-input.js +248 -248
- package/dist/collection/components/ez-time-input/ez-time-input.js +227 -223
- package/dist/collection/components/ez-toast/ez-toast.js +117 -121
- package/dist/collection/components/ez-tree/ez-tree.js +289 -275
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +7 -11
- package/dist/collection/components/ez-upload/ez-upload.js +283 -281
- package/dist/collection/components/ez-view-stack/ez-view-stack.js +46 -40
- package/dist/custom-elements/index.js +11097 -6940
- package/dist/esm/ez-actions-button.entry.js +12 -26
- package/dist/esm/ez-alert.entry.js +2 -5
- package/dist/esm/ez-application.entry.js +2 -2
- package/dist/esm/ez-breadcrumb.entry.js +2 -5
- package/dist/esm/ez-button.entry.js +6 -8
- package/dist/esm/ez-calendar.entry.js +2 -14
- package/dist/esm/ez-card-item.entry.js +3 -2
- package/dist/esm/ez-check.entry.js +5 -8
- package/dist/esm/ez-chip.entry.js +5 -8
- package/dist/esm/ez-collapsible-box.entry.js +4 -20
- package/dist/esm/ez-combo-box.entry.js +11 -23
- package/dist/esm/ez-date-input.entry.js +5 -8
- package/dist/esm/ez-date-time-input.entry.js +5 -11
- package/dist/esm/ez-dialog.entry.js +7 -9
- package/dist/esm/ez-dropdown.entry.js +4 -5
- package/dist/esm/ez-file-item.entry.js +5 -8
- package/dist/esm/ez-filter-input_4.entry.js +14 -23
- package/dist/esm/ez-form-view.entry.js +3 -2
- package/dist/esm/ez-form.entry.js +26 -20
- package/dist/esm/ez-grid.entry.js +11110 -6777
- package/dist/esm/ez-guide-navigator.entry.js +3 -11
- package/dist/esm/ez-icon.entry.js +4 -5
- package/dist/esm/ez-list.entry.js +4 -15
- package/dist/esm/ez-loading-bar.entry.js +2 -2
- package/dist/esm/ez-modal-container.entry.js +8 -5
- package/dist/esm/ez-modal.entry.js +7 -14
- package/dist/esm/ez-number-input.entry.js +7 -8
- package/dist/esm/ez-popover.entry.js +11 -30
- package/dist/esm/ez-popup.entry.js +3 -14
- package/dist/esm/ez-radio-button.entry.js +4 -11
- package/dist/esm/ez-search.entry.js +6 -17
- package/dist/esm/ez-tabselector.entry.js +6 -2
- package/dist/esm/ez-text-area.entry.js +5 -14
- package/dist/esm/ez-text-edit.entry.js +5 -2
- package/dist/esm/ez-text-input.entry.js +7 -14
- package/dist/esm/ez-time-input.entry.js +5 -11
- package/dist/esm/ez-toast.entry.js +3 -11
- package/dist/esm/ez-upload.entry.js +9 -5
- package/dist/esm/ez-view-stack.entry.js +2 -2
- package/dist/esm/ezui.js +3 -2
- package/dist/esm/{index-c5203f95.js → index-de655f48.js} +588 -249
- package/dist/esm/loader.js +3 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-df20c613.entry.js → p-06b3e801.entry.js} +1 -1
- package/dist/ezui/p-07b99b94.entry.js +1 -0
- package/dist/ezui/p-0c7e81fe.entry.js +1 -0
- package/dist/ezui/p-1581fece.entry.js +1 -0
- package/dist/ezui/p-1b95836f.entry.js +1 -0
- package/dist/ezui/p-36f7ec68.entry.js +1 -0
- package/dist/ezui/p-37b4bf04.entry.js +1 -0
- package/dist/ezui/p-493e2af4.entry.js +1 -0
- package/dist/ezui/p-4bfed869.entry.js +1 -0
- package/dist/ezui/p-600f1732.entry.js +1 -0
- package/dist/ezui/p-62481744.entry.js +1 -0
- package/dist/ezui/p-6818dd0a.entry.js +1 -0
- package/dist/ezui/p-695facd0.entry.js +1 -0
- package/dist/ezui/p-7ffd12e7.js +2 -0
- package/dist/ezui/p-82db6de7.entry.js +1 -0
- package/dist/ezui/p-86d29565.entry.js +1 -0
- package/dist/ezui/p-8ca4750d.entry.js +1 -0
- package/dist/ezui/p-9613fae6.entry.js +1 -0
- package/dist/ezui/{p-fc97f773.entry.js → p-a323b415.entry.js} +1 -1
- package/dist/ezui/p-a4b281ca.entry.js +1 -0
- package/dist/ezui/p-a67e056f.entry.js +1 -0
- package/dist/ezui/p-a8c7355e.entry.js +1 -0
- package/dist/ezui/p-ada6e6b0.entry.js +1 -0
- package/dist/ezui/p-b1e4ccf4.entry.js +1 -0
- package/dist/ezui/p-b3c7b243.entry.js +1 -0
- package/dist/ezui/p-b405d9b6.entry.js +304 -0
- package/dist/ezui/p-b941aeee.entry.js +1 -0
- package/dist/ezui/p-c0184982.entry.js +1 -0
- package/dist/ezui/p-c1300e84.entry.js +1 -0
- package/dist/ezui/p-c98e571a.entry.js +1 -0
- package/dist/ezui/p-cc40fcb3.entry.js +1 -0
- package/dist/ezui/p-cc5cfcb7.entry.js +1 -0
- package/dist/ezui/p-d6dd32b2.entry.js +1 -0
- package/dist/ezui/p-db131605.entry.js +1 -0
- package/dist/ezui/{p-ba03ac61.entry.js → p-e0d756d9.entry.js} +1 -1
- package/dist/ezui/p-eceb9382.entry.js +1 -0
- package/dist/ezui/p-f18d39e6.entry.js +1 -0
- package/dist/ezui/p-f670bd32.entry.js +1 -0
- package/dist/ezui/p-fcf6cf57.entry.js +1 -0
- package/dist/ezui/p-fd87638e.entry.js +1 -0
- package/dist/types/components.d.ts +195 -63
- package/dist/types/stencil-public-runtime.d.ts +79 -7
- package/loader/index.d.ts +9 -0
- package/loader/package.json +1 -0
- package/package.json +4 -4
- package/react/components.d.ts +0 -1
- package/dist/ezui/p-0cd0545d.entry.js +0 -1
- package/dist/ezui/p-1a27bb9f.entry.js +0 -1
- package/dist/ezui/p-1b94b9dc.entry.js +0 -1
- package/dist/ezui/p-20c01161.entry.js +0 -1
- package/dist/ezui/p-24717f87.entry.js +0 -1
- package/dist/ezui/p-3320768e.entry.js +0 -1
- package/dist/ezui/p-368037b9.entry.js +0 -1
- package/dist/ezui/p-47bcc678.entry.js +0 -1
- package/dist/ezui/p-4c444816.entry.js +0 -1
- package/dist/ezui/p-608d13e8.entry.js +0 -1
- package/dist/ezui/p-626b8940.entry.js +0 -1
- package/dist/ezui/p-6414e7cb.entry.js +0 -1
- package/dist/ezui/p-6630eca2.entry.js +0 -1
- package/dist/ezui/p-67b9a2cb.entry.js +0 -1
- package/dist/ezui/p-6f9aba86.entry.js +0 -1
- package/dist/ezui/p-7b80df03.js +0 -1
- package/dist/ezui/p-7d42065a.entry.js +0 -1
- package/dist/ezui/p-97d2d2f6.entry.js +0 -1
- package/dist/ezui/p-99aea44b.entry.js +0 -1
- package/dist/ezui/p-a4b4645d.entry.js +0 -1
- package/dist/ezui/p-ab5eee38.entry.js +0 -1
- package/dist/ezui/p-ad7151e0.entry.js +0 -1
- package/dist/ezui/p-ad8b7412.entry.js +0 -1
- package/dist/ezui/p-ae168e45.entry.js +0 -1
- package/dist/ezui/p-b2e861cb.entry.js +0 -1
- package/dist/ezui/p-b2efb22c.entry.js +0 -1
- package/dist/ezui/p-b4ccb29c.entry.js +0 -304
- package/dist/ezui/p-b5557d33.entry.js +0 -1
- package/dist/ezui/p-bd9792e2.entry.js +0 -1
- package/dist/ezui/p-bf8a633d.entry.js +0 -1
- package/dist/ezui/p-c071db26.entry.js +0 -1
- package/dist/ezui/p-c3529df3.entry.js +0 -1
- package/dist/ezui/p-c53b2db8.entry.js +0 -1
- package/dist/ezui/p-ca7435a6.entry.js +0 -1
- package/dist/ezui/p-cc038b32.entry.js +0 -1
- package/dist/ezui/p-e203c89f.entry.js +0 -1
- package/dist/ezui/p-f08de60b.entry.js +0 -1
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { ElementIDUtils } from "@sankhyalabs/core";
|
|
2
|
-
import {
|
|
2
|
+
import { h, Host } from "@stencil/core";
|
|
3
3
|
import AgGridController from "./controller/ag-grid/AgGridController";
|
|
4
4
|
export class EzGrid {
|
|
5
5
|
constructor() {
|
|
6
6
|
this._gridController = new AgGridController(false);
|
|
7
|
+
this._paginationInfo = undefined;
|
|
7
8
|
this._paginationChangedByKeyboard = true;
|
|
9
|
+
this.multipleSelection = undefined;
|
|
10
|
+
this.config = undefined;
|
|
11
|
+
this.serverUrl = undefined;
|
|
12
|
+
this.dataUnit = undefined;
|
|
13
|
+
this.statusResolver = undefined;
|
|
8
14
|
}
|
|
9
15
|
/**
|
|
10
16
|
* Aplica a definição de colunas.
|
|
@@ -172,9 +178,7 @@ export class EzGrid {
|
|
|
172
178
|
if (this._paginationInfo) {
|
|
173
179
|
const { firstRecord, lastRecord, total, currentPage, hasMore } = this._paginationInfo;
|
|
174
180
|
return [
|
|
175
|
-
h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" },
|
|
176
|
-
h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, `${firstRecord}-${lastRecord}`),
|
|
177
|
-
` de ${total}`),
|
|
181
|
+
h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" }, h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, `${firstRecord}-${lastRecord}`), ` de ${total}`),
|
|
178
182
|
h("ez-button", { size: "small", iconName: "chevron-left", class: "ez-margin-right--medium", mode: "icon", enabled: currentPage > 0, onClick: () => this.previousPage(), label: "P\u00E1gina anterior" }),
|
|
179
183
|
h("ez-button", { size: "small", iconName: "chevron-right", class: "ez-margin-right--medium", mode: "icon", enabled: hasMore, onClick: () => this.nextPage(), label: "Pr\u00F3xima P\u00E1gina" })
|
|
180
184
|
];
|
|
@@ -185,396 +189,406 @@ export class EzGrid {
|
|
|
185
189
|
this._gridController.setColumnsState(config.columns);
|
|
186
190
|
}
|
|
187
191
|
render() {
|
|
188
|
-
return (h(Host, null,
|
|
189
|
-
h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" },
|
|
190
|
-
h("div", { class: "grid-header__container" },
|
|
191
|
-
h("slot", { name: "leftButtons" })),
|
|
192
|
-
h("div", { class: "grid-header__container", ref: ref => this._refPaginationControl = ref }, this.getPaginationControl())),
|
|
193
|
-
h("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }),
|
|
194
|
-
h("div", { class: "grid__footer" })));
|
|
192
|
+
return (h(Host, null, h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, h("div", { class: "grid-header__container" }, h("slot", { name: "leftButtons" })), h("div", { class: "grid-header__container", ref: ref => this._refPaginationControl = ref }, this.getPaginationControl())), h("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }), h("div", { class: "grid__footer" })));
|
|
195
193
|
}
|
|
196
194
|
static get is() { return "ez-grid"; }
|
|
197
195
|
static get encapsulation() { return "scoped"; }
|
|
198
|
-
static get originalStyleUrls() {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
196
|
+
static get originalStyleUrls() {
|
|
197
|
+
return {
|
|
198
|
+
"$": ["ez-grid.css"]
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
static get styleUrls() {
|
|
202
|
+
return {
|
|
203
|
+
"$": ["ez-grid.css"]
|
|
204
|
+
};
|
|
205
|
+
}
|
|
204
206
|
static get assetsDirs() { return ["../assets"]; }
|
|
205
|
-
static get properties() {
|
|
206
|
-
|
|
207
|
-
"
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
"
|
|
218
|
-
|
|
207
|
+
static get properties() {
|
|
208
|
+
return {
|
|
209
|
+
"multipleSelection": {
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "boolean",
|
|
214
|
+
"resolved": "boolean",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": false,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": "Habilita a sele\u00E7\u00E3o de v\u00E1rias linhas."
|
|
222
|
+
},
|
|
223
|
+
"attribute": "multiple-selection",
|
|
224
|
+
"reflect": false
|
|
219
225
|
},
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
"location": "import",
|
|
232
|
-
"path": "./controller/EzGridController"
|
|
226
|
+
"config": {
|
|
227
|
+
"type": "unknown",
|
|
228
|
+
"mutable": true,
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "IGridConfig",
|
|
231
|
+
"resolved": "IGridConfig",
|
|
232
|
+
"references": {
|
|
233
|
+
"IGridConfig": {
|
|
234
|
+
"location": "import",
|
|
235
|
+
"path": "./controller/EzGridController"
|
|
236
|
+
}
|
|
233
237
|
}
|
|
238
|
+
},
|
|
239
|
+
"required": false,
|
|
240
|
+
"optional": false,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Configura\u00E7\u00E3o de exibi\u00E7\u00E3o da grade."
|
|
234
244
|
}
|
|
235
245
|
},
|
|
236
|
-
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
"
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
"optional": false,
|
|
253
|
-
"docs": {
|
|
254
|
-
"tags": [],
|
|
255
|
-
"text": "Endere\u00E7o do servidor para obten\u00E7\u00E3o dos dados."
|
|
246
|
+
"serverUrl": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"mutable": false,
|
|
249
|
+
"complexType": {
|
|
250
|
+
"original": "string",
|
|
251
|
+
"resolved": "string",
|
|
252
|
+
"references": {}
|
|
253
|
+
},
|
|
254
|
+
"required": false,
|
|
255
|
+
"optional": false,
|
|
256
|
+
"docs": {
|
|
257
|
+
"tags": [],
|
|
258
|
+
"text": "Endere\u00E7o do servidor para obten\u00E7\u00E3o dos dados."
|
|
259
|
+
},
|
|
260
|
+
"attribute": "server-url",
|
|
261
|
+
"reflect": false
|
|
256
262
|
},
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
"location": "import",
|
|
269
|
-
"path": "@sankhyalabs/core"
|
|
263
|
+
"dataUnit": {
|
|
264
|
+
"type": "unknown",
|
|
265
|
+
"mutable": false,
|
|
266
|
+
"complexType": {
|
|
267
|
+
"original": "DataUnit",
|
|
268
|
+
"resolved": "DataUnit",
|
|
269
|
+
"references": {
|
|
270
|
+
"DataUnit": {
|
|
271
|
+
"location": "import",
|
|
272
|
+
"path": "@sankhyalabs/core"
|
|
273
|
+
}
|
|
270
274
|
}
|
|
275
|
+
},
|
|
276
|
+
"required": false,
|
|
277
|
+
"optional": false,
|
|
278
|
+
"docs": {
|
|
279
|
+
"tags": [],
|
|
280
|
+
"text": "Unidade de dados. Respons\u00E1vel pelo controle de edi\u00E7\u00E3o de registros e \ninforma\u00E7\u00F5es pertinentes aos campos."
|
|
271
281
|
}
|
|
272
282
|
},
|
|
273
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
"
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
"original": "IStatusResolver",
|
|
285
|
-
"resolved": "IStatusResolver",
|
|
286
|
-
"references": {
|
|
287
|
-
"IStatusResolver": {
|
|
288
|
-
"location": "import",
|
|
289
|
-
"path": "./controller/EzGridController"
|
|
283
|
+
"statusResolver": {
|
|
284
|
+
"type": "unknown",
|
|
285
|
+
"mutable": false,
|
|
286
|
+
"complexType": {
|
|
287
|
+
"original": "IStatusResolver",
|
|
288
|
+
"resolved": "IStatusResolver",
|
|
289
|
+
"references": {
|
|
290
|
+
"IStatusResolver": {
|
|
291
|
+
"location": "import",
|
|
292
|
+
"path": "./controller/EzGridController"
|
|
293
|
+
}
|
|
290
294
|
}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": false,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": "Define um `IStatusResolver` respons\u00E1vel pelo estado da coluna de status."
|
|
291
301
|
}
|
|
292
|
-
},
|
|
293
|
-
"required": false,
|
|
294
|
-
"optional": false,
|
|
295
|
-
"docs": {
|
|
296
|
-
"tags": [],
|
|
297
|
-
"text": "Define um `IStatusResolver` respons\u00E1vel pelo estado da coluna de status."
|
|
298
302
|
}
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
static get states() {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
"
|
|
313
|
-
"
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
"
|
|
319
|
-
"
|
|
320
|
-
|
|
321
|
-
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
static get states() {
|
|
306
|
+
return {
|
|
307
|
+
"_paginationInfo": {},
|
|
308
|
+
"_paginationChangedByKeyboard": {}
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
static get events() {
|
|
312
|
+
return [{
|
|
313
|
+
"method": "ezColumnStateChange",
|
|
314
|
+
"name": "ezColumnStateChange",
|
|
315
|
+
"bubbles": true,
|
|
316
|
+
"cancelable": true,
|
|
317
|
+
"composed": true,
|
|
318
|
+
"docs": {
|
|
319
|
+
"tags": [],
|
|
320
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de estado das colunas do grid: Ordena\u00E7\u00E3o, largura, etc."
|
|
321
|
+
},
|
|
322
|
+
"complexType": {
|
|
323
|
+
"original": "EzGridColumStateEvent",
|
|
324
|
+
"resolved": "EzGridColumStateEvent",
|
|
325
|
+
"references": {
|
|
326
|
+
"EzGridColumStateEvent": {
|
|
327
|
+
"location": "import",
|
|
328
|
+
"path": "./controller/EzGridController"
|
|
329
|
+
}
|
|
322
330
|
}
|
|
323
331
|
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
332
|
+
}, {
|
|
333
|
+
"method": "ezSelectionChange",
|
|
334
|
+
"name": "ezSelectionChange",
|
|
335
|
+
"bubbles": true,
|
|
336
|
+
"cancelable": true,
|
|
337
|
+
"composed": true,
|
|
338
|
+
"docs": {
|
|
339
|
+
"tags": [],
|
|
340
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de sele\u00E7\u00E3o de linhas."
|
|
341
|
+
},
|
|
342
|
+
"complexType": {
|
|
343
|
+
"original": "Array<any>",
|
|
344
|
+
"resolved": "any[]",
|
|
345
|
+
"references": {
|
|
346
|
+
"Array": {
|
|
347
|
+
"location": "global"
|
|
348
|
+
}
|
|
341
349
|
}
|
|
342
350
|
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
351
|
+
}, {
|
|
352
|
+
"method": "ezDoubleClick",
|
|
353
|
+
"name": "ezDoubleClick",
|
|
354
|
+
"bubbles": true,
|
|
355
|
+
"cancelable": true,
|
|
356
|
+
"composed": true,
|
|
357
|
+
"docs": {
|
|
358
|
+
"tags": [],
|
|
359
|
+
"text": "Emitido com o duplo clique de uma linha"
|
|
360
|
+
},
|
|
361
|
+
"complexType": {
|
|
362
|
+
"original": "any",
|
|
363
|
+
"resolved": "any",
|
|
364
|
+
"references": {}
|
|
365
|
+
}
|
|
366
|
+
}, {
|
|
367
|
+
"method": "configChange",
|
|
368
|
+
"name": "configChange",
|
|
369
|
+
"bubbles": true,
|
|
370
|
+
"cancelable": true,
|
|
371
|
+
"composed": true,
|
|
372
|
+
"docs": {
|
|
373
|
+
"tags": [],
|
|
374
|
+
"text": "Emitido quando acontece a altera\u00E7\u00E3o de configura\u00E7\u00E3o do grade."
|
|
375
|
+
},
|
|
376
|
+
"complexType": {
|
|
377
|
+
"original": "IGridConfig",
|
|
378
|
+
"resolved": "IGridConfig",
|
|
379
|
+
"references": {
|
|
380
|
+
"IGridConfig": {
|
|
381
|
+
"location": "import",
|
|
382
|
+
"path": "./controller/EzGridController"
|
|
383
|
+
}
|
|
376
384
|
}
|
|
377
385
|
}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
static get methods() {
|
|
381
|
-
|
|
382
|
-
"
|
|
383
|
-
"
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
"
|
|
386
|
+
}];
|
|
387
|
+
}
|
|
388
|
+
static get methods() {
|
|
389
|
+
return {
|
|
390
|
+
"setColumnsDef": {
|
|
391
|
+
"complexType": {
|
|
392
|
+
"signature": "(cols: Array<EzGridColumn>) => Promise<void>",
|
|
393
|
+
"parameters": [{
|
|
394
|
+
"tags": [],
|
|
395
|
+
"text": ""
|
|
396
|
+
}],
|
|
397
|
+
"references": {
|
|
398
|
+
"Promise": {
|
|
399
|
+
"location": "global"
|
|
400
|
+
},
|
|
401
|
+
"Array": {
|
|
402
|
+
"location": "global"
|
|
403
|
+
},
|
|
404
|
+
"EzGridColumn": {
|
|
405
|
+
"location": "import",
|
|
406
|
+
"path": "./controller/EzGridController"
|
|
407
|
+
}
|
|
394
408
|
},
|
|
395
|
-
"
|
|
396
|
-
"location": "import",
|
|
397
|
-
"path": "./controller/EzGridController"
|
|
398
|
-
}
|
|
409
|
+
"return": "Promise<void>"
|
|
399
410
|
},
|
|
400
|
-
"
|
|
411
|
+
"docs": {
|
|
412
|
+
"text": "Aplica a defini\u00E7\u00E3o de colunas.",
|
|
413
|
+
"tags": []
|
|
414
|
+
}
|
|
401
415
|
},
|
|
402
|
-
"
|
|
403
|
-
"
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
"location": "global"
|
|
416
|
+
"addColumnMenuItem": {
|
|
417
|
+
"complexType": {
|
|
418
|
+
"signature": "(label: string, name: string, action: Function) => Promise<void>",
|
|
419
|
+
"parameters": [{
|
|
420
|
+
"tags": [],
|
|
421
|
+
"text": ""
|
|
422
|
+
}, {
|
|
423
|
+
"tags": [],
|
|
424
|
+
"text": ""
|
|
425
|
+
}, {
|
|
426
|
+
"tags": [],
|
|
427
|
+
"text": ""
|
|
428
|
+
}],
|
|
429
|
+
"references": {
|
|
430
|
+
"Promise": {
|
|
431
|
+
"location": "global"
|
|
432
|
+
},
|
|
433
|
+
"Function": {
|
|
434
|
+
"location": "global"
|
|
435
|
+
}
|
|
423
436
|
},
|
|
424
|
-
"
|
|
425
|
-
"location": "global"
|
|
426
|
-
}
|
|
437
|
+
"return": "Promise<void>"
|
|
427
438
|
},
|
|
428
|
-
"
|
|
439
|
+
"docs": {
|
|
440
|
+
"text": "Adiciona item de menu nas colunas.",
|
|
441
|
+
"tags": []
|
|
442
|
+
}
|
|
429
443
|
},
|
|
430
|
-
"
|
|
431
|
-
"
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
"
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
444
|
+
"setColumnsState": {
|
|
445
|
+
"complexType": {
|
|
446
|
+
"signature": "(state: Array<EzGridColumnConfig>) => Promise<void>",
|
|
447
|
+
"parameters": [{
|
|
448
|
+
"tags": [],
|
|
449
|
+
"text": ""
|
|
450
|
+
}],
|
|
451
|
+
"references": {
|
|
452
|
+
"Promise": {
|
|
453
|
+
"location": "global"
|
|
454
|
+
},
|
|
455
|
+
"Array": {
|
|
456
|
+
"location": "global"
|
|
457
|
+
},
|
|
458
|
+
"EzGridColumnConfig": {
|
|
459
|
+
"location": "import",
|
|
460
|
+
"path": "./controller/EzGridController"
|
|
461
|
+
}
|
|
448
462
|
},
|
|
449
|
-
"
|
|
450
|
-
"location": "import",
|
|
451
|
-
"path": "./controller/EzGridController"
|
|
452
|
-
}
|
|
463
|
+
"return": "Promise<void>"
|
|
453
464
|
},
|
|
454
|
-
"
|
|
465
|
+
"docs": {
|
|
466
|
+
"text": "Aplica o estado das colunas.",
|
|
467
|
+
"tags": []
|
|
468
|
+
}
|
|
455
469
|
},
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
"location": "global"
|
|
470
|
+
"setData": {
|
|
471
|
+
"complexType": {
|
|
472
|
+
"signature": "(data: Array<any>) => Promise<void>",
|
|
473
|
+
"parameters": [{
|
|
474
|
+
"tags": [],
|
|
475
|
+
"text": ""
|
|
476
|
+
}],
|
|
477
|
+
"references": {
|
|
478
|
+
"Promise": {
|
|
479
|
+
"location": "global"
|
|
480
|
+
},
|
|
481
|
+
"Array": {
|
|
482
|
+
"location": "global"
|
|
483
|
+
}
|
|
471
484
|
},
|
|
472
|
-
"
|
|
473
|
-
"location": "global"
|
|
474
|
-
}
|
|
485
|
+
"return": "Promise<void>"
|
|
475
486
|
},
|
|
476
|
-
"
|
|
487
|
+
"docs": {
|
|
488
|
+
"text": "Insere os registros no ez-grid.",
|
|
489
|
+
"tags": []
|
|
490
|
+
}
|
|
477
491
|
},
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
"location": "global"
|
|
492
|
+
"getSelection": {
|
|
493
|
+
"complexType": {
|
|
494
|
+
"signature": "() => Promise<Array<any>>",
|
|
495
|
+
"parameters": [],
|
|
496
|
+
"references": {
|
|
497
|
+
"Promise": {
|
|
498
|
+
"location": "global"
|
|
499
|
+
},
|
|
500
|
+
"Array": {
|
|
501
|
+
"location": "global"
|
|
502
|
+
}
|
|
490
503
|
},
|
|
491
|
-
"
|
|
492
|
-
"location": "global"
|
|
493
|
-
}
|
|
504
|
+
"return": "Promise<any[]>"
|
|
494
505
|
},
|
|
495
|
-
"
|
|
506
|
+
"docs": {
|
|
507
|
+
"text": "Obt\u00E9m as linhas selecionadas.",
|
|
508
|
+
"tags": []
|
|
509
|
+
}
|
|
496
510
|
},
|
|
497
|
-
"
|
|
498
|
-
"
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
"path": "./controller/EzGridController"
|
|
511
|
+
"getColumnsState": {
|
|
512
|
+
"complexType": {
|
|
513
|
+
"signature": "() => Promise<Array<EzGridColumn>>",
|
|
514
|
+
"parameters": [],
|
|
515
|
+
"references": {
|
|
516
|
+
"Promise": {
|
|
517
|
+
"location": "global"
|
|
518
|
+
},
|
|
519
|
+
"EzGridColumn": {
|
|
520
|
+
"location": "import",
|
|
521
|
+
"path": "./controller/EzGridController"
|
|
522
|
+
},
|
|
523
|
+
"Array": {
|
|
524
|
+
"location": "global"
|
|
525
|
+
}
|
|
513
526
|
},
|
|
514
|
-
"
|
|
515
|
-
"location": "global"
|
|
516
|
-
}
|
|
527
|
+
"return": "Promise<EzGridColumn[]>"
|
|
517
528
|
},
|
|
518
|
-
"
|
|
529
|
+
"docs": {
|
|
530
|
+
"text": "Obt\u00E9m o estado atual das colunas.",
|
|
531
|
+
"tags": []
|
|
532
|
+
}
|
|
519
533
|
},
|
|
520
|
-
"
|
|
521
|
-
"
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
"path": "./controller/EzGridController"
|
|
534
|
+
"getColumns": {
|
|
535
|
+
"complexType": {
|
|
536
|
+
"signature": "() => Promise<Array<EzGridColumn>>",
|
|
537
|
+
"parameters": [],
|
|
538
|
+
"references": {
|
|
539
|
+
"Promise": {
|
|
540
|
+
"location": "global"
|
|
541
|
+
},
|
|
542
|
+
"EzGridColumn": {
|
|
543
|
+
"location": "import",
|
|
544
|
+
"path": "./controller/EzGridController"
|
|
545
|
+
},
|
|
546
|
+
"Array": {
|
|
547
|
+
"location": "global"
|
|
548
|
+
}
|
|
536
549
|
},
|
|
537
|
-
"
|
|
538
|
-
"location": "global"
|
|
539
|
-
}
|
|
550
|
+
"return": "Promise<EzGridColumn[]>"
|
|
540
551
|
},
|
|
541
|
-
"
|
|
552
|
+
"docs": {
|
|
553
|
+
"text": "Obt\u00E9m a lista de defini\u00E7\u00E3o de colunas.",
|
|
554
|
+
"tags": []
|
|
555
|
+
}
|
|
542
556
|
},
|
|
543
|
-
"
|
|
544
|
-
"
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
"Promise": {
|
|
557
|
-
"location": "global"
|
|
558
|
-
}
|
|
557
|
+
"quickFilter": {
|
|
558
|
+
"complexType": {
|
|
559
|
+
"signature": "(term: string) => Promise<void>",
|
|
560
|
+
"parameters": [{
|
|
561
|
+
"tags": [],
|
|
562
|
+
"text": ""
|
|
563
|
+
}],
|
|
564
|
+
"references": {
|
|
565
|
+
"Promise": {
|
|
566
|
+
"location": "global"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"return": "Promise<void>"
|
|
559
570
|
},
|
|
560
|
-
"
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
"tags": []
|
|
571
|
+
"docs": {
|
|
572
|
+
"text": "Aplica um filtro r\u00E1pido.",
|
|
573
|
+
"tags": []
|
|
574
|
+
}
|
|
565
575
|
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
576
|
+
};
|
|
577
|
+
}
|
|
568
578
|
static get elementRef() { return "_element"; }
|
|
569
|
-
static get watchers() {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
579
|
+
static get watchers() {
|
|
580
|
+
return [{
|
|
581
|
+
"propName": "config",
|
|
582
|
+
"methodName": "observeConfig"
|
|
583
|
+
}];
|
|
584
|
+
}
|
|
585
|
+
static get listeners() {
|
|
586
|
+
return [{
|
|
587
|
+
"name": "ezSelectionChange",
|
|
588
|
+
"method": "onSelectionChange",
|
|
589
|
+
"target": undefined,
|
|
590
|
+
"capture": false,
|
|
591
|
+
"passive": false
|
|
592
|
+
}];
|
|
593
|
+
}
|
|
580
594
|
}
|