@sankhyalabs/ezui 1.1.129 → 1.1.132
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-button.cjs.entry.js +10 -12
- package/dist/cjs/ez-form.cjs.entry.js +14 -3
- package/dist/cjs/ez-grid.cjs.entry.js +22 -12
- package/dist/cjs/ez-list.cjs.entry.js +11 -0
- package/dist/cjs/ez-modal.cjs.entry.js +6 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-input.cjs.entry.js +10 -8
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/grid-config.cjs.entry.js +44 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-button/ez-button.css +73 -28
- package/dist/collection/components/ez-button/ez-button.js +15 -18
- package/dist/collection/components/ez-form/DataBinder.js +13 -2
- package/dist/collection/components/ez-form/ez-form.js +1 -1
- package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +6 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +10 -4
- package/dist/collection/components/ez-grid/ez-grid.js +22 -12
- package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.js +44 -2
- package/dist/collection/components/ez-list/ez-list.js +27 -0
- package/dist/collection/components/ez-modal/ez-modal.js +20 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +1 -1
- package/dist/collection/components/ez-text-input/ez-text-input.js +10 -8
- package/dist/custom-elements/index.js +119 -40
- package/dist/esm/ez-button.entry.js +10 -12
- package/dist/esm/ez-form.entry.js +14 -3
- package/dist/esm/ez-grid.entry.js +23 -13
- package/dist/esm/ez-list.entry.js +11 -0
- package/dist/esm/ez-modal.entry.js +6 -0
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-text-input.entry.js +10 -8
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/grid-config.entry.js +44 -2
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-27db8fba.entry.js +1 -0
- package/dist/ezui/p-48ba92b2.entry.js +1 -0
- package/dist/ezui/p-4ded39c2.entry.js +1 -0
- package/dist/ezui/{p-2d165ca8.entry.js → p-a0e6f47b.entry.js} +7 -7
- package/dist/ezui/p-c8f9b691.entry.js +1 -0
- package/dist/ezui/{p-47fe4273.entry.js → p-cfa7378a.entry.js} +1 -1
- package/dist/ezui/p-d5c93280.entry.js +1 -0
- package/dist/ezui/p-d9bb2a96.entry.js +1 -0
- package/dist/types/components/ez-button/ez-button.d.ts +3 -3
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +4 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +3 -3
- package/dist/types/components/ez-grid/subcomponents/gridconfig/grid-config.d.ts +1 -0
- package/dist/types/components/ez-list/ez-list.d.ts +4 -0
- package/dist/types/components/ez-modal/ez-modal.d.ts +5 -0
- package/dist/types/components.d.ts +13 -4
- package/package.json +1 -1
- package/dist/ezui/p-495cdb4c.entry.js +0 -1
- package/dist/ezui/p-6d39b7ea.entry.js +0 -1
- package/dist/ezui/p-7d5b2ebf.entry.js +0 -1
- package/dist/ezui/p-c6b2b2e5.entry.js +0 -1
- package/dist/ezui/p-ef8f1275.entry.js +0 -1
- package/dist/ezui/p-f65302bb.entry.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-0e284e03.js');
|
|
6
6
|
|
|
7
|
-
const ezButtonCss = ":host{--ez-button--min-width:100px;--ez-button--height:42px;--ez-button__icon--width:18px;--ez-button__inline__icon--padding:12px;--ez-button--padding-top:var(--space--medium, 12px);--ez-button--padding-bottom:var(--space--medium, 12px);--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--title--primary, #FFF);--ez-button--font-size:var(--text--medium, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--text-weight--large);--ez-button--background-color:var(--background--medium, #c0c0c0);--ez-button--border-radius:var(--border--radius-large, 12px);--ez-button--border:none;--ez-button--hover
|
|
7
|
+
const ezButtonCss = ":host{--ez-button--min-width:100px;--ez-button--height:42px;--ez-button__icon--width:18px;--ez-button__inline__icon--padding:12px;--ez-button--padding-top:var(--space--medium, 12px);--ez-button--padding-bottom:var(--space--medium, 12px);--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--title--primary, #FFF);--ez-button--font-size:var(--text--medium, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--text-weight--large);--ez-button--background-color:var(--background--medium, #c0c0c0);--ez-button--border-radius:var(--border--radius-large, 12px);--ez-button--border:none;--ez-button--hover-color:var(--color--primary-600);--ez-button--hover--background-color:var(--background--medium, var(--ez-button--background-color));--ez-button--disabled-color:var(--text--disable);--ez-button--disabled--background-color:var(--color--disable-secondary);--ez-button--focus--border:var(--border--xlarge, 4px solid) var(--color--primary-300);--ez-button--focus--box-shadow:none;--ez-button--active-color:var(--color--primary-700);--ez-button--active--background-color:var(--background--strong);--ez-button--link-color:var(--color--primary, '#008561');--ez-button--link--hover-color:var(--color--primary-700, '#1C1D22');--ez-button--link--small--font-size:var(--text--small, 12px);--ez-button--link--medium--font-size:var(--text--medium, 14px);--ez-button--link--large--font-size:var(--text--large, 16px)}ez-icon{--ez-icon--color:inherit}button{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;min-width:var(--ez-button--min-width);height:var(--ez-button--height);font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);padding:var(--ez-button--padding-top) var(--ez-button--padding-right) var(--ez-button--padding-bottom) var(--ez-button--padding-left);border-radius:var(--ez-button--border-radius);background-color:var(--ez-button--background-color);color:var(--ez-button--color);fill:var(--ez-button--color);border:var(--ez-button--border)}button:focus{outline:var(--ez-button--focus--border);box-shadow:var(--ez-button--focus--box-shadow)}button:hover{outline:none;background-color:var(--ez-button--hover--background-color);color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}button:active{outline:none;box-shadow:none;background-color:var(--ez-button--active--background-color);color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);border:none;--ez-icon--color:var(--ez-button--disabled-color);cursor:no-drop}.small{height:32px;--ez-button--font-size:var(--text--small, 12px)}.medium{height:42px}.large{height:46px}.btn-icon{padding:0px}.btn-icon--medium{width:42px;min-width:42px;height:42px}.btn-icon--small{width:32px;min-width:32px;height:32px}.btn-icon--large{width:46px;min-width:46px;height:46px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--color)}.label-icon:hover{color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}.label-icon:active{color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}.label-icon label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);user-select:none}button:disabled+label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);color:var(--ez-button--disabled-color);cursor:no-drop}div.label-icon{cursor:pointer}div.label-icon,button:disabled{cursor:no-drop}a{font-family:var(--ez-button--font-family);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}a:hover{color:var(--ez-button--link--hover-color)}a.small{font-size:var(--ez-button--link--small--font-size);line-height:var(--ez-button--link--small--font-size)}a.medium{font-size:var(--ez-button--link--medium--font-size);line-height:var(--ez-button--link--medium--font-size)}a.large{font-size:var(--ez-button--link--large--font-size);line-height:var(--ez-button--link--large--font-size)}";
|
|
8
8
|
|
|
9
9
|
let EzButton = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -17,10 +17,6 @@ let EzButton = class {
|
|
|
17
17
|
* Define o modo de uso do botão; opções: icon, link e regular
|
|
18
18
|
*/
|
|
19
19
|
this.mode = "regular";
|
|
20
|
-
/**
|
|
21
|
-
* É possível escolher entre [small,medium,large] (somente para os modos "icon" e "link")
|
|
22
|
-
*/
|
|
23
|
-
this.size = "medium";
|
|
24
20
|
}
|
|
25
21
|
/**
|
|
26
22
|
* Realiza o foco no botão
|
|
@@ -34,8 +30,10 @@ let EzButton = class {
|
|
|
34
30
|
async setBlur() {
|
|
35
31
|
this._button.blur();
|
|
36
32
|
}
|
|
37
|
-
getIconSize() {
|
|
38
|
-
|
|
33
|
+
getIconSize(sizeParam = "medium") {
|
|
34
|
+
const sizeList = ["small", "medium", "large"];
|
|
35
|
+
const sizeLowerCase = this.size && this.size.toLowerCase();
|
|
36
|
+
return sizeList.includes(sizeLowerCase) ? sizeLowerCase : sizeParam;
|
|
39
37
|
}
|
|
40
38
|
handleSlotChange(ev) {
|
|
41
39
|
const slot = ev.target;
|
|
@@ -50,27 +48,27 @@ let EzButton = class {
|
|
|
50
48
|
}
|
|
51
49
|
}
|
|
52
50
|
else {
|
|
53
|
-
content.style.setProperty(
|
|
51
|
+
content.style.setProperty("--ez-icon--color", "var(--ez-icon--color)");
|
|
54
52
|
}
|
|
55
53
|
}
|
|
56
54
|
render() {
|
|
57
55
|
if (this.mode == "icon") {
|
|
58
|
-
return (index.h("button", { class: "icon " + this.
|
|
56
|
+
return (index.h("button", { class: "btn-icon " + ((this.getIconSize()) ? `btn-icon--${this.getIconSize()}` : ""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, index.h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize(), onClick: evt => {
|
|
59
57
|
if (!this.enabled)
|
|
60
58
|
evt.stopPropagation();
|
|
61
59
|
} })));
|
|
62
60
|
}
|
|
63
61
|
else if (this.mode == "label-icon") {
|
|
64
|
-
return (index.h("div", { class: "label-icon" }, index.h("button", { class: "icon", type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, index.h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size:
|
|
62
|
+
return (index.h("div", { class: "label-icon" }, index.h("button", { class: "btn-icon " + ((this.getIconSize()) ? `btn-icon--${this.getIconSize()}` : ""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, index.h("ez-icon", { class: "icon", href: this.image, iconName: this.iconName, size: this.getIconSize(), onClick: evt => {
|
|
65
63
|
if (!this.enabled)
|
|
66
64
|
evt.stopPropagation();
|
|
67
65
|
} })), index.h("label", { title: this.label }, this.label)));
|
|
68
66
|
}
|
|
69
67
|
else if (this.mode == "link") {
|
|
70
|
-
return (index.h("a", { class: this.
|
|
68
|
+
return (index.h("a", { class: this.getIconSize(), ref: (el) => this._button = el }, index.h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, index.h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
71
69
|
}
|
|
72
70
|
else {
|
|
73
|
-
return (index.h("button", { type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, index.h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, index.h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
71
|
+
return (index.h("button", { class: this.getIconSize(""), type: "button", disabled: !this.enabled, ref: (el) => this._button = el }, index.h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label, index.h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
74
72
|
}
|
|
75
73
|
}
|
|
76
74
|
};
|
|
@@ -641,7 +641,12 @@ class DataBinder {
|
|
|
641
641
|
const oldValue = field["value"];
|
|
642
642
|
const newValue = this._dataUnit.getFieldValue(fieldName);
|
|
643
643
|
if (oldValue != newValue) {
|
|
644
|
-
|
|
644
|
+
if (newValue === undefined) {
|
|
645
|
+
field.removeAttribute("value");
|
|
646
|
+
}
|
|
647
|
+
else {
|
|
648
|
+
field["value"] = newValue;
|
|
649
|
+
}
|
|
645
650
|
}
|
|
646
651
|
}
|
|
647
652
|
updateBind(fieldName, field) {
|
|
@@ -649,7 +654,13 @@ class DataBinder {
|
|
|
649
654
|
if (oldBind) {
|
|
650
655
|
oldBind.destroy();
|
|
651
656
|
}
|
|
652
|
-
|
|
657
|
+
const value = this._dataUnit.getFieldValue(fieldName);
|
|
658
|
+
if (value === undefined) {
|
|
659
|
+
field.removeAttribute("value");
|
|
660
|
+
}
|
|
661
|
+
else {
|
|
662
|
+
field["value"] = value;
|
|
663
|
+
}
|
|
653
664
|
this._fields.set(fieldName, Bind.create(fieldName, field, (fieldName, waitingChange) => this.changeStarted(fieldName, waitingChange), (fieldName, newValue) => this.setFieldValue(fieldName, newValue)));
|
|
654
665
|
this.bindSearchOptionsLoader(fieldName, field);
|
|
655
666
|
this.applyEzUploadContext(fieldName, field);
|
|
@@ -736,7 +747,7 @@ let EzForm = class {
|
|
|
736
747
|
.filter(f => f.dataset.required)
|
|
737
748
|
.map(f => f.dataset.fieldName)
|
|
738
749
|
.concat(metadata.getRequiredFields());
|
|
739
|
-
const records = this.dataUnit.
|
|
750
|
+
const records = this.dataUnit.getModifiedRecords();
|
|
740
751
|
for (let i = 0; i < records.length; i++) {
|
|
741
752
|
if (!this.validateRequired(requiredFields, records[i])) {
|
|
742
753
|
reject();
|
|
@@ -110357,19 +110357,24 @@ class AgGridController {
|
|
|
110357
110357
|
});
|
|
110358
110358
|
return optionSelected === null || optionSelected === void 0 ? void 0 : optionSelected.label;
|
|
110359
110359
|
}
|
|
110360
|
-
if ((source === null || source === void 0 ? void 0 : source.userInterface) ===
|
|
110361
|
-
if ((params === null || params === void 0 ? void 0 : params.value) === "S" || (params === null || params === void 0 ? void 0 : params.value) === true) {
|
|
110360
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UnitMetadata.UserInterface.SWITCH) {
|
|
110361
|
+
if ((params === null || params === void 0 ? void 0 : params.value) === "S" || (params === null || params === void 0 ? void 0 : params.value) === true || (params === null || params === void 0 ? void 0 : params.value) === "true") {
|
|
110362
110362
|
return "Sim";
|
|
110363
110363
|
}
|
|
110364
|
-
else if ((params === null || params === void 0 ? void 0 : params.value) === "N" || (params === null || params === void 0 ? void 0 : params.value) === false) {
|
|
110364
|
+
else if ((params === null || params === void 0 ? void 0 : params.value) === "N" || (params === null || params === void 0 ? void 0 : params.value) === false || (params === null || params === void 0 ? void 0 : params.value) === "false") {
|
|
110365
110365
|
return "Não";
|
|
110366
110366
|
}
|
|
110367
110367
|
}
|
|
110368
|
-
if ((source === null || source === void 0 ? void 0 : source.userInterface) ===
|
|
110368
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UnitMetadata.UserInterface.SEARCH) {
|
|
110369
110369
|
if (params.value !== undefined) {
|
|
110370
110370
|
return ((_a = params === null || params === void 0 ? void 0 : params.value) === null || _a === void 0 ? void 0 : _a.value) + " - " + ((_b = params === null || params === void 0 ? void 0 : params.value) === null || _b === void 0 ? void 0 : _b.label);
|
|
110371
110371
|
}
|
|
110372
110372
|
}
|
|
110373
|
+
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UnitMetadata.UserInterface.DECIMALNUMBER) {
|
|
110374
|
+
if (params.value !== undefined) {
|
|
110375
|
+
return core.NumberUtils.format(params.value.toString(), 2, 2);
|
|
110376
|
+
}
|
|
110377
|
+
}
|
|
110373
110378
|
if ((source === null || source === void 0 ? void 0 : source.userInterface) === UnitMetadata.UserInterface.DATE || (source === null || source === void 0 ? void 0 : source.userInterface) === UnitMetadata.UserInterface.DATETIME) {
|
|
110374
110379
|
if (params.value !== undefined) {
|
|
110375
110380
|
return params.value.toLocaleDateString();
|
|
@@ -110475,7 +110480,12 @@ class DataUnitBridge {
|
|
|
110475
110480
|
this._dataUnit.metadata.fields.forEach(f => {
|
|
110476
110481
|
var _a;
|
|
110477
110482
|
if (f.visible !== false) {
|
|
110478
|
-
|
|
110483
|
+
const props = new Map();
|
|
110484
|
+
const properties = this._dataUnit.getField(f.name).properties;
|
|
110485
|
+
for (const value in properties) {
|
|
110486
|
+
props.set(value, properties[value]);
|
|
110487
|
+
}
|
|
110488
|
+
columnDefs.push({ label: f.label, name: f.name, userInterface: f.userInterface, options: (_a = this._dataUnit.getField(f.name).properties) === null || _a === void 0 ? void 0 : _a.options, props });
|
|
110479
110489
|
}
|
|
110480
110490
|
});
|
|
110481
110491
|
}
|
|
@@ -110496,7 +110506,7 @@ let EzGrid = class {
|
|
|
110496
110506
|
this.ezDoubleClick = index.createEvent(this, "ezDoubleClick", 7);
|
|
110497
110507
|
this.configChange = index.createEvent(this, "configChange", 7);
|
|
110498
110508
|
this._gridController = new AgGridController(false);
|
|
110499
|
-
this.
|
|
110509
|
+
this._popUpGridConfig = false;
|
|
110500
110510
|
/**
|
|
110501
110511
|
* Determina o número de linhas de cada página. Caso informado o valor -1
|
|
110502
110512
|
* não haverá paginação.
|
|
@@ -110670,18 +110680,18 @@ let EzGrid = class {
|
|
|
110670
110680
|
}
|
|
110671
110681
|
applyConfig(config) {
|
|
110672
110682
|
this._gridController.setColumnsState(config.columns);
|
|
110673
|
-
this.
|
|
110683
|
+
this.closeGridConfig();
|
|
110674
110684
|
}
|
|
110675
|
-
|
|
110676
|
-
this.
|
|
110685
|
+
closeGridConfig() {
|
|
110686
|
+
this._popUpGridConfig = false;
|
|
110677
110687
|
}
|
|
110678
|
-
|
|
110688
|
+
openGridConfig() {
|
|
110679
110689
|
this._gridConfig.columns = this._gridController.getColumnsState().filter(c => c.name);
|
|
110680
110690
|
this._gridConfig.selectedTab = "Colunas";
|
|
110681
|
-
this.
|
|
110691
|
+
this._popUpGridConfig = true;
|
|
110682
110692
|
}
|
|
110683
110693
|
render() {
|
|
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()
|
|
110694
|
+
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("div", { class: "grid__container ez-grid", ref: elem => this._container = elem }), index.h("div", { class: "grid__footer" }), index.h("ez-modal", { modalSize: "small", closeEsc: false, closeOutsideClick: false, opened: this._popUpGridConfig, onEzCloseModal: () => this.closeGridConfig() }, 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.closeGridConfig() }))));
|
|
110685
110695
|
}
|
|
110686
110696
|
static get assetsDirs() { return ["../assets"]; }
|
|
110687
110697
|
static get watchers() { return {
|
|
@@ -59,6 +59,17 @@ let EzList = class {
|
|
|
59
59
|
this._listItemsHistory = [];
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
+
* Responsável por dar um scroll top no componente da lista.
|
|
63
|
+
*/
|
|
64
|
+
async scrollToTop() {
|
|
65
|
+
if (this.useGroups) {
|
|
66
|
+
this._element.shadowRoot.querySelector('.group-container').scrollTop = 0;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
this._element.shadowRoot.querySelector('.items-container').scrollTop = 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
62
73
|
* 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).
|
|
63
74
|
*/
|
|
64
75
|
async setSelection(selectedItem, scrollToOption) {
|
|
@@ -10,6 +10,7 @@ let EzModal = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.ezCloseModal = index.createEvent(this, "ezCloseModal", 7);
|
|
13
|
+
this.ezOpenModal = index.createEvent(this, "ezOpenModal", 7);
|
|
13
14
|
/**
|
|
14
15
|
* Controle de exibição do Modal
|
|
15
16
|
*/
|
|
@@ -43,6 +44,11 @@ let EzModal = class {
|
|
|
43
44
|
componentDidLoad() {
|
|
44
45
|
this.handleopenedChange();
|
|
45
46
|
}
|
|
47
|
+
componentDidRender() {
|
|
48
|
+
if (this.opened) {
|
|
49
|
+
this.ezOpenModal.emit();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
46
52
|
onMouseDownHandler(event) {
|
|
47
53
|
if (this.closeOutsideClick && event.target === this._overlay) {
|
|
48
54
|
this.closeModal();
|
|
@@ -26,14 +26,16 @@ let EzTextInput = class {
|
|
|
26
26
|
}
|
|
27
27
|
showError() {
|
|
28
28
|
var _a, _b;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
if (this._inputElem) {
|
|
30
|
+
const hasError = typeof this.errorMessage === "string" && this.errorMessage !== "";
|
|
31
|
+
if (hasError) {
|
|
32
|
+
this._inputElem.classList.add("hasError");
|
|
33
|
+
(_a = this._messageBoxElem) === null || _a === void 0 ? void 0 : _a.classList.add("hasError");
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this._inputElem.classList.remove("hasError");
|
|
37
|
+
(_b = this._messageBoxElem) === null || _b === void 0 ? void 0 : _b.classList.remove("hasError");
|
|
38
|
+
}
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
prepareMask() {
|
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"],"config":[1040],"pageSize":[2,"page-size"],"serverUrl":[1,"server-url"],"dataUnit":[16],"_navigationHasPrevious":[32],"_navigationHasNext":[32],"_navigationFirstRow":[32],"_navigationLastRow":[32],"_navigationTotalRows":[32],"
|
|
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],"_popUpGridConfig":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"refresh":[64],"quickFilter":[64],"openGridConfig":[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-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]}]]],["select-box.cjs",[[1,"select-box",{"selectedOption":[1,"selected-option"]}]]],["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-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-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-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
|
});
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-0e284e03.js');
|
|
6
6
|
const core = require('@sankhyalabs/core');
|
|
7
7
|
const AssetsUtils = require('./AssetsUtils-78164781.js');
|
|
8
|
+
const ApplicationUtils = require('./ApplicationUtils-4a223c7a.js');
|
|
8
9
|
|
|
9
10
|
const gridConfigCss = ".sc-grid-config-h{--ez-grid-config__footer--padding-top:var(--space--medium, 12px);--ez-grid-config__main--padding-right:var(--space--medium, 12px);--ez-grid-config__tabselector-container--padding:var(--space--medium, 12px);--ez-grid-config__button-close--padding-left:var(--space--medium, 12px);--ez-grid-config__subtitle--font-family:var(--font-pattern, \"Sora\");--ez-grid-config__title--font-family:var(--font-pattern, \"Sora\");--ez-grid-config__title--font-weight:var(--text-weight--large, 700);--ez-grid-config__subtitle--font-size:var(--text--medium, 14px);--ez-grid-config__scrollbar--width:var(--space--medium, 12px);--ez-grid-config__main__scrollbar--background-color:var(--text--primary, #626e82);--ez-grid-config__main__scrollbar--border-radius:var(--border--radius-medium, 12px);--ez-grid__group--font-family:var(--font-pattern, \"Sora\");--ez-grid__group--font-size:var(--text--medium, 14px);--ez-grid__group--font-weight:var(--text-weight--large, 600);--ez-grid__group--padding-bottom:var(--space-small, 6px);display:grid;grid-template-rows:auto 1fr auto;max-height:100%;width:100%}.padding-right--medium.sc-grid-config{padding-right:var(--space--medium)}ez-list.sc-grid-config{height:100%}.heigth-calc.sc-grid-config{max-height:calc(100% - 24px)}.grid-config__footer.sc-grid-config{padding-top:var(--ez-grid-config__footer--padding-top);display:flex;justify-content:flex-end;width:100%}.hidden.sc-grid-config{display:none}.grid-config__main.sc-grid-config{padding-right:var(--ez-grid-config__main--padding-right);overflow-y:auto}.tabselector-container.sc-grid-config{padding:var(--ez-grid-config__tabselector-container--padding) 0}.button-close.sc-grid-config{padding-left:var(--ez-grid-config__button-close--padding-left)}.title-container.sc-grid-config{display:flex;justify-content:space-between;align-items:center;width:359px}.subtitle.sc-grid-config{font-family:var(--ez-grid-config__subtitle--font-family);font-size:var(--ez-grid-config__subtitle--font-size);color:var(--text--primary)}.title.sc-grid-config{display:flex;margin:0;font-family:var(--ez-grid-config__title--font-family);font-size:var(--title--large);font-weight:var(--ez-grid-config__title--font-weight);line-height:normal;letter-spacing:0em;text-align:left;color:var(--title--primary)}.grid-config__main.sc-grid-config::-webkit-scrollbar-track{background-color:#f0f2f5}.grid-config__main.sc-grid-config::-webkit-scrollbar-thumb{background-color:var(--ez-grid-config__main__scrollbar--background-color);border-radius:var(--ez-grid-config__main__scrollbar--border-radius)}.grid-config__main.sc-grid-config::-webkit-scrollbar{background-color:#f0f2f5;width:var(--ez-grid-config__scrollbar--width);max-width:var(--ez-grid-config__scrollbar--width);min-width:var(--ez-grid-config__scrollbar--width)}.group-name.sc-grid-config{font-family:var(--ez-grid__group--font-family);font-size:var(--ez-grid__group--font-size);font-weight:var(--ez-grid__group--font-weight);padding-bottom:var(--ez-grid__group--padding-bottom)}";
|
|
10
11
|
|
|
@@ -17,6 +18,7 @@ let GridConfig = class {
|
|
|
17
18
|
this._orderPriorityList = [];
|
|
18
19
|
this._columListItems = [];
|
|
19
20
|
this._selectedIndex = -1;
|
|
21
|
+
this._dataChanged = false;
|
|
20
22
|
this.selectedTab = "Colunas";
|
|
21
23
|
}
|
|
22
24
|
/* Creation Methods */
|
|
@@ -92,6 +94,7 @@ let GridConfig = class {
|
|
|
92
94
|
}
|
|
93
95
|
updateOrder(sortOrder, updatedItemLabel) {
|
|
94
96
|
var _a;
|
|
97
|
+
this._dataChanged = true;
|
|
95
98
|
let newList = [...this.columns];
|
|
96
99
|
let newItem = newList.find(item => item.label === updatedItemLabel);
|
|
97
100
|
if (newItem) {
|
|
@@ -120,6 +123,7 @@ let GridConfig = class {
|
|
|
120
123
|
switchColumnGroup(ev, switchedItem) {
|
|
121
124
|
ev.stopPropagation();
|
|
122
125
|
let newList = [...this._columListItems];
|
|
126
|
+
this._dataChanged = true;
|
|
123
127
|
if (ev.detail === true) {
|
|
124
128
|
let hiddenGroup = newList.find(group => group.group === "Ocultas");
|
|
125
129
|
let index = hiddenGroup.items.findIndex(item => item.label === switchedItem.label);
|
|
@@ -159,6 +163,9 @@ let GridConfig = class {
|
|
|
159
163
|
});
|
|
160
164
|
});
|
|
161
165
|
this.columns = newColumnList;
|
|
166
|
+
this._dataChanged = false;
|
|
167
|
+
this.closeConfig();
|
|
168
|
+
ApplicationUtils.ApplicationUtils.info("As configurações foram salvas com sucesso!");
|
|
162
169
|
this.save();
|
|
163
170
|
}
|
|
164
171
|
save() {
|
|
@@ -341,13 +348,46 @@ let GridConfig = class {
|
|
|
341
348
|
return false;
|
|
342
349
|
}
|
|
343
350
|
closeConfig() {
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
351
|
+
this._orderList.scrollToTop();
|
|
352
|
+
this._columnList.scrollToTop();
|
|
353
|
+
this._searchElement.value = "";
|
|
354
|
+
if (this._dataChanged) {
|
|
355
|
+
let options = {
|
|
356
|
+
canClose: false,
|
|
357
|
+
labelCancel: "Descartar",
|
|
358
|
+
labelConfirm: "Salvar",
|
|
359
|
+
btnConfirmDanger: false
|
|
360
|
+
};
|
|
361
|
+
ApplicationUtils.ApplicationUtils.confirm("Aviso", "As alterações realizadas serão descartadas. Gostaria de salvar antes de sair?", null, false, options)
|
|
362
|
+
.then(response => {
|
|
363
|
+
if (!response) {
|
|
364
|
+
this._dataChanged = false;
|
|
365
|
+
this.configCancel.emit();
|
|
366
|
+
this._orderList.clearHistory();
|
|
367
|
+
}
|
|
368
|
+
else {
|
|
369
|
+
this.finish();
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
else {
|
|
374
|
+
this.configCancel.emit();
|
|
375
|
+
this._orderList.clearHistory();
|
|
376
|
+
}
|
|
346
377
|
}
|
|
347
378
|
/* Handlers */
|
|
348
379
|
handleTabChange(ev) {
|
|
349
380
|
var _a;
|
|
350
381
|
if ((_a = ev === null || ev === void 0 ? void 0 : ev.target) === null || _a === void 0 ? void 0 : _a.selectedTab) {
|
|
382
|
+
if (this.selectedTab !== ev.target.selectedTab) {
|
|
383
|
+
if (ev.target.selectedTab === "Colunas") {
|
|
384
|
+
this._orderList.scrollToTop();
|
|
385
|
+
}
|
|
386
|
+
else if (ev.target.selectedTab === "Ordenação das linhas") {
|
|
387
|
+
this._columnList.scrollToTop();
|
|
388
|
+
}
|
|
389
|
+
this._searchElement.value = "";
|
|
390
|
+
}
|
|
351
391
|
if (ev.target.selectedTab === "Ordenação das linhas") {
|
|
352
392
|
this.createOrderList();
|
|
353
393
|
}
|
|
@@ -359,6 +399,7 @@ let GridConfig = class {
|
|
|
359
399
|
if (ev.detail) {
|
|
360
400
|
let visibleItems = (_a = ev.detail.find(group => group.group === "Visíveis")) === null || _a === void 0 ? void 0 : _a.items;
|
|
361
401
|
if (visibleItems) {
|
|
402
|
+
this._dataChanged = true;
|
|
362
403
|
this._orderListItems = visibleItems;
|
|
363
404
|
}
|
|
364
405
|
}
|
|
@@ -367,6 +408,7 @@ let GridConfig = class {
|
|
|
367
408
|
if (ev.detail) {
|
|
368
409
|
let orderPriorityList = ev.detail;
|
|
369
410
|
if (orderPriorityList) {
|
|
411
|
+
this._dataChanged = true;
|
|
370
412
|
this._orderPriorityList = orderPriorityList;
|
|
371
413
|
}
|
|
372
414
|
}
|
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-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],"
|
|
17
|
+
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],"_popUpGridConfig":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"refresh":[64],"quickFilter":[64],"openGridConfig":[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-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]}]]],["select-box.cjs",[[1,"select-box",{"selectedOption":[1,"selected-option"]}]]],["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-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-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-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);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|