@sankhyalabs/ezui 5.20.0-dev.29 → 5.20.0-dev.30
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-combo-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +21 -6
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +21 -6
- package/dist/custom-elements/index.js +22 -7
- package/dist/esm/ez-combo-box.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +21 -6
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-a332a654.entry.js → p-1e367a93.entry.js} +1 -1
- package/dist/ezui/p-bae3d0aa.entry.js +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ezui/p-801fd0f8.entry.js +0 -1
|
@@ -80,7 +80,7 @@ const EzComboBox = class {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
observeOptions(newOptions, oldOptions) {
|
|
83
|
-
if ((newOptions
|
|
83
|
+
if (core.ObjectUtils.equals(newOptions, oldOptions))
|
|
84
84
|
return;
|
|
85
85
|
this.loadOptions(SearchMode.PRELOAD);
|
|
86
86
|
}
|
|
@@ -119739,22 +119739,27 @@ class AgGridController {
|
|
|
119739
119739
|
const dataType = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.dataType) !== null && _a !== void 0 ? _a : core.DataType.TEXT;
|
|
119740
119740
|
let placeholders = '';
|
|
119741
119741
|
const params = [];
|
|
119742
|
+
let isNullIncluded;
|
|
119742
119743
|
checkedOptions.forEach(option => {
|
|
119743
|
-
if (placeholders.length > 0) {
|
|
119744
|
-
placeholders = placeholders + ',';
|
|
119745
|
-
}
|
|
119746
119744
|
const paramName = `PARAM_${column}_${params.length + 1}`;
|
|
119747
|
-
placeholders = `${placeholders}:${paramName}`; //FIXME: trocar por ? quando o backend estiver funcionando
|
|
119748
119745
|
params.push({
|
|
119749
119746
|
dataType: dataType === core.DataType.OBJECT ? core.DataType.TEXT : dataType,
|
|
119750
119747
|
name: paramName,
|
|
119751
119748
|
value: option.value,
|
|
119752
119749
|
});
|
|
119750
|
+
if (option.value == undefined) {
|
|
119751
|
+
isNullIncluded = true;
|
|
119752
|
+
}
|
|
119753
|
+
else {
|
|
119754
|
+
if (placeholders.length > 0) {
|
|
119755
|
+
placeholders = placeholders + ',';
|
|
119756
|
+
}
|
|
119757
|
+
placeholders = `${placeholders}:${paramName}`;
|
|
119758
|
+
}
|
|
119753
119759
|
});
|
|
119754
|
-
const columnExpression = dataType === core.DataType.DATE ? `onlydate(this.${column})` : `this.${column}`;
|
|
119755
119760
|
return {
|
|
119756
119761
|
name: `${constants.DISTINCT_FILTER_NAME_PREFIX}${column}`,
|
|
119757
|
-
expression:
|
|
119762
|
+
expression: this.getExpression(dataType, column, placeholders, isNullIncluded),
|
|
119758
119763
|
params,
|
|
119759
119764
|
};
|
|
119760
119765
|
}
|
|
@@ -119762,6 +119767,16 @@ class AgGridController {
|
|
|
119762
119767
|
})
|
|
119763
119768
|
.filter(item => item != undefined);
|
|
119764
119769
|
}
|
|
119770
|
+
getExpression(dataType, columnName, placeholders, isNullIncluded) {
|
|
119771
|
+
const columnExpression = dataType === core.DataType.DATE ? `onlydate(this.${columnName})` : `this.${columnName}`;
|
|
119772
|
+
if (placeholders.length > 0 && isNullIncluded) {
|
|
119773
|
+
return `(${columnExpression} in (${placeholders}) OR ${columnName} IS NULL)`;
|
|
119774
|
+
}
|
|
119775
|
+
if (isNullIncluded) {
|
|
119776
|
+
return `${columnName} IS NULL`;
|
|
119777
|
+
}
|
|
119778
|
+
return `${columnExpression} in (${placeholders})`;
|
|
119779
|
+
}
|
|
119765
119780
|
initDatagrid(container, options) {
|
|
119766
119781
|
var _a;
|
|
119767
119782
|
if (this._grid === undefined) {
|
|
@@ -68,7 +68,7 @@ export class EzComboBox {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
observeOptions(newOptions, oldOptions) {
|
|
71
|
-
if ((newOptions
|
|
71
|
+
if (ObjectUtils.equals(newOptions, oldOptions))
|
|
72
72
|
return;
|
|
73
73
|
this.loadOptions(SearchMode.PRELOAD);
|
|
74
74
|
}
|
|
@@ -78,22 +78,27 @@ export default class AgGridController {
|
|
|
78
78
|
const dataType = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.dataType) !== null && _a !== void 0 ? _a : DataType.TEXT;
|
|
79
79
|
let placeholders = '';
|
|
80
80
|
const params = [];
|
|
81
|
+
let isNullIncluded;
|
|
81
82
|
checkedOptions.forEach(option => {
|
|
82
|
-
if (placeholders.length > 0) {
|
|
83
|
-
placeholders = placeholders + ',';
|
|
84
|
-
}
|
|
85
83
|
const paramName = `PARAM_${column}_${params.length + 1}`;
|
|
86
|
-
placeholders = `${placeholders}:${paramName}`; //FIXME: trocar por ? quando o backend estiver funcionando
|
|
87
84
|
params.push({
|
|
88
85
|
dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
|
|
89
86
|
name: paramName,
|
|
90
87
|
value: option.value,
|
|
91
88
|
});
|
|
89
|
+
if (option.value == undefined) {
|
|
90
|
+
isNullIncluded = true;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
if (placeholders.length > 0) {
|
|
94
|
+
placeholders = placeholders + ',';
|
|
95
|
+
}
|
|
96
|
+
placeholders = `${placeholders}:${paramName}`;
|
|
97
|
+
}
|
|
92
98
|
});
|
|
93
|
-
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${column})` : `this.${column}`;
|
|
94
99
|
return {
|
|
95
100
|
name: `${DISTINCT_FILTER_NAME_PREFIX}${column}`,
|
|
96
|
-
expression:
|
|
101
|
+
expression: this.getExpression(dataType, column, placeholders, isNullIncluded),
|
|
97
102
|
params,
|
|
98
103
|
};
|
|
99
104
|
}
|
|
@@ -101,6 +106,16 @@ export default class AgGridController {
|
|
|
101
106
|
})
|
|
102
107
|
.filter(item => item != undefined);
|
|
103
108
|
}
|
|
109
|
+
getExpression(dataType, columnName, placeholders, isNullIncluded) {
|
|
110
|
+
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${columnName})` : `this.${columnName}`;
|
|
111
|
+
if (placeholders.length > 0 && isNullIncluded) {
|
|
112
|
+
return `(${columnExpression} in (${placeholders}) OR ${columnName} IS NULL)`;
|
|
113
|
+
}
|
|
114
|
+
if (isNullIncluded) {
|
|
115
|
+
return `${columnName} IS NULL`;
|
|
116
|
+
}
|
|
117
|
+
return `${columnExpression} in (${placeholders})`;
|
|
118
|
+
}
|
|
104
119
|
initDatagrid(container, options) {
|
|
105
120
|
var _a;
|
|
106
121
|
if (this._grid === undefined) {
|
|
@@ -2440,7 +2440,7 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
2440
2440
|
}
|
|
2441
2441
|
}
|
|
2442
2442
|
observeOptions(newOptions, oldOptions) {
|
|
2443
|
-
if ((newOptions
|
|
2443
|
+
if (ObjectUtils$1.equals(newOptions, oldOptions))
|
|
2444
2444
|
return;
|
|
2445
2445
|
this.loadOptions(SearchMode$1.PRELOAD);
|
|
2446
2446
|
}
|
|
@@ -124651,22 +124651,27 @@ class AgGridController {
|
|
|
124651
124651
|
const dataType = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.dataType) !== null && _a !== void 0 ? _a : DataType.TEXT;
|
|
124652
124652
|
let placeholders = '';
|
|
124653
124653
|
const params = [];
|
|
124654
|
+
let isNullIncluded;
|
|
124654
124655
|
checkedOptions.forEach(option => {
|
|
124655
|
-
if (placeholders.length > 0) {
|
|
124656
|
-
placeholders = placeholders + ',';
|
|
124657
|
-
}
|
|
124658
124656
|
const paramName = `PARAM_${column}_${params.length + 1}`;
|
|
124659
|
-
placeholders = `${placeholders}:${paramName}`; //FIXME: trocar por ? quando o backend estiver funcionando
|
|
124660
124657
|
params.push({
|
|
124661
124658
|
dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
|
|
124662
124659
|
name: paramName,
|
|
124663
124660
|
value: option.value,
|
|
124664
124661
|
});
|
|
124662
|
+
if (option.value == undefined) {
|
|
124663
|
+
isNullIncluded = true;
|
|
124664
|
+
}
|
|
124665
|
+
else {
|
|
124666
|
+
if (placeholders.length > 0) {
|
|
124667
|
+
placeholders = placeholders + ',';
|
|
124668
|
+
}
|
|
124669
|
+
placeholders = `${placeholders}:${paramName}`;
|
|
124670
|
+
}
|
|
124665
124671
|
});
|
|
124666
|
-
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${column})` : `this.${column}`;
|
|
124667
124672
|
return {
|
|
124668
124673
|
name: `${DISTINCT_FILTER_NAME_PREFIX}${column}`,
|
|
124669
|
-
expression:
|
|
124674
|
+
expression: this.getExpression(dataType, column, placeholders, isNullIncluded),
|
|
124670
124675
|
params,
|
|
124671
124676
|
};
|
|
124672
124677
|
}
|
|
@@ -124674,6 +124679,16 @@ class AgGridController {
|
|
|
124674
124679
|
})
|
|
124675
124680
|
.filter(item => item != undefined);
|
|
124676
124681
|
}
|
|
124682
|
+
getExpression(dataType, columnName, placeholders, isNullIncluded) {
|
|
124683
|
+
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${columnName})` : `this.${columnName}`;
|
|
124684
|
+
if (placeholders.length > 0 && isNullIncluded) {
|
|
124685
|
+
return `(${columnExpression} in (${placeholders}) OR ${columnName} IS NULL)`;
|
|
124686
|
+
}
|
|
124687
|
+
if (isNullIncluded) {
|
|
124688
|
+
return `${columnName} IS NULL`;
|
|
124689
|
+
}
|
|
124690
|
+
return `${columnExpression} in (${placeholders})`;
|
|
124691
|
+
}
|
|
124677
124692
|
initDatagrid(container, options) {
|
|
124678
124693
|
var _a;
|
|
124679
124694
|
if (this._grid === undefined) {
|
|
@@ -76,7 +76,7 @@ const EzComboBox = class {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
observeOptions(newOptions, oldOptions) {
|
|
79
|
-
if ((newOptions
|
|
79
|
+
if (ObjectUtils.equals(newOptions, oldOptions))
|
|
80
80
|
return;
|
|
81
81
|
this.loadOptions(SearchMode.PRELOAD);
|
|
82
82
|
}
|
|
@@ -119735,22 +119735,27 @@ class AgGridController {
|
|
|
119735
119735
|
const dataType = (_a = fieldDescriptor === null || fieldDescriptor === void 0 ? void 0 : fieldDescriptor.dataType) !== null && _a !== void 0 ? _a : DataType.TEXT;
|
|
119736
119736
|
let placeholders = '';
|
|
119737
119737
|
const params = [];
|
|
119738
|
+
let isNullIncluded;
|
|
119738
119739
|
checkedOptions.forEach(option => {
|
|
119739
|
-
if (placeholders.length > 0) {
|
|
119740
|
-
placeholders = placeholders + ',';
|
|
119741
|
-
}
|
|
119742
119740
|
const paramName = `PARAM_${column}_${params.length + 1}`;
|
|
119743
|
-
placeholders = `${placeholders}:${paramName}`; //FIXME: trocar por ? quando o backend estiver funcionando
|
|
119744
119741
|
params.push({
|
|
119745
119742
|
dataType: dataType === DataType.OBJECT ? DataType.TEXT : dataType,
|
|
119746
119743
|
name: paramName,
|
|
119747
119744
|
value: option.value,
|
|
119748
119745
|
});
|
|
119746
|
+
if (option.value == undefined) {
|
|
119747
|
+
isNullIncluded = true;
|
|
119748
|
+
}
|
|
119749
|
+
else {
|
|
119750
|
+
if (placeholders.length > 0) {
|
|
119751
|
+
placeholders = placeholders + ',';
|
|
119752
|
+
}
|
|
119753
|
+
placeholders = `${placeholders}:${paramName}`;
|
|
119754
|
+
}
|
|
119749
119755
|
});
|
|
119750
|
-
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${column})` : `this.${column}`;
|
|
119751
119756
|
return {
|
|
119752
119757
|
name: `${DISTINCT_FILTER_NAME_PREFIX}${column}`,
|
|
119753
|
-
expression:
|
|
119758
|
+
expression: this.getExpression(dataType, column, placeholders, isNullIncluded),
|
|
119754
119759
|
params,
|
|
119755
119760
|
};
|
|
119756
119761
|
}
|
|
@@ -119758,6 +119763,16 @@ class AgGridController {
|
|
|
119758
119763
|
})
|
|
119759
119764
|
.filter(item => item != undefined);
|
|
119760
119765
|
}
|
|
119766
|
+
getExpression(dataType, columnName, placeholders, isNullIncluded) {
|
|
119767
|
+
const columnExpression = dataType === DataType.DATE ? `onlydate(this.${columnName})` : `this.${columnName}`;
|
|
119768
|
+
if (placeholders.length > 0 && isNullIncluded) {
|
|
119769
|
+
return `(${columnExpression} in (${placeholders}) OR ${columnName} IS NULL)`;
|
|
119770
|
+
}
|
|
119771
|
+
if (isNullIncluded) {
|
|
119772
|
+
return `${columnName} IS NULL`;
|
|
119773
|
+
}
|
|
119774
|
+
return `${columnExpression} in (${placeholders})`;
|
|
119775
|
+
}
|
|
119761
119776
|
initDatagrid(container, options) {
|
|
119762
119777
|
var _a;
|
|
119763
119778
|
if (this._grid === undefined) {
|
package/dist/ezui/ezui.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-23a36bb6.js";export{s as setNonce}from"./p-23a36bb6.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-a332a654",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"selectionToastConfig":[16],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"columnfilterDataSource":[16],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_isAllSelection":[32],"_currentPageSelected":[32],"_selectionCount":[32],"_hasLeftButtons":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64],"locateColumn":[64],"filterColumns":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["p-6e429cff",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"openGuideNavidator":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["p-8e7031a0",[[1,"ez-alert-list",{"alerts":[1040],"enableDragAndDrop":[516,"enable-drag-and-drop"],"enableExpand":[516,"enable-expand"],"itemRightSlotBuilder":[16],"opened":[1540],"expanded":[1540]}]]],["p-99ead599",[[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],"showActions":[64],"isOpened":[64]}]]],["p-1e7a8633",[[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-49456b34",[[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]},[[8,"keydown","handleKeyDown"]]]]],["p-5d692ed1",[[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-b9fbf4e7",[[1,"ez-split-button",{"enabled":[516],"iconName":[513,"icon-name"],"image":[513],"items":[16],"label":[513],"leftTitle":[513,"left-title"],"rightTitle":[513,"right-title"],"mode":[513],"size":[513],"show":[32],"setBlur":[64],"setLeftButtonFocus":[64],"setRightButtonFocus":[64]},[[2,"click","clickListener"]]]]],["p-3376ad44",[[4,"ez-split-item",{"label":[1],"enableExpand":[516,"enable-expand"],"size":[1],"_expanded":[32]}]]],["p-1f50fa05",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["p-650e4b6d",[[1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"hasSlot":[32]}]]],["p-17be134a",[[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-555c9018",[[1,"ez-file-item",{"canRemove":[4,"can-remove"],"fileName":[1,"file-name"],"iconName":[1,"icon-name"],"fileSize":[2,"file-size"],"progress":[2]}]]],["p-bc2f844e",[[0,"ez-application"]]],["p-5ed81457",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["p-5e1d036e",[[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-abc23d6f",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["p-9f5fa3f9",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["p-85c8baae",[[0,"ez-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1]}]]],["p-07cbffce",[[0,"ez-split-panel",{"direction":[1],"anchorToExpand":[4,"anchor-to-expand"]}]]],["p-8becebf8",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["p-44caad9a",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["p-cc2dc4f4",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["p-0447d17c",[[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-801fd0f8",[[1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"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],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"getValueAsync":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]},[[11,"scroll","scrollListener"]]]]],["p-e85c48d7",[[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-b567fa8c",[[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],"getValueAsync":[64]}]]],["p-a80b1287",[[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-8defa6d3",[[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-0306dff7",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"fitHorizontal":[64],"hide":[64]},[[11,"scroll","scrollListener"]]]]],["p-5bd5e68f",[[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"],"password":[4],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-784fe207",[[2,"ez-multi-selection-list",{"columnName":[1,"column-name"],"dataSource":[16],"useOptions":[1028,"use-options"],"options":[1040],"isTextSearch":[4,"is-text-search"],"filteredOptions":[32],"displayOptions":[32],"viewScenario":[32],"displayOptionToCheckAllItems":[32],"clearFilteredOptions":[64]}]]],["p-baf80b13",[[0,"filter-column",{"opened":[4],"columnName":[1,"column-name"],"columnLabel":[1,"column-label"],"gridHeaderHidden":[4,"grid-header-hidden"],"noHeaderTaskBar":[1028,"no-header-task-bar"],"dataSource":[16],"dataUnit":[16],"options":[1040],"selectedItems":[32],"fieldDescriptor":[32],"useOptions":[32],"isTextSearch":[32],"hide":[64],"show":[64]}]]],["p-9f1e89c9",[[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],"getValueAsync":[64]}]]],["p-af95cd16",[[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],"getValueAsync":[64]}]]],["p-072e6347",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]},[[4,"click","handleClickOutside"]]]]],["p-9050d2cd",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"enableResize":[516,"enable-resize"],"appendTextToSelection":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-77a4bd35",[[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-20ec22c0",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["p-a08b309b",[[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-2eb8f73b",[[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"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"options":[1040],"suppressSearch":[4,"suppress-search"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"getValueAsync":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]},[[11,"scroll","scrollListener"]]]]],["p-5d86cca9",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4],"getMode":[64],"setFocus":[64]}]]],["p-7bc07c31",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["p-b041333c",[[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-7af81663",[[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]}],[1,"ez-card-item",{"item":[16],"enableKey":[4,"enable-key"]}]]],["p-db77a984",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["p-2a1a0e04",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"fieldToFocus":[1,"field-to-focus"],"validate":[64]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as o}from"./p-23a36bb6.js";export{s as setNonce}from"./p-23a36bb6.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-1e367a93",[[6,"ez-grid",{"multipleSelection":[4,"multiple-selection"],"config":[1040],"selectionToastConfig":[16],"serverUrl":[1,"server-url"],"dataUnit":[16],"statusResolver":[16],"columnfilterDataSource":[16],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"_paginationInfo":[32],"_paginationChangedByKeyboard":[32],"_showSelectionCounter":[32],"_isAllSelection":[32],"_currentPageSelected":[32],"_selectionCount":[32],"_hasLeftButtons":[32],"setColumnsDef":[64],"addColumnMenuItem":[64],"setColumnsState":[64],"setData":[64],"getSelection":[64],"getColumnsState":[64],"getColumns":[64],"quickFilter":[64],"locateColumn":[64],"filterColumns":[64]},[[0,"ezSelectionChange","onSelectionChange"]]]]],["p-6e429cff",[[1,"ez-guide-navigator",{"open":[1540],"selectedId":[1537,"selected-id"],"items":[16],"tooltipResolver":[16],"filterText":[32],"disableItem":[64],"openGuideNavidator":[64],"enableItem":[64],"updateItem":[64],"getItem":[64],"getCurrentPath":[64],"selectGuide":[64],"getParent":[64]}]]],["p-8e7031a0",[[1,"ez-alert-list",{"alerts":[1040],"enableDragAndDrop":[516,"enable-drag-and-drop"],"enableExpand":[516,"enable-expand"],"itemRightSlotBuilder":[16],"opened":[1540],"expanded":[1540]}]]],["p-99ead599",[[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],"showActions":[64],"isOpened":[64]}]]],["p-1e7a8633",[[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-49456b34",[[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]},[[8,"keydown","handleKeyDown"]]]]],["p-5d692ed1",[[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-b9fbf4e7",[[1,"ez-split-button",{"enabled":[516],"iconName":[513,"icon-name"],"image":[513],"items":[16],"label":[513],"leftTitle":[513,"left-title"],"rightTitle":[513,"right-title"],"mode":[513],"size":[513],"show":[32],"setBlur":[64],"setLeftButtonFocus":[64],"setRightButtonFocus":[64]},[[2,"click","clickListener"]]]]],["p-3376ad44",[[4,"ez-split-item",{"label":[1],"enableExpand":[516,"enable-expand"],"size":[1],"_expanded":[32]}]]],["p-1f50fa05",[[1,"ez-alert",{"alertType":[513,"alert-type"]}]]],["p-650e4b6d",[[1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"hasSlot":[32]}]]],["p-17be134a",[[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-555c9018",[[1,"ez-file-item",{"canRemove":[4,"can-remove"],"fileName":[1,"file-name"],"iconName":[1,"icon-name"],"fileSize":[2,"file-size"],"progress":[2]}]]],["p-bc2f844e",[[0,"ez-application"]]],["p-5ed81457",[[1,"ez-loading-bar",{"_showLoading":[32],"hide":[64],"show":[64]}]]],["p-5e1d036e",[[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-abc23d6f",[[1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"]}]]],["p-9f5fa3f9",[[1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]]],["p-85c8baae",[[0,"ez-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1]}]]],["p-07cbffce",[[0,"ez-split-panel",{"direction":[1],"anchorToExpand":[4,"anchor-to-expand"]}]]],["p-8becebf8",[[1,"ez-toast",{"message":[1025],"fadeTime":[1026,"fade-time"],"useIcon":[1028,"use-icon"],"canClose":[1028,"can-close"],"show":[64]}]]],["p-44caad9a",[[0,"ez-view-stack",{"show":[64],"getSelectedIndex":[64]}]]],["p-cc2dc4f4",[[1,"ez-tabselector",{"selectedIndex":[1538,"selected-index"],"selectedTab":[1537,"selected-tab"],"tabs":[1],"_processedTabs":[32]}]]],["p-0447d17c",[[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-bae3d0aa",[[1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"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],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"getValueAsync":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]},[[11,"scroll","scrollListener"]]]]],["p-e85c48d7",[[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-b567fa8c",[[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],"getValueAsync":[64]}]]],["p-a80b1287",[[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-8defa6d3",[[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-0306dff7",[[1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"],"show":[64],"fitVertical":[64],"fitHorizontal":[64],"hide":[64]},[[11,"scroll","scrollListener"]]]]],["p-5bd5e68f",[[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"],"password":[4],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-784fe207",[[2,"ez-multi-selection-list",{"columnName":[1,"column-name"],"dataSource":[16],"useOptions":[1028,"use-options"],"options":[1040],"isTextSearch":[4,"is-text-search"],"filteredOptions":[32],"displayOptions":[32],"viewScenario":[32],"displayOptionToCheckAllItems":[32],"clearFilteredOptions":[64]}]]],["p-baf80b13",[[0,"filter-column",{"opened":[4],"columnName":[1,"column-name"],"columnLabel":[1,"column-label"],"gridHeaderHidden":[4,"grid-header-hidden"],"noHeaderTaskBar":[1028,"no-header-task-bar"],"dataSource":[16],"dataUnit":[16],"options":[1040],"selectedItems":[32],"fieldDescriptor":[32],"useOptions":[32],"isTextSearch":[32],"hide":[64],"show":[64]}]]],["p-9f1e89c9",[[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],"getValueAsync":[64]}]]],["p-af95cd16",[[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],"getValueAsync":[64]}]]],["p-072e6347",[[1,"ez-dropdown",{"items":[1040],"value":[1040],"itemBuilder":[16]},[[4,"click","handleClickOutside"]]]]],["p-9050d2cd",[[1,"ez-text-area",{"label":[513],"value":[1537],"enabled":[516],"errorMessage":[1537,"error-message"],"rows":[1538],"canShowError":[516,"can-show-error"],"mode":[513],"enableResize":[516,"enable-resize"],"appendTextToSelection":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64]}]]],["p-77a4bd35",[[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-20ec22c0",[[1,"ez-text-edit",{"value":[1],"styled":[16],"_newValue":[32],"applyFocusSelect":[64]}]]],["p-a08b309b",[[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-2eb8f73b",[[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"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"options":[1040],"suppressSearch":[4,"suppress-search"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"getValueAsync":[64],"setFocus":[64],"setBlur":[64],"isInvalid":[64],"clearValue":[64]},[[11,"scroll","scrollListener"]]]]],["p-5d86cca9",[[1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4],"getMode":[64],"setFocus":[64]}]]],["p-7bc07c31",[[1,"ez-icon",{"size":[513],"href":[513],"iconName":[513,"icon-name"]}]]],["p-b041333c",[[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-7af81663",[[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]}],[1,"ez-card-item",{"item":[16],"enableKey":[4,"enable-key"]}]]],["p-db77a984",[[2,"ez-form-view",{"fields":[16],"showUp":[64]}]]],["p-2a1a0e04",[[2,"ez-form",{"dataUnit":[1040],"config":[16],"recordsValidator":[16],"fieldToFocus":[1,"field-to-focus"],"validate":[64]}]]]]'),e)));
|