@sankhyalabs/ezui 2.0.1 → 2.0.3
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-check.cjs.entry.js +6 -19
- package/dist/cjs/ez-form.cjs.entry.js +9 -15
- package/dist/cjs/ez-grid.cjs.entry.js +87 -11
- package/dist/cjs/ez-tabselector.cjs.entry.js +14 -4
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-check/ez-check.css +24 -8
- package/dist/collection/components/ez-check/ez-check.js +23 -20
- package/dist/collection/components/ez-form/ez-form.js +9 -15
- package/dist/collection/components/ez-form/store/form.slice.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +47 -11
- package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js +40 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +30 -9
- package/dist/custom-elements/index.js +118 -51
- package/dist/esm/ez-check.entry.js +6 -19
- package/dist/esm/ez-form.entry.js +10 -16
- package/dist/esm/ez-grid.entry.js +87 -11
- package/dist/esm/ez-tabselector.entry.js +14 -4
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-0bd0afcf.entry.js +1 -0
- package/dist/ezui/p-9fc50d9a.entry.js +1 -0
- package/dist/ezui/{p-ae5af8f9.entry.js → p-e120b25a.entry.js} +1 -1
- package/dist/ezui/p-f27c364b.entry.js +1 -0
- package/dist/types/components/ez-check/ez-check.d.ts +5 -2
- package/dist/types/components/ez-form/ez-form.d.ts +1 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +3 -0
- package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +12 -0
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +5 -2
- package/dist/types/components.d.ts +12 -4
- package/package.json +1 -1
- package/dist/ezui/p-04a41a44.entry.js +0 -1
- package/dist/ezui/p-2213da1f.entry.js +0 -1
- package/dist/ezui/p-cd4677d4.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, h, Host, Prop, Element, forceUpdate, Method, Watch, Event } from "@stencil/core";
|
|
2
|
-
import { DataUnit, Action, DataUnitAction
|
|
2
|
+
import { DataUnit, Action, DataUnitAction } from "@sankhyalabs/core";
|
|
3
3
|
import { FormSheet } from "./structure/FormSheet";
|
|
4
4
|
import { buildFromConfig, buildFromDataUnit } from "./structure/FormSheetMetadata";
|
|
5
5
|
import { createStore } from "redux";
|
|
@@ -94,7 +94,10 @@ export class EzForm {
|
|
|
94
94
|
const allSheets = Array.from(formMD.getAllSheets().values());
|
|
95
95
|
const result = [];
|
|
96
96
|
if (allSheets.length > 1) {
|
|
97
|
-
|
|
97
|
+
const tabs = allSheets.map((sheet, index) => {
|
|
98
|
+
return { tabKey: sheet.name, label: sheet.label, index };
|
|
99
|
+
});
|
|
100
|
+
result.push(h("ez-tabselector", { tabs: tabs, onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name }));
|
|
98
101
|
}
|
|
99
102
|
result.push(h(FormSheet, { store: this._store, source: currentSheet }));
|
|
100
103
|
return result;
|
|
@@ -109,16 +112,6 @@ export class EzForm {
|
|
|
109
112
|
var _a;
|
|
110
113
|
return ((_a = this._staticFields) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
111
114
|
}
|
|
112
|
-
getValidatedValue(value) {
|
|
113
|
-
switch (value) {
|
|
114
|
-
case "${data}":
|
|
115
|
-
return DateUtils.getToday();
|
|
116
|
-
case "${datahora}":
|
|
117
|
-
return DateUtils.getToday(true);
|
|
118
|
-
default:
|
|
119
|
-
return value;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
115
|
interceptAction(action) {
|
|
123
116
|
if (action.type === Action.RECORDS_COPIED) {
|
|
124
117
|
const metadata = selectFormMetadata(this._store.getState());
|
|
@@ -147,9 +140,10 @@ export class EzForm {
|
|
|
147
140
|
return new DataUnitAction(Action.RECORDS_ADDED, records.map(record => {
|
|
148
141
|
const newRecord = Object.assign({}, record);
|
|
149
142
|
for (const field in defaultValues) {
|
|
150
|
-
const
|
|
151
|
-
const
|
|
152
|
-
|
|
143
|
+
const value = "formattedValue" in defaultValues[field] ? defaultValues[field].formattedValue : defaultValues[field].value;
|
|
144
|
+
const defaultValue = value != undefined ? value : defaultValues[field];
|
|
145
|
+
const recordValue = typeof defaultValue === "function" ? defaultValue() : defaultValue;
|
|
146
|
+
newRecord[field] = this.dataUnit.valueFromString(field, recordValue);
|
|
153
147
|
}
|
|
154
148
|
return newRecord;
|
|
155
149
|
}));
|
|
@@ -3,7 +3,7 @@ const inicialState = {};
|
|
|
3
3
|
export function formReducer(state = inicialState, action) {
|
|
4
4
|
switch (action.type) {
|
|
5
5
|
case FormActions.METADATA_LOADED:
|
|
6
|
-
return Object.assign(Object.assign({}, state), { formMetadata: action.payload });
|
|
6
|
+
return Object.assign(Object.assign({}, state), { formMetadata: action.payload, currentSheet: undefined });
|
|
7
7
|
case FormActions.CHANGE_TAB:
|
|
8
8
|
return Object.assign(Object.assign({}, state), { currentSheet: action.payload });
|
|
9
9
|
default:
|
|
@@ -5,6 +5,7 @@ import gridTerms from "./i18n/pt-BR.js";
|
|
|
5
5
|
import getHeaderColumnTemplate from "./template/HeaderColumnTemplate.js";
|
|
6
6
|
import DataSource from "./DataSource";
|
|
7
7
|
import { CellRenderer } from "./components/cellRenderer";
|
|
8
|
+
import SelectionHeader from "./components/selectionHeader";
|
|
8
9
|
export default class AgGridController {
|
|
9
10
|
constructor(enterprise) {
|
|
10
11
|
this.DEFAULT_ROW_HEIGHT = 30;
|
|
@@ -67,6 +68,13 @@ export default class AgGridController {
|
|
|
67
68
|
defaultColDef: {
|
|
68
69
|
headerClass: "ez-grid__cell-header",
|
|
69
70
|
cellClass: "ez-grid__cell-body"
|
|
71
|
+
},
|
|
72
|
+
components: {
|
|
73
|
+
'ezGridHeaderComponent': SelectionHeader
|
|
74
|
+
},
|
|
75
|
+
context: {
|
|
76
|
+
headerCheckStatusGetter: () => this.getSelectionHeaderStatus(),
|
|
77
|
+
headerCheckStatusSetter: (selectAll) => this.updateSelectionForAll(selectAll)
|
|
70
78
|
}
|
|
71
79
|
};
|
|
72
80
|
this.setOptionsEvents(this._gridOptions);
|
|
@@ -99,6 +107,31 @@ export default class AgGridController {
|
|
|
99
107
|
opt.suppressDragLeaveHidesColumns = true;
|
|
100
108
|
opt.suppressMenuHide = true;
|
|
101
109
|
}
|
|
110
|
+
getSelectionHeaderStatus() {
|
|
111
|
+
const records = this._dataUnit.records;
|
|
112
|
+
if (records && records.length === 0) {
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
const selection = this._dataUnit.getSelection();
|
|
116
|
+
if (selection == undefined || selection.length === 0) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
if (selection.length != records.length) {
|
|
120
|
+
return undefined;
|
|
121
|
+
}
|
|
122
|
+
let status = undefined;
|
|
123
|
+
for (let i = 0; i < records.length; i++) {
|
|
124
|
+
const current = selection.includes(records[i].__record__id__);
|
|
125
|
+
if (status != undefined && current !== status) {
|
|
126
|
+
return undefined;
|
|
127
|
+
}
|
|
128
|
+
status = current;
|
|
129
|
+
}
|
|
130
|
+
return status;
|
|
131
|
+
}
|
|
132
|
+
updateSelectionForAll(selectAll) {
|
|
133
|
+
this._dataUnit.setSelection(selectAll ? this._dataUnit.records.map(r => r.__record__id__) : []);
|
|
134
|
+
}
|
|
102
135
|
setData(data) {
|
|
103
136
|
if (this._grid === undefined) {
|
|
104
137
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
@@ -119,13 +152,12 @@ export default class AgGridController {
|
|
|
119
152
|
if (this._grid === undefined) {
|
|
120
153
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
121
154
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
155
|
+
this._gridOptions.api.forEachNode(node => {
|
|
156
|
+
node.setSelected(rowIds && rowIds.includes(node.id));
|
|
157
|
+
});
|
|
158
|
+
const selectionHeader = this._gridOptions.context.selectionHeader;
|
|
159
|
+
if (selectionHeader) {
|
|
160
|
+
selectionHeader.updateCheckbox();
|
|
129
161
|
}
|
|
130
162
|
}
|
|
131
163
|
removeRows() {
|
|
@@ -174,7 +206,8 @@ export default class AgGridController {
|
|
|
174
206
|
colId: this.CHECK_BOX_COL_ID,
|
|
175
207
|
headerName: "",
|
|
176
208
|
checkboxSelection: true,
|
|
177
|
-
|
|
209
|
+
headerComponent: "ezGridHeaderComponent",
|
|
210
|
+
headerClass: "ag-column-select-header",
|
|
178
211
|
width: 28,
|
|
179
212
|
suppressMovable: true,
|
|
180
213
|
suppressAutoSize: true,
|
|
@@ -415,9 +448,12 @@ export default class AgGridController {
|
|
|
415
448
|
}
|
|
416
449
|
onSelectionChange() {
|
|
417
450
|
if (this._selectionChangeCallback) {
|
|
418
|
-
this.
|
|
419
|
-
|
|
420
|
-
|
|
451
|
+
clearTimeout(this._selectionChangeDeboucing);
|
|
452
|
+
this._selectionChangeDeboucing = window.setTimeout(() => {
|
|
453
|
+
this._selectionChangeCallback({
|
|
454
|
+
selection: this._gridOptions.api.getSelectedRows()
|
|
455
|
+
});
|
|
456
|
+
}, 0);
|
|
421
457
|
}
|
|
422
458
|
}
|
|
423
459
|
onRowDoubleClick(evt) {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export default class SelectionHeader {
|
|
2
|
+
updateCheckbox() {
|
|
3
|
+
this.updatingValue = true;
|
|
4
|
+
try {
|
|
5
|
+
const value = this.headerCheckStatusGetter();
|
|
6
|
+
this.checkBox.indeterminate = value == undefined;
|
|
7
|
+
this.checkBox.value = value;
|
|
8
|
+
}
|
|
9
|
+
finally {
|
|
10
|
+
this.updatingValue = false;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
init(params) {
|
|
14
|
+
params.context.selectionHeader = this;
|
|
15
|
+
const valueSetter = params.context.headerCheckStatusSetter;
|
|
16
|
+
this.headerCheckStatusGetter = params.context.headerCheckStatusGetter;
|
|
17
|
+
this.element = document.createElement('div');
|
|
18
|
+
this.element.classList.add("ag-header__selection-checkbox");
|
|
19
|
+
this.checkBox = document.createElement('ez-check');
|
|
20
|
+
this.checkBox.style.setProperty("--ez-check--focus--background-color", "transparent");
|
|
21
|
+
this.checkBox.style.setProperty("--ez-check--hover--background-color", "transparent");
|
|
22
|
+
this.element.append(this.checkBox);
|
|
23
|
+
this.updateCheckbox();
|
|
24
|
+
this.element.addEventListener('ezChange', (evt) => {
|
|
25
|
+
if (!this.updatingValue) {
|
|
26
|
+
valueSetter(evt.detail);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
getGui() {
|
|
31
|
+
return this.element;
|
|
32
|
+
}
|
|
33
|
+
destroy() {
|
|
34
|
+
this.element.remove();
|
|
35
|
+
this.element = null;
|
|
36
|
+
}
|
|
37
|
+
refresh(_params) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, Element, h, Prop, Host } from "@stencil/core";
|
|
1
|
+
import { Component, Event, Element, h, Prop, Host, State, Watch } from "@stencil/core";
|
|
2
2
|
export class EzTabselector {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.setFocusedParam = (ev) => {
|
|
@@ -53,6 +53,11 @@ export class EzTabselector {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
+
observeTabs(newValue) {
|
|
57
|
+
if (newValue && typeof newValue !== "string") {
|
|
58
|
+
this._processedTabs = newValue;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
56
61
|
handleTabClick(tab) {
|
|
57
62
|
this.selectedIndex = tab.index;
|
|
58
63
|
this._focusedIndex = undefined;
|
|
@@ -64,10 +69,12 @@ export class EzTabselector {
|
|
|
64
69
|
if (!this._processedTabs) {
|
|
65
70
|
this._processedTabs = [];
|
|
66
71
|
if (this.tabs) {
|
|
67
|
-
this.tabs
|
|
68
|
-
label
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
if (typeof this.tabs === "string") {
|
|
73
|
+
this.tabs.split(",").forEach((label) => {
|
|
74
|
+
label = label.trim();
|
|
75
|
+
this._processedTabs.push({ label, tabKey: label, index: this._processedTabs.length });
|
|
76
|
+
});
|
|
77
|
+
}
|
|
71
78
|
}
|
|
72
79
|
this._hostElem.querySelectorAll("ez-tab").forEach((elem) => {
|
|
73
80
|
const tabKey = elem.getAttribute("tabKey");
|
|
@@ -239,20 +246,30 @@ export class EzTabselector {
|
|
|
239
246
|
"type": "string",
|
|
240
247
|
"mutable": false,
|
|
241
248
|
"complexType": {
|
|
242
|
-
"original": "string",
|
|
243
|
-
"resolved": "string",
|
|
244
|
-
"references": {
|
|
249
|
+
"original": "string | Array<Tab>",
|
|
250
|
+
"resolved": "Tab[] | string",
|
|
251
|
+
"references": {
|
|
252
|
+
"Array": {
|
|
253
|
+
"location": "global"
|
|
254
|
+
},
|
|
255
|
+
"Tab": {
|
|
256
|
+
"location": "local"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
245
259
|
},
|
|
246
260
|
"required": false,
|
|
247
261
|
"optional": false,
|
|
248
262
|
"docs": {
|
|
249
263
|
"tags": [],
|
|
250
|
-
"text": "Define o nome das abas do componente, separadas por v\u00EDrgulas \",\"."
|
|
264
|
+
"text": "Define o nome das abas do componente, separadas por v\u00EDrgulas \",\".\nOpcionalmente pode-se construir um array de objetos do tipo Tab, nesse caso\no tabKey e o \u00EDndice ser\u00E3o respeitados."
|
|
251
265
|
},
|
|
252
266
|
"attribute": "tabs",
|
|
253
267
|
"reflect": false
|
|
254
268
|
}
|
|
255
269
|
}; }
|
|
270
|
+
static get states() { return {
|
|
271
|
+
"_processedTabs": {}
|
|
272
|
+
}; }
|
|
256
273
|
static get events() { return [{
|
|
257
274
|
"method": "ezChange",
|
|
258
275
|
"name": "ezChange",
|
|
@@ -274,4 +291,8 @@ export class EzTabselector {
|
|
|
274
291
|
}
|
|
275
292
|
}]; }
|
|
276
293
|
static get elementRef() { return "_hostElem"; }
|
|
294
|
+
static get watchers() { return [{
|
|
295
|
+
"propName": "tabs",
|
|
296
|
+
"methodName": "observeTabs"
|
|
297
|
+
}]; }
|
|
277
298
|
}
|
|
@@ -638,7 +638,7 @@ let EzCardItem$1 = class extends HTMLElement$1 {
|
|
|
638
638
|
static get style() { return ezCardItemCss; }
|
|
639
639
|
};
|
|
640
640
|
|
|
641
|
-
const ezCheckCss = ":host{--ez-check--box--width:18px;--ez-check--box--height:18px;--ez-check--width:calc(var(--ez-check--box--width) + 14px);--ez-check--height:calc(var(--ez-check--box--width) + 14px);--ez-check--border-radius:var(--border--radius-small);--ez-check--checked--background-color:var(--color--primary-200);--ez-check--focus--background-color:var(--color--strokes, #FFFFFF);--ez-check--hover--background-color:var(--background--medium);--ez-check--checked--disabled--background-color:var(--color--disable-secondary);--ez-check--border:var(--border--medium) var(--title--primary);--ez-check--disabled--border:var(--border--medium) var(--color--strokes);--ez-check--checked--border:var(--border--medium) var(--color--primary);--ez-check--checked--hover--background-color:var(--color--primary-200);--ez-check--checked--focus--background-color:var(--color--primary-300, #FFFFFF);--ez-check--check--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"7\" viewBox=\"0 0 8 7\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z\"/></svg>');--ez-check--check--background-color:var(--color--primary);--ez-check--check--disabled--background-color:var(--color--strokes);--ez-switch--slider--width:34px;--ez-switch--slider--height:14px;--ez-switch--pin--width:19px;--ez-switch--pin--height:19px;--ez-switch--focus--width:32px;--ez-switch--focus--height:32px;--ez-switch--background-color:var(--color--strokes);--ez-switch--disabled--background-color:var(--color--disable-secondary);--ez-switch--disabled--checked--background-color:var(--color--primary-300);--ez-switch--checked--background-color:var(--color--primary);--ez-switch--pin--background-color:var(--background--xlight);--ez-switch--pin--disabled--background-color:var(--color--disable-primary);--ez-switch--pin--checked--background-color:var(--background--xlight);--ez-switch--pin--checked--disabled--background-color:#E8F7F4;--ez-switch--pin--focus--background-color:var(--text--disable);--ez-switch--pin--checked--focus--background-color:var(--color--primary);--ez-switch--pin--border-color:var(--text--primary);--ez-switch--pin--disabled--border-color:var(--text--secondary);--ez-check--label--font-size:var(--text--medium, 14px);--ez-check--label--font-family:var(--font-pattern, Arial);--ez-check--label--color:var(--title--primary, #000);--ez-check--label--disabled--color:var(--text--disable, #AFB6C0);display:flex;width:100%;align-items:center;margin:0}input.regular-mode{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;border-radius:50%;position:relative;width:var(--ez-check--width);height:var(--ez-check--height)}input.regular-mode:enabled:hover{background-color:var(--ez-check--hover--background-color)}input.regular-mode:enabled:focus{outline:none;background-color:var(--ez-check--focus--background-color)}input.regular-mode:disabled{cursor:auto;background:none}input.regular-mode::before{box-sizing:border-box;content:\"\";display:block;width:var(--ez-check--box--width);height:var(--ez-check--box--height);border-radius:var(--ez-check--border-radius);border:var(--ez-check--border)}input.regular-mode:disabled::before{border:var(--ez-check--disabled--border)}input.regular-mode:checked:enabled:hover{background-color:var(--ez-check--checked--hover--background-color)}input.regular-mode:checked:enabled:focus{background-color:var(--ez-check--checked--focus--background-color)}input.regular-mode:checked::before{border:var(--ez-check--checked--border);background-color:var(--ez-check--checked--background-color)}input.regular-mode:
|
|
641
|
+
const ezCheckCss = ":host{--ez-check--box--width:18px;--ez-check--box--height:18px;--ez-check--width:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--height:calc(var(--ez-check--box--width) + var(--ez-check--outter-gap, 14px));--ez-check--border-radius:var(--border--radius-small);--ez-check--checked--background-color:var(--color--primary-200);--ez-check--focus--background-color:var(--color--strokes, #FFFFFF);--ez-check--hover--background-color:var(--background--medium);--ez-check--checked--disabled--background-color:var(--color--disable-secondary);--ez-check--border:var(--border--medium) var(--title--primary);--ez-check--disabled--border:var(--border--medium) var(--color--strokes);--ez-check--checked--border:var(--border--medium) var(--color--primary);--ez-check--checked--hover--background-color:var(--color--primary-200);--ez-check--checked--focus--background-color:var(--color--primary-300, #FFFFFF);--ez-check--check--image:url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"7\" viewBox=\"0 0 8 7\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z\"/></svg>');--ez-check--indeterminate--image:url('data:image/svg+xml;utf8,<svg width=\"10\" height=\"2\" viewBox=\"0 0 10 2\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m 1,0 h 8 c 0.554,0 1,0.446 1,1 0,0.554 -0.446,1 -1,1 H 1 C 0.446,2 0,1.554 0,1 0,0.446 0.446,0 1,0 Z\" /></svg>');--ez-check--check--background-color:var(--color--primary);--ez-check--check--disabled--background-color:var(--color--strokes);--ez-switch--slider--width:34px;--ez-switch--slider--height:14px;--ez-switch--pin--width:19px;--ez-switch--pin--height:19px;--ez-switch--focus--width:32px;--ez-switch--focus--height:32px;--ez-switch--background-color:var(--color--strokes);--ez-switch--disabled--background-color:var(--color--disable-secondary);--ez-switch--disabled--checked--background-color:var(--color--primary-300);--ez-switch--checked--background-color:var(--color--primary);--ez-switch--pin--background-color:var(--background--xlight);--ez-switch--pin--disabled--background-color:var(--color--disable-primary);--ez-switch--pin--checked--background-color:var(--background--xlight);--ez-switch--pin--checked--disabled--background-color:#E8F7F4;--ez-switch--pin--focus--background-color:var(--text--disable);--ez-switch--pin--checked--focus--background-color:var(--color--primary);--ez-switch--pin--border-color:var(--text--primary);--ez-switch--pin--disabled--border-color:var(--text--secondary);--ez-check--label--font-size:var(--text--medium, 14px);--ez-check--label--font-family:var(--font-pattern, Arial);--ez-check--label--color:var(--title--primary, #000);--ez-check--label--disabled--color:var(--text--disable, #AFB6C0);display:flex;width:100%;align-items:center;margin:0}input.regular-mode{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;border-radius:50%;position:relative;width:var(--ez-check--width);height:var(--ez-check--height)}input.regular-mode:enabled:hover{background-color:var(--ez-check--hover--background-color)}input.regular-mode:enabled:focus{outline:none;background-color:var(--ez-check--focus--background-color)}input.regular-mode:disabled{cursor:auto;background:none}input.regular-mode::before{box-sizing:border-box;content:\"\";display:block;width:var(--ez-check--box--width);height:var(--ez-check--box--height);border-radius:var(--ez-check--border-radius);border:var(--ez-check--border)}input.regular-mode:disabled::before{border:var(--ez-check--disabled--border)}input.regular-mode:checked:enabled:hover,input.regular-mode:indeterminate:enabled:hover{background-color:var(--ez-check--checked--hover--background-color)}input.regular-mode:checked:enabled:focus,input.regular-mode:indeterminate:enabled:focus{background-color:var(--ez-check--checked--focus--background-color)}input.regular-mode:checked::before,input.regular-mode:indeterminate::before{border:var(--ez-check--checked--border);background-color:var(--ez-check--checked--background-color)}input.regular-mode:disabled:before{border:var(--ez-check--disabled--border);background-color:var(--ez-check--checked--disabled--background-color)}input.regular-mode:checked::after,input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:8px;height:7px;-webkit-mask-image:var(--ez-check--check--image);mask-image:var(--ez-check--check--image)}input.regular-mode:indeterminate:after{display:flex;position:absolute;content:\"\";background-color:var(--ez-check--check--background-color);width:10px;height:2px;-webkit-mask-image:var(--ez-check--indeterminate--image);mask-image:var(--ez-check--indeterminate--image)}input.regular-mode:checked:disabled::after,input.regular-mode:indeterminate:disabled::after{background-color:var(--ez-check--check--disabled--background-color)}input.switch-mode{flex-shrink:0;-webkit-appearance:none;appearance:none;position:relative;outline:none;cursor:pointer;border-radius:20px;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);transition:background-color var(--transition);width:var(--ez-switch--slider--width);height:var(--ez-switch--slider--height);background-color:var(--ez-switch--background-color)}input.switch-mode:disabled{background-color:var(--ez-switch--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked:disabled{background-color:var(--ez-switch--disabled--checked--background-color)}input.switch-mode::after{content:\"\";display:block;position:absolute;box-shadow:var(--shadow);transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(-2px) translateY(-4px);border-radius:50%;border:var(--border--small, 1px solid) var(--ez-switch--pin--border-color, #626e82);width:var(--ez-switch--pin--width);height:var(--ez-switch--pin--height);background-color:var(--ez-switch--pin--background-color)}input.switch-mode:disabled::after{background-color:var(--ez-switch--pin--disabled--background-color);border:var(--border--small, 1px solid) var(--ez-switch--pin--disabled--border-color, #a2abb9)}input.switch-mode:checked{transition:background-color var(--transition), border var(--transition);background-color:var(--ez-switch--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode::before{display:block;content:\"\";display:block;position:absolute;border-radius:50%;opacity:0;width:var(--ez-switch--focus--width);height:var(--ez-switch--focus--height);top:calc((var(--ez-switch--slider--height) - var(--ez-switch--focus--height)) / 2);left:calc((var(--ez-switch--pin--width) - var(--ez-switch--focus--width) - 2px) / 2);background-color:var(--ez-switch--pin--focus--background-color)}input.switch-mode:focus::before{opacity:0.24;transition:opacity var(--transition)}input.switch-mode:checked:focus::before{background-color:var(--ez-switch--pin--checked--focus--background-color);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width) + 2px))}input.switch-mode:checked::after{transition:transform var(--transition);transition:background-color var(--transition);transition:border-color var(--transition);transform:translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width))) translateY(-4px);box-shadow:var(--shadow);background-color:var(--ez-switch--pin--checked--background-color);border:var(--border--small, 1px solid) var(--color--primary, #008561)}input.switch-mode:checked:disabled::after{background-color:var(--ez-switch--pin--checked--disabled--background-color)}.label{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-check--label--color);font-size:var(--ez-check--label--font-size);font-family:var(--ez-check--label--font-family);cursor:default;padding-left:var(--space--small)}.label--disabled{color:var(--ez-check--label--disabled--color)}";
|
|
642
642
|
|
|
643
643
|
let EzCheck$1 = class extends HTMLElement$1 {
|
|
644
644
|
constructor() {
|
|
@@ -658,17 +658,6 @@ let EzCheck$1 = class extends HTMLElement$1 {
|
|
|
658
658
|
*/
|
|
659
659
|
this.mode = CheckMode.REGULAR;
|
|
660
660
|
}
|
|
661
|
-
observeMode() {
|
|
662
|
-
var _a;
|
|
663
|
-
if (((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.SWITCH) {
|
|
664
|
-
this._inputElem.classList.remove("regular-mode");
|
|
665
|
-
this._inputElem.classList.add("switch-mode");
|
|
666
|
-
}
|
|
667
|
-
else {
|
|
668
|
-
this._inputElem.classList.remove("switch-mode");
|
|
669
|
-
this._inputElem.classList.add("regular-mode");
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
661
|
//---------------------------------------------
|
|
673
662
|
// Public methods
|
|
674
663
|
//---------------------------------------------
|
|
@@ -684,9 +673,6 @@ let EzCheck$1 = class extends HTMLElement$1 {
|
|
|
684
673
|
async setFocus() {
|
|
685
674
|
this._inputElem.focus();
|
|
686
675
|
}
|
|
687
|
-
componentDidLoad() {
|
|
688
|
-
this.observeMode();
|
|
689
|
-
}
|
|
690
676
|
changeValue() {
|
|
691
677
|
if (!this.enabled) {
|
|
692
678
|
return;
|
|
@@ -701,12 +687,13 @@ let EzCheck$1 = class extends HTMLElement$1 {
|
|
|
701
687
|
}
|
|
702
688
|
return classes;
|
|
703
689
|
}
|
|
690
|
+
getInputClasses() {
|
|
691
|
+
var _a;
|
|
692
|
+
return ((_a = this.mode) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === CheckMode.SWITCH ? "switch-mode" : "regular-mode";
|
|
693
|
+
}
|
|
704
694
|
render() {
|
|
705
|
-
return (h(Host, null, h("input", { type: "checkbox", class:
|
|
695
|
+
return (h(Host, null, h("input", { type: "checkbox", ref: (el) => this._inputElem = el, class: this.getInputClasses(), checked: this.value === true, onChange: () => { this.changeValue(); }, indeterminate: this.indeterminate, disabled: !this.enabled }), this.label ? h("label", { class: this.getLabelClasses(), onClick: () => { this.changeValue(); }, title: this.label }, this.label) : undefined));
|
|
706
696
|
}
|
|
707
|
-
static get watchers() { return {
|
|
708
|
-
"mode": ["observeMode"]
|
|
709
|
-
}; }
|
|
710
697
|
static get style() { return ezCheckCss; }
|
|
711
698
|
};
|
|
712
699
|
|
|
@@ -2569,7 +2556,7 @@ const inicialState = {};
|
|
|
2569
2556
|
function formReducer(state = inicialState, action) {
|
|
2570
2557
|
switch (action.type) {
|
|
2571
2558
|
case FormActions.METADATA_LOADED:
|
|
2572
|
-
return Object.assign(Object.assign({}, state), { formMetadata: action.payload });
|
|
2559
|
+
return Object.assign(Object.assign({}, state), { formMetadata: action.payload, currentSheet: undefined });
|
|
2573
2560
|
case FormActions.CHANGE_TAB:
|
|
2574
2561
|
return Object.assign(Object.assign({}, state), { currentSheet: action.payload });
|
|
2575
2562
|
default:
|
|
@@ -2890,7 +2877,10 @@ let EzForm$1 = class extends HTMLElement$1 {
|
|
|
2890
2877
|
const allSheets = Array.from(formMD.getAllSheets().values());
|
|
2891
2878
|
const result = [];
|
|
2892
2879
|
if (allSheets.length > 1) {
|
|
2893
|
-
|
|
2880
|
+
const tabs = allSheets.map((sheet, index) => {
|
|
2881
|
+
return { tabKey: sheet.name, label: sheet.label, index };
|
|
2882
|
+
});
|
|
2883
|
+
result.push(h("ez-tabselector", { tabs: tabs, onEzChange: (evt) => this._store.dispatch(changeTab(evt.detail)), selectedTab: currentSheet.name }));
|
|
2894
2884
|
}
|
|
2895
2885
|
result.push(h(FormSheet, { store: this._store, source: currentSheet }));
|
|
2896
2886
|
return result;
|
|
@@ -2905,16 +2895,6 @@ let EzForm$1 = class extends HTMLElement$1 {
|
|
|
2905
2895
|
var _a;
|
|
2906
2896
|
return ((_a = this._staticFields) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
2907
2897
|
}
|
|
2908
|
-
getValidatedValue(value) {
|
|
2909
|
-
switch (value) {
|
|
2910
|
-
case "${data}":
|
|
2911
|
-
return DateUtils$1.getToday();
|
|
2912
|
-
case "${datahora}":
|
|
2913
|
-
return DateUtils$1.getToday(true);
|
|
2914
|
-
default:
|
|
2915
|
-
return value;
|
|
2916
|
-
}
|
|
2917
|
-
}
|
|
2918
2898
|
interceptAction(action) {
|
|
2919
2899
|
if (action.type === Action.RECORDS_COPIED) {
|
|
2920
2900
|
const metadata = selectFormMetadata(this._store.getState());
|
|
@@ -2943,9 +2923,10 @@ let EzForm$1 = class extends HTMLElement$1 {
|
|
|
2943
2923
|
return new DataUnitAction(Action.RECORDS_ADDED, records.map(record => {
|
|
2944
2924
|
const newRecord = Object.assign({}, record);
|
|
2945
2925
|
for (const field in defaultValues) {
|
|
2946
|
-
const
|
|
2947
|
-
const
|
|
2948
|
-
|
|
2926
|
+
const value = "formattedValue" in defaultValues[field] ? defaultValues[field].formattedValue : defaultValues[field].value;
|
|
2927
|
+
const defaultValue = value != undefined ? value : defaultValues[field];
|
|
2928
|
+
const recordValue = typeof defaultValue === "function" ? defaultValue() : defaultValue;
|
|
2929
|
+
newRecord[field] = this.dataUnit.valueFromString(field, recordValue);
|
|
2949
2930
|
}
|
|
2950
2931
|
return newRecord;
|
|
2951
2932
|
}));
|
|
@@ -117686,6 +117667,47 @@ class CellRenderer {
|
|
|
117686
117667
|
}
|
|
117687
117668
|
}
|
|
117688
117669
|
|
|
117670
|
+
class SelectionHeader {
|
|
117671
|
+
updateCheckbox() {
|
|
117672
|
+
this.updatingValue = true;
|
|
117673
|
+
try {
|
|
117674
|
+
const value = this.headerCheckStatusGetter();
|
|
117675
|
+
this.checkBox.indeterminate = value == undefined;
|
|
117676
|
+
this.checkBox.value = value;
|
|
117677
|
+
}
|
|
117678
|
+
finally {
|
|
117679
|
+
this.updatingValue = false;
|
|
117680
|
+
}
|
|
117681
|
+
}
|
|
117682
|
+
init(params) {
|
|
117683
|
+
params.context.selectionHeader = this;
|
|
117684
|
+
const valueSetter = params.context.headerCheckStatusSetter;
|
|
117685
|
+
this.headerCheckStatusGetter = params.context.headerCheckStatusGetter;
|
|
117686
|
+
this.element = document.createElement('div');
|
|
117687
|
+
this.element.classList.add("ag-header__selection-checkbox");
|
|
117688
|
+
this.checkBox = document.createElement('ez-check');
|
|
117689
|
+
this.checkBox.style.setProperty("--ez-check--focus--background-color", "transparent");
|
|
117690
|
+
this.checkBox.style.setProperty("--ez-check--hover--background-color", "transparent");
|
|
117691
|
+
this.element.append(this.checkBox);
|
|
117692
|
+
this.updateCheckbox();
|
|
117693
|
+
this.element.addEventListener('ezChange', (evt) => {
|
|
117694
|
+
if (!this.updatingValue) {
|
|
117695
|
+
valueSetter(evt.detail);
|
|
117696
|
+
}
|
|
117697
|
+
});
|
|
117698
|
+
}
|
|
117699
|
+
getGui() {
|
|
117700
|
+
return this.element;
|
|
117701
|
+
}
|
|
117702
|
+
destroy() {
|
|
117703
|
+
this.element.remove();
|
|
117704
|
+
this.element = null;
|
|
117705
|
+
}
|
|
117706
|
+
refresh(_params) {
|
|
117707
|
+
return false;
|
|
117708
|
+
}
|
|
117709
|
+
}
|
|
117710
|
+
|
|
117689
117711
|
class AgGridController {
|
|
117690
117712
|
constructor(enterprise) {
|
|
117691
117713
|
this.DEFAULT_ROW_HEIGHT = 30;
|
|
@@ -117748,6 +117770,13 @@ class AgGridController {
|
|
|
117748
117770
|
defaultColDef: {
|
|
117749
117771
|
headerClass: "ez-grid__cell-header",
|
|
117750
117772
|
cellClass: "ez-grid__cell-body"
|
|
117773
|
+
},
|
|
117774
|
+
components: {
|
|
117775
|
+
'ezGridHeaderComponent': SelectionHeader
|
|
117776
|
+
},
|
|
117777
|
+
context: {
|
|
117778
|
+
headerCheckStatusGetter: () => this.getSelectionHeaderStatus(),
|
|
117779
|
+
headerCheckStatusSetter: (selectAll) => this.updateSelectionForAll(selectAll)
|
|
117751
117780
|
}
|
|
117752
117781
|
};
|
|
117753
117782
|
this.setOptionsEvents(this._gridOptions);
|
|
@@ -117780,6 +117809,31 @@ class AgGridController {
|
|
|
117780
117809
|
opt.suppressDragLeaveHidesColumns = true;
|
|
117781
117810
|
opt.suppressMenuHide = true;
|
|
117782
117811
|
}
|
|
117812
|
+
getSelectionHeaderStatus() {
|
|
117813
|
+
const records = this._dataUnit.records;
|
|
117814
|
+
if (records && records.length === 0) {
|
|
117815
|
+
return false;
|
|
117816
|
+
}
|
|
117817
|
+
const selection = this._dataUnit.getSelection();
|
|
117818
|
+
if (selection == undefined || selection.length === 0) {
|
|
117819
|
+
return false;
|
|
117820
|
+
}
|
|
117821
|
+
if (selection.length != records.length) {
|
|
117822
|
+
return undefined;
|
|
117823
|
+
}
|
|
117824
|
+
let status = undefined;
|
|
117825
|
+
for (let i = 0; i < records.length; i++) {
|
|
117826
|
+
const current = selection.includes(records[i].__record__id__);
|
|
117827
|
+
if (status != undefined && current !== status) {
|
|
117828
|
+
return undefined;
|
|
117829
|
+
}
|
|
117830
|
+
status = current;
|
|
117831
|
+
}
|
|
117832
|
+
return status;
|
|
117833
|
+
}
|
|
117834
|
+
updateSelectionForAll(selectAll) {
|
|
117835
|
+
this._dataUnit.setSelection(selectAll ? this._dataUnit.records.map(r => r.__record__id__) : []);
|
|
117836
|
+
}
|
|
117783
117837
|
setData(data) {
|
|
117784
117838
|
if (this._grid === undefined) {
|
|
117785
117839
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
@@ -117800,13 +117854,12 @@ class AgGridController {
|
|
|
117800
117854
|
if (this._grid === undefined) {
|
|
117801
117855
|
throw new Error("Erro interno: Grid ainda não inicializado.");
|
|
117802
117856
|
}
|
|
117803
|
-
|
|
117804
|
-
|
|
117805
|
-
|
|
117806
|
-
|
|
117807
|
-
|
|
117808
|
-
|
|
117809
|
-
});
|
|
117857
|
+
this._gridOptions.api.forEachNode(node => {
|
|
117858
|
+
node.setSelected(rowIds && rowIds.includes(node.id));
|
|
117859
|
+
});
|
|
117860
|
+
const selectionHeader = this._gridOptions.context.selectionHeader;
|
|
117861
|
+
if (selectionHeader) {
|
|
117862
|
+
selectionHeader.updateCheckbox();
|
|
117810
117863
|
}
|
|
117811
117864
|
}
|
|
117812
117865
|
removeRows() {
|
|
@@ -117855,7 +117908,8 @@ class AgGridController {
|
|
|
117855
117908
|
colId: this.CHECK_BOX_COL_ID,
|
|
117856
117909
|
headerName: "",
|
|
117857
117910
|
checkboxSelection: true,
|
|
117858
|
-
|
|
117911
|
+
headerComponent: "ezGridHeaderComponent",
|
|
117912
|
+
headerClass: "ag-column-select-header",
|
|
117859
117913
|
width: 28,
|
|
117860
117914
|
suppressMovable: true,
|
|
117861
117915
|
suppressAutoSize: true,
|
|
@@ -118096,9 +118150,12 @@ class AgGridController {
|
|
|
118096
118150
|
}
|
|
118097
118151
|
onSelectionChange() {
|
|
118098
118152
|
if (this._selectionChangeCallback) {
|
|
118099
|
-
this.
|
|
118100
|
-
|
|
118101
|
-
|
|
118153
|
+
clearTimeout(this._selectionChangeDeboucing);
|
|
118154
|
+
this._selectionChangeDeboucing = window.setTimeout(() => {
|
|
118155
|
+
this._selectionChangeCallback({
|
|
118156
|
+
selection: this._gridOptions.api.getSelectedRows()
|
|
118157
|
+
});
|
|
118158
|
+
}, 0);
|
|
118102
118159
|
}
|
|
118103
118160
|
}
|
|
118104
118161
|
onRowDoubleClick(evt) {
|
|
@@ -120060,6 +120117,11 @@ let EzTabselector$1 = class extends HTMLElement$1 {
|
|
|
120060
120117
|
}
|
|
120061
120118
|
};
|
|
120062
120119
|
}
|
|
120120
|
+
observeTabs(newValue) {
|
|
120121
|
+
if (newValue && typeof newValue !== "string") {
|
|
120122
|
+
this._processedTabs = newValue;
|
|
120123
|
+
}
|
|
120124
|
+
}
|
|
120063
120125
|
handleTabClick(tab) {
|
|
120064
120126
|
this.selectedIndex = tab.index;
|
|
120065
120127
|
this._focusedIndex = undefined;
|
|
@@ -120071,10 +120133,12 @@ let EzTabselector$1 = class extends HTMLElement$1 {
|
|
|
120071
120133
|
if (!this._processedTabs) {
|
|
120072
120134
|
this._processedTabs = [];
|
|
120073
120135
|
if (this.tabs) {
|
|
120074
|
-
this.tabs
|
|
120075
|
-
label
|
|
120076
|
-
|
|
120077
|
-
|
|
120136
|
+
if (typeof this.tabs === "string") {
|
|
120137
|
+
this.tabs.split(",").forEach((label) => {
|
|
120138
|
+
label = label.trim();
|
|
120139
|
+
this._processedTabs.push({ label, tabKey: label, index: this._processedTabs.length });
|
|
120140
|
+
});
|
|
120141
|
+
}
|
|
120078
120142
|
}
|
|
120079
120143
|
this._hostElem.querySelectorAll("ez-tab").forEach((elem) => {
|
|
120080
120144
|
const tabKey = elem.getAttribute("tabKey");
|
|
@@ -120192,6 +120256,9 @@ let EzTabselector$1 = class extends HTMLElement$1 {
|
|
|
120192
120256
|
})), h("button", { class: "forward-button", ref: (el) => this._forwardButton = el, onClick: () => this.scrollFoward() })));
|
|
120193
120257
|
}
|
|
120194
120258
|
get _hostElem() { return this; }
|
|
120259
|
+
static get watchers() { return {
|
|
120260
|
+
"tabs": ["observeTabs"]
|
|
120261
|
+
}; }
|
|
120195
120262
|
static get style() { return ezTabselectorCss; }
|
|
120196
120263
|
};
|
|
120197
120264
|
|
|
@@ -121389,7 +121456,7 @@ const EzApplication = /*@__PURE__*/proxyCustomElement(EzApplication$1, [0,"ez-ap
|
|
|
121389
121456
|
const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]}]);
|
|
121390
121457
|
const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]}]);
|
|
121391
121458
|
const EzCardItem = /*@__PURE__*/proxyCustomElement(EzCardItem$1, [1,"ez-card-item",{"item":[16]}]);
|
|
121392
|
-
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"mode":[513]}]);
|
|
121459
|
+
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[4],"mode":[513]}]);
|
|
121393
121460
|
const EzChip = /*@__PURE__*/proxyCustomElement(EzChip$1, [1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540]}]);
|
|
121394
121461
|
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"label":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"stretchTitle":[516,"stretch-title"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32]}]);
|
|
121395
121462
|
const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]}]);
|
|
@@ -121412,7 +121479,7 @@ const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-ra
|
|
|
121412
121479
|
const EzScroller = /*@__PURE__*/proxyCustomElement(EzScroller$1, [1,"ez-scroller",{"direction":[1]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]);
|
|
121413
121480
|
const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [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]}]);
|
|
121414
121481
|
const EzSelectBox = /*@__PURE__*/proxyCustomElement(SelectBox, [1,"ez-select-box",{"selectedOption":[1,"selected-option"]}]);
|
|
121415
|
-
const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1]}]);
|
|
121482
|
+
const EzTabselector = /*@__PURE__*/proxyCustomElement(EzTabselector$1, [1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]);
|
|
121416
121483
|
const EzTextArea = /*@__PURE__*/proxyCustomElement(EzTextArea$1, [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]}]);
|
|
121417
121484
|
const EzTextEdit = /*@__PURE__*/proxyCustomElement(EzTextEdit$1, [1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32]}]);
|
|
121418
121485
|
const EzTextInput = /*@__PURE__*/proxyCustomElement(EzTextInput$1, [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],"noBorder":[516,"no-border"]}]);
|