@sankhyalabs/ezui 1.1.125 → 1.1.128
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-collapsible-box.cjs.entry.js +22 -9
- package/dist/cjs/ez-form.cjs.entry.js +18 -15
- package/dist/cjs/ez-grid.cjs.entry.js +115 -25
- package/dist/cjs/ez-list.cjs.entry.js +6 -0
- package/dist/cjs/ez-tabselector.cjs.entry.js +2 -2
- package/dist/cjs/ez-text-area.cjs.entry.js +13 -3
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/grid-config.cjs.entry.js +164 -32
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/select-box.cjs.entry.js +1 -1
- package/dist/collection/components/ez-check/ez-check.js +1 -1
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +92 -83
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +52 -21
- package/dist/collection/components/ez-form/ez-form.css +5 -0
- package/dist/collection/components/ez-form/fieldbuilder/tpl/CheckBox.tpl.js +1 -1
- package/dist/collection/components/ez-form/fieldbuilder/tpl/ComboBox.tpl.js +1 -1
- package/dist/collection/components/ez-form/fieldbuilder/tpl/DateInput.tpl.js +3 -3
- package/dist/collection/components/ez-form/fieldbuilder/tpl/FileInput.tpl.js +1 -1
- package/dist/collection/components/ez-form/fieldbuilder/tpl/NumberInput.tpl.js +1 -1
- package/dist/collection/components/ez-form/fieldbuilder/tpl/SearchInput.tpl.js +1 -1
- package/dist/collection/components/ez-form/fieldbuilder/tpl/TextArea.tpl.js +1 -1
- package/dist/collection/components/ez-form/fieldbuilder/tpl/TextInput.tpl.js +1 -1
- package/dist/collection/components/ez-form/structure/FormItem.js +1 -1
- package/dist/collection/components/ez-form/structure/FormSheet.js +2 -2
- package/dist/collection/components/ez-form/structure/FormSheetMetadata.js +4 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +38 -18
- package/dist/collection/components/ez-grid/ez-grid.js +124 -14
- package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.js +188 -39
- package/dist/collection/components/ez-grid/subcomponents/select-box/select-box.js +1 -1
- package/dist/collection/components/ez-list/ez-list.js +23 -1
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +1 -1
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +1 -1
- package/dist/collection/components/ez-text-area/ez-text-area.js +15 -4
- package/dist/custom-elements/index.js +344 -90
- package/dist/esm/ez-collapsible-box.entry.js +23 -10
- package/dist/esm/ez-form.entry.js +18 -15
- package/dist/esm/ez-grid.entry.js +115 -25
- package/dist/esm/ez-list.entry.js +6 -0
- package/dist/esm/ez-tabselector.entry.js +2 -2
- package/dist/esm/ez-text-area.entry.js +13 -3
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/grid-config.entry.js +164 -32
- package/dist/esm/loader.js +1 -1
- package/dist/esm/select-box.entry.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-4262a462.entry.js → p-2d165ca8.entry.js} +1 -1
- package/dist/ezui/p-47fe4273.entry.js +1 -0
- package/dist/ezui/p-5a9ab4f7.entry.js +1 -0
- package/dist/ezui/p-5b7405e8.entry.js +1 -0
- package/dist/ezui/p-66adbed5.entry.js +1 -0
- package/dist/ezui/p-6d39b7ea.entry.js +1 -0
- package/dist/ezui/p-7d5b2ebf.entry.js +1 -0
- package/dist/ezui/p-ef17f443.entry.js +1 -0
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +13 -5
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +35 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +3 -3
- package/dist/types/components/ez-grid/ez-grid.d.ts +14 -3
- package/dist/types/components/ez-grid/subcomponents/gridconfig/grid-config.d.ts +10 -4
- package/dist/types/components/ez-list/ez-list.d.ts +5 -0
- package/dist/types/components.d.ts +36 -10
- package/package.json +2 -2
- package/dist/ezui/p-1c28d99b.entry.js +0 -1
- package/dist/ezui/p-35edc488.entry.js +0 -1
- package/dist/ezui/p-46d1340b.entry.js +0 -1
- package/dist/ezui/p-6745931a.entry.js +0 -1
- package/dist/ezui/p-7ee0ff27.entry.js +0 -1
- package/dist/ezui/p-91e51dc9.entry.js +0 -1
- package/dist/ezui/p-c621cab9.entry.js +0 -1
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-0e284e03.js');
|
|
6
6
|
|
|
7
|
-
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--
|
|
7
|
+
const ezCollapsibleBoxCss = ":host{--ez-collapsible-box--font-size:var(--title--medium, 14px);--ez-collapsible-box--font-family:var(--font-pattern, Arial);--ez-collapsible-box--font-weight:var(--text-weight--large, 600);--ez-collapsible-box--color:var(--title--primary);--ez-collapsible-box__icon--color:var(--ez-collapsible-box--color);--ez-collapsible-box__header--padding-top:0px;--ez-collapsible-box__header--padding-bottom:0px;--ez-collapsible-box__header--padding-right:0px;--ez-collapsible-box__header--padding-left:0px;display:flex;flex-wrap:wrap;width:100%}.collapsible-box{display:flex;flex-direction:column;width:100%}.collapsible-box__header{display:flex;box-sizing:border-box;padding-top:var(--ez-collapsible-box__header--padding-top);padding-bottom:var(--ez-collapsible-box__header--padding-bottom);padding-right:var(--ez-collapsible-box__header--padding-right);padding-left:var(--ez-collapsible-box__header--padding-left)}.collapsible-box__title{position:relative;width:auto;display:flex;box-sizing:border-box;align-items:center;outline:none;border:none;background-color:unset;cursor:pointer;padding:0px;text-align:left;margin-bottom:var(--space--medium, 12px)}.collapsible-box__label{white-space:nowrap;overflow:hidden;cursor:pointer;text-overflow:ellipsis;box-sizing:border-box;margin-left:6px;font-family:var(--ez-collapsible-box--font-family);font-size:var(--ez-collapsible-box--font-size);font-weight:var(--ez-collapsible-box--font-weight);color:var(--ez-collapsible-box--color)}.collapsible-box__icon{transform:rotate(90deg) translate(0px, 14%);transition:transform var(--transition);--ez-icon--color:var(--ez-collapsible-box__icon--color, --ez-collapsible-box--color)}.collapsible-box__icon--collapsed{transform:rotate(0deg) translate(-14%, 0px)}.collapsible-box__title--icon-right{flex-direction:row-reverse}.collapsible-box__title--icon-right .collapsible-box__icon{transform:rotate(90deg) translate(0px, -14%)}.collapsible-box__title--icon-right .collapsible-box__icon--collapsed{transform:rotate(0deg) translate(14%, 0px)}.collapsible-box__title--icon-right .collapsible-box__label{margin-left:0px;margin-right:6px}.collapsible-box__title--stretched{width:100%;justify-content:space-between}.collapsible-box__content{display:flex;flex-wrap:wrap;width:100%;height:0px;max-height:0px;opacity:0;overflow:hidden;transition:all var(--transition, 0.5s)}.collapsible-box__content--show{height:100%;max-height:none;opacity:1;overflow:visible;transition:all var(--transition, 0.5s)}.font--x-small{font-size:10px}.font--small{font-size:12px}.font--medium{font-size:14px}.font--large{font-size:16px}.font--x-large{font-size:20px}";
|
|
8
8
|
|
|
9
9
|
let EzCollapsibleBox = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.ezChange = index.createEvent(this, "ezChange", 7);
|
|
13
13
|
/**
|
|
14
|
-
* Valor externalizado que garante a exibição ou não do componente
|
|
14
|
+
* Valor externalizado que garante a exibição ou não do componente.
|
|
15
15
|
*/
|
|
16
16
|
this.value = false;
|
|
17
17
|
/**
|
|
@@ -22,24 +22,37 @@ let EzCollapsibleBox = class {
|
|
|
22
22
|
* Define o local onde o ícone será renderizado.
|
|
23
23
|
*/
|
|
24
24
|
this.iconPlacement = "left";
|
|
25
|
+
/**
|
|
26
|
+
* Define se o titulo irá ocupar toda a largura do componente.
|
|
27
|
+
*/
|
|
28
|
+
this.stretchTitle = false;
|
|
25
29
|
}
|
|
26
|
-
|
|
30
|
+
observeCollapsedValue() {
|
|
27
31
|
this.ezChange.emit(this.value);
|
|
28
32
|
}
|
|
29
33
|
/**
|
|
30
|
-
* Esconde ou revela o conteúdo do componente
|
|
34
|
+
* Esconde ou revela o conteúdo do componente.
|
|
31
35
|
*/
|
|
32
36
|
async showHide() {
|
|
33
37
|
this.value = !this.value;
|
|
34
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Retorna o tamanho configurado do texto e do ícone.
|
|
41
|
+
*/
|
|
42
|
+
getHeaderSize() {
|
|
43
|
+
const sizeAlias = ["xsmall", "xlarge"];
|
|
44
|
+
const sizeList = ["x-small", "small", "medium", "large", "x-large"];
|
|
45
|
+
const sizeLowerCase = this.headerSize && this.headerSize.toLowerCase();
|
|
46
|
+
const sizeCustom = sizeAlias.includes(sizeLowerCase) ? sizeLowerCase.replace('x', 'x-') : sizeLowerCase;
|
|
47
|
+
return sizeList.includes(sizeCustom) ? sizeCustom : "small";
|
|
48
|
+
}
|
|
35
49
|
render() {
|
|
36
|
-
return (index.h(index.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
index.h("div", { class: "collapsible-box__title" }, index.h("button", { class: this.value ? "collapsible-box__btn collapsible-box__btn--collapsed " + "collapsible-box__btn--" + this.headerSize : "collapsible-box__btn " + "collapsible-box__btn--" + this.headerSize, onClick: () => this.showHide() }), index.h("label", { class: (this.iconPlacement == "right" ? "collapsible-box__label--icon-right " : "collapsible-box__label ") + (this.headerSize ? "font--" + this.headerSize : ""), onClick: () => this.showHide(), title: this.label }, this.label)), !this.value ? index.h("slot", null) : null));
|
|
50
|
+
return (index.h("div", { class: "collapsible-box" }, index.h("div", { class: "collapsible-box__header" }, index.h("button", { onClick: () => this.showHide(), class: "collapsible-box__title" +
|
|
51
|
+
(this.iconPlacement === "right" ? " collapsible-box__title--icon-right" : "") +
|
|
52
|
+
(this.stretchTitle ? " collapsible-box__title--stretched" : "") }, index.h("ez-icon", { slot: "icon", "icon-name": "chevron-right", size: this.getHeaderSize(), class: "collapsible-box__icon collapsible-box__icon--" + this.getHeaderSize() + (this.value ? " collapsible-box__icon--collapsed" : "") }), index.h("label", { class: "collapsible-box__label font--" + this.getHeaderSize(), title: this.label }, this.label))), index.h("div", { class: "collapsible-box__content" + (this.value ? "" : " collapsible-box__content--show") }, index.h("slot", null))));
|
|
40
53
|
}
|
|
41
54
|
static get watchers() { return {
|
|
42
|
-
"value": ["
|
|
55
|
+
"value": ["observeCollapsedValue"]
|
|
43
56
|
}; }
|
|
44
57
|
};
|
|
45
58
|
EzCollapsibleBox.style = ezCollapsibleBoxCss;
|
|
@@ -7,12 +7,12 @@ const core = require('@sankhyalabs/core');
|
|
|
7
7
|
const ApplicationUtils = require('./ApplicationUtils-4a223c7a.js');
|
|
8
8
|
|
|
9
9
|
const buildTextArea = ({ name, label, readOnly }) => {
|
|
10
|
-
return (index.h("div", { class: "col col--sd-12 padding-horizontal--small", key: name },
|
|
10
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small", key: name },
|
|
11
11
|
index.h("ez-text-area", { enabled: !readOnly, label: label, "data-field-name": name })));
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const buildTextInput = ({ name, label }) => {
|
|
15
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 padding-horizontal--small" },
|
|
15
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-padding-horizontal--small" },
|
|
16
16
|
index.h("ez-text-input", { label: label, "data-field-name": name, key: name })));
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -23,7 +23,7 @@ const buildCheckBox = (fieldConfig) => {
|
|
|
23
23
|
return buildField$1(fieldConfig.name, fieldConfig.label, fieldConfig.readOnly, false);
|
|
24
24
|
};
|
|
25
25
|
function buildField$1(fieldName, fieldLabel, readOnly, switchMode = false) {
|
|
26
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 align--middle padding-horizontal--small padding-bottom--large" },
|
|
26
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-align--middle ez-padding-horizontal--small ez-padding-bottom--large" },
|
|
27
27
|
index.h("ez-check", { enabled: !readOnly, label: fieldLabel, mode: switchMode ? "switch" : "regular", "data-field-name": fieldName, key: fieldName })));
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -37,30 +37,30 @@ const buildComboBox = ({ name, label, readOnly, required }, properties) => {
|
|
|
37
37
|
else {
|
|
38
38
|
options = prop;
|
|
39
39
|
}
|
|
40
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 padding-horizontal--small" },
|
|
40
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-padding-horizontal--small" },
|
|
41
41
|
index.h("ez-combo-box", { enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, key: name, options: options })));
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const buildSearch = ({ name, label, readOnly, required }) => {
|
|
45
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 padding-horizontal--small" },
|
|
45
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-padding-horizontal--small" },
|
|
46
46
|
index.h("ez-search", { enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, key: name })));
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
const buildFile = ({ name, label, readOnly }) => {
|
|
50
|
-
return (index.h("div", { class: "col col--sd-12 padding-horizontal--small" },
|
|
50
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-padding-horizontal--small" },
|
|
51
51
|
index.h("ez-upload", { enabled: !readOnly, label: label, "data-field-name": name, key: name })));
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
const buildDate = ({ name, label, readOnly }) => {
|
|
55
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 padding-horizontal--small" },
|
|
55
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-padding-horizontal--small" },
|
|
56
56
|
index.h("ez-date-input", { enabled: !readOnly, label: label, "data-field-name": name, key: name })));
|
|
57
57
|
};
|
|
58
58
|
const buildTime = ({ name, label }) => {
|
|
59
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 padding-horizontal--small" },
|
|
59
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-padding-horizontal--small" },
|
|
60
60
|
index.h("ez-time-input", { label: label, "data-field-name": name, key: name })));
|
|
61
61
|
};
|
|
62
62
|
const buildTimeDate = ({ name, label }) => {
|
|
63
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 padding-horizontal--small" },
|
|
63
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-padding-horizontal--small" },
|
|
64
64
|
index.h("ez-date-time-input", { label: label, "data-field-name": name, key: name })));
|
|
65
65
|
};
|
|
66
66
|
|
|
@@ -73,7 +73,7 @@ const buildInteger = ({ name, label, readOnly }) => {
|
|
|
73
73
|
return buildNumeric(name, label, readOnly, 0, 0);
|
|
74
74
|
};
|
|
75
75
|
function buildNumeric(fieldName, fieldLabel, readOnly, precision, prettyPrecision) {
|
|
76
|
-
return (index.h("div", { class: "col col--sd-12 col--tb-3 padding-horizontal--small" },
|
|
76
|
+
return (index.h("div", { class: "ez-col ez-col--sd-12 ez-col--tb-3 ez-padding-horizontal--small" },
|
|
77
77
|
index.h("ez-number-input", { enabled: !readOnly, label: fieldLabel, precision: precision, prettyPrecision: prettyPrecision, "data-field-name": fieldName, key: fieldName })));
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -122,7 +122,7 @@ const buildField = (field) => {
|
|
|
122
122
|
const FormItem = ({ source }) => {
|
|
123
123
|
if ("items" in source) {
|
|
124
124
|
const fieldSet = source;
|
|
125
|
-
return index.h("ez-collapsible-box", { label: source.label }, fieldSet.items.map(fi => buildField(fi)));
|
|
125
|
+
return index.h("ez-collapsible-box", { label: source.label, "header-size": "large" }, fieldSet.items.map(fi => buildField(fi)));
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
return buildField(source);
|
|
@@ -130,8 +130,8 @@ const FormItem = ({ source }) => {
|
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
const FormSheet = ({ store, source }) => {
|
|
133
|
-
return (index.h("div", { class: "box__container" },
|
|
134
|
-
index.h("div", { class: "row padding-vertical--small" }, source.items.map(item => index.h(FormItem, { store: store, source: item })))));
|
|
133
|
+
return (index.h("div", { class: "dynamic-content ez-box__container" },
|
|
134
|
+
index.h("div", { class: "ez-row ez-padding-vertical--small" }, source.items.map(item => index.h(FormItem, { store: store, source: item })))));
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
class FormMetadata {
|
|
@@ -182,6 +182,9 @@ function getTabConfig(tab, sheets) {
|
|
|
182
182
|
const tabConfig = (typeof tab === "string" ? Array.from(sheets.keys()).find(t => t.label === tab) : tab);
|
|
183
183
|
return tabConfig || { label: tab, visible: true };
|
|
184
184
|
}
|
|
185
|
+
function sortTabs(a, b) {
|
|
186
|
+
return a[0].label == 'Geral' ? -1 : (a[0].order || 10000) - (b[0].order || 10000);
|
|
187
|
+
}
|
|
185
188
|
const buildFromConfig = (fields, dataUnit) => {
|
|
186
189
|
const sheets = new Map();
|
|
187
190
|
const requiredFields = [];
|
|
@@ -223,7 +226,7 @@ const buildFromConfig = (fields, dataUnit) => {
|
|
|
223
226
|
});
|
|
224
227
|
const metadata = new FormMetadata();
|
|
225
228
|
Array.from(sheets.entries())
|
|
226
|
-
.sort(
|
|
229
|
+
.sort(sortTabs)
|
|
227
230
|
.forEach(([key, value]) => {
|
|
228
231
|
metadata.addSheet({
|
|
229
232
|
label: key.label,
|
|
@@ -708,7 +711,7 @@ class Bind {
|
|
|
708
711
|
}
|
|
709
712
|
}
|
|
710
713
|
|
|
711
|
-
const ezFormCss = "ez-form{display:flex;flex-direction:column;width:100%}";
|
|
714
|
+
const ezFormCss = "ez-form{display:flex;flex-direction:column;width:100%}.dynamic-content ez-collapsible-box{--ez-collapsible-box__header--padding-right:var(--space-small, 6px);--ez-collapsible-box__header--padding-left:var(--space-small, 6px)}";
|
|
712
715
|
|
|
713
716
|
let EzForm = class {
|
|
714
717
|
constructor(hostRef) {
|
|
@@ -110100,6 +110100,7 @@ class AgGridController {
|
|
|
110100
110100
|
serverSideStoreType: "partial",
|
|
110101
110101
|
rowSelection: this._multipleSelection ? "multiple" : "single",
|
|
110102
110102
|
serverSideDatasource: this._dataSource,
|
|
110103
|
+
sortingOrder: ['desc', 'asc', null],
|
|
110103
110104
|
getRowNodeId: (params) => typeof params === "string" ? params : params[this._idAttribName],
|
|
110104
110105
|
getMainMenuItems: (params) => {
|
|
110105
110106
|
const column = params.column;
|
|
@@ -110139,6 +110140,7 @@ class AgGridController {
|
|
|
110139
110140
|
opt.onSelectionChanged = e => this.onSelectionChange(e);
|
|
110140
110141
|
opt.onPaginationChanged = () => this.onPaginationChange();
|
|
110141
110142
|
opt.onRowDoubleClicked = evt => this.onRowDoubleClick(evt);
|
|
110143
|
+
opt.onDragStopped = evt => this.onCallStateChange("columnMovedEnd", evt);
|
|
110142
110144
|
opt.onViewportChanged = () => {
|
|
110143
110145
|
if (this._dataUnit) {
|
|
110144
110146
|
this.selectRows(this._dataUnit.getSelection());
|
|
@@ -110226,6 +110228,7 @@ class AgGridController {
|
|
|
110226
110228
|
const colDefs = [];
|
|
110227
110229
|
if (showCheckSelection) {
|
|
110228
110230
|
colDefs.push({
|
|
110231
|
+
colId: "checkBoxColumn",
|
|
110229
110232
|
headerName: "",
|
|
110230
110233
|
checkboxSelection: true,
|
|
110231
110234
|
headerCheckboxSelection: false,
|
|
@@ -110263,13 +110266,24 @@ class AgGridController {
|
|
|
110263
110266
|
if (this._grid === undefined) {
|
|
110264
110267
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
110265
110268
|
}
|
|
110266
|
-
|
|
110267
|
-
|
|
110268
|
-
|
|
110269
|
-
|
|
110270
|
-
|
|
110271
|
-
|
|
110272
|
-
|
|
110269
|
+
let columns = this.getColumnsDef();
|
|
110270
|
+
let visibleColumns = [];
|
|
110271
|
+
let sort = [];
|
|
110272
|
+
state.forEach((cfgColumn, index) => {
|
|
110273
|
+
this._gridOptions.columnApi.moveColumn(cfgColumn.name, index + 1);
|
|
110274
|
+
this._gridOptions.columnApi.setColumnWidth(cfgColumn.name, cfgColumn.width);
|
|
110275
|
+
visibleColumns.push(cfgColumn.name);
|
|
110276
|
+
if (cfgColumn.ascending !== undefined) {
|
|
110277
|
+
sort.push({ colId: cfgColumn.name, sort: cfgColumn.ascending !== true ? 'desc' : 'asc', sortIndex: cfgColumn.orderIndex });
|
|
110278
|
+
}
|
|
110279
|
+
});
|
|
110280
|
+
let invisibleColumns = columns.filter(column => !visibleColumns.includes(column.name)).map(column => column.name);
|
|
110281
|
+
this._gridOptions.columnApi.setColumnsVisible(visibleColumns, true);
|
|
110282
|
+
this._gridOptions.columnApi.setColumnsVisible(invisibleColumns, false);
|
|
110283
|
+
this._gridOptions.columnApi.applyColumnState({
|
|
110284
|
+
state: sort,
|
|
110285
|
+
defaultState: { sort: null },
|
|
110286
|
+
});
|
|
110273
110287
|
}
|
|
110274
110288
|
getColumnsState() {
|
|
110275
110289
|
if (this._grid === undefined) {
|
|
@@ -110362,21 +110376,27 @@ class AgGridController {
|
|
|
110362
110376
|
}
|
|
110363
110377
|
}
|
|
110364
110378
|
}
|
|
110365
|
-
buildColState(source) {
|
|
110366
|
-
return {
|
|
110367
|
-
colId: source.name,
|
|
110368
|
-
sort: source.sort,
|
|
110369
|
-
sortIndex: source.sortIndex,
|
|
110370
|
-
width: source.width,
|
|
110371
|
-
pinned: source.pinned ? "left" : null,
|
|
110372
|
-
hide: source.hidden
|
|
110373
|
-
};
|
|
110374
|
-
}
|
|
110375
110379
|
onCallStateChange(type, e) {
|
|
110376
110380
|
const finished = !("finished" in e) || e["finished"];
|
|
110377
110381
|
if (finished && this._columnStateChangeCallback) {
|
|
110378
|
-
|
|
110382
|
+
let info = {};
|
|
110383
|
+
let isUserChange = this.isUIEvent(e['source'], e['type']);
|
|
110384
|
+
if (type === 'columnResize') {
|
|
110385
|
+
info['column'] = { colId: e['column'].colId, actualWidth: e['column'].actualWidth };
|
|
110386
|
+
}
|
|
110387
|
+
info['isUserChange'] = isUserChange;
|
|
110388
|
+
this._columnStateChangeCallback(type, this.getColumnsState(), info);
|
|
110389
|
+
}
|
|
110390
|
+
}
|
|
110391
|
+
isUIEvent(source, type) {
|
|
110392
|
+
let optionsArr = ["uiColumnMoved", "uiColumnResized", "uiColumnDragged", "uiColumnExpanded", "uiColumnSorted"];
|
|
110393
|
+
if (type === 'dragStopped') {
|
|
110394
|
+
return true;
|
|
110395
|
+
}
|
|
110396
|
+
if (source) {
|
|
110397
|
+
return optionsArr.includes(source);
|
|
110379
110398
|
}
|
|
110399
|
+
return false;
|
|
110380
110400
|
}
|
|
110381
110401
|
onSelectionChange(e) {
|
|
110382
110402
|
if (this._selectionChangeCallback) {
|
|
@@ -110474,6 +110494,7 @@ let EzGrid = class {
|
|
|
110474
110494
|
this.ezColumnStateChange = index.createEvent(this, "ezColumnStateChange", 7);
|
|
110475
110495
|
this.ezSelectionChange = index.createEvent(this, "ezSelectionChange", 7);
|
|
110476
110496
|
this.ezDoubleClick = index.createEvent(this, "ezDoubleClick", 7);
|
|
110497
|
+
this.configChange = index.createEvent(this, "configChange", 7);
|
|
110477
110498
|
this._gridController = new AgGridController(false);
|
|
110478
110499
|
this._popUpVisible = false;
|
|
110479
110500
|
/**
|
|
@@ -110543,9 +110564,72 @@ let EzGrid = class {
|
|
|
110543
110564
|
addEventListener("ezSelectionChange", (evt) => this.dataUnit.setSelection(evt.detail.map((r) => r.__record__id__)));
|
|
110544
110565
|
}
|
|
110545
110566
|
}
|
|
110567
|
+
onColumnStateChange(type, state, info) {
|
|
110568
|
+
var _a;
|
|
110569
|
+
this.ezColumnStateChange.emit({ type, state, isUserChange: info.isUserChange });
|
|
110570
|
+
if (info.isUserChange) {
|
|
110571
|
+
if (type === 'columnMovedEnd') {
|
|
110572
|
+
let newConfig;
|
|
110573
|
+
if (this.config) {
|
|
110574
|
+
newConfig = { columns: [] };
|
|
110575
|
+
state.forEach(columnState => {
|
|
110576
|
+
let newConfigColumn = this.config.columns.find(column => column.name === columnState.name);
|
|
110577
|
+
if (newConfigColumn) {
|
|
110578
|
+
newConfigColumn.width = columnState.width;
|
|
110579
|
+
newConfig.columns.push(newConfigColumn);
|
|
110580
|
+
}
|
|
110581
|
+
});
|
|
110582
|
+
}
|
|
110583
|
+
else {
|
|
110584
|
+
newConfig = this.createConfigFromState(state);
|
|
110585
|
+
}
|
|
110586
|
+
if (newConfig.columns.length > 0) {
|
|
110587
|
+
this.configChange.emit(newConfig);
|
|
110588
|
+
}
|
|
110589
|
+
}
|
|
110590
|
+
else if (type === 'columnResize') {
|
|
110591
|
+
if ((_a = info.column) === null || _a === void 0 ? void 0 : _a.colId) {
|
|
110592
|
+
let newConfig;
|
|
110593
|
+
if (this.config) {
|
|
110594
|
+
newConfig = Object.assign({}, this.config);
|
|
110595
|
+
}
|
|
110596
|
+
else {
|
|
110597
|
+
newConfig = this.createConfigFromState(state);
|
|
110598
|
+
}
|
|
110599
|
+
let newColumn = newConfig.columns.find(column => column.name === info.column.colId);
|
|
110600
|
+
if (newColumn) {
|
|
110601
|
+
newColumn.width = info.column.actualWidth;
|
|
110602
|
+
this.configChange.emit(newConfig);
|
|
110603
|
+
}
|
|
110604
|
+
}
|
|
110605
|
+
}
|
|
110606
|
+
}
|
|
110607
|
+
}
|
|
110608
|
+
createConfigFromState(state) {
|
|
110609
|
+
let newConfig = { columns: [] };
|
|
110610
|
+
state.forEach(columnState => {
|
|
110611
|
+
if (!columnState.hidden) {
|
|
110612
|
+
let newConfigColumn = { name: columnState.name };
|
|
110613
|
+
if (columnState.width) {
|
|
110614
|
+
newConfigColumn['width'] = columnState.width;
|
|
110615
|
+
}
|
|
110616
|
+
if (columnState.sort) {
|
|
110617
|
+
newConfigColumn['ascending'] = (columnState.sort.toUpperCase() === 'ASC');
|
|
110618
|
+
newConfigColumn['orderIndex'] = columnState.sortIndex;
|
|
110619
|
+
}
|
|
110620
|
+
else {
|
|
110621
|
+
newConfigColumn['orderIndex'] = 0;
|
|
110622
|
+
}
|
|
110623
|
+
if (newConfigColumn) {
|
|
110624
|
+
newConfig.columns.push(newConfigColumn);
|
|
110625
|
+
}
|
|
110626
|
+
}
|
|
110627
|
+
});
|
|
110628
|
+
return newConfig;
|
|
110629
|
+
}
|
|
110546
110630
|
componentDidLoad() {
|
|
110547
110631
|
this._gridController.initDatagrid(this._container, {
|
|
110548
|
-
onColumnStateChange: (type, state) => this.
|
|
110632
|
+
onColumnStateChange: (type, state, info) => this.onColumnStateChange(type, state, info),
|
|
110549
110633
|
onSelectionChange: (selection) => this.ezSelectionChange.emit(selection),
|
|
110550
110634
|
onPaginationChange: (status) => {
|
|
110551
110635
|
this._navigationHasPrevious = status.hasPrevious;
|
|
@@ -110565,6 +110649,9 @@ let EzGrid = class {
|
|
|
110565
110649
|
if (this._dataUnitBridge) {
|
|
110566
110650
|
this._gridController.setColumnsDef(this._dataUnitBridge.buildColumnDefs(), true);
|
|
110567
110651
|
}
|
|
110652
|
+
if (this.config) {
|
|
110653
|
+
this.applyConfig(this.config);
|
|
110654
|
+
}
|
|
110568
110655
|
}
|
|
110569
110656
|
disconnectedCallback() {
|
|
110570
110657
|
if (this._dataUnitBridge) {
|
|
@@ -110576,13 +110663,13 @@ let EzGrid = class {
|
|
|
110576
110663
|
return null;
|
|
110577
110664
|
}
|
|
110578
110665
|
return [
|
|
110579
|
-
index.h("div", { class: "text text--primary text--medium margin-right--medium" }, index.h("strong", { class: "text text--primary text--medium" }, `${this._navigationFirstRow}-${this._navigationLastRow}`), ` de ${this._navigationTotalRows}`),
|
|
110580
|
-
index.h("ez-button", { size: "small", iconName: "chevron-left", class: "margin-right--medium", mode: "icon", enabled: this._navigationHasPrevious, onClick: () => this._gridController.previousPage(), label: "P\u00E1gina anterior" }),
|
|
110581
|
-
index.h("ez-button", { size: "small", iconName: "chevron-right", class: "margin-right--medium", mode: "icon", enabled: this._navigationHasNext, onClick: () => this._gridController.nextPage(), label: "Pr\u00F3xima P\u00E1gina" })
|
|
110666
|
+
index.h("div", { class: "ez-text ez-text--primary ez-text--medium ez-margin-right--medium" }, index.h("strong", { class: "ez-text ez-text--primary ez-text--medium" }, `${this._navigationFirstRow}-${this._navigationLastRow}`), ` de ${this._navigationTotalRows}`),
|
|
110667
|
+
index.h("ez-button", { size: "small", iconName: "chevron-left", class: "ez-margin-right--medium", mode: "icon", enabled: this._navigationHasPrevious, onClick: () => this._gridController.previousPage(), label: "P\u00E1gina anterior" }),
|
|
110668
|
+
index.h("ez-button", { size: "small", iconName: "chevron-right", class: "ez-margin-right--medium", mode: "icon", enabled: this._navigationHasNext, onClick: () => this._gridController.nextPage(), label: "Pr\u00F3xima P\u00E1gina" })
|
|
110582
110669
|
];
|
|
110583
110670
|
}
|
|
110584
|
-
applyConfig(
|
|
110585
|
-
this._gridController.setColumnsState(
|
|
110671
|
+
applyConfig(config) {
|
|
110672
|
+
this._gridController.setColumnsState(config.columns);
|
|
110586
110673
|
this.closeConfig();
|
|
110587
110674
|
}
|
|
110588
110675
|
closeConfig() {
|
|
@@ -110594,9 +110681,12 @@ let EzGrid = class {
|
|
|
110594
110681
|
this._popUpVisible = true;
|
|
110595
110682
|
}
|
|
110596
110683
|
render() {
|
|
110597
|
-
return (index.h(index.Host, null, index.h("div", { class: "box box--shadow padding--medium grid-header" }, index.h("div", { class: "grid-header__container" }, index.h("slot", { name: "leftButtons" })), index.h("div", { class: "grid-header__container" }, this.getPaginationControl(), index.h("ez-button", { size: "small", iconName: "settings", class: "button--secondary", mode: "icon", onClick: () => { this.openConfig(); } }))), index.h("div", { class: "grid__container
|
|
110684
|
+
return (index.h(index.Host, null, index.h("div", { class: "ez-box ez-box--shadow ez-padding--medium grid-header" }, index.h("div", { class: "grid-header__container" }, index.h("slot", { name: "leftButtons" })), index.h("div", { class: "grid-header__container" }, this.getPaginationControl(), index.h("ez-button", { size: "small", iconName: "settings", class: "ez-button--secondary", mode: "icon", onClick: () => { this.openConfig(); } }))), index.h("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }), index.h("div", { class: "grid__footer" }), index.h("ez-modal", { modalSize: "small", closeEsc: true, closeOutsideClick: true, opened: this._popUpVisible, onEzCloseModal: () => this._popUpVisible = false }, index.h("grid-config", { ref: ref => this._gridConfig = ref, config: this.config, selectedTab: "Colunas", onConfigFinish: evt => { this.applyConfig(evt.detail); this.configChange.emit(evt.detail); }, onConfigCancel: _evt => this.closeConfig() }))));
|
|
110598
110685
|
}
|
|
110599
110686
|
static get assetsDirs() { return ["../assets"]; }
|
|
110687
|
+
static get watchers() { return {
|
|
110688
|
+
"config": ["applyConfig"]
|
|
110689
|
+
}; }
|
|
110600
110690
|
};
|
|
110601
110691
|
EzGrid.style = ezGridCss;
|
|
110602
110692
|
|
|
@@ -53,6 +53,12 @@ let EzList = class {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
+
* Responsável por limpar a lista de histórico do componente.
|
|
57
|
+
*/
|
|
58
|
+
async clearHistory() {
|
|
59
|
+
this._listItemsHistory = [];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
56
62
|
* Recebe como argumento um ListItem {label: string} e um booleano que define se o componente deve fazer scroll para exibir o item específico (opcional).
|
|
57
63
|
*/
|
|
58
64
|
async setSelection(selectedItem, scrollToOption) {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-0e284e03.js');
|
|
6
6
|
|
|
7
|
-
const ezTabselectorCss = "@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--tabselector--forward-icon:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.
|
|
7
|
+
const ezTabselectorCss = "@keyframes activate{0%{clip-path:inset(calc(100% - 3px) 50% 0px 50%)}100%{clip-path:inset(calc(100% - 3px) 0px 0px 0px)}}:host{display:flex;position:relative;width:100%;overflow:hidden;--tabselector--backward-icon:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z\"/></svg>');--tabselector--forward-icon:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"16px\" width=\"10px\"><path d=\"M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z\"/></svg>')}.scroll{display:flex;width:100%;scroll-behavior:smooth;overflow-x:auto;scrollbar-width:none}.scroll.startHidden{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px)}.scroll.middle{-webkit-mask-image:linear-gradient(90deg, transparent 20px, #000 48px, #000 calc(100% - 48px), transparent calc(100% - 20px))}.scroll.endHidden{-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 48px), transparent calc(100% - 20px))}.tab{display:flex;border:none;min-width:100px;background-color:unset;cursor:pointer;padding:6px 12px;align-items:center;justify-content:center;color:var(--text--primary, #626e82);font-family:var(--font-pattern, \"Sora, Algerian\");font-size:var(--title--small, 14px)}.tab:focus,.forward-button,.backward-button{outline:none}.is-active{position:relative;color:var(--color--primary, #008561)}.is-active::after{content:\"\";position:absolute;width:100%;height:100%;background-color:var(--color--primary, #008561);clip-path:inset(calc(100% - 3px) 0px 0px 0px);animation:activate 0.25s ease-in-out}.is-focused{border:1px dashed var(--color--primary, #000000c5)}.tab-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:var(--text-shadow);margin-bottom:var(--space--extra-small, 3px)}.forward-button,.backward-button{position:absolute;z-index:1;display:flex;box-sizing:border-box;padding:0px;top:0px;right:0px;width:16px;height:100%;border:none;background-color:unset;cursor:pointer;justify-content:center;align-items:center}.backward-button{left:0px}.forward-button::after,.backward-button::after{content:'';display:flex;background-color:var(--text--primary, #008561);width:10px;height:16px}.forward-button::after{-webkit-mask-image:var(--tabselector--forward-icon);mask-image:var(--tabselector--forward-icon)}.backward-button::after{-webkit-mask-image:var(--tabselector--backward-icon);mask-image:var(--tabselector--backward-icon)}.forward-button:hover::after,.backward-button:hover::after{background-color:var(--color--primary, #4e4e4e)}.hidden{display:none}.scroll::-webkit-scrollbar{display:none}";
|
|
8
8
|
|
|
9
9
|
let EzTabselector = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -138,7 +138,7 @@ let EzTabselector = class {
|
|
|
138
138
|
else {
|
|
139
139
|
this._forwardButton.classList.add("hidden");
|
|
140
140
|
}
|
|
141
|
-
const classNames = ["", "startHidden", "endHidden", "
|
|
141
|
+
const classNames = ["", "startHidden", "endHidden", "middle"];
|
|
142
142
|
const currentClass = classNames[Number(this._startHidden) | Number(this._endHidden) << 1];
|
|
143
143
|
classNames.forEach((name) => {
|
|
144
144
|
if (name !== currentClass && container.classList.contains(name)) {
|
|
@@ -14,6 +14,10 @@ let EzTextArea = class {
|
|
|
14
14
|
* Deixa o campo disponível ou não para digitação.
|
|
15
15
|
*/
|
|
16
16
|
this.enabled = true;
|
|
17
|
+
/**
|
|
18
|
+
* Ajusta o número de linhas e consequentemente o height do textarea. Valor default: 4
|
|
19
|
+
*/
|
|
20
|
+
this.rows = 4;
|
|
17
21
|
/**
|
|
18
22
|
* Permite exibir a mensagem de erro.
|
|
19
23
|
*/
|
|
@@ -45,11 +49,17 @@ let EzTextArea = class {
|
|
|
45
49
|
if (this._initialRows == undefined) {
|
|
46
50
|
this._initialRows = this.rows > 0 ? this.rows : undefined;
|
|
47
51
|
}
|
|
48
|
-
|
|
52
|
+
const rows = this._initialRows > 0 ? this._initialRows : this.mode != "slim" ? 4 : 2;
|
|
53
|
+
if (rows !== this.rows) {
|
|
54
|
+
this.rows = rows;
|
|
55
|
+
}
|
|
49
56
|
}
|
|
50
57
|
adjustRowsValue() {
|
|
51
|
-
|
|
52
|
-
|
|
58
|
+
const rows = this.rows > 0 ? this.rows : this.mode != "slim" ? 4 : 2;
|
|
59
|
+
if (rows !== this.rows) {
|
|
60
|
+
this.rows = rows;
|
|
61
|
+
this._initialRows = rows;
|
|
62
|
+
}
|
|
53
63
|
}
|
|
54
64
|
adjustFloatingLabel() {
|
|
55
65
|
if (this.label && this._labelElem) {
|
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-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"_popUpVisible":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"refresh":[64],"quickFilter":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["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":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["grid-config.cjs",[[2,"grid-config",{"selectedTab":[1025,"selected-tab"],"columns":[1040]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[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]}]]],["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]}]]],["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]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[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]}]]],["ez-
|
|
18
|
+
return index.bootstrapLazy([["ez-grid.cjs",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"_popUpVisible":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"refresh":[64],"quickFilter":[64]}]]],["ez-dialog.cjs",[[1,"ez-dialog",{"confirm":[1028],"critical":[1028],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"handleButtonClick":[64],"show":[64]}]]],["ez-filter-input.cjs",[[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"loading":[516],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-action-chip.cjs",[[1,"ez-action-chip",{"label":[513],"enabled":[516]}]]],["ez-application.cjs",[[0,"ez-application"]]],["ez-label-chip.cjs",[[1,"ez-label-chip",{"label":[513],"enabled":[516],"removable":[516],"value":[1540],"setFocus":[64],"setBlur":[64]}]]],["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":[1540,"use-header"],"ezTitle":[1,"ez-title"]}]]],["ez-toast.cjs",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["grid-config.cjs",[[2,"grid-config",{"selectedTab":[1025,"selected-tab"],"columns":[1040],"config":[1040]}]]],["ez-modal.cjs",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"]}]]],["ez-text-input.cjs",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"setFocus":[64],"setBlur":[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]}]]],["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]}]]],["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]}]]],["ez-time-input.cjs",[[1,"ez-time-input",{"label":[513],"viewValue":[1537,"view-value"],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"setFocus":[64],"setBlur":[64]}]]],["select-box.cjs",[[1,"select-box",{"selectedOption":[1,"selected-option"]}]]],["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]}]]],["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],"setSelection":[64],"getSelection":[64],"getList":[64]}]]],["ez-text-area.cjs",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"loading":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-icon.cjs",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["ez-collapsible-box.cjs",[[1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"showHide":[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-button.cjs",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]}]]],["ez-calendar.cjs",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["ez-check.cjs",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"mode":[513],"getMode":[64],"setFocus":[64]}]]],["ez-tabselector.cjs",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}]]],["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],"setFocus":[64],"setBlur":[64]}]]],["ez-form.cjs",[[0,"ez-form",{"dataUnit":[1040],"config":[16],"submit":[64],"cancel":[64],"validate":[64]}]]],["test-du.cjs",[[0,"test-du",{"isDirty":[32]}]]]], options);
|
|
19
19
|
});
|