@sankhyalabs/ezui 5.10.4 → 5.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/cjs/ez-grid.cjs.entry.js +21 -9
- package/dist/collection/components/ez-grid/ez-grid.js +22 -10
- package/dist/custom-elements/index.js +21 -9
- package/dist/esm/ez-grid.entry.js +22 -10
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-cdd2ea06.entry.js → p-c7a23be9.entry.js} +2 -2
- package/dist/types/components/ez-grid/ez-grid.d.ts +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,3 +78,4 @@ o build do ezui, link do react-output e ezui, build do react-output e a disponib
|
|
|
78
78
|
- [Definindo bons data-element-id de testabilidade no design system](https://git.sankhya.com.br/sankhyalabs/ez-ui/-/wikis/Definindo-bons-data-element-id-de-testabilidade-no-design-system)
|
|
79
79
|
- [Criando exemplos de componentes](https://git.sankhya.com.br/sankhyalabs/ez-ui/-/wikis/Criando-exemplos-de-componentes)
|
|
80
80
|
|
|
81
|
+
|
|
@@ -119985,6 +119985,11 @@ const EzGrid = class {
|
|
|
119985
119985
|
this.componentReady = index.createEvent(this, "componentReady", 7);
|
|
119986
119986
|
this._gridController = new AgGridController(false);
|
|
119987
119987
|
this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
|
|
119988
|
+
this.onDataUnitAction = (action) => {
|
|
119989
|
+
if (action.type === core.Action.DATA_SAVED || action.type === core.Action.RECORDS_REMOVED) {
|
|
119990
|
+
this._originalRecords = this.dataUnit.records;
|
|
119991
|
+
}
|
|
119992
|
+
};
|
|
119988
119993
|
this._paginationInfo = undefined;
|
|
119989
119994
|
this._paginationChangedByKeyboard = true;
|
|
119990
119995
|
this._showSelectionCounter = false;
|
|
@@ -120249,6 +120254,11 @@ const EzGrid = class {
|
|
|
120249
120254
|
ApplicationUtils.ApplicationUtils.info(this._messageFilterAppliedSuccess);
|
|
120250
120255
|
});
|
|
120251
120256
|
}
|
|
120257
|
+
componentWillLoad() {
|
|
120258
|
+
if (!this.dataUnit.name.includes("InMemoryDataUnit"))
|
|
120259
|
+
return;
|
|
120260
|
+
this.dataUnit.subscribe(this.onDataUnitAction);
|
|
120261
|
+
}
|
|
120252
120262
|
getDataSource() {
|
|
120253
120263
|
return this.columnfilterDataSource ? this.columnfilterDataSource : this.buildDefaultDataSource();
|
|
120254
120264
|
}
|
|
@@ -120261,22 +120271,24 @@ const EzGrid = class {
|
|
|
120261
120271
|
fetchData: (filterTerm, fieldName) => {
|
|
120262
120272
|
return new Promise(resolve => {
|
|
120263
120273
|
const filteredRecords = this._originalRecords.filter(record => {
|
|
120264
|
-
var _a;
|
|
120265
|
-
const label = record[fieldName] === "object" ? (_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.label : record[fieldName];
|
|
120274
|
+
var _a, _b;
|
|
120275
|
+
const label = typeof record[fieldName] === "object" ? `${(_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.value} - ${(_b = record[fieldName]) === null || _b === void 0 ? void 0 : _b.label}` : record[fieldName];
|
|
120266
120276
|
return label === null || label === void 0 ? void 0 : label.toString().toLowerCase().includes(filterTerm.toLowerCase());
|
|
120267
120277
|
});
|
|
120268
|
-
const options = filteredRecords.map(
|
|
120278
|
+
const options = filteredRecords.map(item => {
|
|
120279
|
+
return { value: item[fieldName].toString(), label: this.formatLabel(fieldName, item[fieldName]), check: true };
|
|
120280
|
+
});
|
|
120269
120281
|
resolve(options);
|
|
120270
120282
|
});
|
|
120271
120283
|
}
|
|
120272
120284
|
};
|
|
120273
120285
|
}
|
|
120274
|
-
|
|
120275
|
-
|
|
120276
|
-
|
|
120277
|
-
|
|
120278
|
-
|
|
120279
|
-
|
|
120286
|
+
formatLabel(fieldName, value) {
|
|
120287
|
+
const { userInterface } = this.dataUnit.getField(fieldName);
|
|
120288
|
+
if (userInterface === core.UserInterface.DATETIME) {
|
|
120289
|
+
return core.DateUtils.formatDate(this.dataUnit.valueFromString(fieldName, value));
|
|
120290
|
+
}
|
|
120291
|
+
return String(this.dataUnit.getFormattedValue(fieldName, value));
|
|
120280
120292
|
}
|
|
120281
120293
|
render() {
|
|
120282
120294
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementIDUtils, JSUtils } from '@sankhyalabs/core';
|
|
1
|
+
import { ElementIDUtils, JSUtils, UserInterface, DateUtils, Action } from '@sankhyalabs/core';
|
|
2
2
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
3
3
|
import { Host, h } from '@stencil/core';
|
|
4
4
|
import AgGridController from './controller/ag-grid/AgGridController';
|
|
@@ -9,6 +9,11 @@ export class EzGrid {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
this._gridController = new AgGridController(false);
|
|
11
11
|
this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
|
|
12
|
+
this.onDataUnitAction = (action) => {
|
|
13
|
+
if (action.type === Action.DATA_SAVED || action.type === Action.RECORDS_REMOVED) {
|
|
14
|
+
this._originalRecords = this.dataUnit.records;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
12
17
|
this._paginationInfo = undefined;
|
|
13
18
|
this._paginationChangedByKeyboard = true;
|
|
14
19
|
this._showSelectionCounter = false;
|
|
@@ -273,6 +278,11 @@ export class EzGrid {
|
|
|
273
278
|
ApplicationUtils.info(this._messageFilterAppliedSuccess);
|
|
274
279
|
});
|
|
275
280
|
}
|
|
281
|
+
componentWillLoad() {
|
|
282
|
+
if (!this.dataUnit.name.includes("InMemoryDataUnit"))
|
|
283
|
+
return;
|
|
284
|
+
this.dataUnit.subscribe(this.onDataUnitAction);
|
|
285
|
+
}
|
|
276
286
|
getDataSource() {
|
|
277
287
|
return this.columnfilterDataSource ? this.columnfilterDataSource : this.buildDefaultDataSource();
|
|
278
288
|
}
|
|
@@ -285,22 +295,24 @@ export class EzGrid {
|
|
|
285
295
|
fetchData: (filterTerm, fieldName) => {
|
|
286
296
|
return new Promise(resolve => {
|
|
287
297
|
const filteredRecords = this._originalRecords.filter(record => {
|
|
288
|
-
var _a;
|
|
289
|
-
const label = record[fieldName] === "object" ? (_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.label : record[fieldName];
|
|
298
|
+
var _a, _b;
|
|
299
|
+
const label = typeof record[fieldName] === "object" ? `${(_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.value} - ${(_b = record[fieldName]) === null || _b === void 0 ? void 0 : _b.label}` : record[fieldName];
|
|
290
300
|
return label === null || label === void 0 ? void 0 : label.toString().toLowerCase().includes(filterTerm.toLowerCase());
|
|
291
301
|
});
|
|
292
|
-
const options = filteredRecords.map(
|
|
302
|
+
const options = filteredRecords.map(item => {
|
|
303
|
+
return { value: item[fieldName].toString(), label: this.formatLabel(fieldName, item[fieldName]), check: true };
|
|
304
|
+
});
|
|
293
305
|
resolve(options);
|
|
294
306
|
});
|
|
295
307
|
}
|
|
296
308
|
};
|
|
297
309
|
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
310
|
+
formatLabel(fieldName, value) {
|
|
311
|
+
const { userInterface } = this.dataUnit.getField(fieldName);
|
|
312
|
+
if (userInterface === UserInterface.DATETIME) {
|
|
313
|
+
return DateUtils.formatDate(this.dataUnit.valueFromString(fieldName, value));
|
|
314
|
+
}
|
|
315
|
+
return String(this.dataUnit.getFormattedValue(fieldName, value));
|
|
304
316
|
}
|
|
305
317
|
render() {
|
|
306
318
|
var _a;
|
|
@@ -124469,6 +124469,11 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
124469
124469
|
this.componentReady = createEvent(this, "componentReady", 7);
|
|
124470
124470
|
this._gridController = new AgGridController(false);
|
|
124471
124471
|
this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
|
|
124472
|
+
this.onDataUnitAction = (action) => {
|
|
124473
|
+
if (action.type === Action.DATA_SAVED || action.type === Action.RECORDS_REMOVED) {
|
|
124474
|
+
this._originalRecords = this.dataUnit.records;
|
|
124475
|
+
}
|
|
124476
|
+
};
|
|
124472
124477
|
this._paginationInfo = undefined;
|
|
124473
124478
|
this._paginationChangedByKeyboard = true;
|
|
124474
124479
|
this._showSelectionCounter = false;
|
|
@@ -124733,6 +124738,11 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
124733
124738
|
ApplicationUtils.info(this._messageFilterAppliedSuccess);
|
|
124734
124739
|
});
|
|
124735
124740
|
}
|
|
124741
|
+
componentWillLoad() {
|
|
124742
|
+
if (!this.dataUnit.name.includes("InMemoryDataUnit"))
|
|
124743
|
+
return;
|
|
124744
|
+
this.dataUnit.subscribe(this.onDataUnitAction);
|
|
124745
|
+
}
|
|
124736
124746
|
getDataSource() {
|
|
124737
124747
|
return this.columnfilterDataSource ? this.columnfilterDataSource : this.buildDefaultDataSource();
|
|
124738
124748
|
}
|
|
@@ -124745,22 +124755,24 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
124745
124755
|
fetchData: (filterTerm, fieldName) => {
|
|
124746
124756
|
return new Promise(resolve => {
|
|
124747
124757
|
const filteredRecords = this._originalRecords.filter(record => {
|
|
124748
|
-
var _a;
|
|
124749
|
-
const label = record[fieldName] === "object" ? (_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.label : record[fieldName];
|
|
124758
|
+
var _a, _b;
|
|
124759
|
+
const label = typeof record[fieldName] === "object" ? `${(_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.value} - ${(_b = record[fieldName]) === null || _b === void 0 ? void 0 : _b.label}` : record[fieldName];
|
|
124750
124760
|
return label === null || label === void 0 ? void 0 : label.toString().toLowerCase().includes(filterTerm.toLowerCase());
|
|
124751
124761
|
});
|
|
124752
|
-
const options = filteredRecords.map(
|
|
124762
|
+
const options = filteredRecords.map(item => {
|
|
124763
|
+
return { value: item[fieldName].toString(), label: this.formatLabel(fieldName, item[fieldName]), check: true };
|
|
124764
|
+
});
|
|
124753
124765
|
resolve(options);
|
|
124754
124766
|
});
|
|
124755
124767
|
}
|
|
124756
124768
|
};
|
|
124757
124769
|
}
|
|
124758
|
-
|
|
124759
|
-
|
|
124760
|
-
|
|
124761
|
-
|
|
124762
|
-
|
|
124763
|
-
|
|
124770
|
+
formatLabel(fieldName, value) {
|
|
124771
|
+
const { userInterface } = this.dataUnit.getField(fieldName);
|
|
124772
|
+
if (userInterface === UserInterface.DATETIME) {
|
|
124773
|
+
return DateUtils$1.formatDate(this.dataUnit.valueFromString(fieldName, value));
|
|
124774
|
+
}
|
|
124775
|
+
return String(this.dataUnit.getFormattedValue(fieldName, value));
|
|
124764
124776
|
}
|
|
124765
124777
|
render() {
|
|
124766
124778
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-296b8458.js';
|
|
2
|
-
import { Action, ObjectUtils as ObjectUtils$1, ApplicationContext, StringUtils as StringUtils$1, UserInterface, NumberUtils as NumberUtils$1, DataType, SortMode, ElementIDUtils, JSUtils } from '@sankhyalabs/core';
|
|
2
|
+
import { Action, ObjectUtils as ObjectUtils$1, ApplicationContext, StringUtils as StringUtils$1, UserInterface, NumberUtils as NumberUtils$1, DataType, SortMode, ElementIDUtils, JSUtils, DateUtils as DateUtils$1 } from '@sankhyalabs/core';
|
|
3
3
|
import { SelectionMode } from '@sankhyalabs/core/dist/dataunit/DataUnit';
|
|
4
4
|
import { D as DISTINCT_FILTER_NAME_PREFIX } from './constants-6dab64f7.js';
|
|
5
5
|
import { A as ApplicationUtils } from './ApplicationUtils-d9a34a16.js';
|
|
@@ -119981,6 +119981,11 @@ const EzGrid = class {
|
|
|
119981
119981
|
this.componentReady = createEvent(this, "componentReady", 7);
|
|
119982
119982
|
this._gridController = new AgGridController(false);
|
|
119983
119983
|
this._messageFilterAppliedSuccess = 'Filtro de coluna aplicado com sucesso!';
|
|
119984
|
+
this.onDataUnitAction = (action) => {
|
|
119985
|
+
if (action.type === Action.DATA_SAVED || action.type === Action.RECORDS_REMOVED) {
|
|
119986
|
+
this._originalRecords = this.dataUnit.records;
|
|
119987
|
+
}
|
|
119988
|
+
};
|
|
119984
119989
|
this._paginationInfo = undefined;
|
|
119985
119990
|
this._paginationChangedByKeyboard = true;
|
|
119986
119991
|
this._showSelectionCounter = false;
|
|
@@ -120245,6 +120250,11 @@ const EzGrid = class {
|
|
|
120245
120250
|
ApplicationUtils.info(this._messageFilterAppliedSuccess);
|
|
120246
120251
|
});
|
|
120247
120252
|
}
|
|
120253
|
+
componentWillLoad() {
|
|
120254
|
+
if (!this.dataUnit.name.includes("InMemoryDataUnit"))
|
|
120255
|
+
return;
|
|
120256
|
+
this.dataUnit.subscribe(this.onDataUnitAction);
|
|
120257
|
+
}
|
|
120248
120258
|
getDataSource() {
|
|
120249
120259
|
return this.columnfilterDataSource ? this.columnfilterDataSource : this.buildDefaultDataSource();
|
|
120250
120260
|
}
|
|
@@ -120257,22 +120267,24 @@ const EzGrid = class {
|
|
|
120257
120267
|
fetchData: (filterTerm, fieldName) => {
|
|
120258
120268
|
return new Promise(resolve => {
|
|
120259
120269
|
const filteredRecords = this._originalRecords.filter(record => {
|
|
120260
|
-
var _a;
|
|
120261
|
-
const label = record[fieldName] === "object" ? (_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.label : record[fieldName];
|
|
120270
|
+
var _a, _b;
|
|
120271
|
+
const label = typeof record[fieldName] === "object" ? `${(_a = record[fieldName]) === null || _a === void 0 ? void 0 : _a.value} - ${(_b = record[fieldName]) === null || _b === void 0 ? void 0 : _b.label}` : record[fieldName];
|
|
120262
120272
|
return label === null || label === void 0 ? void 0 : label.toString().toLowerCase().includes(filterTerm.toLowerCase());
|
|
120263
120273
|
});
|
|
120264
|
-
const options = filteredRecords.map(
|
|
120274
|
+
const options = filteredRecords.map(item => {
|
|
120275
|
+
return { value: item[fieldName].toString(), label: this.formatLabel(fieldName, item[fieldName]), check: true };
|
|
120276
|
+
});
|
|
120265
120277
|
resolve(options);
|
|
120266
120278
|
});
|
|
120267
120279
|
}
|
|
120268
120280
|
};
|
|
120269
120281
|
}
|
|
120270
|
-
|
|
120271
|
-
|
|
120272
|
-
|
|
120273
|
-
|
|
120274
|
-
|
|
120275
|
-
|
|
120282
|
+
formatLabel(fieldName, value) {
|
|
120283
|
+
const { userInterface } = this.dataUnit.getField(fieldName);
|
|
120284
|
+
if (userInterface === UserInterface.DATETIME) {
|
|
120285
|
+
return DateUtils$1.formatDate(this.dataUnit.valueFromString(fieldName, value));
|
|
120286
|
+
}
|
|
120287
|
+
return String(this.dataUnit.getFormattedValue(fieldName, value));
|
|
120276
120288
|
}
|
|
120277
120289
|
render() {
|
|
120278
120290
|
var _a;
|
package/dist/ezui/ezui.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-e318d280.js";export{s as setNonce}from"./p-e318d280.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-cdd2ea06",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"selectionToastConfig":[16],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"columnfilterDataSource":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_isAllSelection":[32],"_currentPageSelected":[32],"_selectionCount":[32],"_originalRecords":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["p-9285b53e",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["p-f1a537e3",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["p-cd19a6f8",[[1,"ez-breadcrumb",{"items":[1040],"fillMode":[1025,"fill-mode"],"maxItems":[1026,"max-items"],"positionEllipsis":[1026,"position-ellipsis"],"visibleItems":[32],"hiddenItems":[32],"showDropdown":[32],"collapseConfigPosition":[32]}]]],["p-db528b31",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"beforeClose":[1040],"show":[64]}]]],["p-a01068e1",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["p-60ba28ea",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["p-c49dbf23",[[1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"hasSlot":[32]}]]],["p-f4208819",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"showNativeTooltip":[4,"show-native-tooltip"],"setFocus":[64],"setBlur":[64]}]]],["p-ccb4ccd9",[[1,"ez-file-item",{"canRemove":[4,"can-remove"],"fileName":[1,"file-name"],"iconName":[1,"icon-name"],"fileSize":[2,"file-size"],"progress":[2]}]]],["p-d51aa09b",[[0,"ez-application"]]],["p-68352e41",[[1,"ez-card-item",{"item":[16]}]]],["p-7525e604",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["p-5ce6548c",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"heightMode":[1,"height-mode"],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"],"scrim":[1]}]]],["p-e7fa0ad6",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["p-b11f035c",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["p-5d6f2550",[[0,"ez-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1]}]]],["p-fa571a4e",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["p-9b347f04",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["p-4e31b69b",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["p-12303d2e",[[0,"multi-selection-box-message",{"message":[1]}],[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"asyncSearch":[516,"async-search"],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"setValue":[64],"endSearch":[64]}]]],["p-2a0e1679",[[2,"ez-multi-selection-list",{"columnName":[1,"column-name"],"dataSource":[16],"useOptions":[1028,"use-options"],"options":[16],"filteredOptions":[32],"displayOptions":[32],"viewScenario":[32],"displayOptionToCheckAllItems":[32],"clearFilteredOptions":[64]}]]],["p-4c8b029b",[[0,"filter-column",{"opened":[4],"columnName":[1,"column-name"],"columnLabel":[1,"column-label"],"gridHeaderHidden":[4,"grid-header-hidden"],"dataSource":[16],"dataUnit":[16],"options":[1040],"selectedItems":[32],"fieldDescriptor":[32],"useOptions":[32],"hide":[64],"show":[64]}]]],["p-a510a4c5",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]}]]],["p-83885b21",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["p-8bd3903b",[[1,"ez-collapsible-box",{"value":[1540],"boxBordered":[4,"box-bordered"],"label":[513],"subtitle":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["p-5d45e384",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["p-78a6e049",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-39153935",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-70ea4beb",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-0b160fec",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-00c7c25d",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-2da09f70",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"],"updatePosition":[64],"show":[64],"showUnder":[64],"hide":[64]}]]],["p-a4c9f3c4",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"appendTextToSelection":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-37673563",[[1,"ez-upload",{"label":[1],"subtitle":[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]}]]],["p-a5e09759",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["p-050247dc",[[1,"ez-tree",{"items":[1040],"value":[1040],"selectedId":[1537,"selected-id"],"iconResolver":[16],"tooltipResolver":[16],"_tree":[32],"_waintingForLoad":[32],"selectItem":[64],"openItem":[64],"disableItem":[64],"enableItem":[64],"addChild":[64],"applyFilter":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"getParent":[64]},[[2,"keydown","onKeyDownListener"]]],[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]],[1,"ez-sidebar-button"]]],["p-244dfe8a",[[1,"ez-list",{"dataSource":[1040],"listMode":[1,"list-mode"],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"itemLeftSlotBuilder":[1040],"hoverFeedback":[1028,"hover-feedback"],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64],"removeSelection":[64]}]]],["p-5782443e",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]},[[11,"scroll","scrollListener"]]]]],["p-0bd54a6f",[[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],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]}]]],["p-95426f93",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4],"getMode":[64],"setFocus":[64]}]]],["p-1e7c4986",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["p-32b4163f",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]},[[2,"click","clickListener"]]]]],["p-8bcb197f",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as o}from"./p-e318d280.js";export{s as setNonce}from"./p-e318d280.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-c7a23be9",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"selectionToastConfig":[16],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"columnfilterDataSource":[16],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_isAllSelection":[32],"_currentPageSelected":[32],"_selectionCount":[32],"_originalRecords":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["p-9285b53e",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["p-f1a537e3",[[1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32],"hideActions":[64],"isOpened":[64]}]]],["p-cd19a6f8",[[1,"ez-breadcrumb",{"items":[1040],"fillMode":[1025,"fill-mode"],"maxItems":[1026,"max-items"],"positionEllipsis":[1026,"position-ellipsis"],"visibleItems":[32],"hiddenItems":[32],"showDropdown":[32],"collapseConfigPosition":[32]}]]],["p-db528b31",[[1,"ez-dialog",{"confirm":[1028],"dialogType":[1025,"dialog-type"],"message":[1025],"opened":[1540],"personalizedIconPath":[1025,"personalized-icon-path"],"ezTitle":[1025,"ez-title"],"beforeClose":[1040],"show":[64]}]]],["p-a01068e1",[[6,"ez-modal-container",{"modalTitle":[1,"modal-title"],"modalSubTitle":[1,"modal-sub-title"],"showTitleBar":[4,"show-title-bar"],"cancelButtonLabel":[1,"cancel-button-label"],"okButtonLabel":[1,"ok-button-label"],"cancelButtonStatus":[1,"cancel-button-status"],"okButtonStatus":[1,"ok-button-status"]}]]],["p-60ba28ea",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["p-c49dbf23",[[1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"hasSlot":[32]}]]],["p-f4208819",[[1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"showNativeTooltip":[4,"show-native-tooltip"],"setFocus":[64],"setBlur":[64]}]]],["p-ccb4ccd9",[[1,"ez-file-item",{"canRemove":[4,"can-remove"],"fileName":[1,"file-name"],"iconName":[1,"icon-name"],"fileSize":[2,"file-size"],"progress":[2]}]]],["p-d51aa09b",[[0,"ez-application"]]],["p-68352e41",[[1,"ez-card-item",{"item":[16]}]]],["p-7525e604",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["p-5ce6548c",[[1,"ez-modal",{"modalSize":[1,"modal-size"],"align":[1],"heightMode":[1,"height-mode"],"opened":[1028],"closeEsc":[4,"close-esc"],"closeOutsideClick":[4,"close-outside-click"],"scrim":[1]}]]],["p-e7fa0ad6",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["p-b11f035c",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["p-5d6f2550",[[0,"ez-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1]}]]],["p-fa571a4e",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["p-9b347f04",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["p-4e31b69b",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["p-12303d2e",[[0,"multi-selection-box-message",{"message":[1]}],[1,"ez-filter-input",{"label":[1],"value":[1537],"enabled":[4],"errorMessage":[1537,"error-message"],"restrict":[1],"mode":[513],"asyncSearch":[516,"async-search"],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"setValue":[64],"endSearch":[64]}]]],["p-2a0e1679",[[2,"ez-multi-selection-list",{"columnName":[1,"column-name"],"dataSource":[16],"useOptions":[1028,"use-options"],"options":[16],"filteredOptions":[32],"displayOptions":[32],"viewScenario":[32],"displayOptionToCheckAllItems":[32],"clearFilteredOptions":[64]}]]],["p-4c8b029b",[[0,"filter-column",{"opened":[4],"columnName":[1,"column-name"],"columnLabel":[1,"column-label"],"gridHeaderHidden":[4,"grid-header-hidden"],"dataSource":[16],"dataUnit":[16],"options":[1040],"selectedItems":[32],"fieldDescriptor":[32],"useOptions":[32],"hide":[64],"show":[64]}]]],["p-a510a4c5",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]}]]],["p-83885b21",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["p-8bd3903b",[[1,"ez-collapsible-box",{"value":[1540],"boxBordered":[4,"box-bordered"],"label":[513],"subtitle":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32],"showHide":[64],"applyFocusTextEdit":[64],"cancelEdition":[64]}]]],["p-5d45e384",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"hide":[64]}]]],["p-78a6e049",[[1,"ez-text-input",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"mask":[1],"canShowError":[516,"can-show-error"],"restrict":[1],"mode":[513],"noBorder":[516,"no-border"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-39153935",[[1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-70ea4beb",[[1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-0b160fec",[[1,"ez-time-input",{"label":[513],"value":[1026],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-00c7c25d",[[1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-2da09f70",[[1,"ez-popover",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"],"updatePosition":[64],"show":[64],"showUnder":[64],"hide":[64]}]]],["p-a4c9f3c4",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"appendTextToSelection":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-37673563",[[1,"ez-upload",{"label":[1],"subtitle":[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]}]]],["p-a5e09759",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["p-050247dc",[[1,"ez-tree",{"items":[1040],"value":[1040],"selectedId":[1537,"selected-id"],"iconResolver":[16],"tooltipResolver":[16],"_tree":[32],"_waintingForLoad":[32],"selectItem":[64],"openItem":[64],"disableItem":[64],"enableItem":[64],"addChild":[64],"applyFilter":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"getParent":[64]},[[2,"keydown","onKeyDownListener"]]],[1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]],[1,"ez-sidebar-button"]]],["p-244dfe8a",[[1,"ez-list",{"dataSource":[1040],"listMode":[1,"list-mode"],"useGroups":[1540,"use-groups"],"ezDraggable":[1028,"ez-draggable"],"ezSelectable":[1028,"ez-selectable"],"itemSlotBuilder":[1040],"itemLeftSlotBuilder":[1040],"hoverFeedback":[1028,"hover-feedback"],"_listItems":[32],"_listGroupItems":[32],"clearHistory":[64],"scrollToTop":[64],"setSelection":[64],"getSelection":[64],"getList":[64],"removeSelection":[64]}]]],["p-5782443e",[[1,"ez-combo-box",{"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"searchMode":[4,"search-mode"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"canShowError":[516,"can-show-error"],"mode":[513],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]},[[11,"scroll","scrollListener"]]]]],["p-0bd54a6f",[[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],"canShowError":[516,"can-show-error"],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]}]]],["p-95426f93",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4],"getMode":[64],"setFocus":[64]}]]],["p-1e7c4986",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["p-32b4163f",[[1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513],"setFocus":[64],"setBlur":[64]},[[2,"click","clickListener"]]]]],["p-8bcb197f",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"validate":[64]}]]]]'),e)));
|